/* ===================================
   SigmaSTEAM Academy - Custom Styles
   =================================== */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #0b3a58;
    --primary-dark: #082a40;
    --primary-light: #0e4a70;
    --secondary-color: #0b3a58;
    --accent-color: #d08a1d;
    --accent-light: #e09a2d;
    --accent-dark: #b07a15;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar.scrolled .navbar-brand img {
    height: 42px;
}

.brand-text {
    display: flex;
    align-items: center;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-sigma {
    color: var(--primary-color);
}

.brand-academy {
    color: var(--accent-color);
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 1px;
}

.navbar.scrolled .brand-title {
    font-size: 1.2rem;
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 45px;
    }

    .brand-text {
        max-width: 180px;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .brand-tagline {
        font-size: 0.65rem;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(208, 138, 29, 0.4);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(208, 138, 29, 0.5);
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px 0 rgba(11, 58, 88, 0.3);
}

/* ===================================
   Hero Section - Smart Dual-Tone Glow Gradient
   ===================================
   Background Composition:
   1. Base: Deep educational navy (#0b3a58)
   2. Golden glow: Warm amber from bottom-left
   3. Teal glow: Cool aqua from top-right
   4. Subtle animated movement for premium feel
   =================================== */

.hero-section {
    /* Layered gradient background */
    background:
        /* Teal/aqua glow - top right */
        radial-gradient(ellipse 60% 60% at 85% 15%, rgba(0, 200, 255, 0.25) 0%, transparent 50%),
        /* Dark navy shadow - bottom left */
        radial-gradient(ellipse 70% 70% at 15% 85%, rgba(4, 20, 32, 0.8) 0%, transparent 50%),
        /* Secondary dark accent - center left */
        radial-gradient(ellipse 40% 40% at 10% 50%, rgba(6, 25, 38, 0.5) 0%, transparent 40%),
        /* Subtle teal accent - bottom right */
        radial-gradient(ellipse 50% 50% at 90% 70%, rgba(0, 180, 220, 0.1) 0%, transparent 40%),
        /* Base diagonal gradient */
        linear-gradient(145deg, #082a40 0%, var(--primary-color) 50%, #041420 100%);
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Glow Orbs - Creates subtle movement */
.hero-glow-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: glowFloat 15s ease-in-out infinite;
}

.glow-golden {
    width: 500px;
    height: 500px;
    background: rgba(4, 20, 32, 0.7);
    bottom: -150px;
    left: -100px;
    animation-delay: 0s;
}

.glow-teal {
    width: 450px;
    height: 450px;
    background: rgba(0, 200, 255, 0.2);
    top: -100px;
    right: -100px;
    animation-delay: -7.5s;
}

@keyframes glowFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, 20px) scale(1.05);
    }
    50% {
        transform: translate(15px, -15px) scale(1);
    }
    75% {
        transform: translate(-20px, 10px) scale(1.03);
    }
}

/* Floating Math Symbols */
.math-symbols {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.math-symbol {
    position: absolute;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
}

/* Positions spread across entire hero - left to right, top to bottom */
/* Left side */
.math-1 { top: 15%; left: 5%; font-size: 2.5rem; animation: floatSymbol1 12s ease-in-out infinite; }
.math-2 { top: 70%; left: 8%; font-size: 2rem; animation: floatSymbol2 14s ease-in-out infinite; }

/* Left-center */
.math-3 { top: 25%; left: 25%; font-size: 2rem; animation: floatSymbol3 11s ease-in-out infinite; }
.math-4 { top: 60%; left: 20%; font-size: 2.5rem; animation: floatSymbol4 13s ease-in-out infinite; }

/* Center */
.math-5 { top: 12%; left: 45%; font-size: 2rem; animation: floatSymbol5 15s ease-in-out infinite; }
.math-6 { top: 85%; left: 50%; font-size: 2.5rem; animation: floatSymbol6 10s ease-in-out infinite; }

/* Right-center */
.math-7 { top: 30%; left: 65%; font-size: 2rem; animation: floatSymbol7 12s ease-in-out infinite; }
.math-8 { top: 75%; left: 70%; font-size: 2.5rem; animation: floatSymbol1 14s ease-in-out infinite; }

/* Right side */
.math-9 { top: 18%; right: 8%; font-size: 2.5rem; animation: floatSymbol3 13s ease-in-out infinite; }
.math-10 { top: 55%; right: 5%; font-size: 3rem; animation: floatSymbol4 11s ease-in-out infinite; }

/* Additional scattered */
.math-11 { top: 45%; left: 35%; font-size: 1.75rem; animation: floatSymbol5 16s ease-in-out infinite; }
.math-12 { top: 40%; right: 25%; font-size: 2rem; animation: floatSymbol6 12s ease-in-out infinite; }

@keyframes floatSymbol1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -25px) rotate(10deg); }
    50% { transform: translate(35px, 5px) rotate(-5deg); }
    75% { transform: translate(15px, 25px) rotate(5deg); }
}

