:root {
    /* Refined Color Palette (HSL for better control) */
    --p-h: 280;
    --p-s: 30%;
    --p-l: 39%;
    /* Primary - Purple */
    --s-h: 24;
    --s-s: 100%;
    --s-l: 37%;
    /* Secondary - Orange */
    --a-h: 199;
    --a-s: 89%;
    --a-l: 48%;
    /* Accent - Light Blue */

    --primary-color: hsl(var(--p-h), var(--p-s), var(--p-l));
    --primary-light: hsl(var(--p-h), var(--p-s), calc(var(--p-l) + 15%));
    --secondary-color: hsl(var(--s-h), var(--s-s), var(--s-l));
    --accent-color: hsl(var(--a-h), var(--a-s), var(--a-l));

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, hsl(231, 77%, 77%) 0%, hsl(268, 37%, 46%) 100%);
    --surface-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --glass-blur: blur(12px);

    /* Spacing & Sizing */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.12);

    /* Text Colors */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --light-bg: #f8fafc;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Outfit', sans-serif;
}

/* Base Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md);
}

/* =========================================
   3. MODERN COMPONENT STYLES
   ========================================= */

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Page Hero (Modern) */
.page-hero {
    padding: 160px 0 80px;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.page-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    color: var(--white);
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.text-glow {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Base Utilities */

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--white);
    font-size: 1.5rem;
}

/* Courses Landing */
.courses-landing-section {
    padding: 40 0;
}

.courses-landing-section .container-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.filters-top-bar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.filter-search-row {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.filter-list-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 5px;
    /* Spacing for scrollbar if needed */
}

/* Horizontal Scroll for Filters on Tablet/Mobile */
@media (max-width: 1200px) {
    .filter-list-horizontal {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE */
    }

    .filter-list-horizontal::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari/Edge */
    }

    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .filters-top-bar {
        padding: 0 1rem;
        /* Add padding specifically for scroll container */
    }
}

.course-results-area-full {
    width: 100%;
}

/* Premium Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.3rem 1.5rem;
    gap: 1rem;
    transition: var(--transition);
    /* border: 1px solid var(--glass-border); */
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 1px solid var(--bg-dark);
    border-radius: 9999px;
    border: 2px solid rgb(238, 231, 231);
}

.search-box:focus-within {
    background: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.search-box i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.search-box:focus-within i {
    transform: rotate(90deg) scale(1.1);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    font-family: var(--font-main);
    color: var(--text-dark);
}

.search-box input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* Course grid defined later with all-courses specific section */

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: var(--white);
}

.filter-btn img {
    width: 20px;
    height: 20px;
}

.course-card-horizontal {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.course-card-horizontal:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
}

.card-thumb {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.badge.new {
    background: #ec4899;
    color: var(--white);
}

.badge.hot {
    background: #ef4444;
    color: var(--white);
}

.card-body h3 {
    font-size: 1.8rem;
    margin: 0.5rem 0 1rem;
}

.card-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
}

.discount-off {
    color: #10b981;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Course Detail */
.course-detail-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    padding: 4rem 0;
}

