/*
Theme Name: Centre for Ambition
Theme URI: https://centreforambition.com
Author: Centre for Ambition
Author URI: https://centreforambition.com
Description: A vibrant, modern education theme for Centre for Ambition coaching institute - designed to inspire students and parents with bold colors, clean layouts, and excellent user experience.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: centre-for-ambition
Tags: education, coaching, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-colors, custom-header, custom-menu, featured-images
*/

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary: #D44D1A;
    --primary-dark: #B83D10;
    --primary-light: #E86030;
    --secondary: #3D1A5C;
    --secondary-light: #5A2880;
    --accent: #F5A623;
    --accent-dark: #D48A10;
    --yellow: #F5C842;
    --light-bg: #F7F4FB;
    --white: #FFFFFF;
    --gray-100: #F4F5F9;
    --gray-200: #E8EAF0;
    --gray-300: #D0D3E0;
    --gray-500: #8890A8;
    --gray-700: #4A5270;
    --gray-900: #1A1F3A;
    --text: #2D3150;
    --text-light: #6B7194;
    --shadow-sm: 0 2px 10px rgba(61,26,92,0.08);
    --shadow-md: 0 8px 30px rgba(61,26,92,0.12);
    --shadow-lg: 0 20px 60px rgba(61,26,92,0.18);
    --shadow-xl: 0 30px 80px rgba(61,26,92,0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
    font-weight: 700;
}

p { margin-bottom: 1rem; }
ul, ol { margin-left: 1.5rem; margin-bottom: 1rem; }

/* ==================== UTILITY ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 30px; }

.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }

.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-light { background: var(--light-bg); }
.bg-white { background: var(--white); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; } .gap-4 { gap: 2rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ==================== SECTION HEADERS ==================== */
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,107,53,0.1); color: var(--primary);
    padding: 6px 16px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; margin-bottom: 1rem;
    line-height: 1.15;
}

.section-title span { color: var(--primary); position: relative; }
.section-title span::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--primary), var(--yellow));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem; color: var(--text-light);
    max-width: 600px; margin: 0 auto 3rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
    cursor: pointer; border: none; transition: var(--transition);
    text-decoration: none; letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white); box-shadow: 0 6px 25px rgba(255,107,53,0.4);
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 12px 35px rgba(255,107,53,0.5);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white); box-shadow: 0 6px 25px rgba(61,26,92,0.3);
}
.btn-secondary:hover {
    background: var(--secondary-light); transform: translateY(-3px); color: var(--white);
}

.btn-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary); color: var(--white); transform: translateY(-3px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white); box-shadow: 0 6px 25px rgba(0,212,170,0.4);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0,212,170,0.5); color: var(--white); }

.btn-white {
    background: var(--white); color: var(--primary);
    box-shadow: 0 6px 25px rgba(255,255,255,0.3);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(255,255,255,0.5); color: var(--primary); }

.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }

/* ==================== CARDS ==================== */
.card {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); overflow: hidden;
    transition: var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.card-body { padding: 1.75rem; }

/* ==================== BADGES ==================== */
.badge {
    display: inline-block; padding: 4px 12px;
    border-radius: 50px; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.5px;
}
.badge-primary { background: rgba(255,107,53,0.12); color: var(--primary); }
.badge-accent { background: rgba(0,212,170,0.12); color: var(--accent-dark); }
.badge-secondary { background: rgba(61,26,92,0.1); color: var(--secondary); }
.badge-yellow { background: rgba(255,215,0,0.2); color: #B8860B; }

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--secondary);
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.top-bar .container { display: flex; justify-content: space-between; align-items: center; }

.top-bar-left { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-right { display: flex; align-items: center; gap: 1rem; }

.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--yellow); }

.top-bar .social-links { display: flex; gap: 0.75rem; }
.top-bar .social-links a {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem;
}
.top-bar .social-links a:hover { background: var(--primary); }

/* ==================== HEADER / NAVIGATION ==================== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(61,26,92,0.1);
    transition: var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0;
    gap: 1rem;
}

.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }

.logo-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.25rem; font-weight: 900;
    font-family: var(--font-heading); flex-shrink: 0;
}

.logo-text { line-height: 1.15; }
.logo-text .name {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 1rem; color: var(--secondary); display: block;
}
.logo-text .tagline {
    font-size: 0.65rem; color: var(--primary); font-weight: 600;
    letter-spacing: 0.4px; text-transform: uppercase;
}

/* Real logo image (fallback) */
.site-logo-img {
    width: 100px;
    height: 55px;
    display: block;
    object-fit: contain;
}

