/*
	Theme Name: EQuran School
	Theme URI: https://facebook.com/mohsen.elgamasy/
	Description: Modern Custom Redesign for EQuran School - Built with ACF Pro
	Author: Dr Mohsen
	Author URI: https://facebook.com/mohsen.elgamasy/
	Version: 2.0
	Text Domain: quran-school
*/

/* ==========================================================================
   1. GOOGLE FONTS & DESIGN SYSTEM VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    /* Color Palette - FALAQ (فلق) Brand Identity 2026 */
    /* Primary Brand Color: Deep Dusty Plum / Mauve (#946d6d) */
    --primary-color: #946d6d;
    --primary-dark: #3a2525;
    --primary-darker: #291a1a;
    --primary-light: #ab8585;
    --primary-brand: #946d6d;
    --primary-hover: #7d5959;
    --primary-surface: #fbf6f6;
    --primary-glow: rgba(148, 109, 109, 0.25);

    /* Secondary Accent Color: Soft Sky Blue (#b0cde6) */
    --secondary-color: #b0cde6;
    --secondary-dark: #5b8db8;
    --secondary-hover: #98bddc;
    --secondary-light: #eaf3fb;
    --secondary-surface: #f2f7fc;
    --secondary-glow: rgba(176, 205, 230, 0.4);

    /* Warm Illumination Accent: Warm Cream / Ivory (#fdf4d2) */
    --cream-base: #fdf4d2;
    --cream-light: #fefcf2;
    --cream-dark: #f0e3b6;
    --cream-tint: rgba(253, 244, 210, 0.55);

    /* Text & Surfaces */
    --dark-text: #2f2224;
    --text-muted: #6f5f62;
    --text-light: #9c8a8d;
    --light-bg: #faf6ee;
    --white: #ffffff;

    --border-color: rgba(148, 109, 109, 0.15);
    --border-color-hover: rgba(148, 109, 109, 0.42);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(58, 37, 37, 0.05);
    --shadow-md: 0 8px 24px -4px rgba(58, 37, 37, 0.08);
    --shadow-lg: 0 16px 36px -6px rgba(58, 37, 37, 0.12);
    --shadow-hover: 0 20px 42px -8px rgba(58, 37, 37, 0.16);
    --shadow-gold: 0 10px 25px -4px rgba(148, 109, 109, 0.35);
    --shadow-brand: 0 10px 25px -4px rgba(148, 109, 109, 0.35);

    /* Typography */
    --font-heading: 'EB Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   2. GLOBAL TYPOGRAPHY & BASE ELEMENTS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: #ffffff;
    line-height: 1.68;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

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

/* Section Header Shared Styles */
.section-header {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    padding: 6px 18px;
    background: var(--cream-base);
    border: 1px solid rgba(148, 109, 109, 0.22);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.1rem, 3.8vw, 2.9rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    color: var(--primary-dark);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   3. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff !important;
    border: none;
    padding: 13px 32px;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px -4px rgba(148, 109, 109, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-hover) 0%, #5e3f3f 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -4px rgba(148, 109, 109, 0.5);
    color: #ffffff !important;
}

.btn-primary-custom:hover::before {
    opacity: 1;
}

.btn-primary-custom:hover i,
.btn-primary-custom:hover .bi-arrow-right {
    transform: translateX(4px);
}

.btn-primary-custom i,
.btn-primary-custom .bi-arrow-right {
    transition: transform 0.25s ease;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 11px 30px;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    padding: 12px 34px;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-outline-primary-custom:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-white-custom {
    background: #ffffff;
    color: var(--primary-color) !important;
    padding: 15px 38px;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: var(--radius-full);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
}

.btn-white-custom:hover {
    background: var(--cream-base);
    color: var(--primary-dark) !important;
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(58, 37, 37, 0.25);
}

.btn-white-custom:hover i {
    transform: translateX(4px);
}

.btn-white-custom i {
    transition: transform 0.25s ease;
}

/* ==========================================================================
   4. TOPBAR & MODERN HEADER NAVBAR
   ========================================================================== */
.top-bar {
    background: var(--primary-dark);
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-item {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-icon {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: var(--transition-fast);
}

.top-bar-link:hover {
    color: var(--cream-base) !important;
}

.top-bar-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
}

.top-social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.top-social-btn:hover {
    background: var(--secondary-color);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Header Main */
.header-main {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(23, 55, 94, 0.06);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    z-index: 1020;
}

.site-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Navbar Navigation */
.navbar-nav .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--dark-text) !important;
    padding: 26px 14px !important;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .current-menu-item > .nav-link {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 14px;
    right: 14px;
    height: 2.5px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .current-menu-item > .nav-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ==========================================================================
   DESKTOP MULTI-LEVEL NAVBAR & SUBMENUS (Levels 1, 2, 3, 4)
   ========================================================================== */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown {
        position: relative;
        display: flex;
        align-items: center;
    }

    .navbar-nav .nav-item.dropdown > .nav-link {
        padding-right: 4px !important;
    }

    /* Top-level split toggle arrow */
    .dropdown-toggle-split {
        background: transparent;
        border: none;
        color: var(--dark-text);
        padding: 0 10px 0 2px;
        font-size: 0.75rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        transition: transform 0.25s ease, color 0.2s ease;
    }

    .nav-item.dropdown:hover > .dropdown-toggle-split,
    .nav-item.dropdown.show > .dropdown-toggle-split {
        color: var(--secondary-color);
        transform: rotate(180deg);
    }

    /* Level 1 Dropdown Menu */
    .nav-item > .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 290px;
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        box-shadow: 0 18px 40px -8px rgba(23, 55, 94, 0.16);
        padding: 8px 0;
        margin-top: 0;
        display: none;
        list-style: none;
        z-index: 1050;
    }

    .nav-item.dropdown:hover > .dropdown-menu,
    .nav-item.dropdown.show > .dropdown-menu {
        display: block !important;
        animation: navFadeIn 0.2s ease forwards;
    }

    /* Submenu Items (All Levels) */
    .dropdown-submenu-item {
        position: relative;
        list-style: none;
        margin: 0;
        display: block;
        width: 100%;
    }

    .dropdown-submenu-item > a.dropdown-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        font-size: 0.92rem;
        font-weight: 500;
        color: var(--dark-text);
        white-space: normal;
        line-height: 1.4;
        transition: var(--transition-fast);
        border-radius: 0;
    }

    .dropdown-submenu-item > a.dropdown-item:hover,
    .dropdown-submenu-item.show > a.dropdown-item {
        background-color: var(--primary-surface);
        color: var(--secondary-color);
        padding-left: 24px;
    }

    /* Submenu arrow indicator */
    .dropdown-arrow {
        margin-left: 12px;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text-muted);
        line-height: 1;
        transition: transform 0.2s ease, color 0.2s ease;
        flex-shrink: 0;
    }

    .dropdown-submenu-item:hover > a.dropdown-item .dropdown-arrow,
    .dropdown-submenu-item.show > a.dropdown-item .dropdown-arrow {
        color: var(--secondary-color);
        transform: translateX(4px);
    }

    /* Hide redundant nested split button on desktop */
    .dropdown-toggle-split-nested {
        display: none !important;
    }

    /* Nested Dropdown Menus (Level 2, Level 3, Level 4) */
    .dropdown-submenu-item > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: 0;
        margin-top: -6px;
        min-width: 290px;
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        box-shadow: 0 18px 40px -8px rgba(23, 55, 94, 0.18);
        padding: 8px 0;
        display: none;
        list-style: none;
        z-index: 1060;
    }

    /* Invisible hover bridge to prevent premature mouseleave */
    .dropdown-submenu-item > .dropdown-menu::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: -14px;
        width: 16px;
    }

    .dropdown-submenu-item.dropdown:hover > .dropdown-menu,
    .dropdown-submenu-item.dropdown.show > .dropdown-menu {
        display: block !important;
        animation: navFadeIn 0.2s ease forwards;
    }

    /* Smart Reverse Flyout (opens to left if near right edge) */
    .dropdown-submenu-item > .dropdown-menu.dropdown-menu-reverse,
    .navbar-nav > .nav-item:nth-last-child(-n+3) .dropdown-submenu-item .dropdown-submenu-item > .dropdown-menu {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .dropdown-submenu-item > .dropdown-menu.dropdown-menu-reverse::before,
    .navbar-nav > .nav-item:nth-last-child(-n+3) .dropdown-submenu-item .dropdown-submenu-item > .dropdown-menu::before {
        left: auto;
        right: -14px;
    }
}

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

