/* ========== BASE STYLES ========== */

/* ========== CUSTOM SCROLLBAR ========== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        to bottom,
        var(--accent),
        var(--accent-hover)
    );
    border-radius: 8px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        to bottom,
        var(--accent-hover),
        var(--accent)
    );
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}


/* ========== CUSTOM CURSOR ========== */

/* hide default cursor sitewide */
*, *::before, *::after {
    cursor: none !important;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease, width 0.25s ease,
                height 0.25s ease, border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.6;
}

/* expanded state on hoverable elements */
.cursor-dot.expanded {
    width: 12px;
    height: 12px;
    background: var(--accent-hover);
}

.cursor-ring.expanded {
    width: 56px;
    height: 56px;
    opacity: 0.3;
    border-color: var(--accent-hover);
}

/* clicked state */
.cursor-dot.clicked {
    width: 6px;
    height: 6px;
    background: var(--accent-hover);
}

.cursor-ring.clicked {
    width: 28px;
    height: 28px;
    opacity: 0.8;
}

/* hide on mobile — touch devices don't have a cursor */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
    *, *::before, *::after {
        cursor: auto !important;
    }
}

html {
        scroll-behavior: smooth;
         overflow-x: hidden;
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Poppins', sans-serif;
        background-color: var(--bg-primary);
        color: var(--text-primary);
        line-height: 1.6;
        transition: background-color 0.3s, color 0.3s;
        scroll-behavior: smooth;
        overflow-x: hidden;
    }

    :root {
        --bg-primary: #ffffff;
        --bg-secondary: #f4f7fb;
        --text-primary: #1a1f2e;
        --text-secondary: #4a4f62;
        --accent: #0057b3;
        --accent-hover: #003d80;
        --card-bg: #ffffff;
        --border: #e0e7ef;
        --shadow: rgba(0,0,0,0.05) 0 6px 18px;
        --toggle-bg: #e0e7ef;
        --footer-bg: #1a1f2e;
        --footer-text: #f0f4fa;
    }

    body.dark {
        --bg-primary: #12141c;
        --bg-secondary: #1e212e;
        --text-primary: #eef2f6;
        --text-secondary: #b0b8c5;
        --accent: #4b9fff;
        --accent-hover: #7fb9ff;
        --card-bg: #1f2332;
        --border: #2f3547;
        --shadow: rgba(0,0,0,0.3) 0 8px 24px;
        --toggle-bg: #2f3547;
        --footer-bg: #0c0e14;
        --footer-text: #cfdbe9;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .section {
        padding: 80px 0;
    }

    .section.alt {
        background-color: var(--bg-secondary);
    }

    .center {
        text-align: center;
    }

    h1, h2, h3 {
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 20px;
        color: var(--text-primary);
    }

    h1 {
        font-size: 3rem;
        letter-spacing: -0.02em;
    }
    h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    p {
        color: var(--text-secondary);
        font-weight: 300;
        font-size: 1.1rem;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-primary, .btn-secondary {
        display: inline-block;
        padding: 14px 36px;
        border-radius: 40px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        font-size: 1rem;
        letter-spacing: 0.3px;
    }

    .btn-primary {
        background-color: var(--accent);
        color: white;
        box-shadow: 0 8px 20px rgba(0,87,179,0.2);
    }
    .btn-primary:hover {
        background-color: var(--accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0,87,179,0.3);
    }

    .btn-secondary {
        background-color: transparent;
        color: var(--text-primary);
        border: 1.5px solid var(--border);
    }
    .btn-secondary:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

    /* ========== HEADER ========== */
    .header {
        padding: 10px 0;
        background: var(--bg-primary);
        box-shadow: 0 4px 20px var(--shadow);
        position: sticky;
        top: 0;
        z-index: 100;
        backdrop-filter: blur(8px);
        background-color: rgba(var(--bg-primary-rgb), 0.9);
    }
    body:not(.dark) .header {
        background-color: rgba(255,255,255,0.9);
    }
    body.dark .header {
        background-color: rgba(18,20,28,0.9);
    }

    .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

  .logo img {
    height: 90px;
    width: auto;
    display: block;
    }

    .logo {
        position: relative;
        z-index: 101;
        background: var(--bg-primary);
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.12);
        margin-top: 28px;
        margin-bottom: -28px;
    }

    nav {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .nav-link {
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
        font-size: 1.05rem;
    }
    .nav-link:hover {
        color: var(--accent);
    }

    /* theme toggle */
    .theme-toggle {
        background: var(--toggle-bg);
        border: none;
        width: 56px;
        height: 30px;
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 6px;
        position: relative;
        cursor: pointer;
        transition: background 0.3s;
        margin-left: 8px;
    }
    .theme-toggle .icon {
        font-size: 1rem;
        line-height: 1;
        z-index: 2;
        transition: opacity 0.2s;
    }
    .toggle-circle {
        position: absolute;
        width: 24px;
        height: 24px;
        background: white;
        border-radius: 50%;
        top: 3px;
        left: 3px;
        transition: transform 0.3s;
        box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    }
    body.dark .toggle-circle {
        transform: translateX(26px);
    }
    .sun, .moon {
        opacity: 0.6;
    }
    body.dark .sun {
        opacity: 0.3;
    }
    body.dark .moon {
        opacity: 1;
    }

    /* hamburger */
    .hamburger {
        display: none;
        flex-direction: column;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
    }
    .hamburger span {
        width: 28px;
        height: 3px;
        background: var(--text-primary);
        margin: 3px 0;
        border-radius: 3px;
        transition: 0.2s;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 90;
        backdrop-filter: blur(3px);
    }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

/* ── BACKGROUND ── */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    filter: saturate(0.5) brightness(0.65);
    animation: heroZoom 18s ease forwards;
}
@keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.00); }
}

