/* =============================================
   MASTERMIND ALLIANCE ACADEMY - MAIN STYLESHEET
   Design System: Clean Executive Navy & Teal
   100% Mobile-First Architecture
============================================= */

/* =============================================
   1. RESET & BASE
============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
}

/* Focus styles for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-teal);
    outline-offset: 3px;
}

::selection {
    background-color: var(--color-teal);
    color: #ffffff;
}

/* =============================================
   2. DESIGN TOKENS
============================================= */
:root {
    /* Brand Colors - Exact Logo Palette with WCAG AA/AAA Compliance */
    --color-brand: #0f2548;
    /* Executive Deep Navy (13.6:1 contrast with white) */
    --color-brand-dark: #091830;
    /* Ultra Dark Navy */
    --color-brand-light: #1a3c6e;
    /* Primary Navy */
    --color-teal: #0b6e66;
    /* Primary High-Contrast Teal (6.11:1 ratio with white - WCAG AAA/AA Pass) */
    --color-teal-dark: #045e56;
    /* Deep Dark Teal (7.66:1 ratio with white - WCAG AAA Pass) */
    --color-teal-light: #0d8277;
    /* Vibrant Teal (4.8:1 ratio with white) */
    --color-teal-accent: #2dd4bf;
    /* Bright Mint Cyan (for dark backgrounds: 10.5:1 ratio with navy) */
    --color-blue: #1d4ed8;
    /* Royal Sapphire Blue (6.8:1 ratio with white) */
    --color-success: #047857;
    /* Emerald Green (5.48:1 ratio with white - WCAG AA Pass) */

    /* Backgrounds & Surfaces */
    --color-bg: #f8fafc;
    /* Soft slate background */
    --color-bg-alt: #f0fdfa;
    /* Mint-tinted background */
    --color-surface: #ffffff;
    /* Crisp white card */
    --color-surface-hover: #f8fafc;
    --color-text: #0f172a;
    /* Deep Slate Text (15.5:1 ratio with white - WCAG AAA Pass) */
    --color-muted: #334155;
    /* Slate-700 High Contrast (9.6:1 ratio with white - WCAG AAA Pass) */
    --color-border: #cbd5e1;
    /* Crisp Border Grey */
    --color-border-teal: #99f6e4;
    /* Soft Teal Border */

    /* Header / Navbar */
    --color-header-bg: #ffffff;
    /* Clean White Navbar for 100% Logo Visibility */
    --color-header-text: #0f172a;
    /* Dark Navy Nav Links */
    --color-footer-bg: #091830;
    /* Deep Dark Footer */

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 50px rgba(15, 23, 42, 0.16);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 5rem;

    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-xs: 0.8125rem;
    --fs-h1: clamp(1.85rem, 4.5vw, 3rem);
    --fs-h2: clamp(1.5rem, 3.5vw, 2.35rem);
    --fs-h3: clamp(1.15rem, 2.5vw, 1.5rem);

    /* Animation Transitions */
    --transition: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================
   3. TYPOGRAPHY & COMMON UTILITIES
============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--color-text);
    font-weight: 700;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

p {
    color: var(--color-muted);
    line-height: 1.75;
}

.section {
    padding-block: var(--space-8);
}

.section-sm {
    padding-block: var(--space-6);
}

.text-center {
    text-align: center;
}

.text-teal {
    color: var(--color-teal) !important;
}

/* Contextual high contrast on dark backgrounds */
.page-banner .text-teal,
.hero-banner-section .text-teal,
.site-footer .text-teal,
.stat-card .text-teal,
.founder-card .text-teal,
.bg-dark .text-teal,
.dark-section .text-teal {
    color: var(--color-teal-accent) !important;
}

.text-accent {
    color: var(--color-teal) !important;
}

.d-none {
    display: none !important;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    left: var(--space-4);
    top: -120px;
    z-index: 9999;
    background: var(--color-brand);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.2rem;
    transition: top var(--transition);
    font-weight: 600;
    font-size: var(--fs-small);
}

.skip-link:focus-visible {
    top: var(--space-4);
}

/* Buttons */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    color: #ffffff !important;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all var(--transition);
    min-height: 48px;
    box-shadow: 0 4px 14px rgba(4, 94, 86, 0.25);
    border: none;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-brand) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 94, 86, 0.35);
    color: #ffffff;
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: transparent;
    color: var(--color-teal-dark) !important;
    border: 2px solid var(--color-teal-dark);
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all var(--transition);
    min-height: 48px;
    font-size: 0.95rem;
}

.btn-outline-custom:hover {
    background: var(--color-teal-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(4, 94, 86, 0.3);
}


/* =============================================
   4. SECTION HEADER (Center Aligned)
============================================= */
.section-header {
    margin-bottom: var(--space-7);
}

.section-header.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 148, 136, 0.1);
    color: var(--color-teal-dark);
    border: 1px solid rgba(13, 148, 136, 0.25);
    padding: 0.35rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
    align-self: center;
}

.section-title {
    margin-bottom: var(--space-2);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-teal);
    border-radius: var(--radius-full);
    margin: var(--space-3) auto 0;
}

.section-subtitle {
    max-width: 640px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--color-muted);
    margin-top: var(--space-3);
    margin-inline: auto;
}

/* =============================================
   5. HEADER & NAVBAR (Clean White for Logo Clarity)
============================================= */
.site-header.wrap-1 {
    background-color: var(--color-header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 18px rgba(15, 23, 42, 0.08);
    border-bottom: 2px solid var(--color-teal);
    transition: all var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
    gap: var(--space-4);
}

/* Logo: natural crisp visibility */
.site-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo {
    width: 170px;
    height: auto;
    display: block;
    transition: transform var(--transition);
}

.site-logo-link:hover .site-logo {
    transform: scale(1.02);
}

/* Mobile Hamburger Button */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(13, 148, 136, 0.08);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background-color: var(--color-brand);
    border-radius: 2px;
    transition: transform 0.25s ease, background-color 0.25s ease;
    display: block;
}

.hamburger.is-active span:nth-child(1),
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-teal);
}

.hamburger.is-active span:nth-child(2),
.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3),
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--color-teal);
}

/* Backdrop overlay when mobile nav is open */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.nav-open::before {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

/* Primary Navigation (Mobile Drawer - default) */
.primary-navigation {
    transform: translateX(-100%);
    padding: 1.5rem;
    background-color: #ffffff;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: auto;
    width: calc(100% - 60px);
    max-width: 320px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    min-height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
    z-index: 1001;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    border-right: 3px solid var(--color-teal);
}

.primary-navigation.is-visible,
.primary-navigation.active {
    transform: translateX(0%);
    visibility: visible;
    pointer-events: auto;
}

.nav-mobile-logo {
    display: block;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border);
}

.nav-mobile-logo img {
    width: 150px;
    height: auto;
}

/* Mobile Nav List */
.nav-list {
    display: flex;
    flex-direction: column;
}

.nav-list>li {
    border-top: 1px solid var(--color-border);
}

.nav-list>li:last-child {
    border-bottom: 1px solid var(--color-border);
}

.nav-list>li>a,
.nav-list>li>.dropdown-header>a {
    display: block;
    color: var(--color-brand);
    padding: 0.95rem 0.5rem;
    font-weight: 600;
    font-size: var(--fs-small);
    letter-spacing: 0.04em;
    transition: all var(--transition);
}

.nav-list>li>a:hover,
.nav-list>li>.dropdown-header>a:hover {
    color: var(--color-teal);
    padding-left: 0.75rem;
}

/* Dropdown Menu (Mobile) */
.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-header .nav-courses-link {
    flex: 1;
}