/* Navbar Toggler */
.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--radius-md);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(148, 109, 109, 0.3);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
    background-color: var(--primary-dark);
    background: linear-gradient(135deg, #2d1c1c 0%, #462f2f 50%, #684a4a 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 130px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(253, 244, 210, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 205, 230, 0.22) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 18px 6px 10px;
    border-radius: var(--radius-full);
}

.hero-pill-badge {
    color: #10b981;
    font-size: 1.1rem;
    margin-right: 8px;
    display: flex;
}

.hero-pill-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.hero-main-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 780px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.btn-hero {
    padding: 15px 38px;
    font-size: 1.05rem;
}

.btn-hero-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    padding: 14px 34px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
    border-color: #ffffff;
    background-color: #ffffff;
    color: var(--primary-color) !important;
}

/* Hero Trust Strip */
.hero-trust-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 14px 10px;
    text-align: center;
    transition: var(--transition-fast);
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.trust-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.2;
}

.trust-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 2px;
}

/* ==========================================================================
   6. ABOUT US SECTION
   ========================================================================== */
.about-section {
    padding: 110px 0;
    background: #ffffff;
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding-bottom: 25px;
    padding-right: 25px;
}

.about-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--border-color);
}

.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-card:hover .about-main-img {
    transform: scale(1.03);
}

.about-floating-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.about-floating-badge .badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-gold);
}

.about-floating-badge .badge-text strong {
    display: block;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
}

.about-floating-badge .badge-text span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.about-content-wrapper .lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark-text);
    line-height: 1.7;
}

.about-body-text {
    color: var(--text-muted);
    line-height: 1.75;
}

/* ==========================================================================
   7. FEATURES SECTION
   ========================================================================== */
.features-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 38px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.feature-icon {
    width: 66px;
    height: 66px;
    border-radius: var(--radius-md);
    background: var(--primary-surface);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    color: #ffffff;
    box-shadow: var(--shadow-gold);
    transform: rotate(6deg) scale(1.05);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ==========================================================================
   8. COURSES SECTION & CATEGORY FILTERS
   ========================================================================== */
.courses-section {
    padding: 110px 0;
    background: #ffffff;
}

/* Category Filter Pills */
.category-filter-wrapper {
    display: flex;
    justify-content: center;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: var(--light-bg);
    padding: 8px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.category-btn {
    background: transparent;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    text-decoration: none !important;
}

.category-btn i {
    font-size: 1rem;
    color: inherit;
}

.category-btn:hover {
    color: var(--primary-color);
    background: rgba(148, 109, 109, 0.08);
    text-decoration: none !important;
}

.category-btn.active {
    background: var(--primary-color);
    color: #ffffff !important;
    box-shadow: var(--shadow-brand);
    text-decoration: none !important;
}

.category-btn.active i {
    color: var(--cream-base);
}

/* Course Card */
.course-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.course-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: var(--light-bg);
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.course-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(58, 37, 37, 0.65) 100%);
    pointer-events: none;
}

.course-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(58, 37, 37, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 2;
}

.course-cat-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.course-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.course-title a {
    color: var(--primary-dark);
}

.course-title a:hover {
    color: var(--primary-color);
}

.course-excerpt {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-card-footer {
    margin-top: auto;
}

.btn-course-details {
    background: var(--primary-surface);
    color: var(--primary-color);
    border: 1px solid rgba(148, 109, 109, 0.18);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 11px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-course-details i {
    transition: transform 0.25s ease;
}

.btn-course-details:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    border-color: var(--primary-color);
}

.btn-course-details:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   9. TUTORS SECTION
   ========================================================================== */
.tutors-section {
    padding: 110px 0;
    background-color: var(--light-bg);
}

.tutor-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.tutor-image {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
}

.tutor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-surface);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.tutor-card:hover .tutor-image img {
    border-color: var(--secondary-color);
    transform: scale(1.04);
}

.tutor-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.35);
}

.stars {
    color: var(--secondary-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.tutor-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tutor-name a {
    color: var(--primary-color);
}

.tutor-name a:hover {
    color: var(--secondary-color);
}

.tutor-position {
    display: inline-block;
    background: var(--primary-surface);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.tutor-bio {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}

.tutor-profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    transition: var(--transition-fast);
}

.tutor-profile-link:hover {
    color: var(--secondary-hover);
    transform: translateX(4px);
}

/* ==========================================================================
   10. WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-section {
    padding: 110px 0;
    background: #ffffff;
}

.why-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.why-card:hover {
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color-hover);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--secondary-color);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
    transform: scale(1.08);
}

.why-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.why-desc {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ==========================================================================
   11. VIDEO REVIEWS SECTION & LIGHTBOX
   ========================================================================== */
.video-reviews-section {
    padding: 110px 0;
    background-color: var(--light-bg);
}

.video-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 10;
    background: #000000;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.06);
    opacity: 0.7;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(23, 55, 94, 0.75) 100%);
}