/* ── OVERLAY ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            105deg,
            rgba(8, 12, 22, 0.92) 0%,
            rgba(8, 12, 22, 0.70) 45%,
            rgba(8, 12, 22, 0.25) 100%
        ),
        linear-gradient(
            to top,
            rgba(8, 12, 22, 0.75) 0%,
            transparent 55%
        );
}

/* ── CAROUSEL SLIDES ── */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    filter: saturate(0.5) brightness(0.65);
    animation: none;
}

.hero-slide.active img {
    animation: heroPulse 12s ease-in-out infinite;
}

@keyframes heroPulse {
    0%   { transform: scale(1.00); }
    50%  { transform: scale(1.06); }
    100% { transform: scale(1.00); }
}

/* ── HEADING TRANSITION ── */
#heroHeading {
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#heroHeading.heading-exit {
    opacity: 0;
    transform: translateY(10px);
}
#heroHeading.heading-enter {
    opacity: 1;
    transform: translateY(0);
}

/* ── CAROUSEL CONTROLS ── */
.hero-carousel-controls {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.carousel-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}
.carousel-arrow:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.08);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
}
.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #ffffff;
}

/* ── CAROUSEL RESPONSIVE ── */
@media (max-width: 800px) {
    .hero-carousel-controls {
       bottom: 140px;
    }
    .carousel-arrow {
        width: 34px;
        height: 34px;
    }
}

/* ── DECORATIVE VERTICAL LINE ── */
.hero-vert-line {
    position: absolute;
    left: calc((100vw - 1200px) / 2 + 24px);
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(176, 184, 196, 0.2) 20%,
        rgba(176, 184, 196, 0.2) 80%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* ── CONTENT WRAPPER ── */
.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
}

.hero-content {
    padding: 90px 0 80px 0;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    margin-right: auto;
}

/* ── EYEBROW ── */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(176, 184, 196, 0.7);
    margin-bottom: 28px;
}

.hero-eyebrow-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: dotPulse 2.4s ease infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero-eyebrow-tag {
    padding: 3px 10px;
    border: 1px solid rgba(176, 184, 196, 0.2);
    border-radius: 20px;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    color: rgba(176, 184, 196, 0.5);
    margin-left: 4px;
}

/* ── HEADING ── */
.hero-content h1 {
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #f0f4f8;
    margin-bottom: 48px;
    max-width: 640px;
}
.hero-content h1 em {
    font-style: italic;
    font-weight: 600;
    color: rgba(160, 184, 216, 0.85);
}