.dropdown-arrow {
    background: transparent;
    border: none;
    color: var(--color-brand);
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: transform var(--transition), color var(--transition);
    font-size: 0.9rem;
}

.dropdown-arrow.is-open,
.dropdown-arrow.show {
    transform: rotate(180deg);
    color: var(--color-teal);
}

.nav-dropdown {
    background: var(--color-bg-alt);
    border-left: 3px solid var(--color-teal);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 0 0 var(--space-2) var(--space-2);
}

.nav-dropdown.is-open,
.nav-dropdown.show {
    max-height: 450px;
}

.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-muted);
    padding: 0.65rem 0.85rem;
    font-size: var(--fs-small);
    font-weight: 500;
    transition: color var(--transition), background-color var(--transition);
}

.nav-dropdown li a i {
    color: var(--color-teal);
    font-size: 0.85rem;
    min-width: 16px;
}

.nav-dropdown li a:hover {
    color: var(--color-brand);
    background-color: rgba(13, 148, 136, 0.08);
}

/* Explore All Courses button */
.nav-dropdown-footer {
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-1);
    padding: var(--space-2);
}

.explore-all-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--space-2) !important;
    background: var(--color-teal) !important;
    color: #ffffff !important;
    padding: 0.65rem 1rem !important;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
    font-size: var(--fs-xs) !important;
    letter-spacing: 0.03em;
    transition: background-color var(--transition) !important;
}

.explore-all-btn:hover {
    background: var(--color-teal-dark) !important;
}

/* Enquire Now Nav Button */
.btn-enquire-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.35rem;
    font-size: var(--fs-small);
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    color: var(--color-brand);
    border: 2px solid var(--color-brand);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    background: transparent;
    white-space: nowrap;
}

.btn-enquire-nav:hover {
    background: var(--color-brand);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Desktop Nav overrides (992px+) */
@media (min-width: 992px) {
    .hamburger {
        display: none;
    }

    .primary-navigation {
        position: static;
        transition: none;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        min-height: auto;
        background-color: transparent;
        width: auto;
        max-width: none;
        overflow: visible;
        padding: 0;
        border-right: none;
        box-shadow: none;
        display: flex;
        align-items: center;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2);
    }

    .nav-list>li {
        border: none !important;
        position: relative;
    }

    .nav-list>li>a,
    .nav-list>li>.dropdown-header>a {
        padding: 0.6rem 0.9rem;
        font-size: var(--fs-small);
        border-radius: var(--radius-sm);
        color: var(--color-brand);
        position: relative;
        display: block;
        letter-spacing: 0.03em;
    }

    .nav-list>li>a:hover,
    .nav-list>li>.dropdown-header>a:hover {
        color: var(--color-teal);
        background: rgba(13, 148, 136, 0.06);
        padding-left: 0.9rem;
    }

    .nav-list>li>a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0.9rem;
        right: 0.9rem;
        height: 2px;
        background: var(--color-teal);
        transform: scaleX(0);
        transition: transform var(--transition);
        border-radius: 2px;
    }

    .nav-list>li>a:hover::after {
        transform: scaleX(1);
    }

    body::before {
        display: none;
    }

    /* Desktop Dropdown Menu */
    .has-dropdown {
        position: relative;
    }

    .dropdown-arrow {
        display: block;
        padding: 0.6rem 0.4rem;
        color: var(--color-brand);
    }

    .nav-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
        width: 260px;
        background: #ffffff;
        border: 1px solid var(--color-border);
        border-top: 3px solid var(--color-teal);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-xl);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.25s ease;
        opacity: 0;
        margin: 0;
        z-index: 200;
    }

    .has-dropdown:hover .nav-dropdown {
        max-height: 480px;
        opacity: 1;
    }

    .nav-dropdown li a {
        padding: 0.75rem 1.15rem;
        font-size: 0.875rem;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-dropdown li:last-child a {
        border-bottom: none;
    }

    .nav-dropdown-footer {
        border-top: 1px solid var(--color-border);
        margin: 0;
        padding: var(--space-2);
    }

    .explore-all-btn {
        margin: 0 !important;
    }
}

@media (min-width: 1200px) {
    .nav-list {
        gap: var(--space-4);
    }
}

/* =============================================
   VERTICAL FIXED FEEDBACK TAB (Left Edge)
============================================= */
.feedback-side-tab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 990;
}

.feedback-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-brand);
    color: #ffffff !important;
    padding: 14px 6px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-family: var(--font-heading);
    box-shadow: 2px 0 12px rgba(15, 37, 72, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.feedback-tab-btn:hover {
    background-color: var(--color-teal);
    padding-left: 10px;
    color: #ffffff !important;
    box-shadow: 4px 0 16px rgba(13, 148, 136, 0.35);
}

/* =============================================
   6. HERO BANNER CAROUSEL
============================================= */
.carousel-item picture {
    display: block;
    width: 100%;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    background-color: var(--color-brand);
}

/* Mobile: ~4:3 aspect ratio matching responsive banners */
@media (max-width: 767px) {
    .carousel-item img {
        aspect-ratio: 4 / 3;
        min-height: 250px;
        max-height: 480px;
    }
}

/* Desktop & Laptop: ~2.13:1 widescreen aspect ratio */
@media (min-width: 768px) {
    .carousel-item img {
        aspect-ratio: 16 / 7.5;
        min-height: 380px;
        max-height: 600px;
    }
}

@media (min-width: 1200px) {
    .carousel-item img {
        max-height: 650px;
    }
}

/* Carousel Indicators: centered */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
    z-index: 5;
}

.carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.65);
    border: 2px solid transparent;
    opacity: 0.85;
    transition: all 0.3s ease;
    margin: 0 4px;
    padding: 6px 0;
    box-sizing: content-box;
    background-clip: content-box;
    cursor: pointer;
}

.carousel-indicators .active {
    width: 32px;
    border-radius: 6px;
    background-color: var(--color-teal-accent);
    opacity: 1;
}

/* Carousel Prev/Next Buttons */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: rgba(15, 37, 72, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 1rem;
    opacity: 0.85;
    transition: all var(--transition);
    z-index: 5;
    cursor: pointer;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--color-teal);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

@media (max-width: 575px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 38px;
        height: 38px;
        margin: 0 0.5rem;
    }
}

/* =============================================
   7. ABOUT US SECTION
============================================= */
.about-section {
    background-color: var(--color-surface);
}

/* --- Logo Watermark (shared: index + about page) --- */
.container-watermark {
    position: relative;
    overflow: hidden;
}

.logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    max-width: 340px;
    pointer-events: none;
    z-index: 0;
}

.logo-watermark img {
    width: 100%;
    display: block;
    opacity: 0.10;
    filter: grayscale(100%);
}

.container-watermark>*:not(.logo-watermark) {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-7);
    align-items: start;
}

.about-sub-heading {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--color-brand);
    margin-bottom: var(--space-4);
    font-weight: 700;
}

.about-text p {
    margin-bottom: var(--space-4);
}

.about-text strong {
    color: var(--color-brand);
    font-weight: 700;
}

/* Mission Box */
.about-mission-box {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(15, 37, 72, 0.04) 100%);
    border: 1px solid rgba(13, 148, 136, 0.25);
    border-left: 4px solid var(--color-teal);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    margin-bottom: var(--space-5);
}