.play-button {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    position: relative;
}

.play-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(115, 166, 221, 0.75);
    animation: playRipple 2s infinite ease-out;
}

@keyframes playRipple {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.video-card:hover .play-button {
    transform: scale(1.12);
    background: #ffffff;
    color: var(--secondary-color);
}

.video-title {
    position: absolute;
    bottom: 18px;
    left: 20px;
    right: 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7, 37, 44, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   12. CTA SECTIONS (1 & 2)
   ========================================================================== */
.cta-section-main {
    padding: 60px 0;
    background: #ffffff;
}

.cta-banner-wrapper {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-xl);
    padding: 70px 60px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner-wrapper::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(115, 166, 221, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.cta-subtitle-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.cta-heading {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.7;
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 15px 38px;
    border-radius: var(--radius-full);
    border: none;
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(115, 166, 221, 0.45);
    color: #ffffff !important;
}

.btn-cta-primary:hover i {
    transform: translateX(4px);
}

.btn-cta-primary i {
    transition: transform 0.25s ease;
}

.cta-section.alternate {
    background: #ffffff;
}

.cta-banner-alternate {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* ==========================================================================
   13. AREAS WE SERVE SECTION
   ========================================================================== */
.areas-section {
    padding: 110px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.areas-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.area-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    height: 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.area-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(115, 166, 221, 0.5);
    transform: translateY(-5px);
}

.area-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(115, 166, 221, 0.2);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.area-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 8px;
}

.area-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ==========================================================================
   14. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 110px 0;
    background: #ffffff;
}

.testimonial-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 50px 45px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    margin: 10px;
}

.quote-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark-text);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-author .author-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.testimonial-author .author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.testimonial-author .author-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.custom-carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    opacity: 1;
}

.custom-carousel-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* ==========================================================================
   15. FAQS SECTION
   ========================================================================== */
.faqs-section {
    padding: 110px 0;
    background-color: var(--light-bg);
}

.modern-faq-accordion .accordion-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.modern-faq-accordion .accordion-item:hover {
    border-color: var(--border-color-hover);
}

.modern-faq-accordion .accordion-button {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 22px 26px;
    background-color: #ffffff;
    box-shadow: none;
    gap: 16px;
}

.modern-faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-surface);
    color: var(--primary-color);
}

.faq-number {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--secondary-color);
    background: rgba(115, 166, 221, 0.15);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.modern-faq-accordion .accordion-body {
    padding: 20px 26px 26px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

/* ==========================================================================
   16. FREE TRIAL FORM SECTION
   ========================================================================== */
.free-trial-section {
    padding: 100px 0;
    background: #ffffff;
}

.free-trial-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px 50px;
    box-shadow: var(--shadow-lg);
}

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

/* Form Fields Styling (CF7) */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 16px;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select,
.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    font-size: 0.95rem;
    color: var(--dark-text);
    transition: var(--transition-fast);
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus,
.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(115, 166, 221, 0.2);
}

.wpcf7-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    color: #ffffff;
    border: none;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 8px 22px -4px rgba(148, 109, 109, 0.4);
    transition: var(--transition);
}

.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(148, 109, 109, 0.45);
}

.free-trial-guarantees .guarantee-item {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   17. FOOTER CTA & MAIN SITE FOOTER
   ========================================================================== */
.footer-cta-section {
    background: linear-gradient(135deg, #7c5858 0%, #946d6d 50%, #5d7e9e 100%);
    padding: 85px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(253, 244, 210, 0.18) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.footer-cta-section .cta-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1rem;
}

.footer-cta-section .cta-desc {
    font-size: 1.25rem;
    max-width: 720px;
    margin: 0 auto 30px;
    opacity: 0.95;
    line-height: 1.65;
}

/* Site Footer */
.site-footer {
    background: var(--primary-darker);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.94rem;
}

.footer-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-widget-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff !important;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact-list a:hover {
    color: var(--secondary-color);
}

.footer-icon {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-darker);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(176, 205, 230, 0.35);
}

.footer-bottom-bar {
    font-size: 0.88rem;
    background: #1c1111;
}

.footer-copy-link {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ==========================================================================
   18. FLOATING BUTTONS & BACK TO TOP
   ========================================================================== */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff !important;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: #25d366;
}

.whatsapp-btn:hover {
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.trial-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    box-shadow: var(--shadow-gold);
}

.trial-btn:hover {
    box-shadow: 0 14px 30px rgba(115, 166, 221, 0.45);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    border: 2px solid #ffffff;
}

.floating-btn-tooltip {
    position: absolute;
    right: 70px;
    background: var(--primary-dark);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   19. INNER PAGES (ABOUT, COURSES, TEACHERS, CONTACT, PRICING)
   ========================================================================== */
/* Breadcrumb Hero */
.breadcrumb-section,
.contact-hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 80px 0 60px;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.page-title,
.centered-page-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 0.75rem;
}

.breadcrumbs {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

/* About Page Stats */
.stats-section {
    background: #ffffff;
    padding: 60px 0;
    position: relative;
    z-index: 3;
}

.stats-container {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 45px 35px;
    margin-top: -120px;
}

.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* About Story, Mission & Values */
.story-section,
.mission-section,
.values-section {
    padding: 100px 0;
}

.mission-card,
.value-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mission-card:hover,
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color-hover);
}

/* Contact Cards */
.contact-info-section {
    padding: 90px 0;
}

.contact-card,
.info-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.contact-card-icon,
.info-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-surface);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.contact-card:hover .contact-card-icon,
.info-card:hover .info-icon {
    background: var(--secondary-color);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-details {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-details a {
    color: var(--primary-color);
    font-weight: 600;
}

.info-details a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-surface);
    color: var(--primary-color) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--secondary-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   19.6 PRICING PAGE STYLING
   ========================================================================== */
.pricing-section {
    padding: 100px 0 80px;
    background: #ffffff;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--secondary-color);
    box-shadow: 0 20px 45px rgba(115, 166, 221, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    transform: scale(1.02);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 25px 50px rgba(148, 109, 109, 0.25);
}

.popular-badge,
.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7c5858 0%, #946d6d 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 22px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    box-shadow: 0 6px 16px rgba(148, 109, 109, 0.4);
    z-index: 2;
    white-space: nowrap;
}

.pricing-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: var(--primary-surface);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.pricing-card:hover .pricing-icon,
.pricing-card.featured .pricing-icon {
    background: var(--cream-base);
    color: var(--primary-dark);
    transform: scale(1.08);
}

.pricing-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pricing-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    min-height: 48px;
}

.pricing-price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(148, 109, 109, 0.12);
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    display: inline-flex;
    align-items: flex-start;
}

