*{
    font-family:Arial, Helvetica, sans-serif
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #000;
    font-family: Arial, sans-serif;
}

.video-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: #000;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 277.78vh;
    height: 56.25vw;

    min-width: 100%;
    min-height: 100%;

    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

nav {
    position: relative;
    z-index: 2;
}


nav {
    display: flex;
    justify-content: start;
}

nav a {
    padding: 60px;
    font-size: 30px;
    text-decoration: none;
    color: rgb(255, 255, 255);
}


.elements-grid {
    position: absolute;
    top: 50%;
    right: 12%;
    transform: translateY(-50%);

    display: grid;
    grid-template-columns: repeat(2, 300px);
    gap: 25px 40px;

    z-index: 5;
}

.element-card {
    position: relative;
    width: 300px;
    height: 280px;

    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);

    display: flex;
    align-items: flex-end;

    color: white;
    text-decoration: none;

    background-size: cover;
    background-position: center;

    transition: transform 0.35s ease,
                border-color 0.35s ease;
}

.element-card:hover {
    transform: translateY(-7px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Images */
.water {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTSp11u3S03RLtGe5GG9l1O1W1rJZZo4QQ1nWA_09BISzoHd-d8HqtnSQ&s=10");
}

.earth {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTPP2Pwy2P321tHCx3tdTd_CP_B89i_ormfEpf5Z6j1B53qn8lZZVHSzt4&s=10");
}

.fire {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTpaKGcLU67FlAJLCiGGMwpKg1rroKHxd4zWb5dOPZ1LhJ2DCo9r6ruvrE&s=10");
}

.air {
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTTnlpu6oljlzRV16TU_vWy7Cx7BqIOLz-lWOh0QTfF0mMRSWi6zYdACyA&s=10");
}

/* Overlay */
.card-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95),
        rgba(0, 0, 0, 0.25) 60%,
        transparent
    );

    transition: background 0.35s ease;
}

.element-card:hover .card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.98),
        rgba(0, 0, 0, 0.15)
    );
}

/* Text */
.card-content {
    position: relative;
    z-index: 2;
    padding: 22px;
    width: 100%;
}

.element-number {
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.65);
}

.card-content h2 {
    margin-top: 12px;
    font-size: 29px;
    letter-spacing: 3px;
}

.card-content p {
    margin-top: 5px;
    color: #c7c7c7;
    font-size: 13px;
}

.explore {
    display: inline-block;
    margin-top: 20px;
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.element-card:hover .explore {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1100px) {
    .elements-grid {
        right: 4%;
        grid-template-columns: repeat(2, 220px);
        gap: 18px;
    }

    .element-card {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 600px) {
    .elements-grid {
        right: 50%;
        top: 55%;
        transform: translate(50%, -50%);
        grid-template-columns: repeat(2, 145px);
        gap: 12px;
    }

    .element-card {
        width: 145px;
        height: 180px;
        border-radius: 20px;
    }

    .card-content {
        padding: 12px;
    }

    .card-content h2 {
        font-size: 18px;
        letter-spacing: 1px;
    }
}




.hero-content {
    position: absolute;
    top: 50%;
    left: 5.5%;
    transform: translateY(-50%);

    width: 43%;
    max-width: 600px;

    color: #fff;
    z-index: 5;
}

.hero-content h1 {
    font-size: clamp(75px, 4.2vw, 58px);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero-content p {
    max-width: 560px;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 52px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-btn {
    min-width: 190px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 32px;

    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;

    transition: background 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s ease;
}

.primary-btn {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.04);
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-3px);
}

/* Smaller Screens */
@media (max-width: 900px) {
    .hero-content {
        left: 4%;
        width: 42%;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        gap: 14px;
    }

    .hero-btn {
        min-width: 130px;
        height: 58px;
        font-size: 16px;
    }
}