/* WordPress custom_logo output — Header */
.site-logo .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}
.site-logo .custom-logo-link img,
.site-logo .custom-logo {
    width: 100px;
    height: 55px;
    object-fit: contain;
    display: block;
}

/* WordPress custom_logo output — Footer */
.footer-logo .custom-logo-link {
    display: inline-flex;
    line-height: 0;
}
.footer-logo .custom-logo-link img,
.footer-logo .custom-logo,
.footer-logo-img {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

/* Main Navigation */
.main-nav { display: flex; align-items: center; flex: 1; justify-content: center; }

.nav-menu {
    display: flex; list-style: none; margin: 0; padding: 0;
    align-items: center; gap: 0; flex-wrap: nowrap;
}

.nav-menu > li { position: relative; white-space: nowrap; }

.nav-menu > li > a {
    display: block; padding: 8px 10px; border-radius: 6px;
    font-family: var(--font-heading); font-weight: 600; font-size: 0.82rem;
    color: var(--gray-700); transition: var(--transition); white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a {
    color: var(--primary); background: rgba(255,107,53,0.08);
}

/* Standard Dropdown */
.nav-menu .sub-menu {
    position: absolute; top: calc(100% + 4px); left: 0;
    background: var(--white); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); min-width: 240px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: var(--transition); list-style: none;
    padding: 8px; margin: 0; z-index: 200;
    border: 1px solid var(--gray-200);
}

.nav-menu li:hover > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}

.nav-menu .sub-menu a {
    display: block; padding: 9px 14px; border-radius: 7px;
    font-size: 0.86rem; color: var(--text); font-weight: 500;
    font-family: var(--font-heading);
}

.nav-menu .sub-menu a:hover { background: var(--light-bg); color: var(--primary); }

/* Dropdown arrow */
.menu-item-has-children > a::after,
.has-dropdown > a::after {
    content: ' ▾'; font-size: 0.65rem; opacity: 0.7;
}

/* Deep sub-menu (3rd level) */
.sub-menu .menu-item-has-children { position: relative; }
.sub-menu .sub-menu-deep,
.sub-menu .sub-menu {
    top: 0; left: 100%; margin-left: 4px;
}

/* ===== MEGA MENU (Courses) ===== */
.site-header,
.header-inner,
.main-nav,
.nav-menu { overflow: visible !important; }
.header-inner { position: relative; }

.mega-menu-parent { position: relative !important; }

.mega-menu {
    display: none;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0;
    width: 780px;
    max-width: calc(100vw - 24px);
    flex-direction: row !important;
    gap: 0;
    padding: 28px !important;
    z-index: 99999 !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 60px rgba(61,26,92,0.22) !important;
    border: 1px solid #e8e0f0 !important;
    list-style: none !important;
    margin: 0 !important;
}

.mega-menu-parent:hover > .mega-menu {
    display: flex;
    animation: megaFadeIn 0.18s ease forwards;
}

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

.mega-col {
    flex: 1;
    padding: 0 16px;
    border-right: 1px solid var(--gray-200);
}
.mega-col:last-child { border-right: none; }

.mega-heading {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255,107,53,0.2);
}

.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col ul li { margin-bottom: 2px; }
.mega-col ul li a {
    padding: 7px 10px !important;
    font-size: 0.83rem !important;
    color: var(--text) !important;
    border-radius: 6px;
    display: flex !important;
    align-items: center;
    gap: 6px;
}
.mega-col ul li a::before {
    content: '»';
    color: var(--primary);
    font-size: 0.7rem;
    flex-shrink: 0;
}
.mega-col ul li a:hover { background: var(--light-bg) !important; color: var(--primary) !important; }

.header-cta { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* Hamburger */
.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; border-radius: 8px; transition: var(--transition);
}
.menu-toggle:hover { background: var(--gray-100); }
.menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--secondary); border-radius: 2px;
    margin: 5px 0; transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, #3D1A5C 0%, #2E1245 50%, #1E0A30 100%);
    position: relative; overflow: hidden; min-height: 90vh;
    display: flex; align-items: center;
    padding: 100px 0 80px;
}

.hero-bg-shapes {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}