.pricing-price.monthly-price::before {
    content: '$';
    font-size: 1.6rem;
    margin-right: 2px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 4px;
}

.pricing-duration {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--dark-text);
    line-height: 1.5;
}

.pricing-features li i {
    color: #10b981;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-btn {
    width: 100%;
    margin-top: auto;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.pricing-btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 22px -4px rgba(148, 109, 109, 0.4);
    border: none;
}

.pricing-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(148, 109, 109, 0.45);
    color: #ffffff !important;
}

.pricing-btn-white {
    background: var(--cream-base);
    color: var(--primary-dark) !important;
    border: 1px solid rgba(148, 109, 109, 0.2);
}

.pricing-btn-white:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(148, 109, 109, 0.35);
    color: #ffffff !important;
}

/* Custom / Family Package Card */
.pricing-custom-card {
    background: radial-gradient(circle at 92% 15%, rgba(115, 166, 221, 0.1) 0%, transparent 40%), #ffffff;
    border: 2px dashed rgba(23, 55, 94, 0.22);
    border-radius: var(--radius-xl);
    padding: 48px 42px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.pricing-custom-card .pricing-price.custom-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.pricing-custom-card .pricing-price.custom-price::before {
    content: none;
}

.pricing-custom-card .pricing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

/* ==========================================================================
   19.7 BLOG ARCHIVE & BLOG CARDS STYLING
   ========================================================================== */
.blog-archive-section {
    padding: 90px 0 80px;
    background: var(--light-bg);
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(115, 166, 221, 0.45);
}

.blog-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--primary-surface);
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

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

.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(23, 55, 94, 0.4) 100%);
    pointer-events: none;
}

.blog-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(23, 55, 94, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

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

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--primary-color);
    transition: color 0.2s ease;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-title a:hover {
    color: var(--secondary-color);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Pagination */
.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.navigation.pagination .nav-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.page-numbers:hover {
    background: var(--primary-surface);
    color: var(--secondary-color);
}

.page-numbers.current {
    background: var(--secondary-color);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

.page-numbers.dots {
    color: var(--text-muted);
    cursor: default;
}

.next.page-numbers,
.prev.page-numbers {
    font-weight: 600;
    padding: 0 18px;
}

/* ==========================================================================
   19.8 SINGLE POST, SIDEBAR & COMMENTS STYLING
   ========================================================================== */
.single-article-section {
    padding: 85px 0 75px;
    background: var(--light-bg);
}

.single-post-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 42px;
    box-shadow: var(--shadow-sm);
}

.post-header-meta {
    border-bottom: 1px solid rgba(23, 55, 94, 0.08);
    padding-bottom: 18px;
}

.post-cat-badge {
    background: var(--secondary-color);
    color: #ffffff !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.post-cat-badge:hover {
    background: var(--secondary-hover);
    color: #ffffff !important;
}

.post-meta-item {
    color: var(--text-muted);
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
}

.post-meta-item i {
    color: var(--secondary-color);
}

.single-post-thumb {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(23, 55, 94, 0.1);
    margin-bottom: 32px;
}

.single-post-thumb img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Content Wrap Typography */
.content-wrap.entry-content {
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--body-text);
}

.content-wrap.entry-content h1,
.content-wrap.entry-content h2,
.content-wrap.entry-content h3,
.content-wrap.entry-content h4,
.content-wrap.entry-content h5,
.content-wrap.entry-content h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.content-wrap.entry-content h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid var(--primary-surface);
    padding-bottom: 8px;
}

.content-wrap.entry-content h3 {
    font-size: 1.45rem;
}

.content-wrap.entry-content p {
    margin-bottom: 1.4rem;
}

.content-wrap.entry-content ul,
.content-wrap.entry-content ol {
    padding-left: 1.6rem;
    margin-bottom: 1.6rem;
}

.content-wrap.entry-content li {
    margin-bottom: 0.6rem;
}

.content-wrap.entry-content blockquote {
    background: var(--primary-surface);
    border-left: 4px solid var(--secondary-color);
    padding: 22px 28px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--primary-dark);
    margin: 2rem 0;
    font-size: 1.1rem;
}

.content-wrap.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.content-wrap.entry-content figure {
    margin: 2rem 0;
}

.content-wrap.entry-content figcaption {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.content-wrap.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.content-wrap.entry-content table th,
.content-wrap.entry-content table td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
}

.content-wrap.entry-content table th {
    background: var(--primary-surface);
    color: var(--primary-color);
    font-weight: 700;
}

/* Comments Card */
.comments-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 45px 40px;
    box-shadow: var(--shadow-sm);
}

.comments-card #comments,
.comments-card .comments-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.comments-card .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comments-card .comment-body {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.comments-card .comment-author .avatar {
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid var(--secondary-color);
}

.comments-card .comment-author .fn {
    font-weight: 700;
    color: var(--primary-color);
}

.comments-card .comment-metadata a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comments-card #respond {
    margin-top: 30px;
}

.comments-card #reply-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.comments-card #commentform label,
.comments-card .comment-form label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.92rem;
    margin-bottom: 6px;
    display: block;
}

.comments-card #commentform input[type="text"],
.comments-card #commentform input[type="email"],
.comments-card #commentform input[type="url"],
.comments-card #commentform textarea,
.comments-card .comment-form input[type="text"],
.comments-card .comment-form input[type="email"],
.comments-card .comment-form input[type="url"],
.comments-card .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 16px;
}

.comments-card #commentform input:focus,
.comments-card #commentform textarea:focus,
.comments-card .comment-form input:focus,
.comments-card .comment-form textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(115, 166, 221, 0.2);
}

.comments-card .form-submit #submit,
.comments-card .comment-form input[type="submit"] {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 34px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

.comments-card .form-submit #submit:hover,
.comments-card .comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(115, 166, 221, 0.4);
}

/* Related Posts & Read More */
.related-posts {
    margin-top: 50px;
}

.section-title-sm {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
    text-decoration: none;
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 10px;
}

/* Backward-compatible utilities */
.bg-white-color { background-color: #ffffff !important; }
.border-20 { border-radius: 20px !important; }

/* Sidebar Styling */
.sidebar-wrapper .widget,
.sidebar.bg-white {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 34px 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.sidebar-wrapper .widget-title,
.sidebar .widget-title {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.sidebar-wrapper .widget-title::after,
.sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--secondary-color);
}

.sidebar-wrapper .widget_categories ul,
.sidebar .widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-wrapper .widget_categories li,
.sidebar .widget_categories li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(23, 55, 94, 0.08);
    font-size: 0.95rem;
    font-weight: 600;
}

.sidebar-wrapper .widget_categories li:last-child,
.sidebar .widget_categories li:last-child {
    border-bottom: none;
}

