/* HERO SECTION */

.hero {
    position: relative;

    /* FIX: Mobile viewport bug */
    min-height: 100vh;
    min-height: 100svh;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: #fff;
    padding: 0 20px;
}

/* Background Video */
.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 800px;

    margin: 0 auto;
}

/* Text Styles */
.hero-subtitle {
    display: block;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 5rem);
    margin-bottom: 16px;
    color: #fff;
}

.hero-description {
    font-size: clamp(15px, 2vw, 18px);
    font-style: italic;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.9);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Base button style (applies to all devices) */
.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;      /* ✅ Equal button size */
    padding: 12px 24px;
    font-size: 16px;
    text-align: center;
}

/* =================================
   HERO ANIMATIONS (STAGGERED)
================================ */

/* Initial state */
.hero-subtitle,
.hero-title,
.hero-description,
.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
}

/* Staggered animation */
.hero-subtitle {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.4s;
}

.hero-description {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-buttons {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.8s;
}

/* Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   RESPONSIVE FIXES
================================ */

/* Tablets */
@media (max-width: 1024px) {

    .hero-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }

    .hero-content {
        max-width: 90%;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .hero {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 15px;
    }

    /* Stack buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* Mobile button adjustments */
    .hero-buttons .btn {
        width: 220px;       /* ✅ Equal width for both buttons */
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* Small Phones */
@media (max-width: 480px) {

    .hero-subtitle {
        font-size: 10px;
        letter-spacing: 0.2em;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 14px;
    }
}

/* Landscape Phones (IMPORTANT FIX) */
@media (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }
}

/* ================================
   GLASS BUTTON (FIXED + IMPROVED)
================================ */

.btn-glass {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition: all 0.35s ease;
}

/* Hover */
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}