/* ── BOTTOM ROW ── */
.hero-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: flex-end;
    padding-top: 32px;
    border-top: 1px solid rgba(176, 184, 196, 0.12);
}

.hero-bottom p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(160, 176, 200, 0.75);
    margin: 0;
    max-width: 420px;
    margin-left: 0;
    margin-right: 0;
}

.hero-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    flex-shrink: 0;
}

.hero-content .btn-primary.hero-cta {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    padding: 15px 30px;
    border-radius: 3px;
    white-space: nowrap;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    color: #ffffff;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.hero-content .btn-primary.hero-cta:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: none;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(160, 184, 216, 0.55);
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}
.hero-link svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    transition: transform 0.2s;
}
.hero-link:hover {
    color: rgba(160, 184, 216, 0.9);
    gap: 11px;
}

/* ── SCROLL HINT ── */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    animation: fadeInUp 1s 1.2s ease both;
}
.hero-scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1px solid rgba(176, 184, 196, 0.5);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.hero-scroll-dot {
    width: 3px;
    height: 6px;
    background: rgba(176, 184, 196, 0.8);
    border-radius: 2px;
    animation: scrollDot 2s ease infinite;
}
@keyframes scrollDot {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}
.hero-scroll-hint span {
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(176, 184, 196, 0.6);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to   { opacity: 0.4; transform: translateX(-50%) translateY(0); }
}

/* ── HERO CTA MOBILE VERSION ── */
.hero-cta-mobile {
    display: none;
}

/* ========== HERO RESPONSIVE ========== */
@media (max-width: 1260px) {
    .hero-vert-line {
        left: 24px;
    }
}

@media (max-width: 900px) {
    .hero-bottom {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .hero-cta-wrap {
        align-items: flex-start;
    }
}

@media (max-width: 800px) {
    .hero .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 24px;
        text-align: center;
    }
    .hero-content {
        padding: 120px 0 90px;
        max-width: 100%;
        width: 100%;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .hero-eyebrow {
        justify-content: center;
        width: 100%;
    }
    .hero-eyebrow-tag {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.6rem;
        max-width: 100%;
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-bottom {
        display: none;
    }
    .hero-vert-line {
        display: none;
    }
    .hero-content .hero-cta {
        display: none !important;
    }
    .hero-cta-mobile {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.88rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-align: center;
        width: 100%;
        margin: 0 auto;
        transition: color 0.2s;
    }
    .hero-cta-mobile:hover {
        color: #ffffff;
    }
    .hero-cta-arrows {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 4px;
    }
    .hero-cta-arrows svg {
        width: 20px;
        height: 20px;
        display: block;
        animation: bounceCta 1.4s ease infinite;
    }
    .hero-cta-arrows svg:nth-child(2) {
        animation-delay: 0.18s;
        opacity: 0.5;
    }
    @keyframes bounceCta {
        0%, 100% { transform: translateY(0);   opacity: 1; }
        50%       { transform: translateY(4px); opacity: 0.6; }
    }
}

/* ========== 1080p @ 125% SCALE (effective ~1536px viewport) ========== */
@media (max-width: 1600px) and (min-width: 900px) {
    .hero-content {
        padding: 72px 0 60px 0;
        max-width: 640px;
    }

    .hero-content h1 {
        font-size: clamp(2.4rem, 4vw, 4rem);
        margin-bottom: 32px;
    }

    .hero-bottom {
        gap: 32px;
        padding-top: 24px;
    }

    .hero-bottom p {
        font-size: 0.88rem;
        line-height: 1.75;
    }

    .hero-content .btn-primary.hero-cta {
        padding: 13px 24px;
        font-size: 0.74rem;
    }

    .hero-eyebrow {
        margin-bottom: 20px;
    }
}

/* ========== 1080p @ 125% tighter fit ========== */
@media (max-width: 1400px) and (min-width: 900px) {
    .hero-content {
        padding: 64px 0 56px 0;
        max-width: 580px;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 3.6vw, 3.6rem);
        margin-bottom: 28px;
    }

    .hero-bottom {
        grid-template-columns: 1fr auto;
        gap: 28px;
        padding-top: 20px;
    }

    .hero-bottom p {
        font-size: 0.85rem;
    }
}

/* ========== PARALLAX SCROLL TRANSITIONS ========== */

/* hero exit */
.hero {
    will-change: opacity, transform;
}
.hero-content {
    will-change: opacity, transform;
}
.hero-slides {
    will-change: transform;
}

/* about entrance */
.about-section {
    will-change: opacity, transform;
}
.about-text {
    will-change: opacity, transform;
}
.about-image-wrap {
    will-change: opacity, transform;
}

/* parallax will-change hints — quote 1 + expertise */
.parallax-quote-1         { will-change: opacity, transform; }
.parallax-expertise       { will-change: opacity, transform; }
.parallax-expertise .grid { will-change: opacity, transform; }
.parallax-expertise h2    { will-change: opacity, transform; }
.parallax-strategy               { will-change: opacity, transform; }
.parallax-strategy .strategy-image-wrap  { will-change: opacity, transform; }
.parallax-strategy .strategy-text-block  { will-change: opacity, transform; }
.parallax-quote-2                { will-change: opacity, transform; }
.parallax-quote-2 .quote-two-card { will-change: opacity, transform; }


    /* ========== CARDS GRID ========== */
    /* ========== EXPERTISE SECTION ========== */
#expertise {
    position: relative;
    overflow: hidden;
}

