/* Hero section styles */
.aarogym-hero,
#fh5co-header.aarogym-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay-base {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.72);
    z-index: 1;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(180, 30, 30, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(139, 18, 18, 0.35) 0%, transparent 60%),
        linear-gradient(180deg, transparent 0%, rgba(5, 5, 8, 0.9) 100%);
    z-index: 2;
}

.hero-overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 3;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(rgba(165, 42, 42, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(165, 42, 42, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.particles-container {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #e63535;
    box-shadow: 0 0 6px 2px rgba(230, 53, 53, 0.6);
    animation: floatUp 8s ease-in infinite;
    opacity: 0;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.particle:nth-child(2) {
    left: 25%;
    animation-delay: 1.5s;
    animation-duration: 9s;
    width: 2px;
    height: 2px;
}

.particle:nth-child(3) {
    left: 40%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.particle:nth-child(4) {
    left: 55%;
    animation-delay: 0.8s;
    animation-duration: 11s;
    width: 4px;
    height: 4px;
}

.particle:nth-child(5) {
    left: 68%;
    animation-delay: 2.2s;
    animation-duration: 8s;
}

.particle:nth-child(6) {
    left: 80%;
    animation-delay: 4s;
    animation-duration: 7.5s;
    width: 2px;
    height: 2px;
}

.particle:nth-child(7) {
    left: 90%;
    animation-delay: 1s;
    animation-duration: 10s;
}

.particle:nth-child(8) {
    left: 5%;
    animation-delay: 5s;
    animation-duration: 9s;
    width: 2px;
    height: 2px;
}

@keyframes floatUp {
    0% {
        bottom: -10px;
        opacity: 0;
        transform: translateX(0);
    }

    10% {
        opacity: 0.9;
    }

    80% {
        opacity: 0.4;
    }

    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(30px);
    }
}

.corner-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 4;
    pointer-events: none;
}

.corner-tl {
    top: 24px;
    left: 24px;
    border-top: 2px solid rgba(165, 42, 42, 0.7);
    border-left: 2px solid rgba(165, 42, 42, 0.7);
}

.corner-br {
    bottom: 24px;
    right: 24px;
    border-bottom: 2px solid rgba(165, 42, 42, 0.7);
    border-right: 2px solid rgba(165, 42, 42, 0.7);
}

.hero-container {
    position: relative;
    z-index: 10;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-logo {
    margin-bottom: 28px;
}

.hero-logo img {
    max-height: 80px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(230, 53, 53, 0.5));
    transition: filter 0.3s ease;
}

.hero-logo img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(230, 53, 53, 0.9));
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.eyebrow-line {
    display: block;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a52a2a, transparent);
}

.eyebrow-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.hero-headline {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    line-height: 0.9;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0;
}

.headline-top {
    font-size: clamp(28px, 5vw, 66px);
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.1em;
    display: block;
}

.headline-main {
    display: block;
    line-height: 0.85;
}

.text-fire {
    font-size: clamp(72px, 14vw, 155px);
    letter-spacing: 0.05em;
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #ff3333 25%, #cc1111 50%, #ff4444 75%, #ff8833 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fireShift 4s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 30px rgba(220, 50, 50, 0.5));
}

@keyframes fireShift {
    0% {
        background-position: 0% 0%;
        filter: drop-shadow(0 0 20px rgba(220, 50, 50, 0.4));
    }

    100% {
        background-position: 100% 100%;
        filter: drop-shadow(0 0 45px rgba(255, 80, 30, 0.7));
    }
}

.headline-sub {
    font-size: clamp(28px, 4.5vw, 58px);
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.2em;
    display: block;
}

.hero-tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0.04em;
    line-height: 1.75;
    margin: 0 0 26px;
    max-width: 600px;
}

.hero-tagline em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.hero-tagline .em-red {
    font-style: normal;
    color: #e05555;
    font-weight: 700;
}

.hero-br-mobile {
    display: none;
}

.hero-branches {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 26px;
}

.hero-branch-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(165, 42, 42, 0.28);
    border-radius: 20px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-branch-pill:hover {
    color: #fff !important;
    background: rgba(192, 57, 43, 0.22);
    border-color: rgba(165, 42, 42, 0.6);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.pill-badge {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1px 6px;
    border-radius: 8px;
    line-height: 1.6;
    white-space: nowrap;
}

.pill-badge--flagship {
    background: rgba(46, 125, 50, 0.3);
    color: #81c784;
    border: 1px solid rgba(46, 125, 50, 0.4);
}

.pill-badge--new {
    background: rgba(230, 81, 0, 0.25);
    color: #ffb74d;
    border: 1px solid rgba(230, 81, 0, 0.4);
    animation: ag-pulse 2s ease-in-out infinite;
}

.branch-plus {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    color: rgba(165, 42, 42, 0.5);
    user-select: none;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(165, 42, 42, 0.25);
    border-radius: 4px;
    overflow: hidden;
}

.stat-item {
    padding: 16px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 34px;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.05em;
}

.stat-number strong {
    font-weight: inherit;
    color: inherit;
}

.stat-number sup {
    font-size: 16px;
    color: #e05555;
    top: -8px;
}

.stat-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(165, 42, 42, 0.3);
    flex-shrink: 0;
}

/* Hero CTA container */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero scroll elements */
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(165, 42, 42, 0.5);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #a52a2a;
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(14px);
        opacity: 0;
    }
}

.animate-hero {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-hero[data-delay="0"] {
    animation-delay: 0.20s;
}

.animate-hero[data-delay="1"] {
    animation-delay: 0.40s;
}

.animate-hero[data-delay="2"] {
    animation-delay: 0.60s;
}

.animate-hero[data-delay="3"] {
    animation-delay: 0.78s;
}

.animate-hero[data-delay="4"] {
    animation-delay: 0.96s;
}

.animate-hero[data-delay="5"] {
    animation-delay: 1.14s;
}

.animate-hero[data-delay="6"] {
    animation-delay: 1.30s;
}

.animate-hero[data-delay="7"] {
    animation-delay: 1.46s;
}

.animate-hero[data-delay="8"] {
    animation-delay: 1.64s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ag-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.78);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .aarogym-hero {
        min-height: 100svh;
    }

    .hero-container {
        padding-top: 90px;
        padding-bottom: 50px;
    }

    .hero-eyebrow {
        gap: 10px;
    }

    .eyebrow-line {
        width: 24px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-item {
        padding: 12px 18px;
    }

    .stat-divider {
        width: 36px;
        height: 1px;
    }

    .hero-branches {
        gap: 8px;
    }

    .hero-branch-pill {
        font-size: 11px;
        padding: 6px 11px;
    }

    .hero-rating {
        gap: 6px;
        padding: 7px 14px;
    }

    .rating-text {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        clip-path: none;
        border-radius: 3px;
    }

    .hero-br-mobile {
        display: block;
    }

    .corner-accent {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .hero-branch-pill {
        font-size: 10px;
        padding: 5px 9px;
        gap: 4px;
    }

    .stat-item {
        padding: 10px 13px;
    }

    .stat-number {
        font-size: 28px;
    }
}