/* Force-kill any cached or trailing background-attachment: fixed properties across the page */
div, header, [class*="bg-[url"] {
    background-attachment: scroll !important; /* Forces local container anchoring instead of viewport pinning */
}

/* Torpedo Learning - Configurable Landing Page Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --brand-dark-hover: #1e293b;       /* Hover state for dark panels/buttons */
    /* 1. BRAND COLORS */
    --brand-primary: #2445a0;          /* Richer, slightly darker primary blue */
    --brand-primary-hover: #0e35b3;    /* Darker blue for hover states */
    --brand-dark: #0f172a;             /* Main headings (slate-900) */
    --brand-muted: #475569;            /* Body copy text (slate-600) */
    
    /* 2. DYNAMIC HERO GRADIENT VARIABLES (Darker electric-royal blue theme) */
    --hero-gradient-from: #04195e;     /* Darker Royal Blue (top start) */
    --hero-gradient-via: rgba(3, 45, 112, 0.848); /* Medium Blue with 70% opacity (midway) */
    --hero-gradient-to: #ffffff;       /* Pure White (bottom end) */

    /* 2. BACKGROUND & TINTS */
    --brand-light: #ffffff;            /* Primary page backgrounds */
    --brand-soft-blue: #f0f6ff;        /* Card & Tab base backgrounds */
    --brand-soft-blue-tint: rgba(240, 246, 255, 0.35); /* Layout grids & leaderboard bg */
    
    /* 3. STATUS & ACCENTS */
    --brand-success: #10b981;          /* Emerald green success states */
    --brand-success-bg: #ecfdf5;       /* Light green background */
    --brand-warning: #f59e0b;          /* Amber warnings, clocks, and timers */
    --brand-warning-bg: #fefbeb;       /* Light amber background */
    
    /* 4. BORDERS & SHADOWS */
    --border-color-muted: #e2e8f0;      /* Standard muted borders (slate-200) */
    --border-color-active: rgba(37, 99, 235, 0.2); /* Fine, high-contrast active borders */
    
    /* 5. GEOMETRIC TOKENS */
    --rounded-card: 24px;              /* Global card corner rounding (rounded-3xl) */
    --rounded-button: 12px;            /* Standard button rounding (rounded-xl) */
}

/* Universal Clean Scrollbar Hiding Utility */
.no-scrollbar::-webkit-scrollbar,
.scrollbar-none::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.no-scrollbar,
.scrollbar-none {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;     /* Firefox */
}

/* Entrance Animations */
.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Standard Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0.13) 0%,
        rgba(255, 255, 255, 0.13) 77%,
        rgba(255, 255, 255, 0.5) 92%,
        rgba(255, 255, 255, 0.0) 100%
    );
}
.btn-shine:hover::after {
    opacity: 1;
    left: 130%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease-in-out;
}

/* ========================================================
   GRID MOSAIC COHORT LAYOUT PROPERTIES
   ======================================================== */

   :root {
    /* Match your hero section's light blue color exactly for seamless border gaps */
    --hero-bg-color: #f0f7fe; 
}

/* Parent container: holds the single background image scaled exactly to its borders */
.grid-mosaic-parent {
    background-image: url('../images/hero.png') !important; /* Resolves to public/assets/images/hero.png */
    background-size: cover !important;
    background-position: center !important;
    border-radius: 32px !important;
    background-color: var(--hero-bg-color) !important;
    overflow: hidden !important;
    
    /* Hardware acceleration to force flawless border-radius clipping */
    isolation: isolate !important;
    contain: paint !important; 
    transform: translate3d(0, 0, 0) !important; 
    -webkit-mask-image: -webkit-radial-gradient(white, black); 
}