/* layered background */
#expertise::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
    z-index: 0;
}

/* diagonal silver line pattern */
#expertise::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(100,120,150,0.045) 40px,
        rgba(100,120,150,0.045) 41px
    );
    z-index: 0;
    pointer-events: none;
}

body.dark #expertise::after {
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(176,184,196,0.04) 40px,
        rgba(176,184,196,0.04) 41px
    );
}

/* large faint watermark text for depth */
#expertise .section-watermark {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0.025;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

body.dark #expertise .section-watermark {
    opacity: 0.04;
}

#expertise .container {
    position: relative;
    z-index: 1;
}

#expertise h2 {
    position: relative;
}

/* accent line under the heading */
#expertise h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), transparent);
    border-radius: 2px;
    margin: 14px auto 0;
}

/* ========== CARDS GRID ========== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.card {
    background: var(--card-bg);
    padding: 32px 26px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* top accent bar on each card */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.25s;
    border-radius: 16px 16px 0 0;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-color: var(--accent);
}

body.dark .card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.card p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* ========== STRATEGY SESSION ========== */
.strategy-session {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: none;
}

/* background using CSS variables */
.strategy-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

/* subtle grid overlay */
.strategy-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(100,120,150,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100,120,150,0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

/* accent glow top-right */
.strategy-bg::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,87,179,0.07) 0%, transparent 65%);
    pointer-events: none;
}

body.dark .strategy-bg::after {
    background: radial-gradient(circle, rgba(0,87,179,0.14) 0%, transparent 65%);
}

.strategy-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

/* ── LEFT: IMAGE ── */
.strategy-image-wrap {
    position: relative;
}

.strategy-image-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    z-index: 1;
    box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 0 0 1px var(--border);
    transition: box-shadow 0.3s;
}

body.dark .strategy-image-frame {
    box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(176,184,196,0.12);
}

.strategy-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: saturate(0.85) brightness(0.95);
    transition: transform 0.7s ease, filter 0.4s ease;
}

body.dark .strategy-image-frame img {
    filter: saturate(0.7) brightness(0.88);
}

.strategy-image-frame:hover img {
    transform: scale(1.04);
    filter: saturate(1) brightness(1);
}

body.dark .strategy-image-frame:hover img {
    filter: saturate(0.85) brightness(0.95);
}

/* gradient overlay on image */
.strategy-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        transparent 40%,
        rgba(0,0,0,0.25) 100%
    );
    pointer-events: none;
}

body.dark .strategy-image-overlay {
    background: linear-gradient(
        170deg,
        transparent 40%,
        rgba(10, 15, 26, 0.65) 100%
    );
}

/* corner accent bottom-right */
.strategy-image-frame::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 60px;
    height: 60px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

body.dark .strategy-image-frame::after {
    border-color: rgba(176,184,196,0.5);
}