.hero-shape {
    position: absolute; border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,107,53,0.05));
}
.hero-shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.hero-shape-2 { width: 400px; height: 400px; bottom: -150px; left: -100px; background: linear-gradient(135deg, rgba(0,212,170,0.12), rgba(0,212,170,0.03)); }
.hero-shape-3 { width: 200px; height: 200px; top: 50%; right: 25%; background: rgba(255,215,0,0.08); }

.hero-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 4rem;
    position: relative; z-index: 2;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,107,53,0.2); color: #FF8A5B;
    padding: 8px 18px; border-radius: 50px; border: 1px solid rgba(255,107,53,0.3);
    font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 8px; height: 8px; background: var(--accent);
    border-radius: 50%; animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white); font-weight: 900; line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--yellow);
    text-shadow: 0 0 30px rgba(255,215,0,0.3);
}

.hero-title .line2 { color: var(--primary); }

.hero-desc {
    color: rgba(255,255,255,0.75); font-size: 1.1rem;
    margin-bottom: 2rem; max-width: 520px; line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
    display: flex; gap: 2rem; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .number {
    font-family: var(--font-heading); font-size: 2rem;
    font-weight: 800; color: var(--white); line-height: 1;
}

.hero-stat .number span { color: var(--primary); }

.hero-stat .label {
    font-size: 0.82rem; color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* Hero Image Side */
.hero-visual { position: relative; }

.hero-image-wrap {
    position: relative; border-radius: 24px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.hero-image-wrap img { width: 100%; height: 520px; object-fit: cover; }

.hero-card-float {
    position: absolute; background: var(--white); border-radius: 16px;
    padding: 14px 18px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px;
    animation: float 3s ease-in-out infinite;
}

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

.hero-card-1 { bottom: 30px; left: -30px; animation-delay: 0; }
.hero-card-2 { top: 30px; right: -30px; animation-delay: 1.5s; }

.hero-card-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.hero-card-1 .hero-card-icon { background: rgba(255,107,53,0.1); }
.hero-card-2 .hero-card-icon { background: rgba(0,212,170,0.1); }

.hero-card-info .val { font-weight: 800; font-size: 1.1rem; color: var(--secondary); font-family: var(--font-heading); }
.hero-card-info .lbl { font-size: 0.75rem; color: var(--text-light); }

/* ==================== ANNOUNCEMENT TICKER ==================== */
.ticker-bar {
    background: var(--primary); padding: 12px 0; overflow: hidden;
}

.ticker-wrapper { display: flex; align-items: center; gap: 2rem; }

.ticker-label {
    background: rgba(0,0,0,0.2); color: white;
    padding: 4px 16px; border-radius: 50px; font-weight: 700;
    font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px;
    white-space: nowrap; flex-shrink: 0;
}

.ticker-content { overflow: hidden; flex: 1; }

.ticker-items {
    display: flex; gap: 4rem; animation: ticker 25s linear infinite; width: max-content;
}

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ticker-items span { color: white; font-weight: 600; white-space: nowrap; font-size: 0.9rem; }
.ticker-items .sep { color: rgba(255,255,255,0.5); }

/* ==================== FEATURES / WHY US ==================== */
.why-us-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 2rem; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200); transition: var(--transition);
    position: relative; overflow: hidden;
}

.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: var(--transition);
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.feature-icon {
    width: 60px; height: 60px; border-radius: 16px; margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}

.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ==================== COURSES ==================== */
.courses-section { background: var(--light-bg); }

.courses-filter {
    display: flex; gap: 0.75rem; margin-bottom: 2.5rem;
    flex-wrap: wrap; justify-content: center;
}

.filter-btn {
    padding: 9px 22px; border-radius: 50px; border: 2px solid var(--gray-300);
    background: transparent; color: var(--gray-700); font-weight: 600;
    font-family: var(--font-heading); font-size: 0.88rem; cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary); border-color: var(--primary); color: white;
}

.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

.course-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.course-thumbnail { position: relative; overflow: hidden; }

.course-thumbnail img { width: 100%; height: 200px; object-fit: cover; transition: var(--transition); }
.course-card:hover .course-thumbnail img { transform: scale(1.06); }

.course-category {
    position: absolute; top: 14px; left: 14px;
    background: var(--primary); color: white; padding: 4px 12px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}

.course-level {
    position: absolute; top: 14px; right: 14px;
    background: rgba(61,26,92,0.85); color: white; padding: 4px 12px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 600;
    backdrop-filter: blur(5px);
}

.course-body { padding: 1.5rem; }