/* Transparent Window Panel */
.grid-panel-window {
    border: 8px solid var(--hero-bg-color) !important; /* Forces solid gaps matching the background */
    border-radius: 24px !important;
    background-color: transparent !important;
    transition: transform 0.3s ease;
    overflow: hidden !important;
    
    /* Hardware acceleration prevents subpixel edge bleeding */
    contain: paint !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Translucent Overlay Panel */
.grid-panel-overlay {
    border: 8px solid var(--hero-bg-color) !important;
    border-radius: 24px !important;
    position: relative;
    overflow: hidden !important;
    
    /* Hardware acceleration prevents subpixel edge bleeding */
    contain: paint !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Symmetrical Unified Hero & Header Gradient Container */
.hero-gradient-container {
    background: linear-gradient(
        to bottom, 
        var(--hero-gradient-from), 
        var(--hero-gradient-via), 
        var(--hero-gradient-to)
    ) !important;
}

/* ========================================================
   LIFECODE SECTION REDESIGN (Horizontal Gradient & Scoped Glassmorphism)
   ======================================================== */
   .lifecode-section {
    position: relative;
    /* Flows from white (left) to dark navy (right) */
    background: linear-gradient(to right, #04195e 0%, rgb(15, 60, 133) 40%, #346dd1d4 100%) !important;
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color-muted);
}

.lifecode-title {
    color: #ffffff !important;
    font-size: 2.25rem;
    line-height: 1.25;
    font-weight: 800;
}

.lifecode-desc {
    color: #cbd5e1 !important; /* Soft gray for high contrast against dark navy */
    font-size: 0.875rem;
    line-height: 1.65;
    font-weight: 600;
}

/* Translucent Frosted Glass style for features on the dark gradient side */
.lifecode-feature-card {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1.25rem;
    color: #ffffff !important;
}

.lifecode-feature-title {
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lifecode-feature-desc {
    color: #94a3b8 !important; /* Muted slate for subtitle readability */
    font-size: 11px;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Solid White Capsule shaped CTA button */
.lifecode-btn-capsule {
    background-color: #ffffff !important;
    color: #04195e !important;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2.75rem;
    border-radius: 9999px !important; /* Perfect capsule curvature */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lifecode-btn-capsule:hover {
    background-color: #eff6ff !important;
    color: #1e40af !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Restructured larger image placement */
.lifecode-img-left {
    width: 100% !important;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.lifecode-img-left:hover {
    transform: scale(1.02);
}

/* ========================================================
   SCROLL-ACTIVATED NAV STICKY TRANSITIONS (With Solid Fallbacks)
   ======================================================== */
/* ========================================================
   SCROLL-ACTIVATED NAV STICKY TRANSITIONS (With Solid Fallbacks)
   ======================================================== */
   #navLogo {
    transition: filter 0.3s ease;
}

.glass-nav-scrolled {
    background-color: #ffffff !important; /* Explicit solid white background */
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important; /* Subtle gray e2e8f0 border */
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05) !important; /* Sleek shadow-sm */
    color: #0f172a !important; /* Dark slate text */
}

/* Restore original brand colors on scroll */
.glass-nav-scrolled #navLogo {
    filter: none !important;
}

/* Swaps navigation links & dropdown buttons to dark gray on scroll */
.glass-nav-scrolled #navLinks a,
.glass-nav-scrolled #navLinks button {
    color: #475569 !important; /* Slate-600 */
}
.glass-nav-scrolled #navLinks a:hover,
.glass-nav-scrolled #navLinks button:hover {
    color: #1e40af !important; /* Primary blue */
}
.glass-nav-scrolled #navLinks a::after {
    background: #1e40af !important;
}

/* Scoped Dropdown adjustments to ensure text remains highly legible */
#navLinks .group p {
    font-family: 'Roboto', sans-serif !important;
}

/* Adjusts action buttons when scrolled */
.glass-nav-scrolled #btnNavLogin {
    border-color: #e2e8f0 !important;
    background-color: #f8fafc !important;
    color: #334155 !important;
}
.glass-nav-scrolled #btnNavLogin:hover {
    background-color: #1e40af !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.glass-nav-scrolled #btnNavGetStarted, 
.glass-nav-scrolled #btnNavDashboard {
    background: linear-gradient(135deg, #0F2C59, #1e40af) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2) !important;
}
.glass-nav-scrolled #btnNavGetStarted:hover,
.glass-nav-scrolled #btnNavDashboard:hover {
    background: #1e40af !important;
    transform: translateY(-1px);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* Force Roboto Font globally on the Landing Page safely */
body, h1, h2, h3, h4, h5, h6, p, span, button, select, input, textarea, a {
    font-family: 'Roboto', sans-serif;
}

