:root {
    --bg: #041022;
    /* darker base */
    --panel: rgba(255, 255, 255, 0.02);
    --glass: rgba(255, 255, 255, 0.04);
    --accent: #ff9a3c;
    --muted: #9fb0c6;
    --nav-height: 70px;
    --max-width: 1200px;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    /* cursor: none; */

    padding: 0
}

html,
body {
    height: 100%;
    /* overflow-x: hidden; */
}

body {
    font-family: poppins, Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(6, 30, 50, 0.18), transparent 8%), linear-gradient(90deg, #021226 0%, #03111a 60%, #01060a 100%);
    color: #e6eef6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
}

.container {
    width: 94%;
    max-width: var(--max-width);
    margin: 80px auto;
}

.container1 {
    width: 94%;
    max-width: var(--max-width);
    margin: 0 auto;
    /* height: 100vh; */
}


/* NAV */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: var(--nav-height);
    background: rgb(255 255 255 / 0%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-nav .logo img {
    height: 44px;
    display: block;
    filter: grayscale(0) contrast(1.05)
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.8rem;
    align-items: center
}

.nav-links a {
    font-size: 16px;
    display: inline-block;
    padding: 8px 16px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all .2s ease;
    font-family: inherit;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.nav-links a.active {
    color: var(--accent);
    font-weight: 600;
    background: rgba(255, 154, 60, 0.1);
}

/* Social media links styling */
.nav-social {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 0;
    margin: 0
}

.nav-social li {
    display: flex;
    align-items: center;
    justify-content: center
}

.nav-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08)
}

.nav-social a:hover {
    color: var(--accent);
    background: rgba(255, 154, 60, 0.15);
    border-color: rgba(255, 154, 60, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 154, 60, 0.2)
}

.nav-social a:focus {
    outline: 2px solid rgba(255, 154, 60, 0.5);
    outline-offset: 2px
}

.nav-links .nav-logout-btn {
    font-size: 22px;
    display: inline-block;
    padding: 10px 14px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all .16s;
    font-family: Montserrat;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-links .nav-logout-btn:hover,
.nav-links .nav-logout-btn:focus {
    color: #0860d1;
    transition: 0.5s all ease;
    outline: none
}

.nav-links .nav-logout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700
}

.btn.primary {
    background: linear-gradient(90deg, var(--accent), #ff7a1a);
    color: #07111a
}


/* Hamburger */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center
}

.nav-toggle:focus {
    outline: 2px solid rgba(255, 154, 60, 0.25);
    outline-offset: 2px
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #e6eef6;
    margin: 4px 0;
    transition: transform .25s ease, opacity .2s ease
}

/* HERO */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr min(560px, 50%);
    gap: 3rem;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 2rem) 2rem 3rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 80% at 70% 50%, rgba(255, 154, 60, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 20% 80%, rgba(6, 30, 50, 0.4) 0%, transparent 50%),
        url(assets/background.jpg) center/cover no-repeat;
    box-shadow: inset 0 0 0 2000px rgba(2, 12, 22, 0.72);
    z-index: 0;
}

.hero-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.02) 40%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    text-align: left;
    margin-left: 100px;


}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255, 154, 60, 0.35);
    border-radius: 999px;
    background: rgba(255, 154, 60, 0.08);
}

.hero-title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--accent) 0%, #ff7a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-cta {
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 154, 60, 0.35);
}

.hero-cta-secondary {
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: #e6eef6;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero image – right side, white tint */
.hero-image-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
}

.hero-image {
    /* width: 100%; */
    max-width: 150%;
    height: auto;
    max-height: 85vh;
    min-height: 320px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

/* Hero decorative elements – subtle orbs and line */
.hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-deco-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.hero-deco-orb-1 {
    width: min(320px, 50vw);
    height: min(320px, 50vw);
    background: radial-gradient(circle, rgba(255, 154, 60, 0.25) 0%, transparent 70%);
    top: 15%;
    right: 10%;
}

.hero-deco-orb-2 {
    width: min(200px, 35vw);
    height: min(200px, 35vw);
    background: radial-gradient(circle, rgba(255, 154, 60, 0.12) 0%, transparent 70%);
    bottom: 20%;
    right: 25%;
}

.hero-deco-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 154, 60, 0.15) 30%, rgba(255, 154, 60, 0.08) 70%, transparent 100%);
    max-width: 1px;
}

/* Hero: legacy glass-card (kept for any other use) */
.glass-card {
    max-width: 700px;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px) saturate(1.1);
    -webkit-backdrop-filter: blur(8px);
    padding: 2.25rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(2, 6, 10, 0.6);
    text-align: center;
}