.about-mission-box>i {
    color: var(--color-teal);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-mission-box div {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.about-mission-box strong {
    color: var(--color-brand);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.about-mission-box span {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Features List */
.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--color-text);
    font-size: 0.95rem;
}

.about-features li i {
    color: var(--color-teal);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 1.05rem;
}

/* CTA Row in About */
.about-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

/* Stats Cards Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.stat-card {
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--color-teal);
}

.stat-card::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -20px;
    right: -20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: var(--color-teal-accent);
    line-height: 1;
    display: inline-block;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-teal-accent);
}

.stat-label {
    display: block;
    font-size: var(--fs-small);
    color: #ffffff;
    margin-top: var(--space-2);
    font-weight: 600;
}

/* Founder Card */
.founder-card {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-top: var(--space-4);
    box-shadow: var(--shadow-md);
}

.founder-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--color-teal);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.founder-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.founder-name {
    color: #ffffff;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.founder-role {
    color: var(--color-teal-accent);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.founder-quote {
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-xs);
    line-height: 1.65;
    font-style: italic;
    margin-top: var(--space-2);
    margin-bottom: 0;
}

/* About section responsive */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats-grid {
        gap: var(--space-5);
    }
}

/* =============================================
   8. COURSES CAROUSEL SECTION
============================================= */
.courses-section {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.courses-carousel-wrapper {
    position: relative;
    padding: var(--space-2) 0 var(--space-4);
}

.courses-carousel {
    display: flex;
    gap: var(--space-5);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-3) var(--space-2) var(--space-5);
    scrollbar-width: none;
}

.courses-carousel::-webkit-scrollbar {
    display: none;
}

/* Course Card — mobile first */
.course-card {
    flex: 0 0 85vw;
    max-width: 320px;
    scroll-snap-align: start;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 148, 136, 0.3);
}

.course-card-img-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.course-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

.course-card:hover .course-card-img {
    transform: scale(1.06);
}

.course-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.course-badge.popular {
    background: #065f57;
    color: #ffffff !important;
}

.course-badge.new {
    background: #047857;
    color: #ffffff !important;
}

.course-badge.featured {
    background: var(--color-brand);
    color: #ffffff !important;
}

.course-card-body {
    padding: 1.15rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(13, 148, 136, 0.1);
    display: grid;
    place-items: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--color-teal);
}

.course-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.course-card-subtitle {
    display: block;
    color: var(--color-teal);
    font-size: 0.725rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.course-card-desc {
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-enroll-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-brand);
    color: #ffffff !important;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
    align-self: flex-start;
    min-height: 38px;
    text-decoration: none;
}

.course-enroll-btn:hover {
    background: var(--color-teal);
    color: #ffffff !important;
    text-decoration: none;
    transform: translateX(4px);
}

/* Courses Carousel Prev / Next buttons: Vertically centered */
.courses-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-brand);
    box-shadow: var(--shadow-md);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: 2px solid var(--color-border);
}

.courses-nav-btn:hover {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    box-shadow: var(--shadow-lg);
}

.courses-prev {
    left: -10px;
}

.courses-next {
    right: -10px;
}

/* Courses Dots: Centered */
.courses-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.courses-dots .dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    padding: 4px;
    box-sizing: content-box;
    background-clip: content-box;
}

.courses-dots .dot.active {
    background: var(--color-teal);
    width: 28px;
    border-radius: 6px;
}

/* Courses carousel responsive */
@media (min-width: 576px) {
    .course-card {
        flex: 0 0 75vw;
        max-width: 360px;
    }
}

@media (min-width: 768px) {
    .course-card {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: none;
    }
}

@media (min-width: 992px) {
    .course-card {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: none;
    }
}

/* =============================================
   9. BLOG SECTION
============================================= */
.blog-section {
    background-color: var(--color-surface);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

.blog-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 148, 136, 0.3);
}

.blog-card-img-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    bottom: var(--space-3);
    left: var(--space-3);
    background: var(--color-brand);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.blog-card-body {
    padding: var(--space-4) var(--space-4) var(--space-5);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
    flex-wrap: wrap;
}

.blog-meta span {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.blog-meta span i {
    color: var(--color-teal);
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: var(--fs-small);
    color: var(--color-muted);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: var(--space-4);
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-teal);
    font-weight: 700;
    font-size: var(--fs-small);
    transition: gap var(--transition), color var(--transition);
}

.blog-read-more:hover {
    gap: var(--space-3);
    color: var(--color-brand);
}

/* Blog grid responsive */
@media (min-width: 576px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================
   9.1. FAQ SECTION
============================================= */
.faq-section {
    background-color: var(--color-bg);
}

.faq-container {
    max-width: 860px;
    margin-inline: auto;
}

.custom-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: rgba(13, 148, 136, 0.35) !important;
    box-shadow: var(--shadow-md);
}

.faq-btn {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 1.15rem 1.35rem;
    font-size: 1.02rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-brand);
    background-color: var(--color-surface);
    border: none;
    box-shadow: none !important;
    transition: all var(--transition);
}

.faq-btn:not(.collapsed) {
    background-color: var(--color-bg-alt);
    color: var(--color-teal);
}

.faq-q-icon {
    display: grid;
    place-items: center;
    color: var(--color-teal);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-btn:not(.collapsed) .faq-q-icon {
    transform: scale(1.1);
}

/* Custom Accordion Chevron */
.faq-btn::after {
    margin-left: auto;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f2548'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform var(--transition);
    filter: none;
}

.faq-btn:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d9488'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.faq-body {
    padding: 1.15rem 1.5rem 1.4rem 3.4rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border-teal);
}

.faq-body strong {
    color: var(--color-brand);
}

/* FAQ responsive */
@media (min-width: 576px) {
    .faq-btn {
        padding: 1rem;
        font-size: 0.92rem;
        gap: var(--space-2);
    }

    .faq-body {
        padding: 1rem 1rem 1.25rem 1rem;
    }
}

/* =============================================
   10. TESTIMONIALS SECTION (Executive Gradient)
============================================= */
.testimonials-section {
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 50%, var(--color-teal-dark) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-tag {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-teal-accent);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonials-section .section-title {
    color: #ffffff;
}

.testimonials-section .section-title::after {
    background: var(--color-teal-accent);
}

.testimonials-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-carousel {
    position: relative;
    padding-bottom: 2rem;
}

.testimonial-slide {
    padding: var(--space-2) var(--space-2) var(--space-4);
}

.testi-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    max-width: 760px;
    margin-inline: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.testi-quote-icon {
    font-size: 2.25rem;
    color: var(--color-teal-accent);
    opacity: 0.85;
    margin-bottom: var(--space-3);
    line-height: 1;
}

.testi-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-5);
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testi-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--color-teal);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    font-family: var(--font-heading);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.testi-name {
    display: block;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
}

.testi-role {
    display: block;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.88);
    margin-top: 2px;
}

.testi-stars {
    display: flex;
    gap: 3px;
    margin-top: var(--space-1);
}

.testi-stars i {
    color: var(--color-teal-accent);
    font-size: 0.85rem;
}

/* Testimonial Controls */
.testi-ctrl-prev,
.testi-ctrl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    transition: all var(--transition);
    z-index: 5;
}

.testi-ctrl-prev:hover,
.testi-ctrl-next:hover {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: #ffffff;
}

.testi-ctrl-prev {
    left: 0;
}

.testi-ctrl-next {
    right: 0;
}

/* Testimonial Indicators (Dots): Fully Centered & No Yellow */
.carousel-indicators.testi-indicators {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 1.5rem auto 0 auto;
    padding: 0;
}

.testi-indicators button {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    border: none;
    transition: all var(--transition);
    margin: 0 4px;
    padding: 4px;
    box-sizing: content-box;
    background-clip: content-box;
    opacity: 1;
}