.course-body h3 { font-size: 1.1rem; margin-bottom: 0.75rem; line-height: 1.3; }
.course-body p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1rem; }

.course-meta { display: flex; gap: 1rem; margin-bottom: 1rem; }

.course-meta-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.82rem; color: var(--text-light);
}

.course-meta-item .icon { font-size: 0.9rem; }

.course-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1rem; border-top: 1px solid var(--gray-200);
}

.course-price { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--secondary); }
.course-price .per { font-size: 0.75rem; color: var(--text-light); font-weight: 400; }

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 70px 0; position: relative; overflow: hidden;
}

.stats-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; position: relative; z-index: 1;
}

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

.stat-number {
    font-family: var(--font-heading); font-size: 3rem; font-weight: 900;
    color: var(--white); line-height: 1;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.stat-suffix { color: var(--yellow); -webkit-text-fill-color: var(--yellow); }

.stat-label { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 0.5rem; font-weight: 500; }

/* ==================== TEACHERS ==================== */
.teacher-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200); transition: var(--transition);
    text-align: center;
}

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

.teacher-photo { position: relative; overflow: hidden; }
.teacher-photo img { width: 100%; height: 260px; object-fit: cover; }

.teacher-social {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(61,26,92,0.9), transparent);
    padding: 30px 20px 16px;
    display: flex; justify-content: center; gap: 10px;
    transform: translateY(100%); transition: var(--transition);
}

.teacher-card:hover .teacher-social { transform: translateY(0); }

.teacher-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.15); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; backdrop-filter: blur(5px);
}
.teacher-social a:hover { background: var(--primary); }

.teacher-info { padding: 1.5rem; }
.teacher-info h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.teacher-subject { color: var(--primary); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.5rem; }
.teacher-exp { font-size: 0.82rem; color: var(--text-light); }

/* ==================== TESTIMONIALS ==================== */
.testimonials-section { background: var(--secondary); padding: 90px 0; }

.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.6); }
.testimonials-section .section-tag { background: rgba(255,107,53,0.2); color: #FF8A5B; }

.testimonial-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 2rem;
    backdrop-filter: blur(10px); transition: var(--transition);
}

.testimonial-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); }

.stars { color: var(--yellow); font-size: 1rem; margin-bottom: 1rem; }

.testimonial-text {
    color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.8;
    margin-bottom: 1.5rem; font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-photo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid var(--primary); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-name { color: white; font-weight: 700; font-size: 0.95rem; }
.author-detail { color: rgba(255,255,255,0.55); font-size: 0.8rem; }

/* ==================== RESULTS / ACHIEVEMENTS ==================== */
.result-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 2rem; text-align: center; box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-200); transition: var(--transition);
    position: relative; overflow: hidden;
}

.result-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

.result-rank {
    font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900;
    color: var(--primary); line-height: 1;
}

.result-card h3 { font-size: 1.05rem; margin: 0.5rem 0 0.25rem; }
.result-card p { font-size: 0.82rem; color: var(--text-light); margin: 0; }
.result-exam { font-size: 0.75rem; font-weight: 700; color: var(--accent-dark); letter-spacing: 1px; text-transform: uppercase; margin-top: 0.5rem; }

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    padding: 90px 0; text-align: center; position: relative; overflow: hidden;
}

.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-circle {
    position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.05);
}
.cta-circle-1 { width: 400px; height: 400px; top: -150px; left: -100px; }
.cta-circle-2 { width: 600px; height: 600px; bottom: -250px; right: -150px; }

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