/* decorative offset block behind image */
.strategy-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 65%;
    height: 50%;
    border: 2px solid var(--border);
    border-radius: 4px;
    z-index: 0;
    background: linear-gradient(135deg, rgba(176,184,196,0.06), transparent);
}

/* ── RIGHT: TEXT ── */
.strategy-text-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.strategy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.strategy-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.strategy-text-block h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0;
    text-align: left;
}

.strategy-divider {
    width: 52px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), transparent);
    margin: 22px 0 26px;
    border-radius: 2px;
}

.strategy-text-block p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 0 0 18px 0;
    max-width: 100%;
    text-align: left;
}

.strategy-text-block p strong {
    color: var(--text-primary);
    font-weight: 500;
}

.strategy-btn {
    margin-top: 12px;
    align-self: flex-start;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding: 16px 36px;
}

/* ========== STRATEGY RESPONSIVE ========== */
@media (max-width: 860px) {
    .strategy-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .strategy-image-wrap {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }
    .strategy-text-block {
        order: 1;
    }
    .strategy-image-accent {
        display: none;
    }
    .strategy-text-block h2 {
        font-size: 2rem;
    }
    .strategy-btn {
        align-self: center;
    }
}

    /* ========== FORM ========== */
    .progress-bar {
        width: 100%;
        height: 6px;
        background: var(--border);
        border-radius: 8px;
        margin: 40px 0 30px;
    }
    .progress {
        width: 33.33%;
        height: 6px;
        background: var(--accent);
        border-radius: 8px;
        transition: width 0.3s;
    }

    form {
        max-width: 700px;
        margin: 0 auto;
    }

    .form-step {
        display: none;
        animation: fade 0.3s;
    }
    .form-step.active {
        display: block;
    }

    @keyframes fade { from {opacity:0.3;} to {opacity:1;} }

    .form-step-count {
        color: var(--accent);
        font-weight: 500;
        margin: -15px 0 25px;
        opacity: 0.9;
    }

    input, select, textarea {
        width: 100%;
        padding: 16px 22px;
        margin-bottom: 22px;
        border: 1px solid var(--border);
        background: var(--bg-primary);
        color: var(--text-primary);
        border-radius: 50px;
        font-family: 'Poppins', sans-serif;
        font-size: 1rem;
        outline: none;
        transition: 0.2s;
    }
    textarea {
        border-radius: 28px;
        min-height: 120px;
        resize: vertical;
    }
    input:focus, select:focus, textarea:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(0,87,179,0.15);
    }
    select {
        appearance: none;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%234a4f62" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>');
        background-repeat: no-repeat;
        background-position: right 22px center;
    }
    .button-group {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 800px) {
        h1 { font-size: 2.4rem; }
        h2 { font-size: 1.9rem; }

        .hamburger {
            display: flex;
        }

        nav {
            position: fixed;
            top: 0;
            right: -280px;
            width: 260px;
            height: 100vh;
            background: var(--bg-primary);
            flex-direction: column;
            align-items: flex-start;
            padding: 100px 30px 30px;
            box-shadow: -8px 0 25px rgba(0,0,0,0.15);
            transition: right 0.3s;
            z-index: 110;
            gap: 24px;
        }
        nav.active {
            right: 0;
        }
        .mobile-overlay.active {
            display: block;
        }
        .theme-toggle {
            margin-top: 20px;
        }
    }

    /* ========== ABOUT ========== */
.about-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* silver geometric background pattern */
.about-silver-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--bg-secondary);
    background-image:
        linear-gradient(135deg, rgba(176,184,196,0.13) 1px, transparent 1px),
        linear-gradient(45deg,  rgba(176,184,196,0.13) 1px, transparent 1px);
    background-size: 48px 48px;
}
/* silver radial glow on the left */
.about-silver-bg::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(176,184,196,0.18) 0%, transparent 70%);
    pointer-events: none;
}
/* silver radial glow on the right */
.about-silver-bg::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(176,184,196,0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* dark mode silver bg */
body.dark .about-silver-bg {
    background-color: var(--bg-secondary);
    background-image:
        linear-gradient(135deg, rgba(120,136,158,0.1) 1px, transparent 1px),
        linear-gradient(45deg,  rgba(120,136,158,0.1) 1px, transparent 1px);
}

.about-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

/* ── LEFT: TEXT ── */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.about-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0;
    text-align: left;
}