.testi-indicators button.active {
    background: var(--color-teal-accent);
    width: 30px;
    border-radius: 6px;
    opacity: 1;
}

/* =============================================
   11. CONTACT US SECTION
============================================= */
.contact-section {
    background-color: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-7);
}

.contact-info-title {
    font-size: 1.45rem;
    color: var(--color-brand);
    margin-bottom: var(--space-3);
}

.contact-info-desc {
    color: var(--color-muted);
    margin-bottom: var(--space-5);
    line-height: 1.75;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--color-brand);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-detail-text strong {
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--color-brand);
    display: block;
}

.contact-detail-text span,
.contact-detail-text a {
    font-size: var(--fs-small);
    color: var(--color-muted);
    transition: color var(--transition);
}

.contact-detail-text a:hover {
    color: var(--color-teal);
}

/* Contact Form Card */
.contact-form-wrap {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.form-label {
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-brand);
}

.form-label span {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--fs-body);
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    min-height: 48px;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    background: #ffffff;
}

.form-input::placeholder {
    color: var(--color-muted);
    opacity: 0.7;
}

.form-select-custom {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    font-size: var(--fs-xs);
    color: #ef4444;
    font-weight: 500;
    min-height: 1rem;
}

.form-input.is-error {
    border-color: #ef4444;
}

.form-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all var(--transition);
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-brand) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.form-success {
    margin-top: var(--space-4);
    padding: var(--space-4);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid var(--color-success);
    border-radius: var(--radius-md);
    color: #047857;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Contact grid responsive */
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =============================================
   12. FOOTER (Executive Deep Navy Theme)
============================================= */
.footer,
.site-footer {
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 60%, #0d1b2a 100%) !important;
    padding-top: var(--space-8);
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    border-top: 3px solid var(--color-teal);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* White Logo Badge for 100% Crisp Visibility */
.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform var(--transition), box-shadow var(--transition);
}

.footer-logo-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.footer-logo {
    width: 155px;
    height: auto;
    /* 100% original natural colors */
    filter: none;
    display: block;
}

.footer-brand-col p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-small);
    line-height: 1.75;
    margin-bottom: var(--space-4);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.social-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    transition: all var(--transition);
}

.social-icon:hover {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.footer-col-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-col-title i {
    color: var(--color-teal-accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-small);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 32px;
    padding-block: 2px;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a i {
    color: var(--color-teal-accent);
    font-size: 0.7rem;
}

.footer-links a:hover {
    color: var(--color-teal-accent);
    padding-left: 4px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--fs-small);
}

.footer-contact-item i {
    color: var(--color-teal-accent);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-item span,
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-contact-item a:hover {
    color: var(--color-teal-accent);
}

.footer-bottom {
    padding-block: var(--space-5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-xs);
    margin: 0;
}

.footer-dev-credit {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-xs);
    transition: color var(--transition);
}

.footer-dev-credit:hover {
    color: var(--color-teal-accent);
}

.footer-dev-credit span {
    color: var(--color-teal-accent);
    font-weight: 700;
}

/* Footer responsive */
@media (min-width: 576px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .footer-top {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    }
}

/* =============================================
   12B. ATTRACTIVE WEB3FORMS LOADER & SUCCESS STATES
============================================= */
.btn-loading-state {
    position: relative;
    pointer-events: none;
    opacity: 0.88;
    cursor: not-allowed !important;
}

.btn-spinner {
    display: inline-block;
    width: 1.15rem;
    height: 1.15rem;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: btnSpin 0.75s linear infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* Custom In-Page Branded Success Message */
.custom-form-success-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(13, 148, 136, 0.12) 100%);
    border: 1.5px solid #10b981;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-top: 1.25rem;
    color: #065f46;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.15);
    animation: formFeedbackFadeIn 0.35s ease-out;
    text-align: left;
}

.custom-form-success-box.text-center {
    text-align: center;
}

@keyframes formFeedbackFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-form-success-box .success-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #047857;
    margin-bottom: 0.4rem;
}

.custom-form-success-box.text-center .success-head {
    justify-content: center;
}

.custom-form-success-box .success-body {
    font-size: 0.925rem;
    line-height: 1.55;
    color: #064e3b;
    margin-bottom: 0;
}

/* Custom In-Page Branded Error Message */
.custom-form-error-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1.5px solid #ef4444;
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
    color: #991b1b;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.12);
    animation: formFeedbackFadeIn 0.35s ease-out;
}

/* =============================================
   13. FIXED FLOATING BUTTONS (Go to Top & WhatsApp)
============================================= */
.go-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.go-to-top button,
#go-to-top {
    background-color: var(--color-brand);
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    font-size: 1.05rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
}

.go-to-top button.is-visible,
#go-to-top.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.go-to-top button:hover,
#go-to-top:hover {
    transform: translateY(-4px);
    background-color: var(--color-teal);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.4);
}

.go-to-top button span,
#go-to-top span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.go-to-top button i,
#go-to-top i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
    margin: 0;
    padding: 0;
    vertical-align: 0;
    transform: translateY(-1.5px); /* Optical center compensation for upward arrow tip */
}

.go-to-top .whatsapp-link {
    background-color: #25d366;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    transition: transform 0.2s linear, box-shadow 0.2s linear;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    box-sizing: border-box;
}

.go-to-top .whatsapp-link span,
.go-to-top .whatsapp-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.whatsapp-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #25d366;
    border-radius: 50%;
    filter: blur(5px);
    opacity: 0.5;
    animation: pulseWave 2s infinite;
}

@keyframes pulseWave {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

.go-to-top .whatsapp-link:hover {
    transform: translateY(-4px);
}

/* =============================================
   14. ACCESSIBILITY — REDUCED MOTION
============================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* =============================================
   15. COURSE DETAIL PAGES — PAGE BANNER & BREADCRUMB
============================================= */
.page-banner {
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 60%, #133363 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Breadcrumb */
.custom-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.custom-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    transition: color var(--transition);
    text-decoration: none;
}

.custom-breadcrumb a:hover {
    color: var(--color-teal-accent);
    text-decoration: underline;
}

.breadcrumb-separator {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.custom-breadcrumb .current-page {
    color: var(--color-teal-accent);
    font-weight: 600;
}

/* Course Hero Details */
.course-hero-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.course-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-teal {
    background: rgba(13, 148, 136, 0.25);
    color: var(--color-teal-accent);
    border: 1px solid rgba(45, 212, 191, 0.35);
}

.badge-popular {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.badge-blue {
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(37, 99, 235, 0.4);
}

.course-hero-title {
    color: #ffffff;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.85rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.course-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 780px;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
}

.course-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
    max-width: 750px;
}

.course-meta-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}

.course-meta-item .meta-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

.course-meta-item .meta-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.course-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* =============================================
   16. COURSE DETAIL — MAIN LAYOUT & CONTENT BLOCKS
============================================= */
.course-detail-section {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.course-content-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Content Blocks */
.course-block {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 3.5vw, 2.25rem);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.course-block-title {
    font-size: clamp(1.15rem, 3.5vw, 1.35rem);
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    position: relative;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border-teal);
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
}

.course-block-title i {
    color: var(--color-teal);
    font-size: 1.2rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.learning-outcomes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-teal);
}