@keyframes floatSymbol2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-15px, 30px) rotate(-8deg); }
    50% { transform: translate(25px, 20px) rotate(12deg); }
    75% { transform: translate(10px, -15px) rotate(-3deg); }
}

@keyframes floatSymbol3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-25px, -20px) rotate(15deg); }
    66% { transform: translate(15px, 25px) rotate(-10deg); }
}

@keyframes floatSymbol4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, 15px) rotate(-12deg); }
    50% { transform: translate(-20px, 30px) rotate(8deg); }
    75% { transform: translate(-30px, -10px) rotate(-5deg); }
}

@keyframes floatSymbol5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -30px) rotate(12deg); }
    66% { transform: translate(25px, 15px) rotate(-8deg); }
}

@keyframes floatSymbol6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(25px, 20px) rotate(-15deg); }
    50% { transform: translate(-15px, -25px) rotate(10deg); }
    75% { transform: translate(-25px, 15px) rotate(-5deg); }
}

@keyframes floatSymbol7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, -30px) rotate(8deg); }
    50% { transform: translate(20px, -15px) rotate(-12deg); }
    75% { transform: translate(30px, 20px) rotate(5deg); }
}

/* Hero Content Container */
.hero-content {
    padding: 2rem 0;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 160px);
}

/* ===== Left Column: Text Content ===== */
.hero-text-col {
    padding-right: 3rem;
}

/* Trust Badge */
.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-badge i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Primary Headline */
.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.headline-highlight {
    display: block;
    color: var(--accent-color);
    position: relative;
}

/* Supporting Description */
.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 400;
}

/* Feature List */
.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-icon-wrapper i {
    font-size: 1.25rem;
    color: var(--accent-color);
}

.hero-feature-item:hover .feature-icon-wrapper {
    background: rgba(208, 138, 29, 0.2);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.feature-text strong {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.feature-text span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
}

/* CTA Button Group */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 25px rgba(208, 138, 29, 0.4);
    transition: var(--transition);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(208, 138, 29, 0.5);
    color: white;
}

.btn-cta-primary i {
    font-size: 1.1rem;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 25px rgba(255, 255, 255, 0.2);
}

/* ===== Right Column: Visual Element ===== */
.hero-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 450px;
}

/* Main Visual Card */
.hero-main-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    width: 280px;
}

.main-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 25px rgba(11, 58, 88, 0.3);
}