.about-divider {
    width: 52px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), transparent);
    margin: 22px 0 26px;
    border-radius: 2px;
}

.about-text p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 0 0 18px 0;
    max-width: 100%;
    text-align: left;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.pillar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}
.pillar-icon {
    font-size: 0.7rem;
    color: var(--accent);
    flex-shrink: 0;
}

/* ── RIGHT: IMAGE ── */
.about-image-wrap {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow:
        0 24px 64px rgba(0,0,0,0.18),
        0 0 0 1px var(--border);
    z-index: 1;
}
.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s ease;
    filter: saturate(0.85);
}
.about-image-frame:hover img {
    transform: scale(1.03);
}

/* silver corner accent top-left */
.about-image-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 60px;
    height: 60px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    z-index: 2;
    pointer-events: none;
}

/* decorative offset block behind image */
.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 70%;
    height: 55%;
    border: 2px solid var(--border);
    border-radius: 4px;
    z-index: 0;
    background: linear-gradient(135deg, rgba(176,184,196,0.08), transparent);
}
body.dark .about-image-accent {
    border-color: rgba(120,136,158,0.25);
}

/* ========== ABOUT RESPONSIVE ========== */
@media (max-width: 860px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-text h2 {
        font-size: 2rem;
    }
    /* stack image below text on mobile */
    .about-image-wrap {
        max-width: 420px;
        margin: 0 auto;
    }
    .about-image-accent {
        display: none;
    }
}

/* ========== QUOTE STRIPS ========== */
.quote-strip {
    position: relative;
    overflow: hidden;
}

/* ── STYLE ONE: Minimal centered with flanking lines ── */
.quote-style-one {
    padding: 72px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* faint dot grid */
.quote-style-one::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(100,120,150,0.1) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.6;
}
body.dark .quote-style-one::before {
    opacity: 0.3;
}

.quote-one-inner {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 0 24px;
}

.quote-one-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.quote-one-text {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    margin: 0;
    max-width: 100%;
}

.quote-one-cite {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-style: normal;
}

/* ── STYLE TWO: Bold dark offset card ── */
.quote-style-two {
    padding: 80px 0;
    background: var(--bg-primary);
}

/* diagonal lines */
.quote-style-two::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(100,120,150,0.04) 40px,
        rgba(100,120,150,0.04) 41px
    );
    pointer-events: none;
}

.quote-two-inner {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.quote-two-card {
    position: relative;
    background: #0d1420;
    border-radius: 8px;
    padding: 56px 64px 48px;
    border: 1px solid rgba(176,184,196,0.1);
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
    overflow: hidden;
}

body:not(.dark) .quote-two-card {
    background: #0d1420;
}
body.dark .quote-two-card {
    background: #080c14;
    border-color: rgba(176,184,196,0.08);
}

/* large decorative background mark */
.quote-two-mark {
    position: absolute;
    top: -30px;
    left: 32px;
    font-family: Georgia, serif;
    font-size: 14rem;
    line-height: 1;
    color: rgba(255,255,255,0.04);
    user-select: none;
    pointer-events: none;
}

/* accent line left edge */
.quote-two-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
    border-radius: 8px 0 0 8px;
}

.quote-two-text {
    position: relative;
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.75;
    color: #e0e8f0;
    letter-spacing: 0.01em;
    margin: 0 0 32px 0;
    max-width: 100%;
    z-index: 1;
}