.sidebar-wrapper .widget_categories li a,
.sidebar .widget_categories li a {
    color: var(--dark-text);
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.sidebar-wrapper .widget_categories li a:hover,
.sidebar .widget_categories li a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

/* Search Widget */
.sidebar-wrapper .search-form,
.sidebar .search-form {
    display: flex;
    position: relative;
}

.sidebar-wrapper .search-field,
.sidebar .search-field {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    background: var(--primary-surface);
}

.sidebar-wrapper .search-submit,
.sidebar .search-submit {
    background: var(--secondary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 0 20px;
    font-weight: 700;
    margin-left: -48px;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* ==========================================================================
   19.9 DEFAULT PAGE STYLING
   ========================================================================== */
.default-page-section {
    padding: 90px 0 80px;
    background: var(--light-bg);
}

.page-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 55px 45px;
    box-shadow: var(--shadow-sm);
    max-width: 1040px;
    margin: 0 auto;
}

/* ==========================================================================
   19.5 SINGLE COURSE PAGE (ISOLATED DESIGN SYSTEM)
   ========================================================================== */

/* Single Course Breadcrumb Hero */
.single-courses .breadcrumb-section {
    background: radial-gradient(circle at 85% 30%, rgba(245, 199, 84, 0.18) 0%, transparent 60%),
                radial-gradient(circle at 15% 80%, rgba(84, 148, 210, 0.28) 0%, transparent 50%),
                linear-gradient(135deg, var(--primary-dark) 0%, #17375e 60%, var(--primary-color) 100%);
    padding: 95px 0 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.single-courses .breadcrumb-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.single-courses .breadcrumb-section .page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4.5vw, 3.4rem);
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 1.1rem;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.single-courses .breadcrumb-section .breadcrumbs,
.single-courses .breadcrumb-section .rank-math-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 8px 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    position: relative;
    z-index: 2;
}

.single-courses .breadcrumb-section .breadcrumbs a,
.single-courses .breadcrumb-section .rank-math-breadcrumb a {
    color: #ffffff;
    font-weight: 600;
    transition: color 0.2s ease;
}

.single-courses .breadcrumb-section .breadcrumbs a:hover,
.single-courses .breadcrumb-section .rank-math-breadcrumb a:hover {
    color: var(--secondary-color);
}

.single-courses .breadcrumb-section .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Course Overview Section */
.course-overview {
    padding: 100px 0 85px;
    background: #ffffff;
    position: relative;
}

.course-thumbnail {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(23, 55, 94, 0.22);
    border: 5px solid #ffffff;
    background-color: var(--light-bg);
}

.course-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-thumbnail:hover img {
    transform: scale(1.03);
}

.course-badge-lg {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 3;
    background: linear-gradient(135deg, #73a6dd 0%, #528ecb 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 18px rgba(115, 166, 221, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.course-meta-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 28px 0 10px;
}

.course-meta-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--primary-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.94rem;
    color: var(--dark-text);
    transition: all 0.25s ease;
}

.course-meta-list li:hover {
    background: #ffffff;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 55, 94, 0.08);
}

.course-meta-list li i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(115, 166, 221, 0.18);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.course-meta-list li:hover i {
    transform: scale(1.1);
    background: var(--secondary-color);
    color: #ffffff;
}

.course-meta-list li strong {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 4px;
}

/* Course Overview Card & Rich Content */
.overview-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--secondary-color);
    border-radius: var(--radius-xl);
    padding: 50px 45px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.overview-card:hover {
    box-shadow: var(--shadow-md);
}

.overview-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--body-text);
}

.overview-content h2,
.overview-content h3,
.overview-content h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.overview-content h2:first-child,
.overview-content h3:first-child,
.overview-content h4:first-child {
    margin-top: 0;
}

.overview-content p {
    margin-bottom: 1.4rem;
}

.overview-content ul,
.overview-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.overview-content li {
    margin-bottom: 0.6rem;
}

.overview-content blockquote {
    background: var(--primary-surface);
    border-left: 4px solid var(--secondary-color);
    padding: 22px 28px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--primary-dark);
    margin: 2rem 0;
}

/* Outcomes Section & Cards */
.outcomes-section {
    padding: 100px 0;
    background: #fbfcfd;
}

.outcome-card {
    display: flex;
    gap: 22px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    height: calc(100% - 24px);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    align-items: flex-start;
}

.outcome-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(115, 166, 221, 0.45);
}

.outcome-image {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(23, 55, 94, 0.12);
}

.outcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.outcome-card:hover .outcome-image img {
    transform: scale(1.08);
}

.outcome-number {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    background: var(--secondary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.outcome-content {
    flex-grow: 1;
}

.outcome-title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: color 0.25s ease;
    line-height: 1.35;
}

.outcome-card:hover .outcome-title {
    color: var(--secondary-color);
}

.outcome-content p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Full CTA Section 1 */
.full-cta-1 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, #1c4475 100%);
    padding: 100px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.full-cta-1::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(115, 166, 221, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.full-cta-1::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.full-cta-1 .cta-content-box {
    position: relative;
    z-index: 2;
}

.full-cta-1 .cta-title {
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.full-cta-1 .cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    max-width: 720px;
    margin: 0 auto;
}

/* What You'll Learn Section */
.learn-section {
    padding: 100px 0;
    background: #ffffff;
}

.learn-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    height: calc(100% - 30px);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.learn-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(115, 166, 221, 0.45);
}

.learn-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.learn-card:hover::after {
    opacity: 1;
}

.learn-card-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(115, 166, 221, 0.15) 0%, rgba(23, 55, 94, 0.06) 100%);
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.learn-card:hover .learn-card-icon {
    background: var(--secondary-color);
    color: #ffffff;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: var(--shadow-gold);
}

.learn-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.35;
}

.learn-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Full CTA Section 2 - Split Image */
.full-cta-2 {
    overflow: hidden;
    background: var(--primary-dark);
}

.full-cta-2 .cta-image-section {
    min-height: 500px;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.full-cta-2 .cta-image-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, rgba(23, 55, 94, 0.5) 100%);
}