.content-block {
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.modern-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-panel {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.accordion-trigger {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.accordion-trigger:hover {
    background: rgba(255, 255, 255, 0.5);
}

.accordion-panel.active .accordion-trigger {
    background: var(--primary-gradient);
    color: var(--white);
}

.accordion-panel.active .accordion-trigger i {
    transform: rotate(90deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-panel.active .accordion-content {
    padding: 1.5rem;
    max-height: 500px;
}

.mentor-bio-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.mentor-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.mentor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-card {
    padding: 1.5rem;
    position: sticky;
    top: 120px;
}

.card-media {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.media-overlay i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.course-perks {
    margin-top: 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.course-perks ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.course-perks li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-perks i {
    color: var(--primary-color);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Base Container - Full Width (Auto) */
.container-wrapper {
    max-width: 100%;
    margin: 0 auto;
    /* padding: 0 0.6rem; */
    width: auto;
    /* Changed from 100% to auto as requested */
}


/* --- Premium Page Hero (Global Internal Page Header) --- */
.page-hero-premium {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
        url('../img/Modern Workspace Setup.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.page-hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(circle at bottom left, rgba(244, 63, 94, 0.15), transparent);
    pointer-events: none;
}

.page-hero-premium .container-wrapper {
    position: relative;
    z-index: 2;
}

.page-hero-premium h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-hero-premium p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Footer Fix wrapper to ensure footer stays at bottom */
/* =========================================
   FOOTER STYLES
   ========================================= */
.main-footer {
    background-color: #0f172a;
    /* Dark Slate */
    color: #cbd5e1;
    /* Light Slate */
    padding: 80px 0 30px;
    margin-top: auto;
    font-size: 0.95rem;
    width: auto;
    /* Requested explicitly */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 800;
    font-size: 1.8rem;
}

.footer-logo img {
    height: 40px;
}

.footer-desc {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-heading {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: #94a3b8;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-news-form {
    margin-top: 1.5rem;
    display: flex;
    position: relative;
}

.footer-news-form input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 50px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: inherit;
}

.footer-news-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 0 15px;
    font-weight: 600;
    transition: var(--transition);
}

.footer-news-form button:hover {
    background: var(--primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 20px 20px;
    }

    .footer-grid {
        gap: 2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-logo,
    .social-links {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-desc {
        margin: 0 auto 2rem;
    }

    .footer-news-form {
        max-width: 400px;
        margin: 1.5rem auto 0;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* =========================================
   2. HEADER & NAVBAR (CORE LAYOUT)
   ========================================= */
header {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-header,
.mobile-footer,
.toggles-btn {
    display: none;
}

header.header-scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    padding: 2px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

header.header-scrolled .navbar {
    height: 70px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.logo-text span {
    color: var(--primary-color);
}

.logo img {
    height: 55px;
    transition: height 0.3s ease;
}

header.header-scrolled .logo img {
    height: 42px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 4px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdowns */
.dropdown {
    position: relative;
    padding: 0;
    /* Increased to close the hover gap */
    /* display: flex; */
    align-items: center;
}

/* Desktop Arrow Indicator */
/* Desktop Arrow Indicator handled by HTML icon now */
/* .dropdown>a::after { ... } removed to avoid double arrows */

.dropdown:hover>a i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    /* Gap created here */
    left: 0;
    background: var(--white);
    width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    z-index: 999;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Bridge to prevent menu closing when hovering over gap */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    animation: slideUp 0.3s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    /* Ensure no bullets */
}

/* Remove boxy styles from links */
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-radius: 8px;
    /* Smooth corners instead of sharp boxes */
    margin: 4px;
    /* Tiny gap for hover effect area */
    border: none !important;
    /* Force remove any borders */
    background: transparent;
    /* No background by default */
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    /* Subtle hover background */
    color: var(--primary-color);
    padding-left: 20px;
    /* Prevent jumpy padding */
    transform: none;
    /* No movement to avoid boxy feel */
}

.dropdown-menu li a::after {
    display: none;
    /* Remove any underline effects */
}

/* =========================================
   3. HERO SECTION (MODERN)
   ========================================= */
.hero-section {
    position: relative;
    padding: 120px 2rem 60px 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-content {
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary-lg {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 10px 20px -5px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s ease;
}

.btn-primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(102, 126, 234, 0.5);
}

.btn-outline-lg {
    background: var(--white);
    color: var(--text-dark);
    padding: 14px 35px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid var(--border-light, #e2e8f0);
    transition: 0.3s ease;
}

.btn-outline-lg:hover {
    border-color: #667eea;
    color: #667eea;
}

.hero-image {
    position: relative;
    z-index: 10;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: 0.5s ease;
}

.hero-image:hover img {
    transform: rotate(0deg);
}

.hero-stat-box {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

.hero-stat-box i {
    font-size: 1.8rem;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.hero-bg-circle-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

.hero-bg-circle-2 {
    position: absolute;
    bottom: 0;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.dropdown-menu li a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: var(--text-dark);
    /* Ensure text is dark */
    text-decoration: none;
    /* No underline */
    transition: all 0.3s ease;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a i {
    width: 20px;
    margin-right: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.dropdown-menu li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Right Nav (Search & Buttons) */
.right-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border-radius: 50px;
    padding: 8px 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
}

.search-container input {
    border: none;
    background: transparent;
    outline: none;
    padding: 5px;
    font-size: 0.95rem;
    width: 180px;
}

.search-container button {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 1rem;
    transition: color 0.3s;
}

.search-container button:hover {
    color: var(--primary-color);
}

.btn-login {
    background: var(--primary-gradient);
    color: var(--white) !important;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-login:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
    opacity: 0.95;
}


.btn-logout {
    background: transparent;
    color: var(--text-dark) !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.btn-logout:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}



/* Mobile Toggles */
.toggles-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-search,
.mobile-login-container {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   3. HERO CAROUSEL
   ========================================= */
.carousel-container {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background-color: #000000ac;
}

.carousel-slide {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient Overlay for Text Readability */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 900px;
    z-index: 10;
    padding: 20px;
    text-align: center;
}

.caption h1 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: -1px;
}

.caption p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #9d5bb0 100%);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(130, 70, 130, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #9d5bb0 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(130, 70, 130, 0.6);
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 1.2rem;
    backdrop-filter: blur(4px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prev:hover,
.next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* =========================================
   4. GENERAL SECTIONS
   ========================================= */
section {
    max-width: 100%;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* =========================================
   5. MENTOR & DEVELOPMENT COURSES SECTION
   ========================================= */

/* --- Part A: Mentor-Led Categories (Horizontal Scroll) --- */
.mentor-section {
    padding: 60px 0 40px 0;
    background-color: var(--light-bg);
    overflow: hidden;
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.pill-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #ffccbc;
    color: var(--text-dark);
    background-color: #fff5f2;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.pill-badge i {
    color: var(--secondary-color);
    margin-right: 6px;
}

.mentor-section .title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.scribble-text {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.scribble-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 10px;
    background: var(--secondary-color);
    opacity: 0.4;
    border-radius: 4px;
    z-index: -1;
    transform: rotate(-1deg) skewX(-10deg);
}

.subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Carousel Layout */
.carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 100%;
    margin: 40px 0;
    padding: 0;
}

.cards-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    /* Prevent wrapping */
    justify-content: flex-start;
    /* Start from left */
    gap: 20px;
    padding: 20px 40px;
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    /* Enable scroll */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cards-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Category Cards */
.cat-card {
    min-width: 260px;
    flex-shrink: 0;
    /* Prevent shrinking */
    height: 95px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    display: flex;
    align-items: center;
    padding: 15px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.cat-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 6px;
    margin-right: 15px;
}

.cat-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    padding-right: 15px;
}

.cat-card .arrow-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
}

/* Active State for Category Cards */
.cat-card.active {
    background: #dbeafe !important;
    border: 1px solid #93c5fd;
}

.cat-card.active .arrow-icon {
    color: #1e3a8a;
    transform: rotate(45deg);
}

/* Card Gradients */
.grad-purple {
    background: linear-gradient(90deg, #f3e5f5 0%, #ffffff 40%);
}

.grad-yellow {
    background: linear-gradient(90deg, #fff3e0 0%, #ffffff 40%);
}

.grad-green {
    background: linear-gradient(90deg, #e0f2f1 0%, #ffffff 40%);
}

.grad-red {
    background: linear-gradient(90deg, #ffebee 0%, #ffffff 40%);
}

/* Next Button for Scroll */
.nav-btn-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #eee;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    cursor: pointer;
    margin-left: 15px;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-btn-next:hover {
    background: #f9f9f9;
    transform: translateX(2px);
}

/* --- Part B: Development Courses (Horizontal Slider) --- */
.courses-section {
    padding-bottom: 60px;
    background-color: var(--light-bg);
}

/* Wrapper to align with global container */
.courses-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Slider Container for Buttons & Grid */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Scroll Buttons (Left & Right) */
.scroll-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow);
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
    transform: scale(1.1);
}

/* Position Left/Right Buttons */
.scroll-btn.left {
    left: -2px;
}

.scroll-btn.right {
    right: -2px;
}

/* Course Grid (Horizontal Scroll) */
.course-grid {
    display: flex;
    /* Changed from grid to flex */
    gap: 15px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding: 10px 5px 20px 5px;
    scroll-behavior: smooth;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.course-grid::-webkit-scrollbar {
    display: none;
}

.course-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeIn 0.8s ease-out;
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
}

/* Slider-Specific Card Styles */
.course-grid .course-card {
    width: calc(25% - 12px);
    min-width: 250px;
    flex-shrink: 0;
}

/* Vertical Grid Card Styles - Reset widths */
.course-grid-vertical .course-card {
    width: 100%;
    min-width: auto;
    flex-shrink: 1;
}

/* Responsive Slider adjustments */
@media (max-width: 1200px) {
    .course-grid .course-card {
        width: calc(33.333% - 10px);
    }
}

@media (max-width: 900px) {
    .course-grid .course-card {
        width: calc(50% - 8px);
    }
}

@media (max-width: 600px) {
    .course-grid .course-card {
        width: 85%;
    }

}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.card-actions .btn-primary,
.card-actions .btn-outline {
    width: 100%;
    border-radius: 10px;
    padding: 12px 10px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-transform: none;
    letter-spacing: 0;
}

.card-actions .btn-outline {
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
}

.card-actions .btn-outline:hover {
    border-color: var(--primary-color);
    background: transparent;
}


@media (max-width: 480px) {
    .course-card {
        min-width: unset;
        max-width: 100%;
    }

    .thumb-box {
        height: 160px;
    }
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(var(--p-h), var(--p-s), var(--p-l), 0.1);
    border-color: var(--primary-light);
}


.thumb-box {
    height: 190px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .thumb-box img {
    transform: scale(1.05);
}

/* Badges on Thumbnail */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.badge.popular {
    background: #16a34a;
    /* Green matching screenshot 'Popular' */
    color: #fff;
}

.badge.latest {
    background: #4f46e5;
    color: #fff;
}

.badge.none {
    display: none;
}

/* Language/Mode Tags Overlay */
.thumb-overlay-tags {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.tag-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-lang {
    background-color: rgba(79, 70, 229, 0.9);
    color: var(--white);
    border: none;
    backdrop-filter: blur(4px);
}

/* Card Content */
.card-info {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
}

.course-desc-short {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 8px 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 2.7em;
}

.meta-row {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}

.meta-row span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-row i {
    color: var(--text-light);
}

/* Price Section */
.price-row {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
}

.discount-off {
    font-size: 0.8rem;
    color: #16a34a;
    font-weight: 600;
    background: #dcfce7;
    padding: 2px 6px;
    border-radius: 4px;
}

/* View All Button */
.view-all-wrapper {
    text-align: center;
    margin-top: 20px;
}

.btn-view-all {
    background-color: var(--text-dark);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-view-all:hover {
    background-color: #000;
    transform: translateY(-2px);
}

/* Responsive Fix for Buttons on Mobile */
@media (max-width: 768px) {
    .scroll-btn {
        display: none;
        /* Hide buttons on mobile, allow touch scroll */
    }

    .courses-wrapper {
        padding: 0 10px;
    }

    .course-card {
        min-width: 280px;
        max-width: 280px;
    }
}

/* =========================================
   6. FEATURES SECTION
   ========================================= */
.features-section {
    background-color: var(--white);
    padding: 60px 0;
    overflow: hidden;
}

.features-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

/* Specific styling for "Why Choose e-Tech" (White Background) */
.features-section .features-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.features-section .features-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-slider-wrapper {
    width: 100%;
}

.feature-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 40px 20px;
    max-width: 1800px;
    margin: 0 auto;
    scrollbar-width: none;
    /* Hide scrollbar */
    -ms-overflow-style: none;
}

.feature-container::-webkit-scrollbar {
    display: none;
}

.feature-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;

    /* Desktop Slider Width */
    min-width: 300px;
    flex-shrink: 0;
}

.feature-box:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

/* Tablet & Mobile View: Grid Layout */
@media (max-width: 1024px) {
    .feature-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        padding: 20px;
    }

    .feature-box {
        min-width: auto;
        /* Reset fixed width */
        width: 100%;
    }
}

@media (max-width: 600px) {
    .feature-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   7. CTA TRIAL SECTION
   ========================================= */
.cta-trial-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--white) 0%, #fef2f2 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-trial-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-color);
    padding: 40px;
    border-radius: 18px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(130, 70, 130, 0.25);
}

.cta-trial-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-trial-text {
    flex: 1;
    padding-right: 40px;
    z-index: 2;
}

.cta-trial-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-trial-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
}

.trial-features {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.trial-features span i {
    margin-right: 8px;
    color: #fbbf24;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    z-index: 2;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

/* =========================================
   8. STATS SECTION (Parallax)
   ========================================= */
.stats-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    color: var(--white);
    z-index: 1;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Mobile */
        gap: 15px;
    }

    .stat-box {
        padding: 15px 10px;
        /* Compact padding */
    }

    .stat-box h3 {
        font-size: 1.8rem;
        /* Smaller counter */
    }

    .stat-box p {
        font-size: 0.9rem;
        /* Smaller label */
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 10px;
        width: 50px;
        height: 50px;
    }
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    line-height: 1;
}

.stat-box h3::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary-color);
    vertical-align: top;
    margin-left: 2px;
}

.stat-box p {
    margin-top: 5px;
    font-size: 1rem;
    color: #ddd;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   9. INSTRUCTORS SECTION
   ========================================= */
.instructors-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--light-bg) 0%, #fff5f8 100%);
    /* Subtle premium gradient */
}

.instructor-slider-wrapper {
    position: relative;
    padding: 0 20px;
}

.instructor-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 5px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.instructor-container::-webkit-scrollbar {
    display: none;
}

/* Instructor Navigation Buttons */
.inst-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inst-nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.inst-nav-btn.prev {
    left: -20px;
}

.inst-nav-btn.next {
    right: -20px;
}

/* Mobile View: No Slider (Vertical Stack) */
@media (max-width: 768px) {
    .instructor-slider-wrapper {
        padding: 0;
    }

    .instructor-container {
        display: grid;
        grid-template-columns: 1fr;
        overflow-x: visible;
        gap: 25px;
    }

    .instructor-container .instructor-card {
        min-width: auto;
        width: 100%;
    }

    .inst-nav-btn {
        display: none;
    }
}

.instructor-card {
    background: var(--light-bg);
    padding: 20px 15px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;

    /* Fixed width for Slider */
    min-width: 320px;
    flex-shrink: 0;
}

.instructor-card:hover {
    background: var(--white);
    /* Match Feature Box Hover */
    transform: translateY(-10px) scale(1.02);
    /* Match Scale */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    /* Match Hover Shadow */
    border-color: var(--primary-color);
}

.inst-img {
    margin-bottom: 25px;
}

.inst-img img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.instructor-card h3 {
    font-size: 1.4rem;
    /* Larger Name */
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.instructor-card .role {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(130, 70, 130, 0.1);
    /* Slightly stronger bg */
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.instructor-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    opacity: 0.9;
}

.instructor-card .socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 25px;
    width: 100%;
}

.instructor-card .socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.1rem;
}

.instructor-card .socials a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) rotate(360deg);
    /* Playful visual interaction */
    box-shadow: 0 5px 15px rgba(130, 70, 130, 0.3);
}

/* --- 10. ABOUT VIDEO SECTION (Redesigned) --- */
.about-video-section {
    padding: 100px 20px;
    background-color: var(--white);
    overflow: hidden;
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 1.5rem;
}

.about-img-wrapper {
    width: 65%;
    height: 500px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.about-img-wrapper:hover .play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.video-play-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 0 15px rgba(130, 70, 130, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.about-content-wrapper {
    width: 45%;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-left: -10%;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--text-dark), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content-wrapper p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    opacity: 1;
}

/* Split Features */
/* --- 11. FEATURES SPLIT SECTION (Redesigned) --- */
.features-split-section {
    padding: 100px 20px;
    background: url('../img/Modern Workspace Setup.png') no-repeat center center/cover fixed;
    position: relative;
    overflow: hidden;
}

/* Dark Overlay */
.features-split-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Dark overlay for text contrast */
    z-index: 1;
}

/* Specific styling for "Campus Facilities" (Image Background) */
.features-split-section .features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    position: relative;
    z-index: 2;
    /* Bring above overlay */
}

.features-split-section .features-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    /* White text */
    margin-bottom: 15px;
}

.features-split-section .features-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    /* Light text */
    line-height: 1.6;
}

.features-split-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    /* Bring above overlay */
}

.features-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns on Desktop */
    gap: 30px;
}

/* Feature Card */
.feature-box-video {
    background: rgba(255, 255, 255, 0.9);
    /* Glassmorphism effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-box-video:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 1);
    /* Solid white on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Icon */
.feat-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #9d5bb0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(130, 70, 130, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-box-video:hover .feat-icon-circle {
    transform: scale(1.1) rotate(10deg);
}

/* Typography */
.feat-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feat-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.feat-info p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

.features-image-side {
    flex: 0.8;
}

.features-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* =========================================
   11. TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.testimonial-container {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    /* Hide scrollbar but likely allow JS scroll */
    padding: 60px 10px 40px 10px;
    width: 100%;
    /* scroll-behavior: smooth; REMOVED for JS auto-scroll */
}

.testimonial-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);

    /* Auto-Slider Width: Exactly 3 cards */
    min-width: calc(33.333% - 20px);
    width: calc(33.333% - 20px);
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* Tablet & Mobile View: Manual Horizontal Scroll */
@media (max-width: 1024px) {
    .testimonial-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        /* Space for potential scrollbar interaction */
    }

    .testimonial-card {
        min-width: 300px;
        /* Slightly smaller for tablets */
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 85vw;
        /* Full width peeking card on mobile */
        scroll-snap-align: center;
        /* Center the card */
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-img-wrapper {
    position: absolute;
    top: -45px;
    left: 30px;
}

.testimonial-img-wrapper img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    margin-top: 35px;
    /* Increased to clear the profile image */
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.student-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 4px;
}

.student-info span {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
    display: flex;
    gap: 3px;
}

/* =========================================
   12. HISTORY TIMELINE
   ========================================= */
.history-section {
    padding: 60px 20px;
    background-color: var(--white);
    position: relative;
}

.history-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e5e7eb;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-item:hover::after {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.timeline-content {
    padding: 30px;
    background-color: var(--white);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(130, 70, 130, 0.1);
}

.timeline-content h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.year {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* =========================================
   13. CTA NEWSLETTER
   ========================================= */
.cta-newsletter-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    /* Deep premium dark */
    color: var(--white);
    position: relative;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Contain Layout Fixes */
    min-height: 300px;
    max-height: 450px;
    /* Constrain vertical size */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Ensure content stays within bounds */
}

.cta-newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 1.8rem;
    color: var(--accent-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, #a5b4fc);
    /* Lighter gradient for dark bg */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.cta-newsletter-content p {
    font-size: 1.15rem;
    color: #9ca3af;
    margin-bottom: 40px;
}

.newsletter-modern-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    /* Glass effect */
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.input-group i {
    color: #9ca3af;
    margin-right: 10px;
}

.newsletter-modern-form input {
    border: none;
    outline: none;
    width: 100%;
    padding: 15px 0;
    font-size: 1rem;
    color: var(--white);
    /* White text for glass form */
    background: transparent;
}

.newsletter-modern-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-modern-form button {
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 40px;
    padding: 12px 35px;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-modern-form button:hover {
    background: #a04000;
    transform: scale(1.05);
}

.spam-notice {
    margin-top: 15px;
    font-size: 0.85rem !important;
    opacity: 0.6;
}

/* =========================================
   14. FOOTER
   ========================================= */
.main-footer {
    background-color: var(--footer-bg);
    color: #9ca3af;
    /* Softer text color */
    padding: 60px 20px 30px;
    /* Increased padding */
    font-size: 14px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.footer-brand h2 {
    color: var(--heading-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand span {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #222;
    color: #fff;
    border-radius: 50%;
    border: 1px solid #333;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-heading {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
    display: block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    padding-left: 0;
    /* Reset padding transition if using transform */
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--secondary-color);
    /* Pop of orange */
    font-size: 1.1rem;
    margin-top: 2px;
    min-width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}


/* =========================================
   15. GLOBAL MEDIA QUERIES
   ========================================= */

/* Tablet & Smaller Laptops (Max 1024px) */
@media (max-width: 1024px) {

    /* --- HEADER RESPONSIVE --- */
    .navbar {
        padding: 0 1.5rem;
        justify-content: space-between;
    }

    .right-nav {
        display: none;
    }

    /* Hide Desktop right-nav */
    .toggles-btn {
        display: block;
        order: 3;
    }

    /* Show Hamburger */

    .nav-links {
        position: fixed;
        top: 85px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        max-height: 0;
        overflow-y: auto;
        transition: all 0.4s ease-in-out;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    header.header-scrolled .nav-links {
        top: 70px;
    }

    .nav-links.active {
        max-height: calc(100vh - 80px);
        padding-bottom: 20px;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li a {
        padding: 15px 25px;
        width: 100%;
        justify-content: space-between;
        color: var(--text-dark);
    }

    .mobile-search,
    .mobile-login-container {
        display: block;
        padding: 15px 25px;
        width: 100%;
    }

    .mobile-search .search-container {
        width: 100%;
        background-color: #f9f9f9;
        border: 1px solid #ddd;
    }

    .mobile-search input {
        width: 100%;
    }

    .mobile-login-container {
        text-align: center;
        border-bottom: none !important;
    }

    .mobile-login-container .btn-login {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background-color: #fcfcfc;
        display: block;
        padding-left: 0;
    }

    .dropdown-menu li a {
        padding-left: 40px;
        color: #666;
    }

    /* --- PAGE SECTIONS RESPONSIVE --- */
    .carousel-container {
        height: 60vh;
    }

    .caption h1 {
        font-size: 2.8rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .instructor-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 20px);
        /* 2 Columns on Tablet */
        min-width: 0;
    }

    .features-split-container {
        flex-direction: column;
    }

    .features-image-side {
        height: 400px;
    }

    /* Features Split Section Responsive */
    .features-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        /* Tablet: 2 cols */
    }

    .features-image-side {
        height: 400px;
    }

    /* About Section Mobile */
    .about-container {
        flex-direction: column;
        padding: 0;
    }

    .about-img-wrapper {
        width: 100%;
        height: 350px;
        border-radius: 16px;
        margin-bottom: -40px;
        /* Pull content up slightly */
    }

    .about-content-wrapper {
        width: 95%;
        margin-left: 0;
        margin-top: 0;
        padding: 40px 25px;
        border-radius: 16px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .about-heading {
        font-size: 2rem;
    }
}

/* Mobile Devices (Max 768px) */
@media (max-width: 768px) {

    /* Hero */
    .carousel-container {
        height: 60vh;
    }

    .carousel-container .prev,
    .carousel-container .next {
        display: none;
    }

    .caption h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .caption p {
        display: block !important;
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    /* Courses */
    .course-card {
        width: 85vw;
        min-width: 280px;
    }

    .slider-arrow,
    .nav-btn-next {
        display: none !important;
    }

    .cards-scroll-container {
        padding: 10px 20px;
        gap: 15px;
    }

    .carousel-wrapper {
        padding: 0;
        /* Remove wrapper padding so cards touch edges */
    }

    .carousel-wrapper {
        justify-content: center;
        width: 100%;
    }

    /* View All Button Mobile */
    .view-all-wrapper {
        padding: 0 20px;
    }

    .btn-view-all {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 15px;
    }

    /* Features Mobile (Grid/Cards) */
    .features-grid-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .feature-box-video {
        padding: 30px 20px;
    }

    /* "Why Choose e-Tech" Vertical Stack */
    .feature-container {
        flex-direction: column;
        padding: 10px 20px;
        overflow-x: visible;
        gap: 20px;
    }

    .feature-box {
        flex: none;
        width: 100%;
        margin-bottom: 0;
    }

    /* Features Headers Mobile */
    .features-section .features-header h2 {
        font-size: 1.8rem;
    }

    .features-split-section .features-header h1 {
        font-size: 2rem;
    }

    /* Stats */
    .stats-section {
        padding: 50px 0;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-box {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px 10px;
    }

    .stat-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }

    /* CTA Trial Section Mobile */
    .cta-trial-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .cta-trial-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .trial-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .cta-trial-action {
        width: 100%;
    }

    .cta-trial-action .btn-glow {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }

    /* Instructors Mobile (Horizontal Slider) */
    .instructor-container {
        display: flex;
        overflow-x: auto;
        padding-bottom: 30px;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-right: 20px;
    }

    .instructor-card {
        flex: 0 0 85%;
        /* Slider sizing */
        width: auto;
        max-width: 350px;
        margin: 0;
        scroll-snap-align: center;
    }

    .instructor-container::-webkit-scrollbar {
        display: none;
    }

    /* Testimonials */
    /* Testimonials */
    .testimonial-card {
        flex: 0 0 100%;
        /* Show 1 card fully on mobile */
        width: 100%;
        min-width: 100%;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        /* Lighter shadow for mobile */
    }

    /* CTA */
    .cta-trial-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-trial-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .trial-features {
        justify-content: center;
    }

    /* Timeline Mobile */
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left,
    .timeline-item.right {
        text-align: left;
    }

    .timeline-item::after {
        left: 21px;
        /* Align dot to line */
    }

    .timeline-item.right::after {
        left: 21px;
        /* Fix for right items */
    }



    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 21px;
    }
}

/* Small Mobile (Max 600px) */
@media (max-width: 600px) {
    .newsletter-modern-form {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 15px;
    }

    .input-group {
        background: var(--white);
        border-radius: 30px;
        padding: 5px 20px;
        width: 100%;
    }

    .newsletter-modern-form input {
        color: var(--text-dark);
        /* Fix visibility on white bg */
    }

    .newsletter-modern-form button {
        width: 100%;
        padding: 15px;
    }
}

/* blog-section */
/* =========================================
   BLOG SECTION
   ========================================= */
.blog-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
    /* Matches site background */
}

/* Helper for centered headers if not already defined */
.text-center {
    text-align: center;
}

/* Grid Layout */
.blog-grid {
    display: grid;
    /* Default: 3 Columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.blog-card {
    background: var(--white);
    border-radius: 20px;
    /* Modern radius */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft, premium shadow */
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Image Wrapper */
.blog-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
    /* Zoom effect */
}

/* Date Badge */
/* Date Badge */
.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/* Content Area */
.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Meta Tags (Category & Author) */
.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-meta i {
    color: var(--secondary-color);
    /* Pop of color */
    margin-right: 5px;
}

/* Title */
.blog-content h3 {
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

/* Excerpt Text */
.blog-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes button to bottom */
}

/* Read More Button */
.read-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.read-more-btn:hover {
    gap: 12px;
    /* Arrow moves on hover */
    color: var(--secondary-color);
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* Tablet (Max 1024px) -> 2 Columns */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

/* Mobile (Max 768px) -> 1 Column */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-img {
        height: 200px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* =========================================
   ADD TO: etech.css (End of file)
   ========================================= */

/* Wrapper to center the button with spacing */
.view-more-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Specific button style for the blog section */
.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(130, 70, 130, 0.3);
}

.btn-view-more:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(130, 70, 130, 0.2);
}

.btn-view-more i {
    transition: transform 0.3s ease;
}

/* =========================================
   16. JOURNEY TIMELINE (ABOUT PAGE)
   ========================================= */
/* =========================================
   16. EDITORIAL TIMELINE (ABOUT PAGE)
   ========================================= */
.editorial-timeline {
    padding: 80px 20px;
    background-color: var(--white);
}

.editorial-container {
    max-width: 1000px;
    margin: 40px auto 0;
}

.editorial-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
    align-items: flex-start;
}

.editorial-row:last-child {
    margin-bottom: 0;
}

/* The Year (Left Side) */
.editorial-year-col {
    flex: 0 0 200px;
    text-align: right;
    padding-right: 40px;
    position: relative;
}

.editorial-year {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
    opacity: 0.3;
    transition: 0.3s;
    font-family: var(--font-heading);
}

.editorial-row:hover .editorial-year {
    opacity: 1;
    color: var(--primary-color);
    -webkit-text-stroke: 0;
    transform: scale(1.05);
}

/* The Content (Right Side) */
.editorial-content-col {
    flex: 1;
    padding-left: 40px;
    border-left: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.editorial-row:hover .editorial-content-col {
    border-left-color: var(--secondary-color);
}

.editorial-content-col h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.editorial-content-col h4 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.editorial-content-col p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .editorial-row {
        flex-direction: column;
        margin-bottom: 50px;
    }

    .editorial-year-col {
        flex: none;
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 15px;
        padding-left: 20px;
        /* Align with border */
    }

    .editorial-year {
        font-size: 3rem;
        color: var(--primary-color);
        /* Solid color on mobile for readability */
        -webkit-text-stroke: 0;
        opacity: 1;
    }


    .editorial-content-col {
        padding-left: 20px;
        border-left: 3px solid var(--secondary-color);
        /* Always visible on mobile */
    }
}

/* =========================================
   17. FAQ SECTION (ABOUT PAGE)
   ========================================= */
/* =========================================
   17. FAQ SECTION (ABOUT PAGE) - SPLIT LAYOUT
   ========================================= */
.faq-section {
    padding: 100px 20px;
    background: var(--white);
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Side: Sticky Title */
.faq-left {
    position: sticky;
    top: 100px;
}

.faq-left h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.faq-left h2 span {
    color: var(--primary-color);
}

.faq-left p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Right Side: Accordion */
.faq-right {
    width: 100%;
}

.faq-item {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    padding: 25px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    box-shadow: none;
    transform: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--heading-color);
    padding-right: 10px;
}

/* Icons */
.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 1rem;
    background: rgba(130, 70, 130, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    /* Rotates plus to x, or specifically handle icons */
    background: var(--primary-color);
    color: var(--white);
}

.faq-answer {
    margin-top: 0;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    display: none;
    padding-top: 0;
    opacity: 0;
    max-width: 90%;
}

.faq-item.active .faq-answer {
    display: block;
    padding-top: 12px;
    animation: slideDown 0.3s forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-left {
        position: relative;
        top: 0;
        text-align: center;
    }

    .faq-left h2 {
        font-size: 2.2rem;
    }

    .faq-answer {
        max-width: 100%;
    }
}

/* =========================================
   18. ABOUT CTA FOOTER
   ========================================= */
/* =========================================
   18. PREMIUM CALL TO ACTION (FULL WIDTH MODERN)
   ========================================= */
.cta-footer {
    background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.9)),
        url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    padding: 100px 5%;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
    /* Reset radius for full width */
    margin: 60px 0 0;
    /* Reset margins */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.cta-footer h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.cta-footer h2 span {
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-footer p {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: #cccccc;
    font-weight: 300;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.cta-footer .cta-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 50px;
    font-size: 1.2rem;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(130, 70, 130, 0.4);
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.cta-footer .cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(130, 70, 130, 0.5);
    background: #9d5b9d;
    /* Lighter purple on hover */
}

/* Trust Badge */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-badge i {
    color: #FFD700;
    /* Gold star */
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .cta-footer {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
        gap: 40px;
    }

    .cta-content {
        max-width: 100%;
        text-align: center;
    }

    .cta-footer h2 {
        font-size: 2.5rem;
    }

    .cta-action {
        align-items: center;
        width: 100%;
    }

    .cta-footer .cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* FAQ Mobile */
@media (max-width: 768px) {
    .faq-item {
        padding: 20px;
    }

    .faq-question {
        font-size: 1rem;
        gap: 15px;
    }

    .cta-footer {
        padding: 60px 20px;
    }

    .cta-footer h2 {
        font-size: 2rem;
    }
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 20px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        /* Force single column */
        gap: 40px;
        /* More space between sections */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .exp-badge {
        bottom: 20px;
        right: 20px;
    }
}

/* --- User Bento Section --- */
.trust-bento-section {
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --card-hover: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

    /* Icon Colors */
    --color-orange: linear-gradient(135deg, #f97316, #fb923c);
    --color-purple: linear-gradient(135deg, #8b5cf6, #a78bfa);
    --color-blue: linear-gradient(135deg, #0ea5e9, #38bdf8);
    --color-green: linear-gradient(135deg, #10b981, #34d399);

    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    color: var(--text-main);
    line-height: 1.6;
    padding: 80px 0;
    /* Removed side padding as requested */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.trust-bento-section * {
    box-sizing: border-box;
}

.trust-bento-section .container-wrapper {
    max-width: 1200px;
    width: auto;
    /* Changed to auto as requested */
    margin: 0 auto;
    padding: 0;
    /* Removed padding as requested */
}

/* --- BENTO GRID LAYOUT --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* Mobile first */
    gap: 24px;
}

/* Specific fix requested by user */
.trust-bento-section .bento-card {
    position: relative;
    z-index: 1;
    /* Ensure proper stacking context */
}

/* Tablet & Desktop Grid */
@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        display: flex;
        justify-content: center;
        /* Group relevant cards together */
        gap: 20px;
        flex-wrap: nowrap;
        /* Single line as requested */
        align-items: stretch;
    }

    /* The Hero Card */
    .bento-hero {
        flex: 2;
        /* Hero takes more space */
        min-width: 350px;
    }

    /* Other Items */
    .bento-item {
        flex: 1;
        min-width: 200px;
    }
}

/* --- CARD STYLES --- */
.bento-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-card:hover {
    transform: translateY(-5px);
    background-color: var(--card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

/* --- HERO CARD SPECIFICS --- */
.bento-hero {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 60%), var(--card-bg);
    border: none;
}

.premium-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.bento-hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 700;
}

.bento-hero h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 90%;
}

/* --- CAMPUS FACILITIES GRID --- */
/* --- CAMPUS FACILITIES GRID (Single Line Flex) --- */
.facilities-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* Wraps on small screens, single line on desktop if space permits */
}

@media (min-width: 1024px) {
    .facilities-grid {
        flex-wrap: nowrap;
        /* Force single line on desktop as requested */
    }

    .feature-box {
        flex: 1;
        /* Distribute space evenly */
        max-width: 300px;
        /* Limit individual card width */
    }
}

/* Feature Box (Campus Facilities) */
.feature-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    /* Increased height as requested */
    height: 100%;
    /* Ensure they stretch to match smoothest height in row */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 90%;
    /* Reduced width as requested */
    margin: 0 auto;
    /* Center the narrower card */
}

.feature-box:hover {
    transform: translateY(-5px);
}

/* --- INSTRUCTORS SECTION (Learn from the Best) --- */
.instructors-section .container-wrapper {
    max-width: 100%;
    width: auto;
    /* Requested: width auto */
    margin: 0 auto;
}

/* Hero Stats */
.bento-mini-stats {
    display: flex;
    gap: 20px;
    margin-top: auto;
    /* Push to bottom */
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-stat {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-stat:last-child {
    border: none;
}

.stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- SMALL ITEM CARDS --- */
.bento-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}

.bento-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Icon Boxes */
.bento-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Specific Gradients for Icons */
.bento-icon-box.orange {
    background: var(--color-orange);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.bento-icon-box.purple {
    background: var(--color-purple);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.bento-icon-box.blue {
    background: var(--color-blue);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.bento-icon-box.green {
    background: var(--color-green);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}


/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure about video section is responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        padding-bottom: 40px;
    }

    .about-img-wrapper {
        width: 100%;
        height: 350px;
    }

    .about-content-wrapper {
        width: 90%;
        margin-left: 0;
        margin-top: -50px;
        /* Overlap effect on mobile too */
        padding: 40px 30px;
    }
}

/* =========================================
   6. OFFLINE PAGE SPECIFIC STYLES
   ========================================= */

/* --- Page Hero --- */
.page-hero {
    background: linear-gradient(#39393a73, rgba(55, 55, 56, 0.461)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #e0e7ff;
    max-width: 700px;
    margin: 0 auto;
}



/* =========================================
   7. PREMIUM ENROLLMENT PAGE STYLES
   ========================================= */

.enroll-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Light grey background for contrast */
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

.enroll-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* --- Left Column: Form --- */
.enroll-form-wrapper {
    flex: 1.5;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.enroll-form-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.enroll-form-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Form Inputs */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #eaecf0;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-group input::placeholder {
    color: #9ca3af;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

/* --- Right Column: Summary Card (Ticket Style) --- */
.enroll-sidebar {
    width: 380px;
    flex-shrink: 0;
}

.course-summary-card {
    background: var(--white);
    border-radius: 20px;
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-header {
    background: var(--text-dark);
    color: #fff;
    padding: 25px;
    text-align: center;
    background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent);
}

.summary-header h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.summary-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.summary-body {
    padding: 30px;
}

.summary-course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
    min-height: 3.5rem;
    /* Reserve space for 2 lines */
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-details {
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #e5e7eb;
    font-size: 0.95rem;
    color: var(--text-light);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.satisfaction-guarantee {
    background: #f0fdf4;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    border: 1px solid #dcfce7;
}

.satisfaction-guarantee i {
    font-size: 1.5rem;
    color: #16a34a;
}

.satisfaction-guarantee p {
    font-size: 0.85rem;
    color: #15803d;
    line-height: 1.4;
    font-weight: 500;
}

/* Secure Badge */
.secure-badge {
    text-align: center;
    margin-top: 20px;
    color: #9ca3af;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Custom Radio Group (Mode Selection) */
.radio-group {
    display: flex;
    gap: 15px;
}

.radio-option {
    position: relative;
    flex: 1;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #f9fafb;
    border: 2px solid #eaecf0;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio-tile i {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.radio-tile span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Checked State */
.radio-option input:checked+.radio-tile {
    background-color: #eff6ff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.radio-option input:checked+.radio-tile i,
.radio-option input:checked+.radio-tile span {
    color: var(--primary-color);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.payment-card {
    border: 2px solid #eaecf0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.payment-card:hover {
    border-color: #d1d5db;
}

.payment-card.selected {
    border-color: var(--primary-color);
    background: #eff6ff;
    position: relative;
}

.payment-card img {
    height: 30px;
    object-fit: contain;
    margin-bottom: 5px;
}

.payment-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.payment-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    background: #f9fafb;
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

/* Base Enrollment Layout */
.enroll-container {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
    padding: 0 20px;
    align-items: flex-start;
}

.enroll-main {
    flex: 1;
}

.enroll-sidebar {
    width: 350px;
    position: sticky;
    top: 100px;
}

/* Make Payment Grid Responsive */
@media (max-width: 500px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* Responsive Enrollment */
@media (max-width: 900px) {
    .enroll-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 40px;
    }

    .enroll-sidebar {
        width: 100%;
    }

    .course-summary-card {
        position: static;
    }

    .enroll-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .enroll-section {
        padding: 40px 0;
    }
}


/* =========================================
   8. PAYMENT MODAL STYLES
   ========================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.modal-overlay.active .payment-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e5e7eb;
    color: var(--text-dark);
}

.modal-header img {
    height: 60px;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.payment-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #16a34a;
    background: #f0fdf4;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    margin: 20px 0;
}

.payment-timer {
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 20px;
    background: #fef2f2;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
}

/* Payment Method Content */
.payment-content {
    margin-bottom: 25px;
}

.qr-code-box {
    background: #f9fafb;
    border: 1px solid #eaecf0;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}


.qr-code-box .qr-img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    display: block;
}

.upi-apps-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.upi-apps-icons img {
    height: 30px;
    width: auto;
    opacity: 0.8;
    object-fit: contain;
}

.card-brand-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.2rem;
}

.card-number-wrapper {
    position: relative;
    margin-bottom: 10px;
}


.card-inputs input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.card-row {
    display: flex;
    gap: 10px;
}

.verify-btn {
    width: 100%;
    padding: 15px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.verify-btn:hover {
    background: #059669;
}

.bank-select {
    width: 100%;
    grid-template-columns: 1fr;
}

.enroll-section {
    padding: 40px 0;
}


/* =========================================
   8. PAYMENT MODAL STYLES
   ========================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.modal-overlay.active .payment-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e5e7eb;
    color: var(--text-dark);
}

.modal-header img {
    height: 60px;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.payment-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #16a34a;
    background: #f0fdf4;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    margin: 20px 0;
}

.payment-timer {
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 20px;
    background: #fef2f2;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
}

/* Payment Method Content */
.payment-content {
    margin-bottom: 25px;
}

.qr-code-box {
    background: #f9fafb;
    border: 1px solid #eaecf0;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}


.qr-code-box .qr-img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    display: block;
}

.upi-apps-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.upi-apps-icons img {
    height: 30px;
    width: auto;
    opacity: 0.8;
    object-fit: contain;
}

.card-brand-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.2rem;
}

.card-number-wrapper {
    position: relative;
    margin-bottom: 10px;
}


.card-inputs input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.card-row {
    display: flex;
    gap: 10px;
}

.verify-btn {
    width: 100%;
    padding: 15px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.verify-btn:hover {
    background: #059669;
}

.bank-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* =========================================
   9. CARD ACTION BUTTONS
   ========================================= */
.card-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    opacity: 0.95;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* =========================================
   10. COURSE DETAIL PAGE
   ========================================= */

/* Hero Section */
.course-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    color: white;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.course-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.course-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-bottom: 25px;
}

.hero-meta {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
}

/* Detail Section Layout */
.course-detail-section {
    padding-bottom: 80px;
    background: var(--light-bg);
}

.detail-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.detail-main {
    flex: 1;
}

.detail-sidebar {
    width: 380px;
    position: sticky;
    top: 100px;
}

/* Detail Blocks */
.detail-block {
    background: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.detail-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.detail-block p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.learning-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.learning-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.learning-list li i {
    color: #10b981;
    margin-top: 4px;
}

/* Accordion */
.accordion {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 15px 20px;
    background: #f9fafb;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: #f3f4f6;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.accordion-body ul {
    list-style: disc;
    padding: 15px 40px;
    color: var(--text-light);
}

.accordion-body li {
    margin-bottom: 8px;
}

/* Instructor Bio */
.instructor-bio {
    display: flex;
    gap: 20px;
    align-items: center;
}

.instructor-bio img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Sidebar Card */
.course-price-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.course-price-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.timer-banner {
    background: #fef2f2;
    color: #ef4444;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 25px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.feature-item i {
    width: 20px;
    color: var(--primary-color);
}

.full-width {
    display: block;
    width: 100%;
}

/* Responsive Course Detail */
@media (max-width: 900px) {
    .detail-container {
        flex-direction: column;
    }

    .detail-sidebar {
        width: 100%;
        position: static;
        order: -1;
    }

    .course-hero h1 {
        font-size: 2rem;
    }
}

/* =========================================
   12. E-BOOK DETAIL PAGE
   ========================================= */

/* --- Breadcrumb --- */
.breadcrumb-area {
    background: #f3f4f6;
    padding: 20px 0;
    margin-top: 80px;
    /* Clear fixed header */
}

.breadcrumb-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.9rem;
    color: var(--text-light, #6b7280);
}

.breadcrumb-wrapper a {
    text-decoration: none;
    color: var(--text-light, #6b7280);
    transition: 0.3s;
}

.breadcrumb-wrapper a:hover {
    color: var(--primary-color, #2563eb);
}

.breadcrumb-separator {
    margin: 0 10px;
}

/* --- Main Product Split --- */
.product-detail-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.product-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Left Column: Image */
.product-image-col {
    flex: 0 0 350px;
    /* Fixed width for cover area */
    position: relative;
}

.main-book-cover {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

/* Right Column: Info */
.product-info-col {
    flex: 1;
}

.product-tag {
    display: inline-block;
    background: #dbeafe;
    /* Light Blue */
    color: var(--primary-color, #2563eb);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-title {
    font-size: 2.5rem;
    color: var(--text-dark, #1f2937);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--text-light, #6b7280);
    font-size: 0.95rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 25px;
}

.meta-item i {
    margin-right: 6px;
    color: var(--primary-color, #2563eb);
}

.product-desc h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark, #1f2937);
}

.product-desc p {
    line-height: 1.7;
    color: var(--text-light, #6b7280);
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-dark, #374151);
}

.product-features li i {
    color: #16a34a;
    /* Green check */
    margin-right: 12px;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary-lg {
    background: var(--primary-color, #2563eb);
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.btn-primary-lg:hover {
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.btn-secondary-lg {
    background: #f3f4f6;
    color: var(--text-dark, #1f2937);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary-lg:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.related-section {
    background: #f9fafb;
    padding: 80px 20px;
    border-top: 1px solid #e5e7eb;
}

/* --- Responsive Queries for Detail Page --- */
@media (max-width: 900px) {
    .product-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .product-image-col {
        flex: 0 0 auto;
        width: 280px;
    }

    .product-info-col {
        text-align: center;
    }

    .product-meta {
        justify-content: center;
    }

    .product-features li {
        justify-content: center;
    }

    .action-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .product-title {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-primary-lg,
    .btn-secondary-lg {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   CHECKOUT PAGE STYLES (PREMIUM SPLIT)
   ========================================= */

.checkout-wrapper {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 20px;
    width: 100%;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Left Column: Main Form --- */
.checkout-main {
    background: #fff;
    /* Removed padding to let children control it or keep clean */
}

/* Stepper Polish */
/* Premium Checkout Layout Overhaul */

/* Wrapper */
.checkout-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    animation: fadeIn 0.6s ease-out;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Stepper Polish */
.checkout-stepper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
    color: var(--text-dark);
    font-weight: 700;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid transparent;
}

.step.active .step-num {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(130, 70, 130, 0.3);
}

/* Checkout Header */
.checkout-header {
    margin-bottom: 35px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 25px;
}

.checkout-header h1 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-dark) 0%, #4b5563 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Forms */
.form-section {
    display: none;
    animation: slideUp 0.5s ease-out;
}

.form-section.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--heading-color);
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.01em;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    /* More roomy */
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    /* Softer radius */
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: #f9fafb;
    /* Slight bg for input */
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-group input:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(130, 70, 130, 0.1);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
    background: #fff;
    color: #6b7280;
    font-weight: 600;
    font-size: 1.05rem;
}

.payment-card:hover {
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.payment-card.selected {
    border-color: var(--primary-color);
    background: #fff;
    /* Keep white for cleanliness */
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(130, 70, 130, 0.1);
    position: relative;
}

/* Right Column: Sticky Summary */
.checkout-sidebar {
    position: sticky;
    top: 120px;
}

.order-summary-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    /* More rounded */
    padding: 35px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
    /* Premium soft shadow */
}

.summary-book-cover {
    width: 90px;
    height: 130px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.summary-book-cover:hover {
    transform: scale(1.05);
}

.summary-header {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #e5e7eb;
}

.summary-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 700;
}

.summary-info .price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 1rem;
}

.summary-row.total {
    border-top: 2px solid #f3f4f6;
    padding-top: 20px;
    margin-top: 20px;
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.trust-badges {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #cbd5e1;
    font-size: 1.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .checkout-sidebar {
        order: -1;
        position: static;
    }

    .checkout-header h1 {
        font-size: 2rem;
    }
}

/* Step 1: Book Details View */
.book-review-card {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    /* Let content handle padding */
    animation: fadeIn 0.5s ease;
    /* No border or shadow here, let it blend or act as container */
}

.book-review-cover {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    /* Stronger lift */
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

.book-review-cover:hover {
    transform: translateY(-5px);
}

.book-review-title {
    font-size: 2.2rem;
    /* Larger */
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.book-review-price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 25px;
    display: block;
}

.product-desc h3 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Enhancing list items */
.product-features li {
    background: #fdfdfd;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
    margin-bottom: 10px;
}

/* =========================================
   13. LOGIN / REGISTER PAGE
   ========================================= */
.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.login-body {
    display: flex;
    flex: 1;
    width: 100%;
    min-height: 600px;
    background: #fff;
    overflow: hidden;
    margin-top: 80px;
}

.login-hero {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: #fff;
    transition: flex 0.5s ease, width 0.5s ease;
}

.login-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.login-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 450px;
    line-height: 1.6;
}

.login-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
    overflow-y: auto;
    background: #fff;
    transition: flex 0.5s ease;
}

.page-wrapper.register-mode .login-hero {
    flex: 0.7;
}

.page-wrapper.register-mode .login-wrapper {
    flex: 1.3;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    transition: max-width 0.5s ease;
}

.auth-box.wide {
    max-width: 800px;
}

.toggle-container {
    background: #f3f4f6;
    border-radius: 50px;
    padding: 5px;
    display: flex;
    margin-bottom: 30px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 50px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.toggle-btn.active {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.auth-form {
    display: none;
    animation: fadeIn 0.4s ease;
}

.auth-form.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.login-input-group {
    position: relative;
}

.login-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.login-input-group input {
    padding-left: 40px;
}

.role-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.role-pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    color: var(--text-light);
    transition: all 0.3s ease;
    background: #fff;
}

.role-pill.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.role-pill:hover:not(.active) {
    background: #f3f4f6;
    color: var(--text-dark);
}

@media (max-width: 900px) {
    .login-body {
        flex-direction: column;
    }

    .login-hero {
        display: none;
    }

    .login-wrapper {
        padding: 20px;
    }

    .form-row,
    .review-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   14. CONTACT PAGE (Instructor Style)
   ========================================= */

.contact-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    overflow: hidden;
}

.contact-main-info {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-main-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #c7d2fe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-main-info p {
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.8;
}

.info-box {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #a5b4fc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box:hover .icon-box {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: scale(1.1);
}

.info-details h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.info-details span {
    color: #94a3b8;
    font-size: 0.95rem;
}

.contact-form-box {
    padding: 60px;
    color: #ffffff;
}

.apply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #818cf8;
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.contact-form-box textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.send-btn {
    width: 100%;
    padding: 18px;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.send-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

.map-section {
    width: 100%;
    background: var(--light-bg);
    padding: 40px 0;
}

.map-container {
    height: 350px;
    /* border-radius: 30px; */
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-md);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .contact-main-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px 30px;
    }

    .contact-form-box {
        padding: 40px 30px;
    }
}

@media (max-width: 600px) {
    .apply-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .map-container {
        height: 300px;
    }

    .contact-main-info h2 {
        font-size: 1.8rem;
    }

    .send-btn {
        width: 100%;
    }
}

/* =========================================
   15. ABOUT PAGE
   ========================================= */
.about-hero {
    background: linear-gradient(#39393a34, rgba(55, 55, 56, 0.201)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
    margin-bottom: 40px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--white);
}

.about-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: #e0e7ff;
}

.story-section {
    padding: 40px 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 0 20px;
}

.story-img {
    position: relative;
}

.story-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 15px 15px 0 var(--primary-color);
}

.exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.exp-badge h3 {
    font-size: 2rem;
    margin: 0;
    line-height: 1;
    color: var(--accent-color);
}

.exp-badge span {
    font-size: 0.85rem;
}

.story-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.story-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: 500;
}

.check-list i {
    color: var(--primary-color);
    margin-right: 12px;
    background: rgba(37, 99, 235, 0.1);
    padding: 6px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.team-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-align: center;
    border-bottom: 4px solid transparent;
}

.team-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
}

.team-img {
    height: 250px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-info span {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.team-social {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f4f4f4;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 0.9rem;
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.partners-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
    border-top: 1px solid #f0f0f0;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.slider-container::before,
.slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.slider-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.partner-card {
    background: var(--white);
    min-width: 160px;
    height: 120px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-card i {
    font-size: 2.5rem;
    color: #cbd5e0;
    margin-bottom: 8px;
    transition: 0.3s;
}

.partner-card:hover i {
    color: var(--brand-color);
}

.partner-name {
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.partner-card:hover .partner-name {
    opacity: 1;
    transform: translateY(0);
    color: var(--text-dark);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.faq-section {
    padding: 40px 0;
    background: var(--light-bg);
}

.faq-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 0 20px;
}

.faq-left h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.faq-left p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 6px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.faq-item.active {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 12px;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 10px;
}

.editorial-timeline {
    padding: 80px 0;
    background: #fff;
}

.editorial-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Vertical Line */
.editorial-container::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}

.editorial-row {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.editorial-row:last-child {
    margin-bottom: 0;
}

.editorial-year-col {
    flex: 0 0 120px;
    text-align: right;
    padding-right: 40px;
    position: relative;
}

.editorial-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    position: sticky;
    top: 100px;
    background: #fff;
    z-index: 2;
    padding: 5px 0;
}

/* Dot on line */
.editorial-year-col::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 15px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 5;
}

.editorial-content-col {
    flex: 1;
    padding-left: 40px;
}

.editorial-content-col h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 600;
}

.editorial-content-col h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.editorial-content-col p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Timeline Responsiveness handled in Global section */

/* Story & FAQ Responsiveness handled in Global section */

/* =========================================
   16. ALL COURSES PAGE
   ========================================= */

.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
    margin-top: 80px;
    /* Fix for fixed header */
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #e0e7ff;
}

.mentor-section {
    padding: 40px 0;
    text-align: center;
}

.scribble-text {
    position: relative;
    display: inline-block;
    color: var(--secondary-color);
}

.offline-benefits {
    padding: 40px 20px;
    background: #f9fafb;
    margin-bottom: 40px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 700;
}

.offline-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    padding: 0 20px;
    position: relative;
}

.cards-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    max-width: 100%;
}

.cards-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Offline Course Card (Vertical) - Centered Flex Grouping */
.course-grid-vertical {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 100%;
    margin: 40px auto 60px;
    padding: 0 20px;
}

@media (max-width: 1200px) {
    .course-grid-vertical {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .course-grid-vertical {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .course-grid-vertical {
        grid-template-columns: 1fr;
    }
}

.offline-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.offline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.offline-img {
    position: relative;
    height: 220px;
}

.offline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offline-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.offline-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.4;
}

.info-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.info-row i {
    color: var(--primary-color);
    margin-right: 5px;
}

.course-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-section {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.offline-actions {
    display: flex;
    gap: 10px;
}

.offline-actions .btn-primary,
.offline-actions .btn-outline {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}


/* Contact Message Styles */
.success-msg {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.error-msg {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

/* =========================================
   20. GLOBAL RESPONSIVE BREAKPOINTS
   ========================================= */

/* --- High Resolution Desktops (> 1400px) --- */
@media (min-width: 1401px) {
    .container-wrapper {
        padding: 0 4rem;
    }
}

/* --- Standard Laptops (992px - 1400px) --- */
@media (max-width: 1400px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .page-hero-premium h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {

    .hero-content h1,
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero-premium h1 {
        font-size: 2.8rem;
    }

    .container-wrapper {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {

    .hero-content h1,
    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero-premium h1 {
        font-size: 2.2rem;
    }
}

/* --- Tablets & Large Phablets (768px - 991px) --- */
@media (max-width: 991px) {
    .navbar {
        height: 80px;
    }

    .toggles-btn {
        display: block;
        font-size: 1.5rem;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 25px 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        background: rgba(255, 255, 255, 0.5);
    }

    .logo-mini {
        font-weight: 800;
        font-size: 1.4rem;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .close-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.05);
        cursor: pointer;
        font-size: 1.2rem;
        transition: var(--transition);
    }

    .close-btn:hover {
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list li a {
        display: block;
        padding: 15px 40px;
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    }

    .nav-list li a::after {
        display: none;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none !important;
        border: none !important;
        background: rgba(0, 0, 0, 0.02) !important;
        padding-left: 20px !important;
        max-height: 0;
        overflow: hidden;
        display: flex !important;
        transition: max-height 0.4s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 200px;
        padding-bottom: 10px !important;
    }

    .mobile-footer {
        display: flex;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 140px;
        text-align: center;
        gap: 2rem;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-trial-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .cta-trial-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .trial-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Timeline Mobile */
    .editorial-container::before {
        left: 30px;
    }

    .editorial-year-col {
        flex: 0 0 80px;
        padding-right: 0;
        text-align: left;
    }

    .editorial-year-col::after {
        left: 25px;
        right: auto;
    }

    .editorial-row {
        flex-direction: column;
    }

    .editorial-year {
        padding-left: 60px;
        margin-bottom: 10px;
        position: relative;
        top: 0;
    }

    .editorial-content-col {
        padding-left: 60px;
    }

    /* Grid Adjustments */
    .story-grid,
    .contact-grid,
    .faq-container,
    .course-grid-vertical,
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-img {
        margin-bottom: 30px;
    }

    .right-nav {
        display: none;
    }

    .mobile-footer {
        margin-top: auto;
        width: 100%;
        padding: 30px;
        background: rgba(0, 0, 0, 0.03);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-search {
        margin-bottom: 20px;
    }

    .mobile-search form {
        display: flex;
        background: var(--white);
        border-radius: 12px;
        padding: 5px 15px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-search input {
        flex: 1;
        border: none;
        outline: none;
        padding: 10px 0;
        font-size: 0.95rem;
    }

    .mobile-search button {
        background: none;
        color: var(--primary-color);
        font-size: 1.1rem;
    }

    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .full-width {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* --- Medium Phones (480px - 767px) --- */
@media (max-width: 767px) {

    .page-hero-premium,
    .page-hero,
    .carousel-container,
    .trust-bento-section,
    .features-section,
    .stats-section,
    .mentor-section,
    .courses-section,
    .story-section,
    .history-section,
    .instructors-section,
    .testimonials-lite,
    .partners-section,
    .faq-section,
    .cta-footer {
        padding: 40px 0 !important;
    }

    .page-hero-premium {
        padding: 120px 0 40px !important;
    }

    .page-hero-premium h1 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .container-wrapper {
        padding: 0 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .partner-card {
        min-width: 130px;
        height: 90px;
    }
}

/* --- Small Phones (< 480px) --- */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-lg,
    .btn-outline-lg {
        width: 100%;
        text-align: center;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 0 15px;
    }

    .logo img {
        height: 40px;
    }

    .caption h1 {
        font-size: 2rem;
    }

    .caption p {
        font-size: 1rem;
    }
}

/* =========================================
   21. TRUST BENTO SECTION (Migrated)
   ========================================= */

/* Scoped Variables for Bento Section to avoid conflicts */
.trust-bento-section {
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --card-hover: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-gradient-bento: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

    --color-orange: linear-gradient(135deg, #f97316, #fb923c);
    --color-purple: linear-gradient(135deg, #8b5cf6, #a78bfa);
    --color-blue: linear-gradient(135deg, #0ea5e9, #38bdf8);
    --color-green: linear-gradient(135deg, #10b981, #34d399);

    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.trust-bento-section .container-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
    }

    .bento-hero {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.bento-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-card:hover {
    transform: translateY(-5px);
    background-color: var(--card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.bento-hero {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 60%), var(--card-bg);
}

.premium-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.bento-hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.bento-hero h1 span {
    background: var(--accent-gradient-bento);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 90%;
}

.bento-mini-stats {
    display: flex;
    gap: 20px;
    margin-top: auto;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-stat {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-stat:last-child {
    border: none;
}

.stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bento-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}

.bento-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.bento-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bento-icon-box.orange {
    background: var(--color-orange);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.bento-icon-box.purple {
    background: var(--color-purple);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.bento-icon-box.blue {
    background: var(--color-blue);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.bento-icon-box.green {
    background: var(--color-green);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.reveal {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   22. FOOTER NEWSLETTER STYLES (Refactored)
   ========================================= */

.footer-newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    padding: 10px 15px;
    border-radius: 4px;
    border: none;
    flex: 1;
    font-size: 0.85rem;
}

.newsletter-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
}

/* Feature Box (Simple Grid) */
.feature-box {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
}

.feature-box .icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

.feature-box:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-gradient);
}

/* =========================================
   24. FOOTER SECTION (Premium Aurora)
   ========================================= */

/* =========================================
   24. FOOTER SECTION (Premium Aurora)
   ========================================= */

.main-footer {
    position: relative;
    padding: 50px 0 30px;
    background: #0f172a;
    /* Deep slate dark */
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Aurora Top Border Effect */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), #00d4ff, transparent);
    opacity: 0.7;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-column h3.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo-fallback {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-fallback i {
    color: var(--primary-color);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--p-h), var(--p-s), var(--p-l), 0.4);
    border-color: transparent;
}

/* Links List */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Contact Info */
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* Newsletter Form */
.footer-news-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-news-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.footer-news-form input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.footer-news-form button {
    background: var(--primary-gradient);
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-news-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--p-h), var(--p-s), var(--p-l), 0.3);
}

/* =========================================
   25. THE AURORA CARDS (JOURNEY REDESIGN V5)
   ========================================= */

.history-section {
    padding: 60px 0;
    background: #f8fafc;
    /* Ultra-deep space black */
    position: relative;
    overflow: hidden;
}

.aurora-grid-wrapper {
    max-width: 100%;
    /* Changed to 100% to allow full flow */
    width: auto;
    /* Requested: width auto */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

/* Moving Aurora Background */
.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    opacity: 0.4;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    filter: blur(80px);
    border-radius: 50%;
    animation: moveAurora 20s infinite alternate;
}

.blob-1 {
    background: rgba(99, 102, 241, 0.2);
    top: -10%;
    left: -10%;
}

.blob-2 {
    background: rgba(6, 182, 212, 0.2);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    background: rgba(168, 85, 247, 0.15);
    top: 30%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes moveAurora {
    0% {
        transform: translate(0, 0) scale(1.0);
    }

    100% {
        transform: translate(100px, 50px) scale(1.2);
    }
}

/* Premium Aurora Card */
.aurora-card-v5 {
    display: flex;
    flex-direction: column;
}

.aurora-card-inner {
    position: relative;
    padding: 60px 45px;
    height: 100%;
    min-height: 380px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: calc(var(--card-index) * 0.5s);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.card-glow-aura {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.card-year-sticker {
    position: absolute;
    top: 30px;
    right: 45px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.step-indicator {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.aurora-card-inner h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.aurora-card-inner p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.card-corner-icon {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 1.8rem;
    color: rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
}

/* Hover Effects */
.aurora-card-v5:hover .aurora-card-inner {
    transform: translateY(-30px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(15, 23, 42, 0.8);
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(99, 102, 241, 0.2);
}

.aurora-card-v5:hover .card-corner-icon {
    color: var(--primary-color);
    transform: rotate(45deg) scale(1.2);
}

.aurora-card-v5:hover .card-glow-aura {
    opacity: 1;
}

/* Empty State */
.aurora-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 40px;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .aurora-grid-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .aurora-card-inner {
        padding: 40px 30px;
        min-height: auto;
    }

    .aurora-card-inner h3 {
        font-size: 1.8rem;
    }
}

/* =========================================
   CERTIFICATE SYSTEM STYLES
   ========================================= */
.certificate-page-body {
    background: #f0f2f5;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
}

.certificate-container {
    width: 210mm;
    height: 297mm;
    background: #fff;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

.cert-border-outer {
    position: absolute;
    inset: 15px;
    border: 2px solid #004d40;
    pointer-events: none;
}

/* Decorative Corners */
.cert-corner {
    position: absolute;
    width: 280px;
    height: 280px;
    z-index: 1;
}

.cert-corner-tl {
    top: -50px;
    left: -50px;
    background: linear-gradient(135deg, #004d40 45%, #ffa000 45.5%, #ffa000 50%, transparent 50.5%);
    transform: rotate(0deg);
}

.cert-corner-br {
    bottom: -50px;
    right: -50px;
    background: linear-gradient(135deg, transparent 49.5%, #ffa000 50%, #ffa000 54.5%, #004d40 55%);
}

.cert-header {
    text-align: center;
    padding-top: 60px;
    position: relative;
    z-index: 2;
}

.cert-logo {
    height: 120px;
    margin-bottom: 20px;
}

.cert-company-name {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -1px;
}

.cert-slogan {
    background: #004d40;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 20px 0;
    letter-spacing: 1px;
}

.cert-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    font-size: 14px;
    color: #444;
}

.cert-title-section {
    text-align: center;
    margin: 40px 0;
}

.cert-title-text {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    font-weight: 700;
}

.cert-photo-box {
    position: absolute;
    top: 240px;
    right: 80px;
    width: 120px;
    height: 150px;
    border: 1px solid #ccc;
    border-radius: 8px;
    z-index: 2;
}

.cert-body {
    padding: 0 80px;
    text-align: left;
    line-height: 2.2;
    font-size: 18px;
    color: #333;
    position: relative;
    z-index: 2;
}

.cert-recipient-name {
    border-bottom: 2px solid #004d40;
    display: inline-block;
    min-width: 300px;
    font-weight: 700;
    color: #004d40;
    text-align: center;
    padding: 0 10px;
}

.cert-signature-section {
    position: absolute;
    bottom: 120px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 100px;
    box-sizing: border-box;
    z-index: 2;
}

.sig-box {
    text-align: center;
    width: 200px;
}

.sig-line {
    border-top: 2px solid #333;
    padding-top: 10px;
    font-weight: 800;
    font-size: 16px;
}

.cert-footer-address {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #004d40;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
}

/* Watermark */
.cert-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 120px;
    font-weight: 900;
    color: rgba(0, 77, 64, 0.03);
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

/* Print Overrides */
@media print {
    body * {
        visibility: hidden;
    }

    .certificate-container,
    .certificate-container * {
        visibility: visible;
    }

    .certificate-container {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        box-shadow: none;
        width: 210mm;
        height: 297mm;
    }

    .no-print {
        display: none !important;
    }

    @page {
        size: A4;
        margin: 0;
    }
}

/* =========================================
   26. HEADER RESPONSIVENESS (OPTIMIZED)
   ========================================= */

/* --- Laptop & Desktop (Default Refinements) --- */
@media (min-width: 992px) {
    .navbar {
        height: 80px;
        /* Slight reduction for cleaner look */
        padding: 0 40px;
    }

    .logo img {
        height: 48px;
    }

    .nav-links {
        gap: 30px;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .search-container input {
        width: 140px;
        /* Prevent overflow on smaller laptops */
        transition: width 0.3s;
    }

    .search-container:focus-within input {
        width: 200px;
    }
}

/* --- Tablet & Mobile (Hamburger Menu) < 991px --- */
@media (max-width: 991px) {

    /* Navbar Container */
    .navbar {
        padding: 0 20px;
        height: 70px;
    }

    .logo img {
        height: 40px;
    }

    /* Toggle Button Visibility */
    .toggles-btn {
        display: block;
        font-size: 1.6rem;
        color: var(--text-dark);
        cursor: pointer;
    }

    /* Hide Desktop Layout Elements */
    .right-nav {
        display: none;
    }

    /* Mobile Menu Drawer */
    .nav-links {
        display: flex;
        /* Ensure it's flex for layout */
        position: fixed;
        top: 0;
        right: -1004px;
        /* Hidden off-screen, large enough */
        /* Better practice: right: -100% or similar, but need to override existing flex */
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
        /* Slide in */
    }

    /* Mobile Header Inside Menu */
    .mobile-header {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: 10px;
    }

    .close-btn {
        font-size: 1.8rem;
        color: var(--text-light);
        cursor: pointer;
        transition: color 0.3s;
    }

    .close-btn:hover {
        color: var(--primary-color);
    }

    /* Mobile Nav List */
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        font-size: 1rem;
        width: 100%;
        color: var(--text-dark);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--light-bg);
        color: var(--primary-color);
        padding-left: 30px;
        /* Slide effect */
    }

    .nav-links a::after {
        display: none;
        /* Remove underline animation */
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        /* Stack flow */
        background: #f8fafc;
        box-shadow: none;
        width: 100%;
        border-radius: 0;
        padding: 0;
        display: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        opacity: 1;
        transform: none;
        animation: none;
    }

    /* Show dropdown when parent li has .active class toggle logic or hover override */
    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: block;
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
    }

    .dropdown-menu li a {
        padding-left: 40px;
        font-size: 0.9rem;
        color: var(--text-light);
    }

    /* Mobile Footer (Search & Buttons) */
    .mobile-footer {
        display: block;
        width: 100%;
        padding: 20px;
        margin-top: auto;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-search form {
        position: relative;
        margin-bottom: 20px;
    }

    .mobile-search input {
        width: 100%;
        padding: 12px 40px 12px 15px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        outline: none;
    }

    .mobile-search button {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        color: var(--text-light);
        font-size: 1rem;
    }

    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-login.full-width,
    .btn-logout.full-width {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px;
        border-radius: 12px;
    }

    /* Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* --- Mobile Only Refinements (< 480px) --- */
@media (max-width: 480px) {
    .navbar {
        height: 60px;
        padding: 0 15px;
    }

    .logo img {
        height: 35px;
    }

    .toggles-btn {
        font-size: 1.4rem;
    }
}
 / *   F i x   f o r   . b t n - o u t l i n e   h o v e r   t e x t   v i s i b i l i t y   * / 
 . b t n - o u t l i n e : h o v e r , 
 . b t n - o u t l i n e - l g : h o v e r   { 
         c o l o r :   v a r ( - - p r i m a r y - c o l o r )   ! i m p o r t a n t ; 
         b a c k g r o u n d :   t r a n s p a r e n t ; 
         b o r d e r - c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ; 
 } 
 
 
 / *   F i x   f o r   . b t n - o u t l i n e   h o v e r   t e x t   v i s i b i l i t y   -   D a r k   T e x t   * / 
 . b t n - o u t l i n e : h o v e r , 
 . b t n - o u t l i n e - l g : h o v e r   { 
         c o l o r :   v a r ( - - t e x t - d a r k )   ! i m p o r t a n t ; 
 } 
 
 
 / *   F i n a l   f i x   f o r   . b t n - o u t l i n e   h o v e r   -   R e m o v e   w h i t e   b a c k g r o u n d   * / 
 . b t n - o u t l i n e : h o v e r , 
 . b t n - o u t l i n e - l g : h o v e r   { 
         c o l o r :   v a r ( - - t e x t - d a r k )   ! i m p o r t a n t ; 
         b a c k g r o u n d - c o l o r :   t r a n s p a r e n t   ! i m p o r t a n t ; 
         b a c k g r o u n d :   t r a n s p a r e n t   ! i m p o r t a n t ; 
         b o r d e r - c o l o r :   v a r ( - - p r i m a r y - c o l o r )   ! i m p o r t a n t ; 
 } 
 
 
 / *   F o r c e   t e x t   t o   b e   b l a c k   o n   h o v e r   a s   p e r   u s e r   r e q u e s t   * / 
 . b t n - o u t l i n e : h o v e r , 
 . b t n - o u t l i n e - l g : h o v e r   { 
         c o l o r :   # 0 0 0 0 0 0   ! i m p o r t a n t ; 
 } 
 
 
 / *   H i g h   S p e c i f i c i t y   F i x   f o r   C o u r s e   C a r d   B u t t o n s   * / 
 . c o u r s e - c a r d   . c a r d - a c t i o n s   . b t n - o u t l i n e : h o v e r , 
 . c o u r s e - c a r d   . b t n - o u t l i n e : h o v e r   { 
         c o l o r :   # 0 0 0 0 0 0   ! i m p o r t a n t ; 
         b a c k g r o u n d :   t r a n s p a r e n t   ! i m p o r t a n t ; 
         b a c k g r o u n d - c o l o r :   t r a n s p a r e n t   ! i m p o r t a n t ; 
         b o r d e r - c o l o r :   v a r ( - - p r i m a r y - c o l o r )   ! i m p o r t a n t ; 
         b o x - s h a d o w :   n o n e   ! i m p o r t a n t ; 
 } 
 
 / *   E n s u r e   n o   w h i t e   t e x t   o v e r r i d e   e x i s t s   * / 
 . c o u r s e - c a r d : h o v e r   . b t n - o u t l i n e   { 
         c o l o r :   v a r ( - - t e x t - d a r k ) ; 
 } 
 
 . c o u r s e - c a r d : h o v e r   . b t n - o u t l i n e : h o v e r   { 
         c o l o r :   # 0 0 0 0 0 0   ! i m p o r t a n t ; 
 } 
 
 
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
       2 6 .   C O U R S E   D E T A I L   L A Y O U T   F I X E S 
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * / 
 
 . c o u r s e - d e t a i l - g r i d   { 
         d i s p l a y :   g r i d ; 
         g r i d - t e m p l a t e - c o l u m n s :   1 f r   3 8 0 p x ; 
         g a p :   4 0 p x ; 
         a l i g n - i t e m s :   f l e x - s t a r t ; 
 } 
 
 . c o u r s e - c o n t e n t - a r e a   { 
         m i n - w i d t h :   0 ;   / *   P r e v e n t   o v e r f l o w   * / 
 } 
 
 . c o u r s e - s i d e b a r - a r e a   { 
         p o s i t i o n :   r e l a t i v e ; 
         z - i n d e x :   1 0 ; 
 } 
 
 . s t i c k y - s i d e b a r   { 
         p o s i t i o n :   s t i c k y ; 
         t o p :   1 0 0 p x ;   / *   A d j u s t   b a s e d   o n   h e a d e r   h e i g h t   * / 
         t r a n s i t i o n :   t o p   0 . 3 s ; 
 } 
 
 / *   R e s p o n s i v e   C o u r s e   D e t a i l   * / 
 @ m e d i a   ( m a x - w i d t h :   1 0 2 4 p x )   { 
         . c o u r s e - d e t a i l - g r i d   { 
                 g r i d - t e m p l a t e - c o l u m n s :   1 f r   3 2 0 p x ; 
                 g a p :   3 0 p x ; 
         } 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   9 0 0 p x )   { 
         . c o u r s e - d e t a i l - g r i d   { 
                 g r i d - t e m p l a t e - c o l u m n s :   1 f r ; 
         } 
 
         . c o u r s e - s i d e b a r - a r e a   { 
                 o r d e r :   - 1 ;   / *   S i d e b a r   o n   t o p   f o r   m o b i l e / t a b l e t   i f   d e s i r e d ,   o r   r e m o v e   t o   k e e p   a t   b o t t o m   * / 
         } 
 
         . s t i c k y - s i d e b a r   { 
                 p o s i t i o n :   s t a t i c ; 
         } 
 } 
 
 
 