.outcome-item i {
    color: var(--color-teal);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.outcome-item span {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 576px) {
    .learning-outcomes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Curriculum Accordion - Responsive Mobile-First Architecture */
.curriculum-accordion .accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.curriculum-accordion .accordion-button {
    background: #ffffff;
    color: var(--color-brand);
    font-weight: 600;
    padding: 0.875rem 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "tag duration chevron"
        "title title title";
    row-gap: 0.45rem;
    column-gap: 0.65rem;
    align-items: center;
    box-shadow: none;
    width: 100%;
    text-align: left;
    transition: background-color var(--transition), color var(--transition);
}

.curriculum-accordion .accordion-button:not(.collapsed) {
    background: var(--color-bg-alt);
    color: var(--color-teal-dark);
}

.curriculum-accordion .module-tag {
    grid-area: tag;
    background: var(--color-teal);
    color: #ffffff;
    font-size: 0.725rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    justify-self: start;
    white-space: nowrap;
    line-height: 1.2;
}

.curriculum-accordion .module-duration {
    grid-area: duration;
    font-size: 0.8rem;
    color: var(--color-muted);
    font-weight: 500;
    justify-self: start;
    white-space: nowrap;
    margin: 0;
}

.curriculum-accordion .accordion-button::after {
    grid-area: chevron;
    justify-self: end;
    margin-left: 0;
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
    flex-shrink: 0;
}

.curriculum-accordion .module-title-text {
    grid-area: title;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-brand);
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Curriculum Accordion - Tablet & Desktop Breakpoint */
@media (min-width: 768px) {
    .curriculum-accordion .accordion-button {
        display: flex;
        align-items: center;
        gap: 0.875rem;
        padding: 1.1rem 1.35rem;
    }

    .curriculum-accordion .module-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.65rem;
        flex-shrink: 0;
    }

    .curriculum-accordion .module-title-text {
        flex: 1;
        font-size: 1rem;
        margin: 0;
    }

    .curriculum-accordion .module-duration {
        font-size: 0.825rem;
        flex-shrink: 0;
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .curriculum-accordion .accordion-button::after {
        margin-left: 0;
        width: 1.15rem;
        height: 1.15rem;
        background-size: 1.15rem;
    }
}

.curriculum-accordion .accordion-body {
    padding: 1rem 1.15rem;
    background: #ffffff;
    border-top: 1px solid var(--color-border-teal);
}

@media (min-width: 768px) {
    .curriculum-accordion .accordion-body {
        padding: 1.25rem 1.5rem;
    }
}

.curriculum-topics-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.curriculum-topics-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: break-word;
}

.curriculum-topics-list li i {
    color: var(--color-teal);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Tools & Software Badges */
.tools-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tool-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-brand);
}

.tool-badge-item i {
    color: var(--color-teal);
}

/* Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.audience-card {
    padding: 1rem;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-teal);
}

.audience-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.35rem;
}

.audience-card p {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0;
}

/* Sticky Sidebar Enrollment Card */
.course-sidebar-sticky {
    position: sticky;
    top: 90px;
}

.course-card-sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sidebar-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.sidebar-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-card-body {
    padding: 1.5rem;
}

.sidebar-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-price-label {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.sidebar-price-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-teal-dark);
}

.sidebar-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sidebar-highlights-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.sidebar-highlights-list li i {
    color: var(--color-teal);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.sidebar-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.btn-sidebar-enroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-teal);
    color: #ffffff;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: all var(--transition);
}

.btn-sidebar-enroll:hover {
    background: var(--color-teal-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-sidebar-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--color-brand);
    border: 2px solid var(--color-brand);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all var(--transition);
}

.btn-sidebar-demo:hover {
    background: var(--color-brand);
    color: #ffffff;
}

.sidebar-guarantee-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--color-bg-alt);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--color-teal);
    font-size: 0.8rem;
    color: var(--color-teal-dark);
    font-weight: 600;
}

.sidebar-guarantee-box i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Mentor Spotlight Mini Card */
.mentor-spotlight-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-teal);
}

.mentor-avatar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-teal);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.mentor-avatar-photo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--color-teal);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.18);
}

.mentor-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.mentor-details strong {
    display: block;
    font-size: 1.05rem;
    color: var(--color-brand);
}

.mentor-details span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-teal);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.mentor-details p {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0;
}

/* =============================================
   16B. COURSE ASIDE & RELATED SERVICES WIDGETS
============================================= */
.course-sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.sidebar-widget {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 2.5vw, 1.5rem);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border-teal);
}

.sidebar-widget-title i {
    color: var(--color-teal);
}

.sidebar-services-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-service-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-md);
    background: var(--color-bg);
    color: var(--color-brand);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}

.sidebar-service-item a .service-name-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.sidebar-service-item a .service-name-group i {
    color: var(--color-teal);
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-service-item a .service-arrow {
    color: var(--color-muted);
    font-size: 0.75rem;
    transition: transform var(--transition), color var(--transition);
}

.sidebar-service-item a:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-teal);
    color: var(--color-teal-dark);
    transform: translateX(4px);
}

.sidebar-service-item a:hover .service-arrow {
    color: var(--color-teal);
    transform: translateX(2px);
}

.sidebar-service-item.active a {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.sidebar-service-item.active a .service-name-group i,
.sidebar-service-item.active a .service-arrow {
    color: #ffffff;
}

.sidebar-service-item.active .badge-current {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.sidebar-counselor-box {
    background: linear-gradient(135deg, var(--color-brand) 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.sidebar-counselor-box::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sidebar-counselor-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.sidebar-counselor-box p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.sidebar-counselor-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.btn-counselor-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-teal);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    text-decoration: none;
}

.btn-counselor-call:hover {
    background: var(--color-teal-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-counselor-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    text-decoration: none;
}

.btn-counselor-wa:hover {
    background: #20ba5a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

/* Course Hero Metrics Bar */
.course-hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metric-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-metric-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(13, 148, 136, 0.25);
    color: var(--color-teal-light, #2dd4bf);
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-metric-text strong {
    display: block;
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

.hero-metric-text span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 576px) {
    .course-hero-metrics-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

/* Course Pillar Cards */
.pillar-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.pillar-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all var(--transition);
}

.pillar-card:hover {
    border-color: var(--color-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pillar-card-icon {
    font-size: 1.5rem;
    color: var(--color-teal);
    margin-bottom: 0.75rem;
}

.pillar-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.35rem;
}

.pillar-card p {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 576px) {
    .pillar-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   17. COURSES CATALOG PAGE (courses.html)
============================================= */
.courses-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.courses-grid-all {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.course-card-grid-item {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.course-card-grid-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-border-teal);
}

.course-card-grid-item .course-card-img-wrap {
    height: 200px;
}

.course-card-grid-item .course-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card-grid-item .course-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-card-grid-item .course-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0.75rem 0 0.5rem;
    color: var(--color-brand);
}

.course-card-grid-item .course-card-desc {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: 1.25rem;
    flex: 1;
}

.course-card-grid-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.course-duration-pill {
    font-size: 0.75rem;
    color: var(--color-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.course-view-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-teal);
    font-weight: 700;
    font-size: 0.85rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color var(--transition), transform var(--transition);
}

.course-view-detail-btn:hover {
    color: var(--color-teal-dark);
    transform: translateX(4px);
}

/* Courses catalog responsive */
@media (min-width: 576px) {
    .courses-grid-all {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .courses-grid-all {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================
   18. ABOUT US PAGE SPECIFIC STYLES
============================================= */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-story-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.about-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-teal), var(--color-brand));
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    z-index: 2;
}

/* Card Watermark Logo */
.card-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    max-width: 260px;
    pointer-events: none;
    z-index: 0;
}

.card-watermark img {
    width: 100%;
    display: block;
    opacity: 0.15;
    filter: grayscale(100%);
}

.about-story-card>*:not(.card-watermark) {
    position: relative;
    z-index: 1;
}

/* Stats-wrap watermark (index.html right column) */
.card-watermark-wrap {
    position: relative;
    overflow: hidden;
}

.card-watermark-wrap>*:not(.card-watermark) {
    position: relative;
    z-index: 1;
}

/* About story responsive */
@media (min-width: 992px) {
    .about-story-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3.5rem;
    }
}

/* Mission, Vision, Values Grid */
.mvv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.mvv-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-teal);
}

.mvv-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(15, 37, 72, 0.08) 100%);
    color: var(--color-teal);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: transform var(--transition);
}