.quote-two-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.quote-two-bar {
    width: 32px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.quote-two-cite {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8aaac8;
    font-style: normal;
}

/* ========== QUOTE RESPONSIVE ========== */
@media (max-width: 800px) {
    .quote-style-one { padding: 52px 0; }
    .quote-style-two { padding: 56px 0; }
    .quote-two-card  { padding: 40px 28px 36px; }
    .quote-two-mark  { font-size: 8rem; top: -10px; left: 16px; }
    .quote-one-text,
    .quote-two-text  { font-size: 1.05rem; }
}

/* ========== PAGE LOADER ========== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #080c14;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-logo {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #ffffff;
    animation: loaderPulse 1.6s ease infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.loader-tagline {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.loader-bar-wrap {
    width: 160px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--accent), #7fb9ff);
    border-radius: 2px;
    animation: loaderFill 1.8s ease forwards;
}

@keyframes loaderFill {
    0%   { width: 0%; }
    100% { width: 100%; }
}

/* ========== STICKY FLOATING CTA ========== */
.floating-cta {
    position: fixed;
    bottom: 36px;
    right: 28px;
    z-index: 500;
    background: var(--accent);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 40px;
    box-shadow: 0 8px 28px rgba(0, 87, 179, 0.35);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease,
                background 0.25s, box-shadow 0.25s;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 12px 36px rgba(0, 87, 179, 0.5);
    transform: translateY(-2px);
}

body.dark .floating-cta {
    box-shadow: 0 8px 28px rgba(75, 159, 255, 0.3);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 36px;
    left: 28px;
    z-index: 500;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease,
                background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
    transition: stroke 0.2s;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 87, 179, 0.3);
    transform: translateY(-2px);
}

.back-to-top:hover svg {
    stroke: #ffffff;
}

body.dark .back-to-top {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ========== CARD MICRO ANIMATIONS ========== */
.card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease,
                box-shadow 0.25s, border-color 0.25s;
}

.card.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.card h3 {
    transition: color 0.2s ease;
}

.card:hover h3 {
    color: var(--accent);
}

/* stagger delays for each card */
.card:nth-child(1) { transition-delay: 0.05s; }
.card:nth-child(2) { transition-delay: 0.10s; }
.card:nth-child(3) { transition-delay: 0.15s; }
.card:nth-child(4) { transition-delay: 0.20s; }
.card:nth-child(5) { transition-delay: 0.25s; }
.card:nth-child(6) { transition-delay: 0.30s; }
.card:nth-child(7) { transition-delay: 0.35s; }
.card:nth-child(8) { transition-delay: 0.40s; }/* ========== PAGE LOADER ========== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #080c14;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-logo {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #ffffff;
    animation: loaderPulse 1.6s ease infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.loader-tagline {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.loader-bar-wrap {
    width: 160px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--accent), #7fb9ff);
    border-radius: 2px;
    animation: loaderFill 1.8s ease forwards;
}

@keyframes loaderFill {
    0%   { width: 0%; }
    100% { width: 100%; }
}

/* ========== STICKY FLOATING CTA ========== */
.floating-cta {
    position: fixed;
    bottom: 36px;
    right: 28px;
    z-index: 500;
    background: var(--accent);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 40px;
    box-shadow: 0 8px 28px rgba(0, 87, 179, 0.35);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease,
                background 0.25s, box-shadow 0.25s;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 12px 36px rgba(0, 87, 179, 0.5);
    transform: translateY(-2px);
}

body.dark .floating-cta {
    box-shadow: 0 8px 28px rgba(75, 159, 255, 0.3);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 36px;
    left: 28px;
    z-index: 500;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease,
                background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
    transition: stroke 0.2s;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 87, 179, 0.3);
    transform: translateY(-2px);
}

.back-to-top:hover svg {
    stroke: #ffffff;
}

body.dark .back-to-top {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ========== CARD MICRO ANIMATIONS ========== */
.card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease,
                box-shadow 0.25s, border-color 0.25s;
}

.card.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.card h3 {
    transition: color 0.2s ease;
}

.card:hover h3 {
    color: var(--accent);
}

/* stagger delays for each card */
.card:nth-child(1) { transition-delay: 0.05s; }
.card:nth-child(2) { transition-delay: 0.10s; }
.card:nth-child(3) { transition-delay: 0.15s; }
.card:nth-child(4) { transition-delay: 0.20s; }
.card:nth-child(5) { transition-delay: 0.25s; }
.card:nth-child(6) { transition-delay: 0.30s; }
.card:nth-child(7) { transition-delay: 0.35s; }
.card:nth-child(8) { transition-delay: 0.40s; }/* ========== PAGE LOADER ========== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #080c14;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-logo {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #ffffff;
    animation: loaderPulse 1.6s ease infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.loader-tagline {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.loader-bar-wrap {
    width: 160px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--accent), #7fb9ff);
    border-radius: 2px;
    animation: loaderFill 1.8s ease forwards;
}

@keyframes loaderFill {
    0%   { width: 0%; }
    100% { width: 100%; }
}

/* ========== STICKY FLOATING CTA ========== */
.floating-cta {
    position: fixed;
    bottom: 36px;
    right: 28px;
    z-index: 500;
    background: var(--accent);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 40px;
    box-shadow: 0 8px 28px rgba(0, 87, 179, 0.35);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease,
                background 0.25s, box-shadow 0.25s;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 12px 36px rgba(0, 87, 179, 0.5);
    transform: translateY(-2px);
}