.full-cta-2 .cta-content-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #17375e 60%, #0f263c 100%);
    padding: 85px 65px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.full-cta-2 .cta-title {
    font-size: clamp(2.1rem, 3.5vw, 2.85rem);
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.full-cta-2 .cta-description {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Full CTA Section 3 - Centered Box */
.full-cta-3 {
    padding: 95px 0;
    background: #ffffff;
}

.cta-box-centered {
    background: radial-gradient(circle at 10% 20%, rgba(115, 166, 221, 0.1) 0%, transparent 40%),
                linear-gradient(135deg, #f8fafc 0%, #edf4f6 100%);
    border: 2px dashed rgba(23, 55, 94, 0.22);
    border-radius: var(--radius-xl);
    padding: 65px 50px;
    text-align: center;
    box-shadow: 0 15px 40px -10px rgba(23, 55, 94, 0.08);
    position: relative;
    overflow: hidden;
}

.cta-box-centered h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.1rem;
}

.cta-box-centered p {
    font-size: 1.12rem;
    color: var(--body-text);
    max-width: 700px;
    margin: 0 auto 1.8rem;
    line-height: 1.75;
}

/* Related Courses Section */
.related-courses-section {
    padding: 105px 0;
    background: var(--light-bg);
}

.related-courses-section .course-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-courses-section .course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(115, 166, 221, 0.45);
}

.related-courses-section .course-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: var(--light-bg);
}

.related-courses-section .course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-courses-section .course-card:hover .course-thumb img {
    transform: scale(1.08);
}

.related-courses-section .course-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-courses-section .course-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.35;
    margin-bottom: 10px;
}

.related-courses-section .course-content p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Single Course Tutors Overlay */
.tutor-overlay {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(23, 55, 94, 0.12);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    z-index: 2;
}

.tutor-overlay .stars {
    display: flex;
    gap: 3px;
    color: var(--secondary-color);
    font-size: 0.78rem;
}

/* FAQs & Pricing FAQ Accordion */
.faqs-section .accordion-item,
.faq-section .accordion-item,
#pricingFaq .accordion-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faqs-section .accordion-item:hover,
.faq-section .accordion-item:hover,
#pricingFaq .accordion-item:hover {
    border-color: var(--border-color-hover);
}

.faqs-section .accordion-button,
.faq-section .accordion-button,
#pricingFaq .accordion-button {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 22px 26px;
    background-color: #ffffff;
    box-shadow: none;
    gap: 16px;
}

.faqs-section .accordion-button:not(.collapsed),
.faq-section .accordion-button:not(.collapsed),
#pricingFaq .accordion-button:not(.collapsed) {
    background-color: var(--primary-surface);
    color: var(--primary-color);
}

.faqs-section .accordion-body,
.faq-section .accordion-body,
#pricingFaq .accordion-body {
    padding: 20px 26px 26px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   19.10 CONTACT PAGE STYLING
   ========================================================================== */
.contact-hero-section {
    background: radial-gradient(circle at 85% 30%, rgba(245, 199, 84, 0.18) 0%, transparent 60%),
                radial-gradient(circle at 15% 80%, rgba(84, 148, 210, 0.28) 0%, transparent 50%),
                linear-gradient(135deg, var(--primary-dark) 0%, #17375e 60%, var(--primary-color) 100%);
    padding: 85px 0 65px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

.contact-badge,
.about-badge,
.teacher-badge {
    background: rgba(84, 148, 210, 0.14);
    color: var(--primary-brand);
    border: 1px solid rgba(84, 148, 210, 0.3);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.contact-hero-description,
.about-hero-description {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-top: 10px;
}

.max-w-700 { max-width: 700px; }
.max-w-600 { max-width: 600px; }

.contact-info-section {
    padding: 80px 0 60px;
    background: #ffffff;
}

.contact-card.info-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 28px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

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

.contact-card.info-card:hover::before {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.contact-card-icon.info-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-surface);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-card.info-card:hover .contact-card-icon.info-icon {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    transform: scale(1.08) rotate(4deg);
    box-shadow: var(--shadow-gold);
}

.whatsapp-card:hover::before {
    background: #25d366 !important;
}

.whatsapp-card .whatsapp-icon {
    color: #25d366;
}

.whatsapp-card:hover .whatsapp-icon {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.35) !important;
}

.social-strip-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
}

/* Contact Form Section */
.contact-form-section {
    padding: 70px 0 90px;
    background: var(--light-bg);
}

.contact-lead-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.contact-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    transition: var(--transition);
}

.contact-feature-item:hover {
    border-color: var(--border-color-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-surface);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-feature-content h6 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.contact-feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.map-frame iframe {
    width: 100% !important;
    height: 280px !important;
    display: block;
    border: none;
}

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 44px 38px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-badge {
    background: var(--primary-surface);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    display: inline-block;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin: 0;
}

/* CF7 Form Elements inside Contact Page */
.contact-form-card form input[type="text"],
.contact-form-card form input[type="email"],
.contact-form-card form input[type="tel"],
.contact-form-card form input[type="url"],
.contact-form-card form select,
.contact-form-card form textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 13px 18px;
    font-size: 0.96rem;
    background: #ffffff;
    color: var(--text-color);
    transition: var(--transition-fast);
    margin-bottom: 14px;
}

.contact-form-card form input:focus,
.contact-form-card form select:focus,
.contact-form-card form textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(115, 166, 221, 0.2);
}

.contact-form-card form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form-card form input[type="submit"],
.contact-form-card form .wpcf7-submit {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 15px 38px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    display: inline-block;
    width: 100%;
}

.contact-form-card form input[type="submit"]:hover,
.contact-form-card form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(115, 166, 221, 0.4);
}

.contact-form-card .wpcf7-not-valid-tip {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: -8px;
    margin-bottom: 10px;
    display: block;
}

.contact-form-card .wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 12px 18px !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.92rem;
}

/* ==========================================================================
   19.11 ABOUT US PAGE STYLING
   ========================================================================== */
.about-hero-section {
    background: radial-gradient(circle at 85% 30%, rgba(245, 199, 84, 0.18) 0%, transparent 60%),
                radial-gradient(circle at 15% 80%, rgba(84, 148, 210, 0.28) 0%, transparent 50%),
                linear-gradient(135deg, var(--primary-dark) 0%, #17375e 60%, var(--primary-color) 100%);
    padding: 85px 0 65px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

.story-section {
    padding: 85px 0;
    background: #ffffff;
}

.story-img-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: visible;
}

.story-img-frame img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
}

.story-badge-floating {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 14px 22px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-badge-floating i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.story-badge-floating strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.story-badge-floating small {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.story-content.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.story-content.entry-content p {
    margin-bottom: 1.25rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Mission Section */
.mission-section {
    padding: 85px 0;
    background: var(--light-bg);
}

.mission-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 42px 34px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.mission-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-surface) 0%, rgba(115, 166, 221, 0.15) 100%);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.mission-card:hover .mission-icon {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-gold);
}

.mission-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mission-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* Values Section */
.values-section {
    padding: 85px 0;
    background: #ffffff;
}

.value-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 38px 28px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-surface);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--secondary-color);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

.value-step-badge {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(23, 55, 94, 0.12);
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--primary-color);
}

.value-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Timeline Section */
.timeline-section {
    padding: 85px 0;
    background: var(--light-bg);
}