.mvv-card:hover .mvv-icon-wrap {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-teal);
    color: #ffffff;
}

.mvv-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.75rem;
}

.mvv-desc {
    font-size: 0.925rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.mvv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mvv-list li {
    font-size: 0.85rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mvv-list li i {
    color: var(--color-teal);
    font-size: 0.8rem;
}

/* MVV responsive */
@media (min-width: 640px) and (max-width: 991px) {
    .mvv-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (min-width: 992px) {
    .mvv-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Learning Roadmap / 4 Steps */
.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

.roadmap-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition);
}

.roadmap-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-teal);
    box-shadow: var(--shadow-lg);
}

.roadmap-step-num {
    display: inline-block;
    font-size: 2.25rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: rgba(13, 148, 136, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.roadmap-card:hover .roadmap-step-num {
    color: var(--color-teal);
}

.roadmap-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.5rem;
}

.roadmap-step-desc {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.6;
}

/* Roadmap responsive */
@media (min-width: 576px) {
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .roadmap-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Faculty / Mentors Grid */
.faculty-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.faculty-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--color-border);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-border-teal);
}

.faculty-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-brand-light) 0%, var(--color-brand) 100%);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
    border: 3px solid rgba(13, 148, 136, 0.3);
}

.faculty-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.25rem;
}

.faculty-role {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--color-teal);
    margin-bottom: 0.75rem;
}

.faculty-bio {
    font-size: 0.825rem;
    color: var(--color-muted);
    line-height: 1.55;
    margin: 0;
}

/* Faculty responsive */
@media (min-width: 576px) {
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .faculty-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 2-Column Leadership Faculty Grid */
.faculty-grid-2 {
    max-width: 820px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .faculty-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   DEEPAK VERMA — FULL SPOTLIGHT SECTION
   (Matches reference: big photo right, bio left)
============================================= */
.ds-spotlight-section {
    background: #fff;
    overflow: hidden;
}

.ds-spotlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* --- LEFT: CONTENT --- */
.ds-spotlight-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ds-spotlight-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--color-brand);
    line-height: 1.2;
    margin: 0.5rem 0 1.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ds-spotlight-intro {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-teal);
    line-height: 1.7;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

.ds-spotlight-bio {
    font-size: 0.975rem;
    color: var(--color-muted);
    line-height: 1.8;
    margin-bottom: 1.75rem;
    overflow-wrap: break-word;
}

.ds-expertise-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

.ds-expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 100%;
}

@media (min-width: 576px) {
    .ds-expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
}

.ds-expertise-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-brand);
    transition: all var(--transition);
    cursor: default;
    min-width: 0;
}

.ds-expertise-card span {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.35;
    flex: 1;
}

.ds-expertise-card:hover {
    border-color: var(--color-teal);
    background: rgba(13, 148, 136, 0.06);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.ds-expertise-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-brand-light) 0%, var(--color-teal) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* STATS ROW */
.ds-stats-row {
    display: flex;
    gap: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ds-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ds-stat strong {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-teal);
    font-family: var(--font-heading);
    line-height: 1;
}

.ds-stat span {
    font-size: 0.8rem;
    color: var(--color-muted);
    font-weight: 500;
    overflow-wrap: break-word;
}

@media (max-width: 575.98px) {
    .ds-stats-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1rem 0;
        text-align: center;
    }

    .ds-stat {
        align-items: center;
    }

    .ds-stat strong {
        font-size: 1.35rem;
    }

    .ds-stat span {
        font-size: 0.72rem;
        line-height: 1.25;
    }
}

/* --- RIGHT: PHOTO WRAP --- */
.ds-spotlight-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.ds-photo-circle {
    width: clamp(230px, 68vw, 440px);
    height: clamp(230px, 68vw, 440px);
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--color-teal);
    box-shadow:
        0 0 0 10px rgba(13, 148, 136, 0.12),
        0 0 60px rgba(13, 148, 136, 0.18),
        var(--shadow-xl);
    background: linear-gradient(180deg, #e8f4f3 0%, #d1ede9 100%);
    position: relative;
    transition: box-shadow 0.4s ease;
}

.ds-photo-circle:hover {
    box-shadow:
        0 0 0 14px rgba(13, 148, 136, 0.16),
        0 0 80px rgba(13, 148, 136, 0.25),
        var(--shadow-xl);
}

.ds-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Blue accent bar below circle */
.ds-photo-circle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-teal) 100%);
    border-radius: 0 0 4px 4px;
}

/* FLOATING BADGES */
.ds-photo-badge {
    position: absolute;
    top: 14%;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0.6rem 1rem;
    box-shadow: var(--shadow-md);
    min-width: 130px;
    animation: ds-badge-float 3.5s ease-in-out infinite;
}

.ds-photo-badge--bottom {
    top: auto;
    bottom: 14%;
    left: auto;
    right: 0;
    animation-delay: 1.8s;
}

.ds-photo-badge i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ds-photo-badge div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ds-photo-badge strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-brand);
    line-height: 1;
}

.ds-photo-badge span {
    font-size: 0.72rem;
    color: var(--color-muted);
    font-weight: 500;
}

@keyframes ds-badge-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* DS Spotlight responsive */
@media (min-width: 768px) {
    .ds-spotlight-photo-wrap {
        flex-wrap: nowrap;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .ds-spotlight-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Mobile: badges become inline & photo padding tuned */
@media (max-width: 767.98px) {
    .ds-photo-badge {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        display: inline-flex;
        margin: 0.35rem;
        padding: 0.5rem 0.85rem;
        animation: none;
    }

    .ds-photo-badge strong {
        font-size: 0.95rem;
    }

    .ds-photo-badge span {
        font-size: 0.7rem;
    }

    .ds-spotlight-photo-wrap {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 1.5rem 0;
    }
}

/* =============================================
   19. BLOG & ARTICLES PAGE SPECIFIC STYLES
============================================= */
.blog-controls-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.blog-search-box {
    position: relative;
    max-width: 380px;
    width: 100%;
}

.blog-search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    font-size: 0.875rem;
    color: var(--color-text);
    transition: all var(--transition);
}

.blog-search-box input:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.blog-search-box i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
    font-size: 0.9rem;
}