.glass-card h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.glass-card p {
    font-size: 1.15rem;
    color: var(--muted);
}

@media (max-width: 880px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 100vh;
        padding: calc(var(--nav-height) + 1.5rem) 1rem 2rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-left: 0px;

    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrap {
        order: -1;
        justify-self: center;
        max-width: 320px;
    }

    .hero-image {
        max-height: 55vh;
        min-height: 240px;
    }

    .hero-deco-orb-1 {
        width: 180px;
        height: 180px;
        top: 10%;
        right: 5%;
        opacity: 0.4;
    }

    .hero-deco-orb-2 {
        width: 120px;
        height: 120px;
        bottom: 15%;
        right: 10%;
        opacity: 0.35;
    }

    .hero-deco-line {
        opacity: 0.6;
    }
}



/* ABOUT */
.about {
    padding: 3.5rem 0
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2.25rem;
    align-items: center
}

.about-text h2 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: .75rem
}

.about-text p {
    color: var(--muted);
    margin-bottom: 1rem
}

/* Model stage - simple layered '3D' look */
.model-stage {
    width: 100%;
    max-width: 420px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}


.ball {
    position: absolute;
    left: 75%;
    top: 48%;
    width: 26px;
    height: 26px;
    background: radial-gradient(circle at 30% 30%, #fff, #f3b1a0 40%), linear-gradient(180deg, #ff6b00, #ff9750);
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6)
}

/* --- New wicket + bat scene styles --- */
.wickets {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 100%;
    justify-content: center
}

.wicket {
    width: 8px;
    height: 120px;
    background: linear-gradient(180deg, #8b5a2b, #d1a87b);
    border-radius: 4px;
    position: relative;
    box-shadow: inset 0 -6px 8px rgba(0, 0, 0, 0.35)
}

.wicket:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    width: 28px;
    height: 10px;
    background: #7b4f2a;
    border-radius: 6px
}

.bat-model {
    position: absolute;
    right: 10%;
    bottom: 18%;
    width: 160px;
    height: 34px;
    display: flex;
    align-items: center;
    transform: rotate(-16deg);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5))
}

.bat-handle {
    width: 24px;
    height: 34px;
    background: linear-gradient(180deg, #1b1b1b, #4b4038);
    border-radius: 6px 0 0 6px
}

.bat-blade {
    flex: 1;
    height: 100%;
    background: linear-gradient(180deg, #f1cfa0, #c98f53);
    border-radius: 0 6px 6px 0;
    margin-left: 6px
}

/* Global cursor-following cricket ball */
.cursor-ball {
    position: fixed;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform .12s linear, opacity .12s linear;
    backface-visibility: hidden
}

.cursor-ball .core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 25% 25%, #fff 0%, #ffd9b3 15%, #ff8a00 50%, #c45500 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), inset 0 -6px 12px rgba(255, 255, 255, 0.12)
}

.cursor-ball .seam {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 68%;
    height: 6px;
    background: transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid rgba(255, 255, 255, 0.18);
    transform: translate(-50%, -50%) rotate(18deg);
    border-radius: 50%
}

/* Smaller on mobile */
@media (max-width:520px) {
    .cursor-ball {
        width: 30px;
        height: 30px
    }

    .bat-model {
        display: none
    }
}

/* footer */
.site-footer {
    padding: 2rem 0;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    text-align: center
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(2, 6, 10, 0.6), rgba(2, 6, 10, 0.85));
    backdrop-filter: blur(4px);
    z-index: 1200;
    padding: 2rem
}

.modal-overlay.open {
    display: flex
}

.modal {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    width: min(1100px, 100%);
    max-height: 92vh;
    overflow: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 50px rgba(2, 6, 10, 0.6);
    padding: 1.25rem
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 1.125rem;
    cursor: pointer
}

/* .modal-body {
    padding: 1.5rem 1rem
} */

.modal-intro {
    color: var(--muted);
    margin-bottom: 1rem
}

.services-heading {
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: visible;
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column
}

.card-media {
    height: 140px;
    background-size: cover;
    background-position: center;
}

.card-title {
    text-align: center;
    padding: 0.5rem 0;
    font-weight: 700;
    color: #fff;
    font-size: 25px;
}

.card-desc {
    padding: 0.75rem;
    color: var(--muted);
    opacity: 0;
    transform: translateY(8px);
    transition: all .22s
}

.service-card:hover .card-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure flip card contents override default styles */
.card-flip-front .card-title,
.card-flip-back .card-desc {
    opacity: 1;
    transform: none;
}