/* ========================================================
   PORTFOLIO REWIND MARQUEE INTERACTIVE LOGOS (Full Section)
   ======================================================== */
.logo-marquee-full {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: block;
    white-space: nowrap;
    text-align: left !important; /* Forces the track to start at 0px on the left of the screen */
    
    /* Symmetrical fade-out on the left and right edges */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content-full {
    display: inline-flex;
    align-items: center;
    width: max-content; /* Exactly fits all brand logos */
    padding-right: 12vw;
    animation: rewindMarquee 20s ease-in-out infinite; 
}

.marquee-content-full:hover {
    animation-play-state: paused;
}

.brand-logo {
    flex-shrink: 0 !important;
    height: 52px; /* Standardized height */
    width: 110px !important; /* Explicit width prevents layout-shift and calculation flips on load */
    margin: 0 45px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.08);
}
/* ========================================================
   REWIND MARQUEE KEYFRAMES ANIMATION (Fixes Non-Scrolling Bug)
   ======================================================== */
   @keyframes rewindMarquee {
    0% {
        transform: translateX(0);
    }
    80% {
        /* Moves the track left. calc() ensures the last logo is kept nicely in the frame */
        transform: translateX(calc(-100% + 80vw));
    }
    85% {
        transform: translateX(calc(-100% + 80vw));
    }
    100% {
        transform: translateX(0);
    }
}

/* Adjust keyframe offsets for mobile screens */
@media (max-width: 768px) {
    @keyframes rewindMarquee {
        0% { transform: translateX(0); }
        80% { transform: translateX(calc(-100% + 100vw)); }
        85% { transform: translateX(calc(-100% + 100vw)); }
        100% { transform: translateX(0); }
    }
}

