/* ================================
   GLOBAL
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {

    --navy: #06285d;
    --navy-light: #0b3d82;
    --yellow: #ffbd00;

    --light-bg: #f3f8fd;

    --text: #14213d;

}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Inter", Arial, sans-serif;

    color: var(--text);

    background: #ffffff;

    line-height: 1.55;

}


a {
    text-decoration: none;
    color: inherit;
}


.container {

    width: min(1180px, 92%);

    margin: auto;

}



/* ================================
   HEADER
================================ */

.header {

    height: 82px;

    background: #ffffff;

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow: 0 2px 12px #001a3b14;

    transition: height 0.35s ease, box-shadow 0.35s ease;

}


.header.scrolled {

    height: 66px;

    box-shadow: 0 8px 24px #001a3b22;

}


.header.scrolled .nav-wrap {
    height: 66px;
}


.nav-wrap {

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
    

}



/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--navy);

    min-width: 220px;

}


.logo-icon {

    font-size: 35px;

    display: inline-flex;

    transition: transform 0.2s ease;

}


.logo-icon span {
    display: inline-block;
}


.logo:hover .logo-icon span {

    animation: logoWiggle 0.6s ease;

}


@keyframes logoWiggle {

    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-12deg) scale(1.08); }
    50% { transform: rotate(10deg) scale(1.08); }
    75% { transform: rotate(-6deg) scale(1.04); }

}


.logo-text strong {

    font-size: 20px;

    display: block;

    line-height: 1;

}


.logo-text span {

    font-weight: 800;

    font-size: 16px;

    display: block;

}


.logo-text small {

    font-size: 9px;

    letter-spacing: 0.5px;

}



/* NAVIGATION */

.nav {

    display: flex;

    align-items: center;

    gap: 24px;

    font-size: 13px;

    font-weight: 600;

}


.nav a {

    padding: 10px 0;

    position: relative;

    white-space: nowrap;

    transition: color 0.25s ease;

}


.nav a::before {

    content: "";

    position: absolute;

    height: 2px;

    background: var(--navy);

    left: 0;

    right: 0;

    bottom: 3px;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.3s ease;

}


.nav a:not(.login-btn):hover::before {

    transform: scaleX(1);

}


.nav a.active::after {

    content: "";

    position: absolute;

    height: 2px;

    background: var(--navy);

    left: 0;

    right: 0;

    bottom: 3px;

}


.login-btn {

    background: var(--navy);

    color: white !important;

    padding: 11px 15px !important;

    border-radius: 8px;

    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;

}


.login-btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 22px #06285d4d;

    background: var(--navy-light);

}


.menu-toggle {

    display: none;

    background: none;

    border: none;

    font-size: 28px;

    color: var(--navy);

}



/* ================================
   HERO
================================ */

.hero {

    min-height: 500px;

    background:

        linear-gradient(
            90deg,
            #04245a 0%,
            #082d66 38%,
            #082d6655 62%,
            transparent 100%
        ),

        url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da?auto=format&fit=crop&w=1800&q=85");

    background-position: center;

    background-size: cover;

    position: relative;

    overflow: hidden;

}


.hero-content {

    min-height: 500px;

    display: flex;

    align-items: center;

}


.hero-text {

    max-width: 570px;

    color: white;

    padding: 50px 0;

}


.eyebrow {

    font-size: 13px;

    color: var(--yellow);

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 8px;

}


.hero h1 {

    font-size: 48px;

    line-height: 1.1;

    margin-bottom: 20px;

}


.hero h1 span {

    color: var(--yellow);

}


.hero-description {

    font-size: 16px;

    max-width: 510px;

    margin-bottom: 25px;

    color: #f0f5ff;

}



/* BUTTONS */

.hero-buttons {

    display: flex;

    gap: 14px;

}


.btn {

    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding: 13px 22px;

    border-radius: 8px;

    font-weight: 700;

}


.btn-yellow {

    background: var(--yellow);

    color: #0a2d61;

}


.btn-outline {

    border: 1px solid white;

    color: white;

}



/* ================================
   FEATURES
================================ */