.cta-title { font-size: clamp(2rem, 4vw, 3rem); color: white; font-weight: 800; margin-bottom: 1rem; }
.cta-title span { color: var(--yellow); }
.cta-desc { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.cta-form {
    display: flex; gap: 0; max-width: 500px; margin: 0 auto;
    background: rgba(255,255,255,0.1); border-radius: 50px;
    padding: 6px; backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-form input {
    flex: 1; background: transparent; border: none; padding: 12px 20px;
    color: white; font-size: 0.95rem; font-family: var(--font-body);
    outline: none;
}

.cta-form input::placeholder { color: rgba(255,255,255,0.5); }

/* ==================== BLOG ==================== */
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.blog-thumb { position: relative; overflow: hidden; }
.blog-thumb img { width: 100%; height: 210px; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }

.blog-date {
    position: absolute; bottom: 14px; left: 14px;
    background: var(--white); border-radius: 10px; padding: 6px 12px;
    font-size: 0.78rem; font-weight: 700; color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.blog-body { padding: 1.5rem; }
.blog-cat { font-size: 0.78rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.blog-body h3 { font-size: 1rem; margin-bottom: 0.75rem; line-height: 1.4; }
.blog-body p { font-size: 0.87rem; color: var(--text-light); }

.blog-read-more {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--primary); font-weight: 700; font-size: 0.88rem;
    margin-top: 0.5rem;
}

/* ==================== CONTACT ==================== */
.contact-form-wrap {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 3rem; box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block; font-weight: 700; font-size: 0.9rem;
    color: var(--secondary); margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 13px 18px; border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem;
    color: var(--text); transition: var(--transition); background: var(--light-bg);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary); background: white;
    box-shadow: 0 0 0 4px rgba(255,107,53,0.1);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-info-card {
    background: var(--secondary); border-radius: var(--radius-xl);
    padding: 3rem; color: white; height: 100%;
}

.contact-info-card h3 { color: white; font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-info-card p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

.contact-item {
    display: flex; gap: 1rem; margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,255,255,0.1); display: flex;
    align-items: center; justify-content: center; font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-text .label { font-size: 0.78rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item-text .value { color: white; font-weight: 600; margin-top: 2px; }

/* ==================== FAQ ==================== */
.faq-item {
    border: 1px solid var(--gray-200); border-radius: var(--radius-md);
    margin-bottom: 1rem; overflow: hidden; transition: var(--transition);
}

.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.faq-question {
    padding: 1.25rem 1.5rem; font-weight: 700; font-size: 0.95rem;
    color: var(--secondary); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--white); transition: var(--transition);
}

.faq-question:hover, .faq-item.active .faq-question { color: var(--primary); background: rgba(255,107,53,0.03); }

.faq-toggle {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gray-100); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0; transition: var(--transition); color: var(--primary);
}
.faq-item.active .faq-toggle { background: var(--primary); color: white; transform: rotate(45deg); }

.faq-answer {
    padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    font-size: 0.9rem; color: var(--text-light); line-height: 1.8;
}

.faq-answer.open { max-height: 400px; padding: 0 1.5rem 1.25rem; }

/* ==================== GALLERY ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 12px;
}

.gallery-item { border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-1 { grid-column: span 2; grid-row: span 2; }
.gallery-item-5 { grid-column: span 2; }

.gallery-overlay {
    position: absolute; inset: 0; background: rgba(61,26,92,0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition); color: white; font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ==================== PAGE HERO ==================== */
.page-hero {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}

.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto 1.5rem; }

.breadcrumb {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: rgba(255,255,255,0.6); font-size: 0.88rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--primary); }

/* ==================== FOOTER ==================== */
/* ===== WHITE FOOTER ===== */
.site-footer { background: #ffffff; color: var(--text); border-top: 3px solid var(--primary); }

.footer-top { padding: 60px 0 40px; }

.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 1.25rem; }
.footer-logo .logo-text .name { color: var(--secondary); }
.footer-desc { font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; color: var(--text-light); }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--gray-100); color: var(--gray-700);
    display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; transform: translateY(-3px); }

.footer-heading {
    font-family: var(--font-heading); color: var(--secondary); font-size: 1rem; font-weight: 700;
    margin-bottom: 1.25rem; padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: var(--text-light); font-size: 0.9rem; transition: var(--transition);
    display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--primary); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.footer-newsletter p { font-size: 0.88rem; margin-bottom: 1rem; color: var(--text-light); }
.newsletter-form {
    display: flex; background: var(--gray-100); border-radius: 10px;
    border: 1px solid var(--gray-200); overflow: hidden;
}
.newsletter-form input {
    flex: 1; background: transparent; border: none; padding: 12px 16px;
    color: var(--text); font-size: 0.9rem; outline: none; font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: var(--gray-500); }