.expand-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 0;
    color: #fff;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* 3D Flip Card Styles - Desktop Only */
.card-flip-inner {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.card-flip-front,
.card-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 10px;
    top: 0;
    left: 0;
}

.card-flip-front {
    background: transparent;
    border: 2px solid rgba(255, 154, 60, 0.2);
    z-index: 2;
    transform: rotateY(0deg);
    transition: transform 0.6s ease;
    padding: 0;
    overflow: hidden;
}

.card-flip-front .card-media {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    border-radius: 8px;
}

.card-flip-front .card-title {
    font-size: 1.3rem;
    text-align: center;
    color: #fff;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
    width: 100%;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 8px 8px;
    z-index: 10;
}

.card-flip-front i {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: none;
}

.card-flip-back {
    background: linear-gradient(135deg, rgba(8, 96, 209, 0.15) 0%, rgba(8, 96, 209, 0.08) 100%);
    border: 2px solid rgba(8, 96, 209, 0.3);
    transform: rotateY(180deg);
    transition: transform 0.6s ease;
    z-index: 1;
    padding: 1.5rem;
}

.card-flip-back .card-desc {
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
    padding: 0;
    opacity: 1;
    transform: none;
    margin: 0;
}

.service-card:hover .card-flip-front {
    transform: rotateY(180deg);
}

.service-card:hover .card-flip-back {
    transform: rotateY(0deg);
}

/* Desktop: show hover descriptions */
@media(min-width:880px) {
    .expand-btn {
        display: none
    }

    .service-card {
        min-height: 220px;
        perspective: 1000px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    .card-flip-inner {
        display: block;
        width: 100%;
        height: 1000%;
    }

    /* .card-media {
        display: none !important;
    } */

    .card-title-mobile {
        display: none !important;
    }

    .service-card>.card-title {
        display: none !important;
    }

    .service-card>.card-desc {
        display: none !important;
    }

    .card-flip-front .card-title {
        display: block;
    }

    .card-flip-back .card-desc {
        display: block;
    }
}

/* Mobile: compact cards, show expand button */
@media(max-width:879px) {

    /* Keep services as a grid on small devices so background images (.card-media) show correctly */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .service-card {
        min-height: 84px;
        flex-direction: row;
        align-items: center;
        overflow: hidden;
    }

    .card-flip-inner {
        display: none;
    }

    .card-media {
        display: block;
        height: 100%;
        width: 96px;
        flex: 0 0 96px
    }

    .card-title {
        display: none;
    }

    .card-title-mobile {
        display: block;
        left: 93px;
        padding: 0px 12px;
        text-align: left;
        position: absolute;
        top: 10px;
        font-size: 1.25rem;
        color: #fff;
        font-weight: 700;
    }

    .card-desc {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 86px;
        font-size: 20px;
        padding: 12px;
        background: linear-gradient(180deg, rgba(2, 6, 10, 0.6), rgba(2, 6, 10, 0.9));
        opacity: 0;
        pointer-events: none;
        max-height: 0;
        overflow: scroll
    }

    .service-card .expand-btn {
        display: flex
    }

    .service-card.expanded {
        min-height: 220px
    }

    .service-card.expanded .card-desc {
        display: block;
        opacity: 1;
        pointer-events: auto;
        max-height: 320px
    }
}

/* Blogs & Jobs common card styles */
.blogs-section,
.jobs-section {
    padding: 3rem 0;
}

.blogs-grid,
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    justify-items: center
}

.blog-card,
.job-card {
    width: 100%;
    max-width: 340px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 30px rgba(2, 6, 10, 0.45);
    transition: transform .14s ease
}

.blog-card:hover,
.job-card:hover {
    transform: translateY(-6px)
}

.blog-media,
.job-media {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.blog-body,
.job-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem
}

.blog-title,
.job-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700
}

.blog-excerpt,
.job-desc {
    color: var(--muted);
    font-size: 0.95rem
}

.blog-tags .tag,
.job-tags .tag {
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.8rem;
    margin-right: 0.4rem
}

.blog-actions,
.job-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end
}

.job-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-weight: 700
}

@media (max-width:700px) {

    .blog-card,
    .job-card {
        width: 100%;
        max-width: 520px
    }
}

@media (max-width:480px) {
    .services-grid {
        grid-template-columns: 1fr
    }
}

/* Responsive */
@media (max-width:1100px) {
    .about-grid {
        grid-template-columns: 1fr 360px
    }

    .glass-card h1 {
        font-size: 2rem
    }
}