.features {

    position: relative;

    margin-top: -38px;

    background: white;

    border-radius: 17px;

    box-shadow: 0 8px 30px #001a3b18;

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    padding: 18px 10px;

    z-index: 2;

}


.feature {

    text-align: center;

    border-right: 1px solid #ddd;

    display: flex;

    flex-direction: column;

    gap: 6px;

    align-items: center;

    justify-content: center;

    min-height: 95px;

    font-size: 12px;

    font-weight: 700;

    color: #122b56;

}


.feature:last-child {

    border-right: none;

}


.feature b {

    font-size: 28px;

    color: var(--navy);

}



/* ================================
   SECTIONS
================================ */

.section {

    padding: 70px 0;

}


.light {

    background: var(--light-bg);

}


.section-title {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    margin-bottom: 30px;

    color: var(--navy);

}


.section-title span {

    height: 2px;

    width: 65px;

    background: var(--yellow);

}


.section-title h2 {

    font-size: 28px;

}



/* ================================
   MEMBERSHIP
================================ */

.plans {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

}


.plan {

    background: white;

    border: 1px solid #e5e8ee;

    border-radius: 12px;

    padding: 20px;

    box-shadow: 0 7px 20px #001a3b0b;

    text-align: center;

    transition: 0.25s;

}


.plan:hover {

    transform: translateY(-6px);

    box-shadow: 0 15px 35px #001a3b18;

}


.plan-icon {

    width: 48px;

    height: 48px;

    border-radius: 10px;

    display: grid;

    place-items: center;

    color: white;

    font-size: 22px;

    margin-bottom: 12px;

}


.blue {
    background: #082e68;
}


.green {
    background: #187b56;
}


.purple {
    background: #6b39c9;
}


.orange {
    background: #ef7900;
}


.plan h3 {

    font-size: 14px;

    min-height: 45px;

    color: #17315b;

}


.price {

    font-size: 25px;

    font-weight: 800;

    margin: 18px 0;

}


.price small {

    font-size: 11px;

    font-weight: 500;

}


.plan-btn {

    display: inline-block;

    color: white;

    border-radius: 6px;

    padding: 10px 27px;

    font-size: 12px;

    font-weight: 700;

}


.blue-btn {
    background: #082e68;
}


.green-btn {
    background: #187b56;
}


.purple-btn {
    background: #6b39c9;
}


.orange-btn {
    background: #ef7900;
}


.center {

    text-align: center;

    margin-top: 25px;

}


.dark-btn {

    display: inline-block;

    background: var(--navy);

    color: white;

    border-radius: 6px;

    padding: 10px 27px;

    font-size: 12px;

    font-weight: 700;

}



/* ================================
   FACILITIES
================================ */

.two-col {

    display: grid;

    grid-template-columns: 1fr 1.15fr;

    gap: 30px;

    align-items: center;

}


.image-card {

    border-radius: 10px;

    min-height: 310px;

    background-position: center;

    background-size: cover;

    box-shadow: 0 5px 18px #001a3b14;

}


.study-image {

    background-image:

        url(
        "https://images.unsplash.com/photo-1568667256549-094345857637?auto=format&fit=crop&w=1000&q=85"
        );

}


.books-image {

    background-image:

        url(
        "https://images.unsplash.com/photo-1495446815901-a7297e633e8d?auto=format&fit=crop&w=1000&q=85"
        );

}


.small-title {

    font-size: 22px;

    font-weight: 800;

    color: var(--navy);

    margin-bottom: 20px;

    position: relative;

    padding-bottom: 10px;

}


.small-title::after {

    content: "";

    position: absolute;

    bottom: 0;

    left: 0;

    width: 45px;

    height: 3px;

    background: var(--yellow);

}


.facility-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

}


.facility-grid div {

    background: white;

    border: 1px solid #e2e8ef;

    border-radius: 8px;

    min-height: 105px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: var(--navy);

    font-size: 25px;

    font-weight: 700;

    box-shadow: 0 3px 10px #001a3b08;

}


.facility-grid span {

    font-size: 11px;

    line-height: 1.35;

    margin-top: 6px;

}