.newsletter-form button {
    background: var(--primary); color: white; border: none; padding: 0 20px;
    cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: var(--transition);
    font-family: var(--font-heading);
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* Contact items in footer */
.footer-top .contact-item-icon {
    background: var(--gray-100);
}
.footer-top .contact-item-text .label { color: var(--text-light); }
.footer-top .contact-item-text .value { color: var(--secondary); }

/* Footer bottom bar — dark strip */
.footer-bottom {
    background: #ffffff !important;
    border-top: 2px solid #e8e0f0;
    padding: 18px 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom p { margin: 0; font-size: 0.83rem; color: #444; }
.footer-bottom-links { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.footer-bottom-links a { color: #444; font-size: 0.83rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--primary); }
.footer-credit-sep { color: #999; font-size: 0.83rem; }
.footer-credit { display:inline-flex; align-items:center; gap:4px; font-size: 0.83rem; color: #444; }
.footer-credit a {
    color: #3D1A5C;
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    background: #f0eaf8;
    padding: 2px 8px;
    border-radius: 4px;
}
.footer-credit a:hover { color: #fff; background: var(--primary); }

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; z-index: 999;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: white;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    box-shadow: var(--shadow-md); cursor: pointer; border: none;
    opacity: 0; transform: translateY(20px); transition: var(--transition);
    text-decoration: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px) !important; color: white; }

/* ==================== WORDPRESS DEFAULTS ==================== */
.wp-caption { max-width: 100%; margin-bottom: 1rem; }
.wp-caption-text { font-size: 0.85rem; color: var(--text-light); text-align: center; margin-top: 0.5rem; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1rem; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; word-wrap: normal; }

/* ==================== RESPONSIVE ==================== */
/* ==================== RESPONSIVE — TABLET (≤1100px) ==================== */
@media (max-width: 1100px) {
    .why-us-grid        { grid-template-columns: repeat(2, 1fr); }
    .courses-grid       { grid-template-columns: repeat(2, 1fr); }
    .footer-grid        { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stats-grid         { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid       { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 180px); }
    .gallery-item-1     { grid-column: span 1; grid-row: span 1; }
    .gallery-item-5     { grid-column: span 1; }
    .hero-title         { font-size: 2.8rem; }
    .mega-menu          { width: 700px !important; }

    /* Inline page grids */
    [style*="grid-template-columns:2fr 1fr"],
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ==================== RESPONSIVE — SMALL TABLET (≤900px) ==================== */
@media (max-width: 900px) {
    /* Hero */
    .hero-grid          { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual        { display: none; }
    .hero-title         { font-size: 2.4rem; }
    .hero-section       { min-height: auto; padding: 70px 0 50px; }

    /* Header & Nav */
    .site-header        { position: sticky; top: 0; }
    .header-inner       { position: relative; padding: 8px 0; }
    .main-nav           { display: none; }
    .menu-toggle        { display: block !important; }
    .header-cta .btn-primary { display: none; }

    /* ---- Mobile Nav Fullscreen Overlay ---- */
    .main-nav.open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100vw; height: 100vh;
        background: #fff;
        z-index: 99999;
        overflow-y: auto;
        padding: 0;
    }

    /* Header bar inside mobile nav */
    .main-nav.open::before {
        content: '';
        display: block;
        height: 70px;
        background: #fff;
        border-bottom: 2px solid #f0eaf8;
        flex-shrink: 0;
    }

    .main-nav.open .nav-menu {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0.5rem 0 2rem;
        width: 100%;
    }

    /* Each top-level item */
    .main-nav.open .nav-menu > li {
        white-space: normal;
        border-bottom: 1px solid #f5f0fc;
    }

    .main-nav.open .nav-menu > li > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        font-weight: 600;
        color: var(--secondary) !important;
        border-radius: 0 !important;
        background: transparent !important;
    }
    .main-nav.open .nav-menu > li > a:hover,
    .main-nav.open .nav-menu > li.current-menu-item > a {
        background: #f5f0fc !important;
        color: var(--primary) !important;
    }

    /* Dropdown arrow rotates when open */
    .main-nav.open .nav-menu > li.open > a::after { transform: rotate(180deg); }

    /* Sub-menus — hidden by default, shown on .open */
    .main-nav.open .sub-menu,
    .main-nav.open .mega-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid #f0eaf8 !important;
        background: #faf8ff !important;
        padding: 4px 0 8px !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    .main-nav.open li.open > .sub-menu   { display: block !important; }
    .main-nav.open li.open > .mega-menu  { display: block !important; }

    /* Sub-menu links */
    .main-nav.open .sub-menu a {
        padding: 10px 20px 10px 36px !important;
        font-size: 0.9rem !important;
        color: #555 !important;
        display: block !important;
        border-radius: 0 !important;
        background: transparent !important;
        border-bottom: 1px solid #f0eaf8;
    }
    .main-nav.open .sub-menu a:hover { color: var(--primary) !important; background: #fff !important; }

    /* Mega menu columns stacked vertically */
    .main-nav.open .mega-menu {
        flex-direction: column !important;
        padding: 0 !important;
    }
    .main-nav.open .mega-col {
        border-right: none !important;
        border-bottom: 1px solid #ece6f8 !important;
        padding: 8px 0 !important;
    }
    .main-nav.open .mega-heading {
        padding: 8px 20px 4px 20px !important;
        font-size: 0.72rem !important;
        display: block !important;
    }
    .main-nav.open .mega-col ul li a {
        padding: 9px 20px 9px 36px !important;
        font-size: 0.88rem !important;
        color: #555 !important;
        border-radius: 0 !important;
    }
    .main-nav.open .mega-col ul li a::before { display: none; }
    .main-nav.open .mega-col { border-right: none; border-bottom: 1px solid var(--gray-200); padding: 8px 0; }

    /* Grids */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row          { grid-template-columns: 1fr; }
    .footer-grid       { grid-template-columns: 1fr 1fr; gap: 2rem; }

    /* Stats */
    .stats-grid        { grid-template-columns: repeat(2, 1fr); }

    /* Inline grids inside pages */
    [style*="grid-template-columns:2fr 1fr"],
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:300px 1fr"],
    [style*="grid-template-columns: 300px 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Page hero */
    .page-hero          { padding: 60px 0 40px; }
    .page-hero h1       { font-size: 2rem; }
}

/* ==================== RESPONSIVE — MOBILE (≤700px) ==================== */
@media (max-width: 700px) {
    .container          { padding: 0 16px; }
    .section-padding    { padding: 50px 0; }

    /* Top bar */
    .top-bar            { display: none; }

    /* Logo */
    .site-logo-img      { width: 130px; height: 70px; }

    /* Hero */
    .hero-title         { font-size: 2rem; line-height: 1.25; }
    .hero-desc          { font-size: 0.92rem; }
    .hero-stats         { flex-wrap: wrap; gap: 0.75rem; }
    .hero-stat          { min-width: 80px; }
    .hero-actions       { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .hero-actions .btn  { width: 100%; text-align: center; justify-content: center; }
    .hero-section       { padding: 50px 0 40px; }

    /* Sections */
    .why-us-grid        { grid-template-columns: 1fr; }
    .courses-grid       { grid-template-columns: 1fr; }
    .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-number        { font-size: 2.5rem; }

    /* Section headings */
    .section-title      { font-size: 1.6rem; }
    .section-subtitle   { font-size: 0.9rem; }

    /* Courses filter */
    .courses-filter     { flex-wrap: wrap; gap: 0.5rem; }
    .filter-btn         { font-size: 0.78rem; padding: 6px 12px; }

    /* Footer */
    .footer-grid        { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom      { flex-direction: column; text-align: center; gap: 0.75rem; }
    .footer-links       { justify-content: center; }

    /* Gallery */
    .gallery-grid               { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .gallery-item               { height: 140px; }
    .gallery-item-1,
    .gallery-item-5             { grid-column: span 1; grid-row: span 1; }

    /* Contact */
    .contact-form-wrap  { padding: 1.25rem; }
    .contact-grid       { grid-template-columns: 1fr; }

    /* Results page */
    .results-grid       { grid-template-columns: repeat(2, 1fr); }

    /* Ticker */
    .ticker-label       { font-size: 0.7rem; padding: 4px 10px; }

    /* CTA buttons */
    .cta-content .btn   { width: 100%; max-width: 280px; }

    /* Page hero */
    .page-hero          { padding: 50px 0 30px; }
    .page-hero h1       { font-size: 1.7rem; }
    .page-hero p        { font-size: 0.9rem; }

    /* Inline grids */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        direction: ltr !important;
    }

    /* Admission table */
    table               { font-size: 0.8rem; }
    table th, table td  { padding: 0.6rem 0.75rem; }
}

/* ==================== RESPONSIVE — SMALL MOBILE (≤480px) ==================== */
@media (max-width: 480px) {
    .container          { padding: 0 12px; }
    .hero-title         { font-size: 1.75rem; }
    .stats-grid         { grid-template-columns: repeat(2, 1fr); }
    .stat-number        { font-size: 2.2rem; }
    .section-title      { font-size: 1.4rem; }
    .btn-lg             { padding: 12px 22px; font-size: 0.9rem; }
    .site-logo-img      { width: 110px; height: 60px; }
    .results-grid       { grid-template-columns: 1fr; }
    .why-us-grid        { grid-template-columns: 1fr; }

    /* Feature cards */
    .feature-card       { padding: 1.5rem; }
    .feature-icon       { width: 56px; height: 56px; font-size: 1.5rem; }

    /* Course cards */
    .course-card        { border-radius: 14px; }
    .course-body        { padding: 1.25rem; }
}

/* ============================================================
   FULL WIDTH HERO SLIDER  — Fixed & Final
   ============================================================ */

/* Wrapper */
.fullslider-section { display:block; width:100%; overflow:hidden; }

/* The slider box — fixed height, clips overflow */
.fullslider {
    position: relative;          /* anchor for all absolute children */
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #1E0A30;
}

/* ---- Individual slide ---- */
.fullslide {
    position: absolute;
    inset: 0;                    /* top:0 right:0 bottom:0 left:0 */
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.85s ease, visibility 0.85s ease;
    z-index: 1;
}
.fullslide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* ---- Background image layer ---- */
.fullslide-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.fullslide-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* ---- Dark left→right gradient overlay ---- */
.fullslide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        100deg,
        rgba(10, 3, 25, 0.88) 0%,
        rgba(10, 3, 25, 0.65) 45%,
        rgba(10, 3, 25, 0.15) 100%
    );
}

/* ---- Text content — on top of image + overlay ---- */
.fullslide-content {
    position: absolute;
    inset: 0;
    z-index: 3;                  /* ABOVE bg and overlay */
    display: flex;
    align-items: center;
    padding-bottom: 65px;        /* above the stats bar */
}

/* Animation on active slide */
.fullslide.active .fullslide-inner {
    animation: fsIn 0.7s ease both;
}
@keyframes fsIn {
    from { opacity:0; transform:translateX(-35px); }
    to   { opacity:1; transform:translateX(0); }
}

.fullslide-inner { max-width: 580px; }

.fullslide-title {
    font-family: var(--font-heading);
    font-size: 2.7rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.18;
    margin: 0.6rem 0 1rem;
    text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.fullslide-title span { color: var(--primary); }

.fullslide-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 500px;
}

/* ---- Stats bar — pinned to bottom ---- */
.fullslider-stats {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.10);
}
.fullslider-stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 0;
}
.fs-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2.5rem;
}
.fs-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.fs-lbl {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}
.fs-divider { width:1px; height:32px; background:rgba(255,255,255,0.18); }

/* ---- Arrow buttons ---- */
.fs-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    margin-top: -22px;            /* keep above stats bar */
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.13);
    border: 2px solid rgba(255,255,255,0.28);
    color: #fff; font-size: 0.95rem;
    cursor: pointer; z-index: 20;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.22s ease;
    backdrop-filter: blur(4px);
}
.fs-prev { left: 18px; }
.fs-next { right: 18px; }
.fs-arrow:hover { background: var(--primary); border-color: var(--primary); }

/* ---- Vertical dot indicators ---- */
.fs-dots {
    position: absolute;
    right: 20px;
    top: 50%; transform: translateY(-50%);
    margin-top: -22px;
    display: flex; flex-direction: column; gap: 8px; z-index: 20;
}
.fs-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: 2px solid rgba(255,255,255,0.55);
    cursor: pointer; padding: 0;
    transition: all 0.3s ease;
}
.fs-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    height: 28px; border-radius: 5px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .fullslider          { height: 520px; }
    .fullslide-title     { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .fullslider          { height: 440px; }
    .fullslide-title     { font-size: 1.8rem; }
    .fullslide-desc      { font-size: 0.9rem; }
    .fs-stat             { padding: 0 1.25rem; }
    .fs-num              { font-size: 1.15rem; }
}
@media (max-width: 600px) {
    .fullslider          { height: 380px; }
    .fullslide-title     { font-size: 1.45rem; }
    .fullslide-desc      { display: none; }
    .fs-dots             { right: 8px; }
    .fs-divider          { display: none; }
    .fs-stat             { padding: 0 0.8rem; }
    .hero-actions        { flex-direction: column; gap: 0.6rem; }
    .hero-actions .btn   { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 400px) {
    .fullslider          { height: 320px; }
    .fullslide-title     { font-size: 1.2rem; }
    .fs-arrow            { display: none; }
}

/* ==================== MOBILE NAV HEADER (injected by JS) ==================== */
.mobile-nav-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 2px solid #f0eaf8;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}
.menu-close-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #f5f0fc;
    border: none;
    color: var(--secondary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.menu-close-btn:hover { background: var(--primary); color: #fff; }