.main-card-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.main-card-subtitle {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.main-card-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.main-card-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

/* Floating Achievement Badges */
.floating-badge {
    position: absolute;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 30px rgba(208, 138, 29, 0.35);
    animation: badgeFloat 5s ease-in-out infinite;
    white-space: nowrap;
}

.floating-badge i {
    font-size: 1rem;
}

.badge-1 {
    top: 8%;
    left: 5%;
    animation-delay: 0s;
}

.badge-2 {
    top: 20%;
    right: 0;
    animation-delay: 1.5s;
}

.badge-3 {
    bottom: 12%;
    left: 0;
    animation-delay: 3s;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== Animations ===== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Hero Responsive ===== */
@media (max-width: 991.98px) {
    .hero-headline {
        font-size: 2.75rem;
    }

    .hero-text-col {
        padding-right: 0;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features-list {
        align-items: center;
    }

    .hero-feature-item {
        text-align: left;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual-col {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 85px;
        padding-bottom: 50px;
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-features-list {
        gap: 1rem;
    }

    .feature-icon-wrapper {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .feature-icon-wrapper i {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .glow-orb {
        opacity: 0.4;
    }

    .glow-golden {
        width: 300px;
        height: 300px;
    }

    .glow-teal {
        width: 250px;
        height: 250px;
    }

    .math-symbols {
        display: none;
    }
}

/* ===================================
   Why Us Section - Premium Card Grid
   ===================================
   Visual Transition Notes:
   - Curved SVG divider connects dark hero to light section
   - Subtle glow accents (gold left, teal right) echo hero
   - Warm off-white background (#faf9f7) contrasts hero
   - Cards use frosted glass effect with soft shadows

   Color Customization:
   - Change --accent-color for gold icons
   - Change --why-us-teal for teal icons
   - Adjust --why-us-bg for background warmth
   =================================== */

:root {
    --why-us-bg: #faf9f7;
    --why-us-teal: #00c8d4;
    --why-us-teal-light: rgba(0, 200, 212, 0.12);
}

.why-us-section {
    position: relative;
    background: linear-gradient(180deg, var(--why-us-bg) 0%, #ffffff 100%);
    padding: 0 0 40px 0;
    overflow: visible;
}

/* ===== Curved Transition from Hero ===== */
.section-transition {
    position: relative;
    margin-top: -1px;
    height: 40px;
    color: var(--why-us-bg);
    overflow: visible;
}

.section-transition svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Glow accents that echo hero colors - using brand theme */
.transition-glow {
    position: absolute;
    width: 200px;
    height: 80px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    pointer-events: none;
}

.transition-glow-left {
    background: rgba(208, 138, 29, 0.5);
    bottom: 0;
    left: 5%;
}

.transition-glow-right {
    background: rgba(11, 58, 88, 0.4);
    bottom: 0;
    right: 5%;
}

/* ===== Section Header ===== */
.why-us-header {
    text-align: center;
    padding: 32px 0 24px;
}

.section-eyebrow {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 0;
    /* max-width: 900px; */
    margin-left: auto;
    margin-right: auto;
}

/* ===== Feature Cards Grid =====
   Grid Breakpoints:
   - Mobile (<576px): 1 column
   - Tablet (576-991px): 2 columns
   - Desktop (992px+): 3 columns
   To change: adjust grid-template-columns below */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ===== Individual Card Styles ===== */
.why-us-card {
    background: white;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Subtle left accent line */
.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 16px 40px rgba(0, 0, 0, 0.12);
}

.why-us-card:hover::before {
    opacity: 1;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .why-us-card {
        transition: none;
    }
    .why-us-card:hover {
        transform: none;
    }
}

/* ===== Card Icon Styles =====
   Icon Variants:
   - Default: Gold gradient (--accent-color)
   - .card-icon-teal: Teal gradient
   To swap: change class on icon container */
.card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(208, 138, 29, 0.15), rgba(208, 138, 29, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.card-icon i {
    font-size: 1.1rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.why-us-card:hover .card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
}

.why-us-card:hover .card-icon i {
    color: white;
}

/* ===== Card Content ===== */
.card-content {
    flex: 1;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
    line-height: 1.3;
}

.card-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ===== Trust Strip & CTA Footer ===== */
.why-us-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding: 16px 24px;
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-stars {
    display: flex;
    gap: 2px;
}

.trust-stars i {
    font-size: 0.875rem;
    color: var(--accent-color);
}

.trust-icon {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.trust-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.trust-divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
}

.footer-cta {
    flex-shrink: 0;
}

.btn-see-programs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-see-programs:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateX(4px);
}

.btn-see-programs i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.btn-see-programs:hover i {
    transform: translateX(4px);
}

/* ===== Responsive Styles ===== */
@media (max-width: 991.98px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .why-us-footer {
        justify-content: center;
        text-align: center;
    }

    .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .why-us-section {
        padding-bottom: 48px;
    }

    .section-transition {
        height: 50px;
    }

    .why-us-header {
        padding: 32px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-us-card {
        padding: 20px 16px;
    }

    .why-us-footer {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 12px;
    }

    .trust-divider {
        display: none;
    }

    .transition-glow {
        width: 150px;
        height: 80px;
        opacity: 0.3;
    }
}

/* ===================================
   DMAIC Section - Futuristic Loop Design
   ===================================
   Features:
   - Connected loop flow with SVG paths
   - Futuristic glassmorphism cards
   - Animated glowing effects
   - All 5 cards visible on one screen
   =================================== */

.dmaic-loop-section {
    background: linear-gradient(135deg, #061a28 0%, var(--primary-dark) 40%, #0a2a3d 100%);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

/* Animated background grid */
.dmaic-loop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(208, 138, 29, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(208, 138, 29, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Ambient glow orbs */
.dmaic-loop-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(208, 138, 29, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    pointer-events: none;
}

/* Section Header */
.dmaic-loop-header {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.dmaic-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(208, 138, 29, 0.2);
    border: 1px solid rgba(208, 138, 29, 0.4);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.dmaic-badge i {
    font-size: 1rem;
}

.dmaic-loop-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.dmaic-loop-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* Loop Container */
.dmaic-loop-container {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

/* SVG Connection Path */
.dmaic-connection-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
    display: none; /* Hidden on mobile, shown on desktop */
}

@media (min-width: 992px) {
    .dmaic-connection-svg {
        display: block;
    }
}

.loop-path {
    stroke-dashoffset: 1000;
    animation: dashFlow 30s linear infinite;
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: 0;
    }
}

/* Cards Grid - All 5 cards in one row */
.dmaic-loop-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 3;
}

/* Futuristic Card Design */
.dmaic-futuristic-card {
    position: relative;
    border-radius: 16px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Card glow effect */
.dmaic-futuristic-card .card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color), var(--accent-color));
    border-radius: 18px;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.dmaic-futuristic-card:hover .card-glow {
    opacity: 0.6;
}

/* Card border (gradient) */
.dmaic-futuristic-card .card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(208, 138, 29, 0.5), rgba(11, 58, 88, 0.3), rgba(208, 138, 29, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Card content */
.dmaic-futuristic-card .card-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px 16px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Background Icon - Hidden by default, shown on hover */
.dmaic-futuristic-card .card-bg-icon {
    position: absolute;
    bottom: -15px;
    right: -10px;
    font-size: 7rem;
    color: rgba(208, 138, 29, 0);
    z-index: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    transform: scale(0.8) rotate(-5deg);
    opacity: 0;
}

.dmaic-futuristic-card:hover .card-bg-icon {
    color: rgba(208, 138, 29, 0.12);
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

/* Scanline effect */
.dmaic-futuristic-card .card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.01) 2px,
        rgba(255, 255, 255, 0.01) 4px
    );
    pointer-events: none;
}

/* Card hover effect */
.dmaic-futuristic-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.dmaic-futuristic-card:hover .card-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

/* Card Top Row */
.dmaic-futuristic-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-indicator .step-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.step-indicator .step-line {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

/* Letter Badge */
.letter-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    position: relative;
    overflow: hidden;
}

.letter-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.letter-badge.letter-gold,
.letter-badge.letter-blue {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    box-shadow: 0 4px 15px rgba(208, 138, 29, 0.4);
}

/* Card Title */
.dmaic-futuristic-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

/* Card Icon - Hidden, replaced by background icon */
.dmaic-futuristic-card .card-icon {
    display: none;
}

/* Card Details */
.dmaic-futuristic-card .card-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dmaic-futuristic-card .detail-row {
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 2px solid var(--accent-color);
}

.dmaic-futuristic-card .detail-row .detail-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 4px;
    display: block;
}

.dmaic-futuristic-card .detail-row p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.4;
}

/* Dotted Line Connectors */
.dmaic-loop-container {
    position: relative;
}

/* Connector arrows - dotted line style */
.connector-arrow {
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
    width: 36px;
    height: 20px;
}

/* Dotted line */
.connector-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-image: linear-gradient(90deg, var(--accent-color) 6px, transparent 6px);
    background-size: 12px 3px;
    background-repeat: repeat-x;
    animation: dotMove 0.8s linear infinite;
}

@keyframes dotMove {
    0% { background-position: 0 0; }
    100% { background-position: 12px 0; }
}

/* Arrow end dot */
.connector-arrow::after {
    content: '';
    position: absolute;
    right: -6px;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(208, 138, 29, 0.5);
}

.connector-arrow i {
    display: none;
}

/* Card 5 (Control) - loop indicator */
.dmaic-futuristic-card:nth-child(5) .connector-arrow {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -35px;
    transform: translateX(-50%);
    width: 3px;
    height: 45px;
    flex-direction: column;
}

.dmaic-futuristic-card:nth-child(5) .connector-arrow::before {
    width: 3px;
    height: 100%;
    background-image: linear-gradient(180deg, #00c8d4 6px, transparent 6px);
    background-size: 3px 12px;
    background-repeat: repeat-y;
    animation: dotMoveVertical 0.8s linear infinite;
}

@keyframes dotMoveVertical {
    0% { background-position: 0 0; }
    100% { background-position: 0 12px; }
}

.dmaic-futuristic-card:nth-child(5) .connector-arrow::after {
    right: auto;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #00c8d4;
    box-shadow: 0 0 12px rgba(0, 200, 212, 0.6);
    width: 14px;
    height: 14px;
}

/* Loop icon visible on last card */
.dmaic-futuristic-card:nth-child(5) .connector-arrow i {
    display: block;
    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%);
    color: #00c8d4;
    font-size: 1rem;
    z-index: 5;
}

/* Results Strip */
.dmaic-results-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    position: relative;
    z-index: 2;
}

.results-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
}

.results-label i {
    font-size: 1.1rem;
}

.results-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.result-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(208, 138, 29, 0.15);
    border: 1px solid rgba(208, 138, 29, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.result-tag i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.result-tag:hover {
    background: rgba(208, 138, 29, 0.25);
    transform: translateY(-2px);
}

/* DMAIC Loop Responsive */
@media (max-width: 1199.98px) {
    .dmaic-loop-grid {
        gap: 12px;
    }

    .dmaic-futuristic-card .card-content {
        padding: 16px 12px;
    }

    .dmaic-futuristic-card h3 {
        font-size: 1rem;
    }

    .letter-badge {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

@media (max-width: 991.98px) {
    .dmaic-loop-section {
        padding: 50px 0 40px;
    }

    .dmaic-loop-header h2 {
        font-size: 1.85rem;
    }

    .dmaic-loop-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* Hide dotted connections on tablet */
    .connector-arrow {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .dmaic-loop-section {
        padding: 40px 0 32px;
    }

    .dmaic-loop-header {
        margin-bottom: 30px;
    }

    .dmaic-loop-header h2 {
        font-size: 1.5rem;
    }

    .dmaic-loop-header p {
        font-size: 0.95rem;
    }

    .dmaic-loop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .dmaic-futuristic-card:nth-child(4),
    .dmaic-futuristic-card:nth-child(5) {
        grid-column: auto;
        margin: 0;
        width: 100%;
    }

    .dmaic-futuristic-card:last-child {
        grid-column: span 2;
        max-width: 280px;
        margin: 0 auto;
    }

    .dmaic-futuristic-card .card-content {
        padding: 16px 14px;
    }

    .dmaic-results-strip {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
        gap: 16px;
    }

    .results-items {
        gap: 8px;
    }

    .result-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 479.98px) {
    .dmaic-loop-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dmaic-futuristic-card:last-child {
        grid-column: span 1;
        max-width: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dmaic-loop-section::before {
        animation: none;
    }

    .dotted-path.animated,
    .loop-arrow {
        animation: none;
    }

    .letter-badge::before {
        animation: none;
    }

    .connector-arrow.connector-loop {
        animation: none;
    }

    .dmaic-futuristic-card {
        transition: none;
    }
}

/* ===================================
   DMAIC Section V2 - Premium Timeline
   ===================================
   Modern vertical timeline design:
   - Light gradient background
   - Connected timeline with glowing nodes
   - Premium cards with hover effects
   - Animated entrance (respects reduced-motion)
   =================================== */

.dmaic-section-v2 {
    background: linear-gradient(180deg, #f8fafb 0%, #ffffff 50%, #f5f7f9 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Background Glow Elements */
.dmaic-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.dmaic-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.dmaic-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(208, 138, 29, 0.08);
    top: -150px;
    left: -150px;
}

.dmaic-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(11, 58, 88, 0.06);
    top: 40%;
    right: -100px;
}

.dmaic-glow-3 {
    width: 350px;
    height: 350px;
    background: rgba(0, 200, 212, 0.05);
    bottom: -100px;
    left: 20%;
}

/* Section Header */
.dmaic-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.dmaic-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(11, 58, 88, 0.2);
}

.dmaic-eyebrow i {
    font-size: 1rem;
}

.dmaic-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.dmaic-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Timeline Container */
.dmaic-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
    padding-left: 80px;
}

/* Timeline Track (vertical line) */
.timeline-track {
    position: absolute;
    left: 30px;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: linear-gradient(180deg,
        var(--accent-color) 0%,
        var(--primary-color) 50%,
        var(--accent-color) 100%);
    border-radius: 4px;
    opacity: 0.3;
}

/* Timeline Node (circles on the line) */
.timeline-node {
    position: absolute;
    left: -50px;
    top: 30px;
    width: 44px;
    height: 44px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(11, 58, 88, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-node .node-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-node-final {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-color: var(--accent-color);
}

.timeline-node-final i {
    color: white;
    font-size: 1.25rem;
}

/* DMAIC Card */
.dmaic-card {
    position: relative;
    margin-bottom: 32px;
}

.dmaic-card:last-child {
    margin-bottom: 0;
}

.dmaic-card .card-inner {
    background: white;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dmaic-card .card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dmaic-card:hover .card-inner {
    transform: translateY(-6px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.1);
}

.dmaic-card:hover .card-inner::before {
    opacity: 1;
}

.dmaic-card:hover .timeline-node {
    transform: scale(1.15);
    border-color: var(--accent-color);
    box-shadow: 0 6px 25px rgba(208, 138, 29, 0.3);
}

/* Card Header */
.dmaic-card .card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Step Badge (D, M, A, I, C letter) */
.step-badge {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.step-badge-gold {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
}

.step-badge-blue {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.step-badge .step-letter {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

/* Step Info */
.step-info {
    flex: 1;
}

.step-info .step-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.step-info .step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

/* Step Icon (right side) */
.step-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(11, 58, 88, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-icon-wrap i {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.dmaic-card:hover .step-icon-wrap {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    transform: rotate(5deg) scale(1.05);
}

.dmaic-card:hover .step-icon-wrap i {
    color: white;
}

/* Card Body */
.dmaic-card .card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card-section {
    padding: 16px;
    background: rgba(0, 0, 0, 0.015);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.card-section:hover {
    background: rgba(0, 0, 0, 0.03);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-label i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.section-label-accent {
    color: var(--accent-dark);
}

.card-section p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Results Banner */
.dmaic-results-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11, 58, 88, 0.25);
}

.dmaic-results-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(208, 138, 29, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.dmaic-results-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 200, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.results-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.results-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(208, 138, 29, 0.4);
}

.results-icon i {
    font-size: 1.75rem;
    color: white;
}

.results-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 4px 0;
}

.results-title p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.results-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.result-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.result-pill i {
    font-size: 1rem;
    color: var(--accent-color);
}

.result-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Animation for Cards */
.dmaic-card-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: dmaicFadeInUp 0.6s ease forwards;
}

.dmaic-card-animate:nth-child(2) { animation-delay: 0.1s; }
.dmaic-card-animate:nth-child(3) { animation-delay: 0.2s; }
.dmaic-card-animate:nth-child(4) { animation-delay: 0.3s; }
.dmaic-card-animate:nth-child(5) { animation-delay: 0.4s; }
.dmaic-card-animate:nth-child(6) { animation-delay: 0.5s; }

@keyframes dmaicFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dmaic-card-animate {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .dmaic-card .card-inner,
    .timeline-node,
    .step-icon-wrap,
    .result-pill {
        transition: none;
    }

    .dmaic-card:hover .card-inner {
        transform: none;
    }

    .dmaic-card:hover .timeline-node {
        transform: none;
    }
}

/* DMAIC V2 Responsive */
@media (max-width: 991.98px) {
    .dmaic-section-v2 {
        padding: 60px 0;
    }

    .dmaic-title {
        font-size: 2rem;
    }

    .dmaic-timeline {
        padding-left: 60px;
    }

    .timeline-track {
        left: 20px;
    }

    .timeline-node {
        left: -40px;
        width: 38px;
        height: 38px;
    }

    .dmaic-card .card-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dmaic-results-banner {
        padding: 32px 24px;
    }

    .results-header {
        flex-direction: column;
        text-align: center;
    }

    .results-pills {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .dmaic-header {
        margin-bottom: 40px;
    }

    .dmaic-title {
        font-size: 1.75rem;
    }

    .dmaic-subtitle {
        font-size: 1rem;
    }

    .dmaic-timeline {
        padding-left: 0;
    }

    .timeline-track {
        display: none;
    }

    .timeline-node {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 16px;
    }

    .dmaic-card .card-inner {
        padding: 24px 20px;
    }

    .dmaic-card .card-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .step-badge {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 12px;
    }

    .step-badge .step-letter {
        font-size: 1.25rem;
    }

    .step-info .step-title {
        font-size: 1.25rem;
    }

    .step-icon-wrap {
        width: 40px;
        height: 40px;
    }

    .step-icon-wrap i {
        font-size: 1.1rem;
    }

    .result-pill {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .dmaic-glow-1,
    .dmaic-glow-2,
    .dmaic-glow-3 {
        opacity: 0.5;
    }
}

/* ===================================
   Programs Section - Two Column Layout
   =================================== */
.programs-section {
    background: linear-gradient(180deg, #f8fafb 0%, #ffffff 50%, #f5f7f9 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Background Glow Elements for Programs */
.programs-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(208, 138, 29, 0.06);
    border-radius: 50%;
    filter: blur(100px);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.programs-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(11, 58, 88, 0.05);
    border-radius: 50%;
    filter: blur(100px);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

/* Section Header */
.programs-header {
    text-align: center;
    margin-bottom: 40px;
}

.programs-eyebrow {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.programs-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.programs-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Two Column Layout */
.programs-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Left: Program List */
.programs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.program-item {
    background:
        radial-gradient(circle 180px at bottom right, rgba(11, 58, 88, 0.06) 0%, transparent 70%),
        white;
    border-radius: 10px;
    padding: 20px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background:
        radial-gradient(circle 200px at bottom right, rgba(208, 138, 29, 0.12) 0%, transparent 70%),
        white;
}

.program-item:hover::before {
    opacity: 1;
}

/* Background Icon */
.program-bg-icon {
    position: absolute;
    bottom: -10px;
    right: -5px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.06;
    transition: all 0.3s ease;
    pointer-events: none;
    line-height: 1;
}

.program-item:hover .program-bg-icon {
    opacity: 0.12;
    transform: scale(1.1);
    color: var(--accent-color);
}

.program-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.program-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Right: Grades Panel */
.grades-panel {
    position: sticky;
    top: 100px;
}

.grades-panel-inner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 32px;
    color: white;
    box-shadow: 0 10px 40px rgba(11, 58, 88, 0.3);
}

.grades-panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.grades-panel-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.grades-section {
    margin-bottom: 24px;
}

.grades-section:last-of-type {
    margin-bottom: 28px;
}

.grades-level-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.grades-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.grade-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.grade-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.grades-cta {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-grades-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--accent-color);
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(208, 138, 29, 0.35);
}

.btn-grades-cta:hover {
    background: var(--accent-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 138, 29, 0.45);
}

.btn-grades-cta i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-grades-cta:hover i {
    transform: translateX(4px);
}

/* Programs Section Responsive */
@media (max-width: 991.98px) {
    .programs-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .grades-panel {
        position: static;
    }

    .programs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .programs-section {
        padding: 48px 0;
    }

    .programs-title {
        font-size: 1.75rem;
    }

    .programs-list {
        grid-template-columns: 1fr;
    }

    .grades-panel-inner {
        padding: 24px;
    }
}

/* Legacy Grades (kept for compatibility) */
.grade-badge {
    background: var(--bg-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.grade-badge:hover {
    background: var(--primary-color);
    color: white;
}

/* ===================================
   Contact Section - Dark Theme
   =================================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, #041420 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Background Glow Elements */
.contact-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.contact-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(208, 138, 29, 0.3);
    top: -100px;
    left: -100px;
}

.contact-glow-2 {
    width: 350px;
    height: 350px;
    background: rgba(0, 200, 255, 0.15);
    bottom: -100px;
    right: -50px;
}

/* Section Header */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.contact-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Two Column Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.contact-left {
    display: flex;
    flex-direction: column;
}

.contact-right {
    display: flex;
    flex-direction: column;
}

/* Contact Cards Grid */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Contact Card Base */
.contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

/* Card Icon */
.contact-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-card-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card-primary .contact-card-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    box-shadow: 0 8px 20px rgba(208, 138, 29, 0.35);
}

.contact-card-secondary .contact-card-icon {
    background: linear-gradient(135deg, #00c8d4, #0099aa);
    box-shadow: 0 8px 20px rgba(0, 200, 212, 0.3);
}

.contact-card-tertiary .contact-card-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* Card Content */
.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contact-card-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.contact-card-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.contact-card-action {
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.contact-card:hover .contact-card-action {
    gap: 10px;
}

.contact-card-detail {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Card Background Icon */
.contact-card-bg-icon {
    position: absolute;
    bottom: -15px;
    right: -10px;
    font-size: 6rem;
    color: white;
    opacity: 0.04;
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-bg-icon {
    opacity: 0.08;
    transform: scale(1.1);
}

/* Embedded Contact Form */
.contact-form-wrapper {
    text-align: center;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-form-container iframe {
    border-radius: 12px;
    max-width: 100%;
}

/* CTA Banner - Gradient Glass Design */
.contact-cta-banner {
    background: linear-gradient(135deg, rgba(208, 138, 29, 0.15) 0%, rgba(208, 138, 29, 0.05) 50%, rgba(0, 200, 212, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Decorative corner accents */
.contact-cta-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(208, 138, 29, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 200, 212, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.cta-banner-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(208, 138, 29, 0.4);
}

.cta-banner-icon i {
    font-size: 1.75rem;
    color: white;
}

.cta-banner-text h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.cta-banner-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.cta-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.btn-cta-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(208, 138, 29, 0.4);
}

.btn-cta-email:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(208, 138, 29, 0.5);
    color: white;
}

.btn-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* Contact Section Responsive */
@media (max-width: 991.98px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-grid {
        gap: 16px;
    }

    .contact-form-container {
        padding: 16px;
    }

    .contact-form-container iframe {
        height: 1400px;
    }

    .cta-banner-actions {
        flex-direction: column;
    }

    .btn-cta-email,
    .btn-cta-phone {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-glow-1 {
        width: 250px;
        height: 250px;
    }

    .contact-glow-2 {
        width: 200px;
        height: 200px;
    }
}

.contact-cta-wrapper h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-cta-wrapper p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-cta-wrapper .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-alternative {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cta-alternative span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.cta-alternative .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.cta-alternative .phone-link:hover {
    color: var(--accent-color);
}

.cta-alternative .phone-link i {
    font-size: 1rem;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: var(--accent-color);
    font-size: 1rem;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: white;
    font-size: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===================================
   About Us Section
   =================================== */
.about-image-wrapper {
    position: relative;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    padding: 5rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-xl);
}

.about-image-placeholder i {
    font-size: 8rem;
    opacity: 0.9;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(208, 138, 29, 0.4);
    text-align: center;
}

.about-badge .badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge .badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-credentials {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-top: 1.5rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.credential-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.credential-item span {
    font-weight: 500;
    color: var(--text-dark);
}

/* ===================================
   FAQ Section
   =================================== */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    font-weight: 600;
    color: var(--secondary-color);
    background: var(--bg-white);
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230b3a58'%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");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230b3a58'%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");
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.accordion-body ol {
    padding-left: 1.25rem;
}

.accordion-body ol li {
    margin-bottom: 0.5rem;
}

/* ===================================
   Footer
   =================================== */
footer {
    background: linear-gradient(135deg, var(--secondary-color), #1e293b) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

footer a:hover {
    color: white;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--radius-md);
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .dmaic-timeline {
        padding-left: 0;
    }

    .dmaic-timeline::before {
        display: none;
    }

    .dmaic-step {
        flex-direction: column;
        gap: 1rem;
    }

    .dmaic-badge {
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .grades-container {
        flex-direction: column;
        gap: 2rem;
    }

    section {
        padding: 3rem 0 !important;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.program-card,
.dmaic-step {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animations */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }
.program-card:nth-child(4) { animation-delay: 0.4s; }
.program-card:nth-child(5) { animation-delay: 0.5s; }
.program-card:nth-child(6) { animation-delay: 0.6s; }

/* Scroll reveal - to be activated via JS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Utility Classes
   =================================== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}