/* ================================
   ABOUT
================================ */

.about p {

    max-width: 560px;

    margin-bottom: 22px;

    color: #4c5565;

}



/* ================================
   CTA
================================ */

.cta {

    background: var(--navy);

    color: white;

    padding: 22px 0;

}


.cta-inner {

    display: flex;

    align-items: center;

    gap: 25px;

}


.cta-icon {

    font-size: 48px;

}


.cta-inner h2 {

    font-size: 25px;

}


.cta-inner p {

    color: var(--yellow);

    font-size: 14px;

}


.cta-inner .btn {

    margin-left: auto;

}



/* ================================
   RESOURCES
================================ */

.resource-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

}


.resource-grid > div {

    padding: 30px;

    background: #f5f8fc;

    border-radius: 12px;

    border: 1px solid #e5ebf2;

}


.resource-grid b {

    font-size: 35px;

}


.resource-grid h3 {

    margin: 10px 0;

    color: var(--navy);

}



/* ================================
   GALLERY
================================ */

.gallery {

    padding: 70px 0;

    background: #f4f8fc;

}


.gallery-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

}


.gallery-img {

    height: 220px;

    border-radius: 10px;

    background-size: cover;

    background-position: center;

}


.g1 {

    background-image:
    url(
    "https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=700&q=85"
    );

}


.g2 {

    background-image:
    url(
    "https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=700&q=85"
    );

}


.g3 {

    background-image:
    url(
    "https://images.unsplash.com/photo-1526243741027-444d633d7365?auto=format&fit=crop&w=700&q=85"
    );

}


.g4 {

    background-image:
    url(
    "https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=700&q=85"
    );

}



/* ================================
   FOOTER
================================ */

.footer {

    background: var(--navy);

    color: white;

    border-radius: 55px 55px 0 0;

    padding-top: 45px;

}


.footer-top {

    display: grid;

    grid-template-columns:
    1.3fr 1fr 1.2fr 1.3fr;

    gap: 35px;

    padding-bottom: 35px;

}


.footer h2 {

    font-size: 22px;

    line-height: 1.1;

}


.footer h3 {

    font-size: 14px;

    margin-bottom: 15px;

}


.footer p,
.footer a {

    display: block;

    font-size: 12px;

    color: #dce7f8;

    margin: 6px 0;

}


.footer-brand > p {

    max-width: 220px;

}


.footer-logo {

    font-size: 38px;

    float: left;

    margin-right: 8px;

}


.socials {

    display: flex;

    gap: 9px;

    margin-top: 15px;

}


.socials a {

    border: 1px solid white;

    border-radius: 50%;

    width: 30px;

    height: 30px;

    display: grid;

    place-items: center;

}


.footer-bottom {

    border-top: 1px solid #ffffff30;

    padding: 15px 0;

    display: flex;

    justify-content: space-between;

    font-size: 11px;

    color: #c9d6e9;

}



/* ================================
   TABLET
================================ */

@media (max-width: 1000px) {

    .nav {

        gap: 13px;

        font-size: 11px;

    }


    .hero h1 {

        font-size: 42px;

    }


    .features {

        grid-template-columns:
        repeat(3, 1fr);

    }


    .feature:nth-child(3) {

        border-right: none;

    }


    .plans {

        grid-template-columns:
        repeat(2, 1fr);

    }


    .footer-top {

        grid-template-columns:
        repeat(2, 1fr);

    }

}



/* ================================
   MOBILE
================================ */