/* ========================================================
   LANDING PAGE FLOATING HERO CARD (Mockup-Aligned Vertical Blending)
   ======================================================== */
   .hero-floating-card {
    position: relative;
    overflow: hidden !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    
    /* Removed bottom rounded corners to merge with the page below [1] */
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    
    padding: 3rem 1.5rem 0; /* Bottom padding delegated to the nested solutions section */
    box-shadow: 0 0px 50px -12px rgba(15, 44, 89, 0.05) !important; /* Subtle shadow */
    
    /* Vertical linear gradient that flows top-to-bottom and fades into pure white [1] */
    background: linear-gradient(to bottom, #0536a8 0%, #1d4fd8e2 25%, #025fb632 55%, #ffffff 100%) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: none !important; /* Removed bottom border line to allow seamless merging [1] */
}

@media (min-width: 640px) {
    .hero-floating-card {
        padding: 4rem 3rem 0 !important;
    }
}

@media (min-width: 768px) {
    .hero-floating-card {
        padding: 4rem 4rem 0 !important;
    }
}

/* ========================================================
   GLOBAL LOGO GRADIENT MASK (Unifies brand logo across reloads) [1]
   ======================================================== */
   .logo-gradient-mask {
    display: inline-block;
    
    /* Diagonal linear brand gradient from platform navy to primary blue */
    background: linear-gradient(100deg, #0d397a 0%, #2563eb 100%) !important;
    
    /* Clips the background gradient exactly to the Torpedo PNG logo transparent boundaries */
    -webkit-mask: url('../images/torpedo.png') no-repeat center / contain !important;
    mask: url('../images/torpedo.png') no-repeat center / contain !important;
}

/* ========================================================
   EDUCATIONAL SOLUTIONS SECTION (Frosted Glass Card Style) [1]
   ======================================================== */
   .solutions-section {
    padding: 5rem clamp(1.5rem, 5vw, 6rem);
    background-color: #ffffff !important; /* Set to solid white background */
    text-align: center;
}

.solutions-section__title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #0F2C59; /* Brand Navy */
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.solutions-section__sub {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b; /* Slate-500 */
    max-width: 500px;
    margin: 0 auto 4rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

.solution-card__icon-wrap {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    
    /* Vibrant purple-to-violet gradient matching reference image */
    background: linear-gradient(135deg, #5e6ee3 0%, #1c2883 100%) !important;
    
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.25);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.solution-card:hover .solution-card__icon-wrap {
    transform: scale(1.15) translateY(-2px);
}

.solution-card__title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0F2C59;
    margin-bottom: 0.5rem;
}

.solution-card__desc {
    font-size: 0.8525rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.6;
    max-width: 200px;
}

/* Responsive breakdowns for tablet and mobile screens */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.25rem;
    }
    .solution-card:last-child {
        grid-column: 1 / -1;
        margin: 0 auto;
    }
    .solutions-section {
        padding: 4rem clamp(1.5rem, 5vw, 6rem);
    }
}

/* ========================================================
   CTA FLOATING CONVERSION BANNER (Asymmetrical Left-Right split)
   ======================================================== */
   .cta-floating-banner {
    position: relative;
    overflow: hidden !important;
    border-radius: 22px !important; /* Matches the hero card rounded curves */
    padding: 2rem 2rem;
    text-align: left; /* Changed to left alignment matching mockup */
    box-shadow: 0 20px 40px -15px rgba(15, 44, 89, 0.15) !important;
    background: linear-gradient(135deg, #263f4a 0%,#163c75 10%, #2055a5 100%) !important; /* Brand gradient */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.cta-floating-banner__title {
    font-size: 2.55rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15; /* Compact line-height */
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.cta-floating-banner__sub {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0; /* Muted light slate */
    line-height: 1.6;
    margin-top: 0.5rem;
}

.cta-floating-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff !important;
    color: #0F2C59 !important; /* Brand navy text */
    font-weight: 850;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 3.5rem; /* Elongated padding */
    border-radius: 9999px !important; /* Pill curvature */
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.cta-floating-banner__btn:hover {
    background-color: #eff6ff !important;
    color: #1e40af !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
    .cta-floating-banner {
        padding: 4rem 3rem !important;
    }
}

@media (max-width: 768px) {
    .cta-floating-banner {
        padding: 4rem 2rem !important;
    }
    .cta-floating-banner__title {
        font-size: 1.85rem;
    }
}

/* ========================================================
   WHY YOU CHOOSE US SECTION (Tighter Spacing & Sharper Curves) [1]
   ======================================================== */
   .choose-us-section {
    /* Floating margins inside the main hero container card */
    margin: 3rem 2rem 2.5rem !important;
    padding: 3rem 2rem !important;
    
    /* Elegant translucent white backing with glassmorphic backdrop blurs */
    background: rgba(255, 255, 255, 0.715) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    
    border: 6px solid rgba(255, 255, 255, 0.841) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 0px -25px rgba(15, 45, 89, 0.279) !important;
    text-align: center;
}

.choose-us-section__accent {
    font-size: 1rem;
    font-weight: 800;
    color: #6366f1; /* Premium violet-blue accent color matching the image */
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.choose-us-section__title {
    font-size: 2.45rem;
    font-weight: 900;
    color: #0F2C59; /* Brand Navy */
    line-height: 1.25;
    margin-top: 0.5rem;
    margin-bottom: 3.5rem;
    letter-spacing: -0.02em;
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.choose-us-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.5rem; /* Tightened internal padding */
    background-color: #ffffff;
    border-radius: 16px !important; /* Less rounded corners matched exactly to the mockup */
    border: 1px solid rgba(226, 232, 240, 0.8) !important; /* Symmetrical clean thin border */
    box-shadow: 0 4px 6px -1px rgba(15, 45, 89, 0.13) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choose-us-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(15, 45, 89, 0.319) !important;
}

.choose-us-card__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px !important; /* Tighter square with rounded-xl corners matching the mockup */
    color: #ffffff !important; /* Force icon color to white */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.choose-us-card:hover .choose-us-card__icon-wrap {
    transform: scale(1.12) translateY(-1px);
}

/* Symmetrical, solid background colors for the icon wraps */
.choose-us-card__icon-wrap--red { background-color: #ef4444 !important; }
.choose-us-card__icon-wrap--green { background-color: #10b981 !important; }
.choose-us-card__icon-wrap--purple { background-color: #8b5cf6 !important; }
.choose-us-card__icon-wrap--blue { background-color: #6366f1 !important; }
.choose-us-card__icon-wrap--amber { background-color: #f59e0b !important; }
.choose-us-card__icon-wrap--cyan { background-color: #3b82f6 !important; }

.choose-us-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F2C59;
    margin-bottom: 0.75rem;
}

.choose-us-card__desc {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b; /* Slate-500 */
    line-height: 1.6;
    max-width: 250px;
}

/* Mobile & Tablet Responsiveness (< 1024px): Full-Width Container & 2 Cards Per Row */
@media (max-width: 1023.98px) {
    .choose-us-section {
        margin: 0rem -1rem 1rem !important;
        padding: 1.5rem 0.65rem !important;
        border-width: 3px !important;
        border-radius: 18px !important;
    }

    .choose-us-section__accent {
        font-size: 0.725rem !important;
        letter-spacing: 0.1em !important;
    }

    .choose-us-section__title {
        font-size: 1.45rem !important;
        margin-top: 0.25rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.2 !important;
    }

    .choose-us-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .choose-us-card {
        padding: 1rem 0.6rem !important;
        border-radius: 14px !important;
    }

    .choose-us-card__icon-wrap {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
        margin-bottom: 0.65rem !important;
        border-radius: 10px !important;
    }

    .choose-us-card__title {
        font-size: 0.8125rem !important;
        margin-bottom: 0.3rem !important;
        line-height: 1.25 !important;
    }

    .choose-us-card__desc {
        font-size: 0.6875rem !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
    }
}
/* ========================================================
   PLATFORM MILESTONE CARDS (Glowing 2x2 Gradient Grid) [1]
   ======================================================== */
   .milestone-section {
    position: relative;
    padding: 5rem clamp(1.5rem, 5vw, 6rem);
    
    /* Same vertical linear gradient flowing white-to-lightblue [1] */
    background: linear-gradient(to bottom, #ffffff 0%,#e1ebfe 25%, #dee8fb 100%) !important;
}

/* Same symmetrical fading blue-gradient top divider */
.milestone-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1e40af, #2563eb, transparent) !important;
    opacity: 0.15;
}

/* Same symmetrical fading blue-gradient bottom divider */
.milestone-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1e40af, #2563eb, transparent) !important;
    opacity: 0.15;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.milestone-card {
    position: relative;
    overflow: hidden !important;
    border-radius: 24px !important;
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    height: 280px; /* Fixed height for clean 2x2 grid alignment */
    color: #ffffff !important;
}

.milestone-card__content {
    max-width: 60%;
    text-align: left;
}

.milestone-card__title {
    font-size: 1.6rem !important;
    font-weight: 900;
    color: #ffffff !important; /* Force high-contrast white text */
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.milestone-card__desc {
    font-size: 0.8125rem !important;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important; /* Highly readable description text */
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.milestone-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff !important;
    color: #0F2C59 !important; /* Brand navy text */
    font-weight: 850;
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 2rem;
    border-radius: 9999px !important; /* Pill curvature */
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.milestone-card__btn:hover {
    background-color: #0F2C59 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Symmetrical background gradients & corresponding glow color shadow effects [1] */
.milestone-card--blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
}
.milestone-card--blue:hover {
    border-color: rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.45) !important;
    transform: translateY(-4px);
}

.milestone-card--green {
    background: linear-gradient(135deg, #065f46 0%, #10b981 100%) !important;
}
.milestone-card--green:hover {
    border-color: rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.45) !important;
    transform: translateY(-4px);
}

.milestone-card--purple {
    background: linear-gradient(135deg, #60288a9f 0%, #8b5cf6 100%) !important;
}
.milestone-card--purple:hover {
    border-color: rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.45) !important;
    transform: translateY(-4px);
}

.milestone-card--navy {
    background: linear-gradient(135deg, #224b8d 0%, #153e9e 100%) !important;
}
.milestone-card--navy:hover {
    border-color: rgba(37, 99, 235, 0.2) !important;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-4px);
}

.milestone-card__img-wrap {
    width: 35%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    pointer-events: none;
}

.milestone-card__img {
    width: 100%;
    max-height: 170px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.12));
}

@media (max-width: 1024px) {
    .milestones-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 480px;
    }
    .milestone-card {
        height: auto;
        min-height: 240px;
        padding: 2.5rem 1.5rem;
    }
    .milestone-card__content {
        max-width: 60%;
    }
    .milestone-card__img-wrap {
        width: 35%;
    }
}

@media (max-width: 640px) {
    .milestone-card {
        flex-direction: column-reverse;
        text-align: center;
        align-items: center;
    }
    .milestone-card__content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .milestone-card__img-wrap {
        width: 100%;
        max-height: 130px;
    }
    .milestone-card__title {
        font-size: 1.4rem;
    }
}
/* ========================================================
   TESTIMONIAL FLOATING QUOTE CARD (Mockup Aligned) [1]
   ======================================================== */
   .testimonial-card-wrap {
    /* Double background-clip masks a gradient border over a solid light-blue fill [1] */
    border: 1px solid transparent !important;
    background-image: linear-gradient(#eff6ff, #ffffff), linear-gradient(135deg, #2a5ca739 0%, #427eff08 100%) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    
    border-radius: 12px !important; /* Curves matched to hero and CTA cards */
    box-shadow: none rgba(15, 45, 89, 0.296) !important;
    padding: 1rem 0rem;
    text-align: center;
    position: relative;
    overflow: hidden !important;
    margin-top: 5rem;
    margin-bottom: 0rem;
}

.testimonial-avatar-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, #b7aa157d 0%, #cdbf2b 100%);
    box-shadow: 0 10px 15px -3px rgba(15, 44, 89, 0.1);
    margin: 0 auto 1.5rem;
}

.testimonial-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eff6ff;
    background-color: #ffffff;
}

.testimonial-quote-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem;
}

.testimonial-quote-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F2C59; /* Brand Navy */
    line-height: 1.65;
    font-style: italic;
}

.testimonial-quote-mark {
    font-family: serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(68, 82, 237, 0.862); /* Translucent indigo quotation marks */
    line-height: 1;
    position: absolute;
    user-select: none;
    pointer-events: none;
}

.testimonial-quote-mark--left {
    left: 0;
    top: -1.75rem;
}

.testimonial-quote-mark--right {
    right: 0;
    bottom: -2rem;
}

.testimonial-author-name {
    font-size: 1.05rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: oblique;
    font-weight: 850;
    color: #0F2C59;
    margin-top: 1.5rem;
}

.testimonial-author-title {
    font-size: 0.75rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    color: #64748b; /* Slate-500 */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .testimonial-card-wrap {
        padding: 3rem 1.5rem;
    }
    .testimonial-quote-text {
        font-size: 1.05rem;
    }
    .testimonial-quote-box {
        padding: 0 1.5rem;
    }
    .testimonial-quote-mark {
        font-size: 2.75rem;
    }
}
/* ========================================================
   COURSES SHOWCASE SECTION (Mockup Aligned) [1]
   ======================================================= */
   .courses-section {
    position: relative;
    padding: 5rem 0;
    
    /* Vertical linear gradient flowing white-to-lightblue [1] */
    background: linear-gradient(to bottom, #ffffff 0%,#e1ebfe 25%, #cde2ff 100%) !important;
}

/* Symmetrical fading blue-gradient top divider */
.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1e40af, #2563eb, transparent) !important;
    opacity: 0.15;
}

/* Symmetrical fading blue-gradient bottom divider */
.courses-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1e40af, #2563eb, transparent) !important;
    opacity: 0.15;
}

/* ========================================================
   HERO FLOATING BADGES KEYFRAMES (Organic bobbing physics) [1]
   ======================================================== */
   .float-badge {
    transition: transform 0.3s ease;
}

/* Float timelines using slightly offset durations to prevent synchronization */
.float-badge--slow {
    animation: hero-float-slow 6s ease-in-out infinite;
}

.float-badge--medium {
    animation: hero-float-medium 8s ease-in-out infinite;
}

.float-badge--fast {
    animation: hero-float-fast 5s ease-in-out infinite;
}

.float-badge--reverse {
    animation: hero-float-reverse 7s ease-in-out infinite;
}

@keyframes hero-float-slow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes hero-float-medium {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(-4deg);
    }
}

@keyframes hero-float-fast {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes hero-float-reverse {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* Infinite Smooth Marquee Keyframes */
@keyframes marqueeScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-33.333%); }
}

.animate-marquee-infinite {
    display: flex;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

.animate-marquee-infinite:hover {
    animation-play-state: paused;
}