.blog-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-filter-btn {
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--color-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    cursor: pointer;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* Blog controls responsive */
@media (min-width: 768px) {
    .blog-controls-wrap {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Featured Article Card */
.featured-blog-card {
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 100%);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.featured-blog-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(45, 212, 191, 0.2);
    color: var(--color-teal-accent);
    border: 1px solid rgba(45, 212, 191, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.featured-blog-title {
    color: #ffffff;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.featured-blog-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.featured-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Featured blog responsive */
@media (min-width: 992px) {
    .featured-blog-card {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.blog-card-header {
    height: 180px;
    background: linear-gradient(135deg, var(--color-brand) 0%, #1a3c6e 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    color: #ffffff;
    overflow: hidden;
}

.blog-card-header.bg-theme-1 {
    background: linear-gradient(135deg, #091830 0%, #0f2548 100%);
}

.blog-card-header.bg-theme-2 {
    background: linear-gradient(135deg, #0d766e 0%, #0f2548 100%);
}

.blog-card-header.bg-theme-3 {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f766e 100%);
}

.blog-card-header.bg-theme-4 {
    background: linear-gradient(135deg, #312e81 0%, #1e3a8a 100%);
}

.blog-card-header.bg-theme-5 {
    background: linear-gradient(135deg, #064e3b 0%, #0f766e 100%);
}

.blog-card-header.bg-theme-6 {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.blog-card-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(13, 148, 136, 0.9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.blog-card-header-icon {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.08);
    transition: transform var(--transition);
}

.blog-card:hover .blog-card-header-icon {
    transform: scale(1.15) rotate(-5deg);
    color: rgba(45, 212, 191, 0.18);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.775rem;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.blog-card-snippet {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.blog-author-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
}

.blog-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-full);
    background: var(--color-teal);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 0.65rem;
}

.blog-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-teal);
    font-weight: 700;
    font-size: 0.825rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition);
}

.blog-read-more-btn:hover {
    color: var(--color-teal-dark);
    transform: translateX(4px);
}

/* Blog posts grid responsive - Mobile First (1 column on mobile, 2 on tablet, 3 on desktop) */
@media (min-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Newsletter Subscription */
.newsletter-section-wrap {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(15, 37, 72, 0.04) 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    border: 1px solid var(--color-border-teal);
    text-align: center;
    margin-top: 3.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 480px;
    margin: 1.5rem auto 0;
}

.newsletter-form input {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: 0.9rem;
}

/* Newsletter responsive */
@media (min-width: 576px) {
    .newsletter-form {
        flex-direction: row;
    }

    .newsletter-form input {
        flex: 1;
    }
}

/* Article Modal */
.blog-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9, 24, 48, 0.75);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.blog-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.blog-modal-dialog {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    max-width: 780px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    padding: 2.5rem 2rem;
}

.blog-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all var(--transition);
}

.blog-modal-close:hover {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
}

/* Mobile-specific improvements for Blog page (< 768px) - Mobile First */
@media (max-width: 767.98px) {
    /* Top Banner like Contact Page (Screenshot 2 reference) */
    .page-banner {
        padding: 2.25rem 0 2.5rem;
    }

    .custom-breadcrumb {
        margin-bottom: 0.85rem;
        font-size: 0.8rem;
    }

    .course-hero-badge-wrap {
        gap: 0.5rem;
        margin-bottom: 0.85rem;
    }

    .course-hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }

    .course-hero-title {
        font-size: clamp(1.75rem, 6.5vw, 2.35rem);
        line-height: 1.22;
        margin-bottom: 0.85rem;
    }

    .course-hero-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.88);
    }

    /* Controls: Search & Category Pills */
    .blog-controls-wrap {
        gap: 1rem;
        margin-bottom: 1.75rem;
    }

    .blog-search-box {
        max-width: 100%;
        width: 100%;
    }

    .blog-search-box input {
        height: 46px;
        font-size: 0.875rem;
    }

    .blog-filter-pills {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .blog-filter-pills::-webkit-scrollbar {
        display: none;
    }

    .blog-filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.825rem;
        padding: 0.5rem 1.15rem;
    }

    /* Featured Guide Card */
    .featured-blog-card {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.25rem;
        margin-bottom: 2.25rem;
        border-radius: var(--radius-xl);
        box-shadow: 0 10px 30px rgba(9, 24, 48, 0.2);
    }

    .featured-blog-title {
        font-size: 1.35rem;
        line-height: 1.35;
        margin-bottom: 0.85rem;
    }

    .featured-blog-desc {
        font-size: 0.9rem;
        line-height: 1.65;
        margin-bottom: 1.15rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .featured-blog-meta {
        gap: 0.75rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

    .featured-blog-card .btn-primary-custom {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        font-size: 0.95rem;
    }

    /* ENFORCE EXACTLY ONE CARD IN A ROW ON MOBILE */
    .blog-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem;
    }

    .blog-card {
        width: 100%;
        border-radius: var(--radius-xl);
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
        border: 1px solid var(--color-border);
        overflow: hidden;
    }

    .blog-card-header {
        height: 165px;
        padding: 1.25rem;
    }

    .blog-card-category-tag {
        top: 1rem;
        left: 1rem;
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
    }

    .blog-card-header-icon {
        font-size: 3.5rem;
        right: 1.25rem;
        bottom: 1.25rem;
    }

    .blog-card-body {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .blog-card-title {
        font-size: 1.225rem;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .blog-card-snippet {
        font-size: 0.925rem;
        line-height: 1.65;
        margin-bottom: 1.25rem;
    }

    .blog-card-footer {
        padding-top: 1rem;
    }

    .blog-author-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .blog-author-mini span {
        font-size: 0.85rem;
    }

    .blog-read-more-btn {
        font-size: 0.875rem;
    }

    /* Newsletter Section */
    .newsletter-section-wrap {
        padding: 2.25rem 1.25rem;
        margin-top: 3rem;
        border-radius: var(--radius-xl);
    }

    .newsletter-section-wrap h3 {
        font-size: 1.4rem !important;
        line-height: 1.32;
    }

    .newsletter-form {
        width: 100%;
        margin-top: 1.25rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        height: 48px;
    }

    /* Reading Modal */
    .blog-modal-backdrop {
        padding: 0.75rem;
        align-items: flex-end;
    }

    .blog-modal-dialog {
        padding: 2rem 1.25rem 1.5rem;
        max-height: 88vh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: var(--radius-xl);
        border-top-right-radius: var(--radius-xl);
    }

    .blog-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
    }
}

/* =============================================
   20. CONTACT US PAGE & GOOGLE MAP STYLES
============================================= */
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-quick-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-quick-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-teal);
}

.contact-quick-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(15, 37, 72, 0.08) 100%);
    color: var(--color-teal);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: transform var(--transition);
}

.contact-quick-card:hover .contact-quick-icon {
    transform: scale(1.1);
    background: var(--color-teal);
    color: #ffffff;
}

.contact-quick-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.35rem;
}

.contact-quick-val {
    font-size: 0.875rem;
    color: var(--color-muted);
    word-break: break-word;
}

.contact-quick-val a {
    color: var(--color-brand);
    font-weight: 600;
    transition: color var(--transition);
}

.contact-quick-val a:hover {
    color: var(--color-teal);
}

/* Radio Mode Selection inside Contact Form */
.mode-selection-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mode-radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all var(--transition);
}

.mode-radio-label:has(input:checked) {
    background: rgba(13, 148, 136, 0.1);
    border-color: var(--color-teal);
    color: var(--color-teal-dark);
}

/* Full Width Map Section */
.fullwidth-map-section {
    position: relative;
    width: 100%;
    margin-top: 3.5rem;
    background: var(--color-brand-dark);
}