@media (max-width:880px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 1010;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - var(--nav-height));
        background: rgba(4, 16, 34, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1.5rem;
        gap: 0.75rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        transform: translateX(105%);
        transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li {
        width: 100%
    }

    .nav-links a {
        width: 100%;
        color: var(--muted);
        padding: 12px 16px;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .nav-links a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-links a.active {
        color: var(--accent);
        background: rgba(255, 154, 60, 0.1);
        border-left: 4px solid var(--accent);
        padding-left: 12px;
    }

    .nav-social {
        position: fixed;
        bottom: 1rem;
        right: 0;
        width: 80%;
        max-width: 320px;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        z-index: 1001;
        transform: translateX(105%);
        transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .site-nav.open .nav-links,
    .site-nav.open .nav-social {
        transform: translateX(0%);
    }

    /* The button contains an .sr-only span as the first child, so the three .bar spans are children 2..4 */
    .site-nav.open .nav-toggle .bar:nth-child(2) {
        transform: translateY(9px) rotate(45deg);
    }

    .site-nav.open .nav-toggle .bar:nth-child(3) {
        opacity: 0;
    }

    .site-nav.open .nav-toggle .bar:nth-child(4) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* Make the toggle more visible when active */
    .site-nav.open .nav-toggle {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        padding: 6px;

    }

    .site-nav.open .nav-toggle .bar {
        background: var(--accent);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem
    }

    .about-model {
        order: -1
    }

    .model-stage {
        max-width: 100%;
        height: 130px;
        display: none;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 12px
    }
}

/* small screens hero tweak */
@media (max-width:520px) {
    .glass-card h1 {
        font-size: 2.5rem
    }

    .glass-card p {
        font-size: 1.20rem;
        font-family: Oswald, sans-serif;
        font-weight: 600;
        font-style: italic;
        color: #000000;
    }
}

/* sr-only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0
}

/* Contact section */
.contact {
    padding: 3rem 0
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start
}

.contact-logo {
    width: 140px;
    height: auto;
    margin-bottom: 1rem
}

.contact-info h3 {
    color: #fff;
    margin-bottom: .5rem
}

.contact-info .address,
.contact-info .contact-item {
    color: var(--muted);
    line-height: 1.4
}

.contact-form-wrap {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 1rem;
    border-radius: 10px
}

.contact-form-wrap h3 {
    color: #fff;
    margin-bottom: .5rem
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: .6rem
}

#contact-form label {
    color: var(--muted);
    font-weight: 600
}

#contact-form input,
#contact-form textarea {
    padding: .6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.02);
    color: #fff
}

/* Tweak form button and status */
#contact-form .btn.primary {
    padding: 10px 16px;
    font-weight: 700;
}

.form-status {
    color: var(--muted);
    margin-top: .5rem;
}

/* Improve spacing on narrow devices */
@media (max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        margin-top: 1rem;
    }
}

#contact-form .btn {
    align-self: flex-start;
    margin-top: .5rem
}

.form-status {
    color: var(--muted);
    margin-top: .5rem
}

@media(max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr
    }

    .contact-form-wrap {
        order: -1
    }
}

/* Courses layout tweaks (centering and list styles) */

/* Subscription section styles */

/* Subscription section styles */
.subscription-section {
    padding: 3rem 0;
}

.subscription-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.subscription-intro h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.subscription-intro p {
    color: var(--muted);
    font-size: 1.1rem;
}

.subscription-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.subscription-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 30px rgba(2, 6, 10, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.subscription-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(2, 6, 10, 0.6);
}

.subscription-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 8px 30px rgba(255, 154, 60, 0.2);
}

.subscription-card.featured:hover {
    box-shadow: 0 12px 40px rgba(255, 154, 60, 0.3);
}

.plan-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent), #ff7a1a);
    color: #07111a;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.plan-name {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-price {
    margin: 1.5rem 0;
}

.plan-price .amount {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.plan-price .currency {
    color: var(--muted);
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.plan-price .period {
    color: var(--muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.plan-description {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

.subscribe-btn {
    background: linear-gradient(90deg, var(--accent), #ff7a1a);
    color: #07111a;
    border: 0;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s, transform 0.2s;
    margin-top: auto;
}

.subscribe-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.subscribe-btn:active {
    transform: scale(0.98);
}

.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 700px) {
    .subscription-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .subscription-card {
        max-width: 100%;
    }

    .subscription-intro h2 {
        font-size: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
        margin: 80px auto 40px auto;
    }

    .services-heading {
        font-size: 1.75rem !important;
    }

    .site-footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
}