@media (max-width: 760px) {

    .header,
    .nav-wrap {

        height: 70px;

    }


    .menu-toggle {

        display: block;

    }


    .nav {

        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        right: 0;

        background: white;

        padding: 15px 5%;

        box-shadow: 0 10px 20px #0002;

        flex-direction: column;

        align-items: stretch;

    }


    .nav.open {

        display: flex;

    }


    .nav a {

        padding: 11px;

    }


    .hero {

        min-height: 590px;

    }


    .hero-content {

        min-height: 590px;

    }


    .hero-text {

        padding-top: 80px;

    }


    .hero h1 {

        font-size: 38px;

    }


    .features {

        grid-template-columns:
        repeat(2, 1fr);

        margin-top: -25px;

    }


    .feature {

        border-bottom: 1px solid #ddd;

    }


    .plans,
    .two-col,
    .resource-grid {

        grid-template-columns: 1fr;

    }


    .facility-grid {

        grid-template-columns:
        repeat(2, 1fr);

    }


    .gallery-grid {

        grid-template-columns:
        repeat(2, 1fr);

    }


    .cta-inner {

        flex-wrap: wrap;

    }


    .cta-inner .btn {

        margin-left: 0;

    }


    .footer-top {

        grid-template-columns: 1fr;

    }


    .footer-bottom {

        flex-direction: column;

        gap: 8px;

    }

}

/* ================================================
   SCROLL-REVEAL ANIMATIONS
================================================ */

.reveal {

    opacity: 0;

    transition: opacity 0.7s ease var(--d, 0s), transform 0.7s cubic-bezier(.21,.9,.32,1) var(--d, 0s);

    will-change: opacity, transform;

}


.reveal-up {
    transform: translateY(40px);
}


.reveal-left {
    transform: translateX(-50px);
}


.reveal-right {
    transform: translateX(50px);
}


.reveal.active {

    opacity: 1;

    transform: translate(0, 0);

}