.timeline-roadmap-wrapper {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.timeline-roadmap {
    position: relative;
    padding: 20px 0;
}

.timeline-roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 45px;
    width: 50%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item-left {
    left: 0;
    padding-right: 45px;
    text-align: right;
}

.timeline-item-right {
    left: 50%;
    padding-left: 45px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 0 5px rgba(115, 166, 221, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--secondary-color);
    z-index: 2;
}

.timeline-item-left .timeline-dot {
    right: -16px;
}

.timeline-item-right .timeline-dot {
    left: -16px;
}

.timeline-content {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color-hover);
}

.timeline-year-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    display: inline-block;
    letter-spacing: 0.5px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   19.12 COURSES WIDGET IN SINGLE BLOG SIDEBAR
   ========================================================================== */
.courses-widget {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.courses-widget .course-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(23, 55, 94, 0.08);
    transition: var(--transition-fast);
}

.courses-widget .course-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.courses-widget .course-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--primary-surface);
    display: block;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.courses-widget .course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.courses-widget .course-item:hover .course-thumb img {
    transform: scale(1.1);
}

.courses-widget .course-info {
    flex: 1 1 auto;
    min-width: 0;
}

.courses-widget .course-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
}

.courses-widget .course-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.courses-widget .course-title a:hover {
    color: var(--secondary-color);
}

.courses-widget .view-course {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.courses-widget .view-course:hover {
    color: var(--secondary-hover);
    gap: 8px;
}

.courses-widget .view-all {
    margin-top: 14px;
    text-align: center;
    border-top: 1px solid rgba(23, 55, 94, 0.08);
    padding-top: 16px;
}

.courses-widget .btn-view-all {
    background: var(--primary-surface);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    display: block;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.courses-widget .btn-view-all:hover {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

/* ==========================================================================
   19.13 SINGLE TEACHER PAGE STYLING
   ========================================================================== */
.teacher-hero-section {
    background: radial-gradient(circle at 85% 30%, rgba(245, 199, 84, 0.18) 0%, transparent 60%),
                radial-gradient(circle at 15% 80%, rgba(84, 148, 210, 0.28) 0%, transparent 50%),
                linear-gradient(135deg, var(--primary-dark) 0%, #17375e 60%, var(--primary-color) 100%);
    padding: 85px 0 65px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

.teacher-single-section {
    padding: 80px 0 90px;
    background: var(--light-bg);
}

.teacher-profile-sidebar {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.teacher-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.teacher-sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.teacher-avatar-frame {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 0 auto;
    padding: 5px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-light));
    box-shadow: 0 10px 25px rgba(23, 55, 94, 0.18);
    position: relative;
}

.teacher-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    border: 3px solid #ffffff;
}

.teacher-verified-badge {
    background: var(--primary-surface);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.teacher-sidebar-name {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary-color);
}

.teacher-position-badge {
    background: rgba(115, 166, 221, 0.15);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    display: inline-block;
}

.teacher-sidebar-quote {
    background: var(--primary-surface);
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 14px 16px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
    text-align: left;
}

.teacher-meta-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.teacher-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(23, 55, 94, 0.06);
    font-size: 0.88rem;
}

.teacher-meta-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.teacher-meta-row:first-child {
    padding-top: 0;
}

.teacher-meta-row .meta-label {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.teacher-meta-row .meta-val {
    font-weight: 700;
    color: var(--dark-text);
    text-align: right;
}

.btn-whatsapp-outline {
    background: #ffffff;
    color: #25d366;
    border: 1px solid #25d366;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.94rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-whatsapp-outline:hover {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Teacher Bio & Highlights */
.teacher-bio-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 45px 38px;
    box-shadow: var(--shadow-sm);
}

.bio-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

.teacher-entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.teacher-entry-content h2,
.teacher-entry-content h3,
.teacher-entry-content h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.teacher-entry-content p {
    margin-bottom: 1.35rem;
}

.teacher-entry-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.teacher-entry-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.teacher-entry-content ul li::before {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.teacher-highlights-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 34px;
    box-shadow: var(--shadow-sm);
}

.highlights-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}

.highlight-item {
    display: flex;
    gap: 16px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    height: 100%;
    transition: var(--transition);
}

.highlight-item:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-color-hover);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-surface);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.highlight-text h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Teacher CTA Banner */
.teacher-cta-banner {
    background: radial-gradient(circle at 85% 30%, rgba(245, 199, 84, 0.18) 0%, transparent 60%),
                linear-gradient(135deg, var(--primary-dark) 0%, #17375e 100%);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.teacher-cta-banner .cta-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
}

.teacher-cta-banner .cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ==========================================================================
   20. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991.98px) {
    /* Mobile Navbar Drawer */
    .navbar-collapse {
        background: #ffffff;
        padding: 20px 22px;
        border-radius: var(--radius-lg);
        box-shadow: 0 16px 40px rgba(23, 55, 94, 0.15);
        margin-top: 15px;
        border: 1px solid var(--border-color);
        max-height: 82vh;
        overflow-y: auto;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(23, 55, 94, 0.06);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

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

    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        font-size: 1rem;
        font-weight: 600;
        color: var(--dark-text) !important;
        flex: 1 1 auto;
    }

    .navbar-nav .nav-link::after {
        display: none !important;
    }

    /* Mobile Split Toggle Buttons (Level 1) */
    .dropdown-toggle-split {
        flex: 0 0 42px;
        height: 40px;
        width: 42px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: var(--primary-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        color: var(--primary-color);
        font-size: 0.85rem;
        cursor: pointer;
        transition: transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
        margin: 4px 0;
    }

    .nav-item.dropdown.show > .dropdown-toggle-split {
        transform: rotate(180deg);
        background: var(--secondary-color);
        border-color: var(--secondary-color);
        color: #ffffff;
    }

    /* Mobile Level 1 Dropdown Menu (Accordion style) */
    .navbar-nav .nav-item > .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        min-width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 3px solid var(--secondary-color) !important;
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
        background: #f8fafc !important;
        padding: 8px 0 8px 12px !important;
        margin: 4px 0 12px !important;
        display: none;
        list-style: none;
    }

    .navbar-nav .nav-item > .dropdown-menu.show {
        display: block !important;
        animation: mobileSlideDown 0.25s ease;
    }

    /* Mobile Submenu Items (Level 2, 3, 4) */
    .dropdown-submenu-item {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
        border-bottom: 1px dashed rgba(23, 55, 94, 0.08);
    }

    .dropdown-submenu-item:last-child {
        border-bottom: none;
    }

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

    .dropdown-submenu-item > a.dropdown-item {
        flex: 1 1 auto;
        padding: 10px 8px !important;
        font-size: 0.92rem;
        font-weight: 500;
        color: var(--dark-text) !important;
        background: transparent !important;
        white-space: normal;
        line-height: 1.45;
        display: block;
        border-radius: var(--radius-sm);
    }

    .dropdown-submenu-item > a.dropdown-item:hover,
    .dropdown-submenu-item > a.dropdown-item:focus {
        color: var(--secondary-color) !important;
        background: rgba(115, 166, 221, 0.12) !important;
    }

    /* Hide static arrow on mobile */
    .dropdown-arrow {
        display: none !important;
    }

    /* Mobile Nested Split Toggle Buttons (Level 2, 3, 4) */
    .dropdown-toggle-split-nested {
        flex: 0 0 38px;
        height: 36px;
        width: 38px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        color: var(--primary-color);
        font-size: 0.8rem;
        cursor: pointer;
        transition: transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
        margin: 3px 0;
    }

    .dropdown-submenu-item.dropdown.show > .dropdown-toggle-split-nested {
        transform: rotate(180deg);
        background: var(--secondary-color);
        border-color: var(--secondary-color);
        color: #ffffff;
    }

    /* Mobile Nested Dropdown Menus (Level 2, 3, 4) */
    .dropdown-submenu-item > .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        min-width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 3px solid var(--primary-color) !important;
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
        background: #ffffff !important;
        padding: 6px 0 6px 10px !important;
        margin: 4px 0 8px 4px !important;
        display: none;
        list-style: none;
    }

    .dropdown-submenu-item.dropdown.show > .dropdown-menu {
        display: block !important;
        animation: mobileSlideDown 0.25s ease;
    }

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

    .hero-section {
        padding: 100px 0 70px;
    }

    .about-image-wrapper {
        padding-bottom: 0;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-floating-badge {
        position: static;
        margin-top: 15px;
    }

    .cta-banner-wrapper {
        padding: 45px 30px;
    }

    .stats-container {
        margin-top: 0;
    }

    /* Single Course Responsive (Tablet) */
    .full-cta-2 .cta-image-section {
        min-height: 340px;
    }

    .full-cta-2 .cta-content-section {
        padding: 55px 35px;
    }

    .overview-card {
        padding: 35px 25px;
    }

    .cta-box-centered {
        padding: 45px 25px;
    }

    /* Pricing & Page Responsive (Tablet) */
    .pricing-custom-card {
        padding: 36px 28px;
    }

    .single-post-card,
    .comments-card,
    .page-card {
        padding: 38px 28px;
    }

    .sidebar-wrapper {
        margin-top: 35px;
    }

    /* Contact, About, & Teacher Responsive (Tablet) */
    .teacher-profile-sidebar {
        position: static;
        margin-bottom: 35px;
    }

    .timeline-roadmap::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 55px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 4px !important;
        right: auto !important;
    }

    .story-badge-floating {
        position: static;
        margin-top: 20px;
    }

    .contact-form-card {
        padding: 36px 26px;
    }

    .teacher-bio-card,
    .teacher-highlights-card {
        padding: 34px 26px;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.85rem;
    }

    .hero-main-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .category-filters {
        border-radius: var(--radius-lg);
    }

    .free-trial-card {
        padding: 35px 20px;
    }

    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }

    .back-to-top {
        bottom: 15px;
        left: 15px;
        width: 42px;
        height: 42px;
    }

    /* Single Course Mobile Tweaks */
    .outcome-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .course-meta-list {
        grid-template-columns: 1fr;
    }

    .full-cta-1 {
        padding: 70px 0;
    }

    .learn-section,
    .course-overview,
    .outcomes-section,
    .related-courses-section {
        padding: 70px 0;
    }

    /* Pricing, Blog, Single & Page Mobile Tweaks */
    .pricing-card {
        padding: 38px 24px;
    }

    .pricing-custom-card {
        padding: 32px 20px;
        text-align: center;
    }

    .pricing-custom-card .pricing-name,
    .pricing-custom-card .pricing-description {
        text-align: center !important;
    }

    .pricing-custom-card .pricing-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .single-post-card,
    .comments-card,
    .page-card {
        padding: 28px 18px;
    }

    .blog-archive-section,
    .single-article-section,
    .default-page-section,
    .pricing-section {
        padding: 60px 0;
    }

    .content-wrap.entry-content h2 {
        font-size: 1.45rem;
    }

    .content-wrap.entry-content h3 {
        font-size: 1.25rem;
    }

    /* Contact, About & Teacher Mobile Tweaks */
    .contact-hero-section,
    .about-hero-section,
    .teacher-hero-section {
        padding: 60px 0 45px;
    }

    .contact-info-section,
    .contact-form-section,
    .story-section,
    .mission-section,
    .values-section,
    .timeline-section,
    .teacher-single-section {
        padding: 55px 0;
    }

    .contact-form-card {
        padding: 28px 18px;
    }

    .teacher-sidebar-card {
        padding: 30px 20px;
    }

    .teacher-avatar-frame {
        width: 135px;
        height: 135px;
    }

    .teacher-bio-card,
    .teacher-highlights-card,
    .teacher-cta-banner {
        padding: 28px 18px;
    }

    .story-content.entry-content,
    .teacher-entry-content {
        font-size: 0.98rem;
    }
}