.map-header-bar {
    background: var(--color-brand-dark);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.map-header-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-header-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.map-header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.map-container-full {
    width: 100%;
    height: 360px;
    position: relative;
    overflow: hidden;
}

.map-container-full iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-overlay-badge {
    position: static;
    max-width: 100%;
    border-radius: 0;
    background: rgba(9, 24, 48, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem;
    color: #ffffff;
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.map-overlay-badge strong {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.map-overlay-badge p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.map-overlay-badge .btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--color-teal);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.map-overlay-badge .btn-directions:hover {
    background: var(--color-teal-light);
    color: #ffffff;
}

/* Contact page responsive */
@media (min-width: 576px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .map-header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .contact-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .map-container-full {
        height: 480px;
    }

    .map-overlay-badge {
        position: absolute;
        bottom: 1.5rem;
        left: 1.5rem;
        max-width: 360px;
        border-radius: var(--radius-lg);
    }
}

/* =============================================
   21. UTILITY CLASSES (Zero Inline CSS)
============================================= */
.stats-banner-dark {
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 100%);
    color: #ffffff;
}

.stats-tag-accent {
    background: rgba(13, 148, 136, 0.3) !important;
    color: var(--color-teal-accent) !important;
}

.subtitle-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-max-600 {
    max-width: 600px !important;
}

.founder-avatar-sm {
    width: 54px !important;
    height: 54px !important;
    font-size: 1.4rem !important;
}

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

/* =============================================
   22. DEEPAK VERMA — PHOTO AVATAR VARIANTS
============================================= */

/* --- FACULTY CARD (about.html mentor grid) --- */
.faculty-card.faculty-card--founder {
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 50%, #0f2744 100%);
    border-color: var(--color-teal);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 2.25rem 1.75rem 2rem;
}

.faculty-card.faculty-card--founder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(13, 148, 136, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.faculty-card.faculty-card--founder .faculty-name {
    color: #fff;
    font-size: 1.25rem;
}

.faculty-card.faculty-card--founder .faculty-role {
    color: var(--color-teal-accent);
}

.faculty-card.faculty-card--founder .faculty-bio {
    color: rgba(255, 255, 255, 0.78);
}

.faculty-avatar-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--color-teal);
    box-shadow:
        0 0 0 6px rgba(13, 148, 136, 0.18),
        0 0 32px rgba(13, 148, 136, 0.30),
        var(--shadow-xl);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.faculty-avatar-photo:hover {
    transform: scale(1.04);
    box-shadow:
        0 0 0 8px rgba(13, 148, 136, 0.25),
        0 0 48px rgba(13, 148, 136, 0.40),
        var(--shadow-xl);
}

.faculty-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* --- FOUNDER CARD (index.html sidebar card) --- */
.founder-avatar-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--color-teal);
    box-shadow:
        0 0 0 5px rgba(13, 148, 136, 0.22),
        0 0 24px rgba(13, 148, 136, 0.28);
    transition: transform 0.35s ease;
}

.founder-avatar-photo:hover {
    transform: scale(1.06);
}

.founder-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@media (max-width: 479.98px) {
    .founder-card {
        padding: 1rem 0.95rem;
        gap: 0.85rem;
    }
    .founder-avatar-photo {
        width: 76px;
        height: 76px;
    }
}

/* --- ABOUT STORY QUOTE CARD (about.html quote attribution) --- */
.founder-avatar-sm-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--color-teal);
    box-shadow:
        0 0 0 4px rgba(13, 148, 136, 0.2),
        0 0 16px rgba(13, 148, 136, 0.22);
    transition: transform 0.3s ease;
}

.founder-avatar-sm-photo:hover {
    transform: scale(1.05);
}

.founder-avatar-sm-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.featured-preview-box {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    width: 100% !important;
}

.icon-xl-candlestick,
.icon-xl-growth {
    font-size: 5rem !important;
    opacity: 0.9 !important;
}

.btn-whatsapp-custom {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
}

/* =============================================
   23. FEEDBACK & REVIEW HUB STYLES
============================================= */
.feedback-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.feedback-card-main {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

/* Interactive Star Rating */
.star-rating-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
}

.star-rating-box .star-btn {
    background: transparent;
    border: none;
    padding: 0.2rem;
    font-size: 2rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.star-rating-box .star-btn.hovered,
.star-rating-box .star-btn.active {
    color: #f59e0b;
    transform: scale(1.18);
}

.rating-text-feedback {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-teal);
    margin-left: 0.5rem;
}

/* Feedback Category Pills */
.feedback-categories-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.feedback-cat-pill {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
}

.feedback-cat-pill:hover,
.feedback-cat-pill.active {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* Feedback Prompt Chips */
.feedback-prompt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.feedback-chip-btn {
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(13, 148, 136, 0.08);
    color: var(--color-teal-dark);
    border: 1px dashed rgba(13, 148, 136, 0.35);
    border-radius: var(--radius-full);
    padding: 0.25rem 0.65rem;
    cursor: pointer;
    transition: all var(--transition);
}

.feedback-chip-btn:hover {
    background: var(--color-teal);
    color: #ffffff;
    border-style: solid;
}

/* Rating Breakdown Sidebar */
.rating-summary-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.overall-score-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.score-big {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--color-brand);
    line-height: 1;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-bottom: 0.6rem;
}

.rating-progress-track {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.rating-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    border-radius: var(--radius-full);
}

/* Review Cards on Feedback Page */
.verified-reviews-wall {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mini-review-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.mini-review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-teal);
}

.mini-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.mini-review-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mini-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: var(--color-teal);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Feedback responsive */
@media (min-width: 576px) {
    .feedback-card-main {
        padding: 2.5rem 2rem;
    }
}

@media (min-width: 992px) {
    .feedback-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 3.5rem;
    }
}

/* =============================================
   24. BOOTSTRAP ENROLLMENT MODAL
============================================= */
.modal-enroll .modal-dialog {
    max-width: 540px;
    margin: 1.75rem auto;
}

.modal-enroll .modal-content {
    border-radius: 1.5rem;
    border: 1px solid rgba(13, 148, 136, 0.2);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.28);
    overflow: hidden;
    background: #ffffff;
}

.modal-enroll .modal-header {
    padding: 1.75rem 1.25rem 0.75rem;
    border-bottom: none;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.modal-enroll .modal-logo-wrap {
    margin-bottom: 0.85rem;
}

.modal-enroll .modal-logo {
    width: 170px;
    height: auto;
    display: block;
}

.modal-enroll .modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-brand);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.modal-enroll .modal-subtitle {
    font-size: 0.875rem;
    color: var(--color-muted);
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.55;
}

.modal-enroll .btn-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--color-bg);
    opacity: 0.7;
    transition: all var(--transition);
    padding: 0.5rem;
}

.modal-enroll .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
    background-color: #fee2e2;
}

.modal-enroll .modal-body {
    padding: 0.75rem 1.25rem 1.75rem;
}

.modal-enroll .form-group {
    margin-bottom: 1rem;
}

.modal-enroll .form-control,
.modal-enroll .form-select {
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--color-text);
    background-color: #ffffff;
    transition: all var(--transition);
}

.modal-enroll .form-control:focus,
.modal-enroll .form-select:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

.modal-enroll .btn-enroll-submit {
    width: 100%;
    background: #0f2548;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(15, 37, 72, 0.25);
    transition: all var(--transition);
    cursor: pointer;
}

.modal-enroll .btn-enroll-submit:hover {
    background: #091830;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 37, 72, 0.35);
}

.modal-enroll .modal-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-top: 0.85rem;
}

/* Modal responsive */
@media (min-width: 576px) {
    .modal-enroll .modal-header {
        padding: 2.25rem 2rem 1rem;
    }

    .modal-enroll .modal-body {
        padding: 1rem 2rem 2.25rem;
    }
}

/* =============================================
   25. RATING & REVIEW UTILITY CLASSES
============================================= */
.rating-label-min {
    min-width: 48px;
}

.rating-percent-min {
    min-width: 38px;
    text-align: right;
}

.fill-92 {
    width: 92%;
}

.fill-6 {
    width: 6%;
}

.fill-2 {
    width: 2%;
}

.fill-0 {
    width: 0%;
}

.text-review-meta {
    font-size: 0.75rem;
}

.avatar-brand {
    background: var(--color-brand) !important;
}

.avatar-sky {
    background: #0284c7 !important;
}

.avatar-emerald {
    background: #059669 !important;
}