@media (prefers-reduced-motion: reduce) {

    .reveal, .hero-anim, .icon-pop {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

}



/* ================================================
   HERO — ANIMATED TEXT / ORBS / PARTICLES
================================================ */

.hero-anim {

    opacity: 0;

    animation: heroFadeUp 0.9s ease forwards;

    animation-delay: var(--d, 0s);

}


@keyframes heroFadeUp {

    from {
        opacity: 0;
        transform: translateY(26px);
    }

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

}


.shimmer-text {

    background: linear-gradient(90deg, var(--yellow) 0%, #fff3c4 25%, var(--yellow) 50%, #fff3c4 75%, var(--yellow) 100%);

    background-size: 250% auto;

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation: shimmerMove 4.5s linear infinite;

}


@keyframes shimmerMove {

    to {
        background-position: -250% center;
    }

}


.hero-orbs {

    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

}


.orb {

    position: absolute;

    border-radius: 50%;

    filter: blur(4px);

    opacity: 0.5;

    background: radial-gradient(circle at 30% 30%, #ffbd00cc, #ffbd0000 70%);

    animation: orbFloat 9s ease-in-out infinite;

}


.orb-1 {

    width: 220px;
    height: 220px;
    top: -60px;
    right: 12%;
    animation-duration: 10s;

}


.orb-2 {

    width: 140px;
    height: 140px;
    bottom: 10%;
    right: 28%;
    background: radial-gradient(circle at 30% 30%, #4d8dffb0, #4d8dff00 70%);
    animation-duration: 8s;
    animation-delay: 1s;

}


.orb-3 {

    width: 90px;
    height: 90px;
    bottom: 30%;
    right: 6%;
    background: radial-gradient(circle at 30% 30%, #ffffffb0, #ffffff00 70%);
    animation-duration: 7s;
    animation-delay: 0.4s;

}


@keyframes orbFloat {

    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-18px, 22px) scale(1.08); }

}


.hero-particles {

    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    background-image:

        radial-gradient(2px 2px at 15% 25%, #ffffff9c 0%, transparent 60%),
        radial-gradient(2px 2px at 35% 65%, #ffffff70 0%, transparent 60%),
        radial-gradient(2px 2px at 55% 20%, #ffffff9c 0%, transparent 60%),
        radial-gradient(2px 2px at 70% 75%, #ffffff70 0%, transparent 60%),
        radial-gradient(2px 2px at 85% 40%, #ffffff9c 0%, transparent 60%),
        radial-gradient(2px 2px at 25% 85%, #ffffff70 0%, transparent 60%),
        radial-gradient(2px 2px at 95% 15%, #ffffff9c 0%, transparent 60%);

    animation: particleDrift 14s linear infinite;

}


@keyframes particleDrift {

    0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 0 -60px, 0 40px, 0 -30px, 0 50px, 0 -45px, 0 35px, 0 -25px; }

}


.hero-content,
.scroll-cue {
    position: relative;
    z-index: 1;
}


.scroll-cue {

    position: absolute;

    left: 50%;

    bottom: 22px;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 6px;

    color: #ffffffcc;

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 700;

    animation: cueFade 2.4s ease-in-out infinite;

}


.scroll-cue-mouse {

    width: 22px;

    height: 34px;

    border: 2px solid #ffffffb0;

    border-radius: 12px;

    display: flex;

    justify-content: center;

    padding-top: 5px;

}


.scroll-cue-dot {

    width: 4px;

    height: 7px;

    background: var(--yellow);

    border-radius: 3px;

    animation: cueScroll 1.6s ease infinite;

}


@keyframes cueScroll {

    0% { transform: translateY(0); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }

}


@keyframes cueFade {

    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }

}



/* ================================================
   BUTTONS — SHINE, MAGNETIC, RIPPLE
================================================ */

.btn {

    position: relative;

    overflow: hidden;

    transition: transform 0.25s ease, box-shadow 0.25s ease;

    isolation: isolate;

}


.btn .btn-arrow {

    display: inline-block;

    transition: transform 0.3s ease;

}


.btn:hover .btn-arrow {

    transform: translateX(5px);

}


.btn::before {

    content: "";

    position: absolute;

    top: 0;

    left: -75%;

    width: 50%;

    height: 100%;

    background: linear-gradient(120deg, transparent, #ffffff6b, transparent);

    transform: skewX(-20deg);

    transition: left 0.65s ease;

    z-index: -1;

}


.btn:hover::before {

    left: 130%;

}


.btn-yellow:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 28px #ffbd0055;

}


.btn-outline:hover {

    transform: translateY(-4px);

    background: #ffffff1a;

    box-shadow: 0 14px 28px #00194f4d;

}


.magnetic-btn {
    transition: transform 0.15s ease-out, box-shadow 0.25s ease;
}


.ripple-btn,
.dark-btn,
.plan-btn {

    position: relative;

    overflow: hidden;

    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;

}


.ripple-btn:hover,
.dark-btn:hover,
.plan-btn:hover {

    transform: translateY(-3px);

    filter: brightness(1.08);

    box-shadow: 0 12px 24px #06285d3d;

}


.ripple {

    position: absolute;

    border-radius: 50%;

    background: #ffffff8a;

    transform: scale(0);

    animation: rippleAnim 0.6s ease-out;

    pointer-events: none;

}


@keyframes rippleAnim {

    to {
        transform: scale(3.2);
        opacity: 0;
    }

}



/* ================================================
   FEATURE / FACILITY ICONS
================================================ */

.feature,
.facility-grid div {

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}


.feature:hover {

    transform: translateY(-5px);

}


.feature b {

    display: inline-block;

    transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), color 0.3s ease;

}


.feature:hover b {

    transform: scale(1.25) rotate(-8deg);

    color: var(--yellow);

}


.facility-grid div:hover {

    transform: translateY(-6px);

    box-shadow: 0 12px 24px #001a3b1c;

    border-color: var(--yellow);

}


.facility-grid div {

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;

}


.facility-grid div:hover {

    color: var(--navy-light);

}


.resource-grid > div {

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;

}


.resource-grid > div:hover {

    transform: translateY(-8px);

    box-shadow: 0 16px 30px #001a3b1a;

    border-color: var(--yellow);

}


.resource-grid b {

    display: inline-block;

    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);

}


.resource-grid > div:hover b {

    transform: rotate(10deg) scale(1.15);

}



/* ================================================
   PLAN CARDS — POPULAR BADGE + ICON MOTION
================================================ */

.plan {

    position: relative;

}


.plan-icon {

    transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);

}


.plan:hover .plan-icon {

    transform: rotate(-10deg) scale(1.12);

}


.plan-popular {

    border: 1px solid var(--yellow);

    box-shadow: 0 10px 28px #ffbd0033;

}


.popular-badge {

    position: absolute;

    top: -12px;

    left: 50%;

    transform: translateX(-50%);

    background: var(--yellow);

    color: #14213d;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.5px;

    padding: 5px 14px;

    border-radius: 20px;

    box-shadow: 0 6px 14px #ffbd0060;

    white-space: nowrap;

}



/* ================================================
   ICON-POP (used across sections for staggered pop-in)
================================================ */

.icon-pop {

    opacity: 0;

    transform: translateY(18px) scale(0.94);

}


.reveal.active .icon-pop,
.section:has(.reveal.active) .icon-pop {

    animation: iconPopIn 0.6s cubic-bezier(.34,1.56,.64,1) forwards;

    animation-delay: var(--d, 0s);

}



/* ================================================
   CTA ICON PULSE
================================================ */

.cta-icon {

    display: inline-block;

    animation: ctaPulse 2.4s ease-in-out infinite;

}


@keyframes ctaPulse {

    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12) rotate(-4deg); }

}


@keyframes iconPopIn {

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}



/* ================================================
   GALLERY — OVERLAY + LIGHTBOX
================================================ */

.gallery-img {

    position: relative;

    overflow: hidden;

    cursor: pointer;

    transition: transform 0.4s ease;

}


.gallery-img:hover {

    transform: scale(1.03);

}


.gallery-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(0deg, #06285dcc, #06285d10 60%);

    display: flex;

    align-items: flex-end;

    justify-content: center;

    padding-bottom: 18px;

    opacity: 0;

    transition: opacity 0.35s ease;

}


.gallery-img:hover .gallery-overlay {

    opacity: 1;

}


.gallery-zoom {

    color: white;

    font-size: 20px;

    width: 42px;

    height: 42px;

    border: 2px solid #ffffffb0;

    border-radius: 50%;

    display: grid;

    place-items: center;

    transform: translateY(10px) scale(0.85);

    transition: transform 0.35s ease;

}


.gallery-img:hover .gallery-zoom {

    transform: translateY(0) scale(1);

}


.lightbox {

    position: fixed;

    inset: 0;

    background: #06131fee;

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 3000;

    opacity: 0;

    transition: opacity 0.3s ease;

    padding: 30px;

}


.lightbox.open {

    display: flex;

    opacity: 1;

}


.lightbox-img {

    width: min(900px, 100%);

    height: min(600px, 80vh);

    background-size: cover;

    background-position: center;

    border-radius: 12px;

    box-shadow: 0 20px 60px #00000080;

    transform: scale(0.9);

    transition: transform 0.35s ease;

}


.lightbox.open .lightbox-img {

    transform: scale(1);

}


.lightbox-close {

    position: absolute;

    top: 24px;

    right: 30px;

    background: #ffffff1f;

    border: 1px solid #ffffff55;

    color: white;

    width: 42px;

    height: 42px;

    border-radius: 50%;

    font-size: 16px;

    cursor: pointer;

    transition: background 0.25s ease, transform 0.25s ease;

}


.lightbox-close:hover {

    background: #ffffff3b;

    transform: rotate(90deg);

}



/* ================================================
   BACK TO TOP
================================================ */

.back-to-top {

    position: fixed;

    right: 22px;

    bottom: 22px;

    width: 46px;

    height: 46px;

    border-radius: 50%;

    background: var(--navy);

    color: white;

    border: none;

    font-size: 18px;

    font-weight: 700;

    cursor: pointer;

    display: grid;

    place-items: center;

    box-shadow: 0 10px 24px #06285d55;

    opacity: 0;

    visibility: hidden;

    transform: translateY(14px);

    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, visibility 0.3s ease;

    z-index: 900;

}


.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.back-to-top:hover {

    background: var(--yellow);

    color: #0a2d61;

    transform: translateY(-4px);

}



/* ================================================
   REDUCED-MOTION SAFETY (mobile hero)
================================================ */

@media (max-width: 760px) {

    .orb-1 { width: 140px; height: 140px; }
    .orb-2 { width: 100px; height: 100px; }
    .scroll-cue { display: none; }

}