/* Keyframe for dynamic scroll reveals */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   27. COURSE ARCHIVE & TAXONOMY STYLING
   ========================================================================== */

/* Term Description (Taxonomy Lead) */
.term-description {
    max-width: 720px;
    margin: 16px auto 0;
    text-align: center;
}

.term-description p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Category Filters Mobile & Polish */
.category-filter-wrapper {
    position: relative;
    z-index: 5;
}

.courses-grid-wrapper {
    transition: opacity 0.3s ease;
}

/* Related Categories Section (Taxonomy Page) */
.related-categories-section {
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
}

.category-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: block;
    height: 100%;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(115, 166, 221, 0.5);
}

.category-card-body {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.category-icon-box {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    background: var(--primary-surface);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 18px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
}

.category-card:hover .category-icon-box {
    background: var(--secondary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(-3deg);
}

.category-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.category-card:hover .category-card-title {
    color: var(--secondary-color);
}

.category-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.category-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-surface);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(115, 166, 221, 0.25);
    transition: var(--transition-fast);
}

.category-card:hover .category-count-badge {
    background: rgba(115, 166, 221, 0.15);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Mobile Media Queries for Archive & Taxonomy */
@media (max-width: 767.98px) {
    .category-filters {
        border-radius: var(--radius-lg);
        padding: 6px;
        gap: 6px;
    }

    .category-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .related-categories-section {
        padding: 50px 0 !important;
    }

    .category-card-body {
        padding: 24px 16px;
    }

    .category-icon-box {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .category-card-title {
        font-size: 1.15rem;
    }
}