body.dark .floating-cta {
    box-shadow: 0 8px 28px rgba(75, 159, 255, 0.3);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 36px;
    left: 28px;
    z-index: 500;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease,
                background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-primary);
    transition: stroke 0.2s;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 87, 179, 0.3);
    transform: translateY(-2px);
}

.back-to-top:hover svg {
    stroke: #ffffff;
}

body.dark .back-to-top {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ========== CARD MICRO ANIMATIONS ========== */
.card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease,
                box-shadow 0.25s, border-color 0.25s;
}

.card.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.card h3 {
    transition: color 0.2s ease;
}

.card:hover h3 {
    color: var(--accent);
}

/* stagger delays for each card */
.card:nth-child(1) { transition-delay: 0.05s; }
.card:nth-child(2) { transition-delay: 0.10s; }
.card:nth-child(3) { transition-delay: 0.15s; }
.card:nth-child(4) { transition-delay: 0.20s; }
.card:nth-child(5) { transition-delay: 0.25s; }
.card:nth-child(6) { transition-delay: 0.30s; }
.card:nth-child(7) { transition-delay: 0.35s; }
.card:nth-child(8) { transition-delay: 0.40s; }

/* ========== FOOTER ========== */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
}

.footer-top {
    padding: 72px 0 56px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 48px;
    align-items: flex-start;
}

/* ── COL 1: BRAND ── */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-logo {
    height: 44px;
    width: 44px;
    display: block;
    opacity: 0.92;
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255,255,255,0.45);
    max-width: 260px;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    text-decoration: none;
}
.social-link svg {
    width: 16px;
    height: 16px;
}
.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,87,179,0.1);
}

/* ── HEADINGS ── */
.footer-heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ── LINKS ── */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}
.footer-links a:hover {
    color: rgba(255,255,255,0.9);
    padding-left: 6px;
}

/* ── CONTACT LIST ── */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.6;
}
.contact-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--accent);
    display: flex;
    align-items: center;
}
.contact-icon svg {
    width: 16px;
    height: 16px;
}

/* ── BOTTOM BAR ── */
.footer-bottom {
    padding: 28px 0;
}
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.footer-bottom-inner > p:first-child {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}
.disclaimer {
    font-size: 0.78rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.22);
    max-width: 860px;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.beesmart-link{
    text-decoration: none;
    color: rgb(179, 179, 179);
    font-size: 0.9rem;
    font-weight: 300;
}

/* ========== FOOTER RESPONSIVE ========== */
@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 24px;
    }
    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-brand {
        flex-direction: column;
    }
    .footer-top {
        padding: 52px 0 40px;
    }
}


/* ========== CUSTOM ALERT MODAL ========== */
.custom-alert-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.custom-alert-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.custom-alert-box {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 44px 40px 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    transform: translateY(18px) scale(0.97);
    transition: transform 0.28s ease, opacity 0.28s ease;
    opacity: 0;
}

.custom-alert-overlay.active .custom-alert-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.custom-alert-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 87, 179, 0.1);
    border: 1px solid rgba(0, 87, 179, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.custom-alert-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.custom-alert-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.custom-alert-msg {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 100%;
}

.custom-alert-btn {
    padding: 12px 36px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    border-radius: 40px;
    cursor: pointer;
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(
        to right,
        var(--accent),
        var(--accent-hover)
    );
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px rgba(0, 87, 179, 0.5);
}

body.dark .scroll-progress {
    box-shadow: 0 0 10px rgba(75, 159, 255, 0.6);
}

