/* ============================================================
   CERTED TECHNOLOGIES — GLOBAL DESIGN SYSTEM 2026
   Premium EdTech Brand | Enterprise-Grade Quality
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Brand Colors */
    --blue:         #0057FF;
    --blue-dark:    #0041CC;
    --blue-light:   #EBF1FF;
    --red:          #E53935;
    --red-dark:     #B71C1C;
    --red-light:    #FFEBEE;
    --black:        #0F172A;
    --white:        #FFFFFF;
    --gray-50:      #F8FAFC;
    --gray-100:     #F1F5F9;
    --gray-200:     #E2E8F0;
    --gray-300:     #CBD5E1;
    --gray-400:     #94A3B8;
    --gray-500:     #64748B;
    --gray-600:     #475569;
    --gray-700:     #334155;
    --gray-800:     #1E293B;
    --gray-900:     #0F172A;

    /* Semantic Colors */
    --primary:      var(--blue);
    --primary-dark: var(--blue-dark);
    --accent:       var(--red);
    --text-dark:    var(--black);
    --text-muted:   var(--gray-500);
    --text-light:   var(--gray-400);
    --bg-light:     var(--gray-50);
    --bg-white:     var(--white);
    --border:       var(--gray-200);
    --border-dark:  var(--gray-300);

    /* Typography */
    --font-sans:    'Inter', 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

    /* Shadows */
    --shadow-xs:  0 1px 2px rgba(15,23,42,0.05);
    --shadow-sm:  0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md:  0 4px 6px rgba(15,23,42,0.07), 0 2px 4px rgba(15,23,42,0.04);
    --shadow-lg:  0 10px 15px rgba(15,23,42,0.08), 0 4px 6px rgba(15,23,42,0.04);
    --shadow-xl:  0 20px 25px rgba(15,23,42,0.10), 0 8px 10px rgba(15,23,42,0.04);
    --shadow-2xl: 0 25px 50px rgba(15,23,42,0.14);
    --shadow-blue: 0 8px 25px rgba(0,87,255,0.25);
    --shadow-red:  0 8px 25px rgba(229,57,53,0.30);

    /* Radius */
    --r-sm:   8px;
    --r-md:   12px;
    --r-lg:   16px;
    --r-xl:   20px;
    --r-2xl:  24px;
    --r-3xl:  32px;
    --r-full: 9999px;

    /* Spacing */
    --section-py: 120px;
    --section-px: 40px;
    --card-gap:   32px;
    --max-w:      1440px;
    --content-w:  1280px;

    /* Transitions */
    --ease:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: all 0.35s cubic-bezier(0, 0, 0.2, 1);
    --bounce:   all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --spring:   all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Legacy aliases (for backward-compat across existing pages) */
    --primary-color:    #0057FF;
    --primary-light:    #0057FF;
    --primary-dark:     #0F172A;
    --accent-color:     #E53935;
    --accent-light:     #EF5350;
    --primary-gradient: linear-gradient(135deg, #EBF1FF, #DBEAFE);
    --accent-gradient:  linear-gradient(135deg, #E53935, #EF5350);
    --secondary-color:  #64748B;
    --dark-color:       #0F172A;
    --light-color:      #F8FAFC;
    --text-muted:       #64748B;
    --border-color:     #E2E8F0;
    --shadow-md-old:    0 8px 24px rgba(0,87,255,.12);
    --shadow-lg-old:    0 20px 48px rgba(0,87,255,.15);
    --radius-sm:        8px;
    --radius-md:        12px;
    --radius-lg:        20px;
}

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

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family:var(--font-sans);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, iframe { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--ease); }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, .h1 {
    font-family:var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

h2, .h2 {
    font-family:var(--font-display);
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-dark);
}

h3, .h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h4, .h4 { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); }
h5, .h5 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); }
h6, .h6 { font-size: 0.975rem; font-weight: 700; color: var(--text-dark); }

p { margin-bottom: 0; }
.lead {
    font-size: 1.125rem !important;
    line-height: 1.75 !important;
    color: var(--text-muted) !important;
    font-weight: 400;
}
.small, small { font-size: 0.875rem; }

/* Section labels */
.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    padding: 6px 16px;
    border-radius: var(--r-full);
    margin-bottom: 16px;
    border: 1px solid rgba(0,87,255,0.15);
}

.sec-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.sec-title span { color: var(--blue); }
.sec-title .red { color: var(--red); }

.sec-sub {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.75;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container, .container-fluid { padding-left: 20px; padding-right: 20px; }

.section-py { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.section-pt { padding-top: var(--section-py); }
.section-pb { padding-bottom: var(--section-py); }

/* Override Bootstrap py-5 for premium spacing */
.py-5 { padding-top: 80px !important; padding-bottom: 80px !important; }

/* ============================================================
   BUTTONS — PREMIUM SYSTEM
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    border-radius: var(--r-md);
    padding: 12px 24px;
    border: 2px solid transparent;
    transition: var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    line-height: 1.4;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Shimmer effect on buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.22), transparent);
    transition: left 0.55s ease;
}
.btn:hover::before { left: 140%; }

.btn-primary {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
    color: #fff !important;
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    background: var(--blue-dark) !important;
    border-color: var(--blue-dark) !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(0,87,255,0.38) !important;
}

.btn-outline-primary {
    background: transparent !important;
    border-color: var(--blue) !important;
    color: var(--blue) !important;
}
.btn-outline-primary:hover {
    background: var(--blue) !important;
    color: #fff !important;
    box-shadow: var(--shadow-blue);
}

.btn-danger, .btn-red {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #fff !important;
    box-shadow: var(--shadow-red);
}
.btn-danger:hover, .btn-red:hover {
    background: var(--red-dark) !important;
    border-color: var(--red-dark) !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(229,57,53,0.42) !important;
}

.btn-dark {
    background: var(--black) !important;
    border-color: var(--black) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(15,23,42,0.28);
}
.btn-dark:hover {
    background: #1e293b !important;
    color: #fff !important;
    box-shadow: 0 14px 36px rgba(15,23,42,0.38) !important;
}

.btn-white {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--blue) !important;
    font-weight: 700;
}
.btn-white:hover {
    background: var(--blue-light) !important;
    color: var(--blue) !important;
}

.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.8125rem; border-radius: var(--r-sm); }
.btn-xl { padding: 18px 44px; font-size: 1.0625rem; border-radius: var(--r-xl); }

.btn-accent {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}
.btn-accent:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: #fff;
}

/* ============================================================
   NAVBAR (legacy support — primary nav uses header.html inline styles)
   ============================================================ */
.navbar {
    padding: 1rem 0;
    transition: var(--ease);
    position: relative;
    z-index: 9999;
}

.navbar-brand { font-size: 1.5rem; font-weight: 700; }

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0.4rem;
    transition: var(--ease);
    position: relative;
}
.nav-link:hover { color: var(--blue) !important; }
.nav-link.active { color: var(--blue) !important; }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.show { color: var(--blue) !important; }

.dropdown-menu {
    border: none;
    box-shadow: 0 16px 48px rgba(15,23,42,0.16);
    border-radius: var(--r-lg);
    border-top: 3px solid var(--blue);
    animation: fadeInDown 0.25s ease;
    z-index: 10000;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.logo-box {
    display: flex !important;
    align-items: center !important;
    width: 230px !important;
    height: 72px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin-right: 1rem !important;
}
.nav-logo-final {
    display: block !important;
    height: 120px !important;
    width: auto !important;
    max-width: none !important;
    transform: translate(-10px, 2px) scale(1.38) !important;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--blue-light) 0%, #EEF2FF 50%, #E0E7FF 100%);
    position: relative;
    padding: 80px 0 48px;
    border-bottom: 1px solid rgba(0,87,255,.1);
}

.page-header h1, .page-header h2 {
    color: var(--text-dark);
}

.breadcrumb-item a {
    text-decoration: none;
    color: var(--blue);
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-heading {
    text-align: center;
    margin-bottom: 64px;
}

/* ============================================================
   CARDS — PREMIUM SYSTEM
   ============================================================ */
.card {
    border: 1px solid var(--border);
    border-radius: var(--r-xl) !important;
    transition: var(--ease);
    background: #fff;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15,23,42,0.10) !important;
    border-color: rgba(0,87,255,0.15) !important;
}

.course-card {
    transition: var(--ease);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl) !important;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(0,87,255,0.12), 0 4px 14px rgba(15,23,42,0.06) !important;
    border-color: rgba(0,87,255,0.2) !important;
}
.course-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--red));
    opacity: 0;
    transition: opacity 0.3s;
}
.course-card:hover::after { opacity: 1; }

.course-thumbnail {
    height: 200px;
    object-fit: cover;
    background: var(--blue-light);
}
.course-meta { font-size: 0.875rem; color: var(--text-muted); }
.course-rating { color: #F59E0B; }
.course-price { font-size: 1.5rem; font-weight: 800; color: var(--blue); }

.category-card {
    transition: var(--ease);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    cursor: pointer;
    background: #fff;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl) !important;
    border-color: rgba(0,87,255,0.2);
}

.category-icon {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-light);
    border-radius: var(--r-lg);
    margin: 0 auto 1rem;
}

.feature-card {
    border: 1px solid var(--border);
    border-radius: var(--r-2xl) !important;
    transition: var(--bounce);
    background: #fff;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    padding: 2rem !important;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--fc-grad, linear-gradient(90deg, var(--blue), #60A5FA));
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,87,255,0.10), 0 4px 16px rgba(15,23,42,0.05) !important;
    border-color: rgba(0,87,255,0.12) !important;
}
.feature-card:hover::before { opacity: 1; }

.icon-box {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 72px; height: 72px;
    border-radius: var(--r-xl);
    background: var(--blue-light);
    transition: var(--bounce);
    margin-bottom: 1.25rem;
}
.feature-card:hover .icon-box { transform: scale(1.1) rotate(-5deg); }

.testimonial-card {
    border: 1.5px solid var(--border);
    border-radius: var(--r-2xl) !important;
    transition: var(--ease);
    background: #fff;
    padding: 28px;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(0,87,255,0.10) !important;
    border-color: rgba(0,87,255,0.18) !important;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
    border-radius: var(--r-md) !important;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: #fff;
    transition: var(--ease);
}
.form-control:focus, .form-select:focus {
    border-color: var(--blue) !important;
    box-shadow: 0 0 0 4px rgba(0,87,255,0.1) !important;
    outline: none;
}
.form-control::placeholder { color: var(--gray-400); }

/* ============================================================
   BADGES
   ============================================================ */
.badge-primary {
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: var(--r-full);
    text-transform: uppercase;
    border: 1px solid rgba(0,87,255,0.15);
}
.badge-red {
    background: var(--red-light);
    color: var(--red);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: var(--r-full);
    border: 1px solid rgba(229,57,53,0.15);
}
.badge-dark {
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: var(--r-full);
}
.dd-badge { font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 20px; text-transform: uppercase; letter-spacing: .3px; flex-shrink: 0; }
.dd-badge.hot     { background: #FEF3C7; color: #92400E; }
.dd-badge.new     { background: #DCFCE7; color: #166534; }
.dd-badge.popular { background: var(--blue-light); color: var(--blue); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination .page-link {
    border-radius: var(--r-md);
    margin: 0 3px;
    border: 1.5px solid var(--border);
    color: var(--blue);
    font-weight: 600;
    transition: var(--ease);
}
.pagination .page-item.active .page-link {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: var(--shadow-blue);
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar-section {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0 !important;
}

#searchForm { display: flex; flex-wrap: nowrap; gap: 12px; align-items: stretch; }
#searchForm .input-group { flex: 1; min-width: 0; border-radius: var(--r-md); overflow: visible; }
#searchForm .input-group-text {
    border-radius: var(--r-md) 0 0 var(--r-md);
    border: 1.5px solid var(--border);
    border-right: none;
    background: #fff;
    min-width: 52px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    transition: border-color 0.25s;
}
#searchForm .form-control, #courseSearchInput {
    border: 1.5px solid var(--border) !important;
    border-left: none !important;
    border-radius: 0 var(--r-md) var(--r-md) 0 !important;
    height: 56px;
    box-shadow: none !important;
    font-size: 0.95rem;
    color: var(--text-dark);
}
#searchForm .form-control:focus, #courseSearchInput:focus { border-color: var(--blue) !important; }
#searchForm .input-group:focus-within .input-group-text { border-color: var(--blue); }

.search-bar-section .btn.btn-primary {
    background: var(--blue) !important;
    border: none !important;
    border-radius: var(--r-md) !important;
    height: 56px;
    padding: 0 28px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff !important;
    box-shadow: var(--shadow-blue) !important;
}
.search-bar-section .btn.btn-primary:hover {
    background: var(--blue-dark) !important;
    box-shadow: 0 12px 30px rgba(0,87,255,0.38) !important;
}

.suggestions-box {
    position: absolute; top: calc(100% + 6px); left: 0; width: 100%;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: var(--r-md); box-shadow: var(--shadow-xl);
    z-index: 999; max-height: 280px; overflow-y: auto; display: none;
}
.suggestion-item {
    padding: 11px 18px; cursor: pointer;
    font-size: 0.9rem; color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: var(--ease);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover {
    background: var(--gray-50);
    color: var(--blue);
    padding-left: 24px;
}

/* ============================================================
   COMPANY / LOGO SLIDER SECTION
   ============================================================ */
.company-section {
    background: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.company-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--blue-light);
    border: 1px solid rgba(0,87,255,0.15);
    color: var(--blue);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px; border-radius: var(--r-full);
    margin-bottom: 16px;
}
.slider-viewport { overflow: hidden; width: 100%; }
.slide-track {
    display: flex; gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}
.slide {
    min-width: calc((100% - 60px) / 4);
    height: 160px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 24px 20px 18px;
    box-shadow: var(--shadow-md);
    transition: var(--bounce);
    gap: 10px;
}
.slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 52px rgba(0,87,255,0.12), 0 4px 16px rgba(15,23,42,0.06);
    border-color: rgba(0,87,255,0.2);
}
.slide img {
    width: 72px; height: 72px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(40%);
}
.slide:hover img { transform: scale(1.12); filter: grayscale(0%); }
.slide-name {
    font-size: 0.75rem; font-weight: 600;
    color: var(--text-muted); letter-spacing: 0.3px; margin: 0;
}
.nav-btn {
    width: 44px; height: 44px;
    border: none; border-radius: var(--r-full);
    background: var(--blue);
    color: #fff; font-size: 16px;
    cursor: pointer; flex-shrink: 0;
    transition: var(--bounce);
    box-shadow: var(--shadow-blue);
    display: flex; align-items: center; justify-content: center;
}
.nav-btn:hover {
    background: var(--blue-dark);
    transform: scale(1.1);
    box-shadow: 0 14px 30px rgba(0,87,255,0.38);
}
.slider-dots {
    display: flex; justify-content: center;
    align-items: center; gap: 8px; margin-top: 28px;
}
.slider-dots .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border); cursor: pointer; transition: var(--ease);
}
.slider-dots .dot.active {
    background: var(--blue); width: 24px; border-radius: 4px;
    box-shadow: 0 0 0 4px rgba(0,87,255,0.12);
}
.company-slider-wrapper {
    position: relative; display: flex; align-items: center; gap: 16px;
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.categories-section { background: var(--gray-50); }
.categories-section .card {
    border: 1.5px solid var(--border) !important;
    border-radius: var(--r-2xl) !important;
    transition: var(--bounce);
    background: #fff;
    box-shadow: var(--shadow-sm) !important;
    overflow: hidden; position: relative;
}
.categories-section .card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--red));
    opacity: 0; transition: opacity 0.3s;
}
.categories-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(0,87,255,0.12), 0 4px 14px rgba(15,23,42,0.06) !important;
    border-color: rgba(0,87,255,0.18) !important;
}
.categories-section .card:hover::after { opacity: 1; }
.categories-section .card .fa-3x { transition: var(--bounce); display: block; }
.categories-section .card:hover .fa-3x { transform: scale(1.18) rotate(-5deg); }
.categories-section .card h5 { color: var(--text-dark); font-weight: 700; font-size: 1.05rem; }
.categories-section .card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ============================================================
   WHY CHOOSE SECTION
   ============================================================ */
.why-choose-section {
    background: linear-gradient(180deg, #EBF1FF 0%, var(--gray-50) 60%, #fff 100%);
    position: relative; overflow: hidden;
}
.why-choose-section > .container { position: relative; z-index: 2; }
.why-choose-section::before {
    content: '';
    position: absolute; top: -200px; right: -150px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,87,255,0.06) 0%, transparent 65%);
    pointer-events: none;
}
.wc-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--blue-light);
    border: 1px solid rgba(0,87,255,0.18);
    color: var(--blue);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px; border-radius: var(--r-full);
    margin-bottom: 16px;
}
.fc-blue   { --fc-grad: linear-gradient(135deg, #0057FF, #60A5FA); }
.fc-purple { --fc-grad: linear-gradient(135deg, #7C3AED, #A78BFA); }
.fc-teal   { --fc-grad: linear-gradient(135deg, #0891B2, #22D3EE); }
.fc-amber  { --fc-grad: linear-gradient(135deg, #D97706, #FCD34D); }
.feature-card .icon-box {
    width: 72px; height: 72px; border-radius: 18px;
    border: 1.5px solid transparent;
    flex-shrink: 0;
}
.fc-blue   .icon-box { background: linear-gradient(135deg,rgba(0,87,255,.08),rgba(96,165,250,.04)); border-color: rgba(0,87,255,.14); }
.fc-purple .icon-box { background: linear-gradient(135deg,rgba(124,58,237,.08),rgba(167,139,250,.04)); border-color: rgba(124,58,237,.14); }
.fc-teal   .icon-box { background: linear-gradient(135deg,rgba(8,145,178,.08),rgba(34,211,238,.04)); border-color: rgba(8,145,178,.14); }
.fc-amber  .icon-box { background: linear-gradient(135deg,rgba(217,119,6,.08),rgba(252,211,77,.04)); border-color: rgba(217,119,6,.14); }
.fc-blue   .icon-box i { color: var(--blue); }
.fc-purple .icon-box i { color: #7C3AED; }
.fc-teal   .icon-box i { color: #0891B2; }
.fc-amber  .icon-box i { color: #D97706; }
.feature-card .icon-box i { font-size: 1.75rem; }
.feature-card h5 { color: var(--text-dark); font-weight: 800; font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.75; flex: 1; }
.feature-card .fc-link {
    font-size: 0.82rem; font-weight: 700; color: var(--blue);
    display: inline-flex; align-items: center; gap: 5px;
    transition: gap 0.2s; margin-top: auto;
}
.feature-card:hover .fc-link { gap: 10px; }
/* Premium stat band */
.wc-stat-band {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1e1b4b 100%);
    border-radius: var(--r-2xl);
    padding: 36px 28px;
    margin-top: 2.5rem;
}
.wc-stat-item { text-align: center; padding: 6px 0; position: relative; }
.wc-stat-item:not(:last-child)::after {
    content: ''; position: absolute;
    right: 0; top: 15%; height: 70%; width: 1px;
    background: rgba(255,255,255,.1);
}
.wc-stat-num {
    font-size: 2.2rem; font-weight: 900; letter-spacing: -1.5px; line-height: 1;
    background: linear-gradient(135deg, #60A5FA, #BFDBFE);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.wc-stat-item:nth-child(2) .wc-stat-num { background: linear-gradient(135deg,#A78BFA,#DDD6FE); -webkit-background-clip:text; background-clip:text; }
.wc-stat-item:nth-child(3) .wc-stat-num { background: linear-gradient(135deg,#67E8F9,#A5F3FC); -webkit-background-clip:text; background-clip:text; }
.wc-stat-item:nth-child(4) .wc-stat-num { background: linear-gradient(135deg,#FCD34D,#FEF08A); -webkit-background-clip:text; background-clip:text; }
.wc-stat-label { font-size: 0.75rem; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-top: 7px; }
@media (max-width:575px) {
    .wc-stat-item:nth-child(2)::after { display: none; }
    .wc-stat-item { padding: 14px 0; }
    .wc-stat-num { font-size: 1.9rem; }
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
    background: #F8FAFC;
    padding: 88px 0 72px;
    position: relative; overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #2563EB 30%, #4F46E5 70%, transparent 100%);
}
.testimonial-heading h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800; color: var(--text-dark);
    letter-spacing: -0.03em;
}
.testimonial-heading h2 span { color: var(--blue); }
.testimonial-heading p { color: var(--text-muted); font-size: 1rem; }
.testimonial-blue-line {
    width: 64px; height: 4px;
    background: linear-gradient(90deg, #2563EB, #4F46E5);
    margin: 16px auto 48px; border-radius: 4px;
}
.testimonial-slider-wrapper { position: relative; }

/* Fade edges */
.testimonial-slider-wrapper::before,
.testimonial-slider-wrapper::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 3; pointer-events: none;
}
.testimonial-slider-wrapper::before { left: 0; background: linear-gradient(90deg, #F8FAFC, transparent); }
.testimonial-slider-wrapper::after  { right: 0; background: linear-gradient(-90deg, #F8FAFC, transparent); }

.testimonial-slider {
    display: flex; gap: 20px; overflow-x: auto;
    scroll-behavior: smooth; padding: 12px 12px 32px;
    scrollbar-width: none;
}
.testimonial-slider::-webkit-scrollbar { display: none; }
.testimonial-card {
    min-width: 300px; max-width: 300px;
    background: #fff;
    border: 1.5px solid #E8EDF5;
    border-radius: 20px !important;
    padding: 24px 22px 18px;
    position: relative; flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(15,23,42,.06), 0 1px 4px rgba(15,23,42,.04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    border-top: 3px solid transparent;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(37,99,235,.12), 0 4px 16px rgba(15,23,42,.06);
    border-color: rgba(37,99,235,.25);
    border-top-color: #2563EB;
}

/* Large quote mark */
.testimonial-card::before {
    content: "\201C";
    position: absolute; top: 10px; right: 18px;
    font-size: 72px; line-height: 1;
    color: #2563EB; font-weight: 900; opacity: 0.08;
    font-family: Georgia, serif;
}

/* Avatar + name row */
.testimonial-top {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px; position: relative; z-index: 2;
}
.testimonial-image {
    width: 52px; height: 52px; min-width: 52px;
    border-radius: 50%; object-fit: cover;
    border: 2.5px solid #BFDBFE;
    box-shadow: 0 4px 12px rgba(37,99,235,.18);
    flex-shrink: 0;
}
.testimonial-user-info { padding-left: 0; }
.testimonial-name { font-size: 0.97rem; font-weight: 800; color: var(--text-dark); margin-bottom: 3px; }
.testimonial-stars { color: #F59E0B; font-size: 0.82rem; letter-spacing: 1px; }

/* Role line */
.testimonial-role {
    color: #2563EB; font-size: 0.78rem; font-weight: 700;
    margin-bottom: 10px; position: relative; z-index: 2;
    display: flex; align-items: center; gap: 7px;
}
.testimonial-role::before {
    content: ''; width: 14px; height: 2px;
    background: #2563EB; border-radius: 2px; flex-shrink: 0;
}

/* Divider */
.testimonial-divider {
    height: 1px; background: #F1F5F9; margin-bottom: 12px;
}

.testimonial-review {
    font-size: 0.875rem; color: #475569; line-height: 1.75;
    margin: 0 0 14px; font-style: italic; position: relative; z-index: 2;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical; 
    overflow: hidden;
}
.testimonial-footer {
    display: flex; justify-content: flex-end;
    border-top: 1px solid #F1F5F9; padding-top: 12px;
}
.read-more-btn {
    background: none; border: none; color: #2563EB;
    font-style: normal; font-weight: 600; font-size: 0.82rem;
    cursor: pointer; padding: 0; transition: var(--ease);
    display: flex; align-items: center; gap: 5px;
}
.read-more-btn:hover { color: #1D4ED8; gap: 8px; }

/* Nav buttons — positioned below the heading, right-aligned */
.testimonial-nav {
    width: 40px; height: 40px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: #2563EB; font-size: 15px; cursor: pointer; z-index: 5;
    transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(15,23,42,.08);
    position: absolute; top: -6px;
}
.testimonial-nav.prev { right: 52px; }
.testimonial-nav.next { right: 4px; }
.testimonial-nav:hover {
    background: #2563EB; color: #fff;
    border-color: #2563EB;
    box-shadow: 0 6px 18px rgba(37,99,235,.3);
    transform: scale(1.08);
}
.student-modal-content { border-radius: var(--r-2xl); border: none; box-shadow: var(--shadow-2xl); }
.student-modal-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid var(--blue); box-shadow: 0 8px 24px rgba(0,87,255,0.22); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 50%, var(--black) 100%) !important;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px; pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800; letter-spacing: -0.03em; color: #fff !important;
}
.cta-section .btn-warning {
    background: linear-gradient(135deg, #F59E0B, #FBBF24) !important;
    border: none !important; color: #0F172A !important;
    font-weight: 700; border-radius: var(--r-md) !important;
    box-shadow: 0 8px 28px rgba(245,158,11,0.35);
    transition: var(--bounce);
}
.cta-section .btn-warning:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 36px rgba(245,158,11,0.46);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
    background: var(--gray-50);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.newsletter-section h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800; color: var(--text-dark); letter-spacing: -0.02em;
}
.newsletter-section .form-control { height: 52px; border: 1.5px solid var(--border); }
.newsletter-section .form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,87,255,0.1); }
.newsletter-section .btn-primary {
    background: var(--blue) !important; border: none !important;
    border-radius: var(--r-md) !important; height: 52px;
    padding: 0 28px; font-weight: 700; font-size: 0.95rem;
    box-shadow: var(--shadow-blue);
}
.newsletter-section .btn-primary:hover { background: var(--blue-dark) !important; box-shadow: 0 12px 30px rgba(0,87,255,0.38); }

/* ============================================================
   QUICK ENQUIRY MODAL
   ============================================================ */
.quick-enquiry-modal {
    border-radius: var(--r-2xl); overflow: hidden; position: relative;
    background: linear-gradient(135deg, #EBF1FF 0%, #EEF2FF 52%, #E0E7FF 100%);
    box-shadow: var(--shadow-2xl); border: 1px solid rgba(0,87,255,.12);
}
.quick-enquiry-close {
    position: absolute; top: 16px; right: 16px; z-index: 10;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,87,255,0.1); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: bold;
    border: 1.5px solid rgba(0,87,255,0.2); transition: var(--ease); cursor: pointer;
}
.quick-enquiry-close:hover { background: rgba(0,87,255,0.18); }
.quick-input {
    border: 1.5px solid var(--border) !important;
    border-radius: var(--r-md) !important;
    background: var(--gray-50) !important;
    padding: 13px 16px !important; font-size: 0.9rem;
    color: var(--text-dark) !important; transition: var(--ease);
}
.quick-input:focus {
    border-color: var(--blue) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(0,87,255,0.1) !important;
}
.quick-submit-btn {
    background: var(--blue); border: none; color: #fff;
    padding: 13px; border-radius: var(--r-md);
    font-size: 0.95rem; font-weight: 800;
    box-shadow: var(--shadow-blue); transition: var(--bounce);
}
.quick-submit-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,87,255,0.38); color: #fff; }
#quickEnquiryModal .modal-dialog { max-width: 960px; }

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.floating-actions {
    position: fixed; right: 24px; bottom: 24px;
    z-index: 9999; display: flex; flex-direction: column; gap: 12px;
}
.floating-btn {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: var(--ease); text-decoration: none !important;
    border: none !important; outline: none !important;
    animation: pulseBtn 2.5s infinite;
}
.floating-btn:hover { transform: scale(1.12); color: #fff; }
.floating-btn::after { display: none !important; }
.floating-enquiry { background: var(--blue); }
.floating-whatsapp { background: #25D366 !important; }
.floating-top { background: var(--black); }
@keyframes pulseBtn {
    0%,100% { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
    50%      { box-shadow: 0 4px 28px rgba(0,0,0,0.36); }
}

/* ============================================================
   HERO SECTION (Used by index.html)
   ============================================================ */
.hero-section {
    background: #fff;
    position: relative; overflow: hidden;
}

/* ============================================================
   CONTACT INFO
   ============================================================ */
.contact-info li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .9rem; }
.contact-info li i { margin-top: 3px; color: var(--blue); min-width: 16px; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast { position: fixed; top: 80px; right: 20px; z-index: 9999; min-width: 300px; }

/* ============================================================
   MODAL
   ============================================================ */
#quickEnquiryModal .modal-content { border: none; box-shadow: var(--shadow-2xl); border-radius: var(--r-2xl); }
#quickEnquiryModal .form-control:focus,
#quickEnquiryModal .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,87,255,0.12); }
.modal.fade .modal-dialog { transition: transform 0.3s ease-out; transform: scale(0.88); }
.modal.show .modal-dialog { transform: scale(1); }

/* ============================================================
   DROPDOWN SUBMENU
   ============================================================ */
.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-top: -5px; display: none; position: absolute; }
.dropdown-submenu:hover > .dropdown-menu { display: block; }
.navbar li { list-style: none; }

/* ============================================================
   FOOTER (dark premium — new style)
   ============================================================ */
footer { background-color: var(--black); }
footer a { transition: var(--ease); }
footer a:hover { color: var(--blue) !important; }
.social-links a {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: var(--ease); text-decoration: none !important;
}
.social-links a:hover { transform: translateY(-3px); }
.social-links a::after { display: none !important; }
.social-links a:hover i { color: var(--blue); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.bg-gradient { background: var(--blue-light) !important; }
.text-primary { color: var(--blue) !important; }
.text-danger  { color: var(--red) !important; }
.text-gradient {
    background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.text-accent  { color: var(--red) !important; }
.bg-accent    { background: var(--red) !important; }
.bg-primary   { background: var(--blue) !important; }
.bg-black     { background: var(--black) !important; }
.bg-light-gray { background: var(--gray-50) !important; }
.shadow-hover { transition: var(--ease); }
.shadow-hover:hover { box-shadow: 0 1rem 3rem rgba(0,87,255,0.18) !important; }
.cursor-pointer { cursor: pointer; }
.text-balance { text-wrap: balance; }
.min-vh-90 { min-height: 90vh; }
.main-heading { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--text-dark); }
.main-heading .text-primary { background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent !important; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in { animation: fadeInUp 0.55s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ============================================================
   CHATBOT
   ============================================================ */
#chatbotContainer {
    display: none; position: fixed;
    right: 20px; bottom: 90px;
    width: 370px; height: min(640px, calc(100vh - 120px));
    max-height: calc(100vh - 120px);
    background: #fff; border-radius: var(--r-2xl); overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.2); z-index: 10000;
}
#chatbotContainer iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================================
   HERO SLIDER (re-used from index.html)
   ============================================================ */
.hero-inner { display: flex; align-items: stretch; width: 100%; min-height: 600px; }
.hero-left { flex: 0 0 38%; width: 38%; padding: 64px 48px 64px 60px; background: #fff; display: flex; align-items: center; position: relative; z-index: 2; }
.hero-right { flex: 1; position: relative; overflow: hidden; min-height: 600px; }
.img-slider { position: relative; width: 100%; height: 100%; min-height: 600px; overflow: hidden; }
.img-slides { display: flex; height: 100%; min-height: 600px; transition: transform 0.65s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.img-slide { min-width: 100%; height: 100%; min-height: 600px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.htxt-slides { width: 100%; }
.htxt-slide { display: none; }
.htxt-slide.active { display: block; animation: htxtFadeUp 0.45s ease; }
@keyframes htxtFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.slide-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-light); color: var(--blue); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 30px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.slide-title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.4rem); font-weight: 900; line-height: 1.18; color: var(--black); letter-spacing: -0.025em; margin-bottom: 16px; }
.slide-title span { color: var(--blue); }
.slide-sub { font-size: 1rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 30px; max-width: 520px; }
.hero-prev, .hero-next { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1.5px solid var(--border); box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; color: var(--gray-600); font-size: 16px; transition: var(--ease); }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-prev:hover, .hero-next:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: .3s; }
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.blob-wrap { position: relative; width: 440px; height: 540px; display: flex; justify-content: center; align-items: flex-end; }
.blob-ring { position: absolute; width: 310px; height: 460px; border-radius: 26px; top: 12px; left: 50%; transform: translateX(-50%) rotate(-3deg); z-index: 1; pointer-events: none; }
.blob-img-wrap { position: relative; z-index: 2; width: 292px; height: 430px; border-radius: 22px; overflow: hidden; box-shadow: 0 32px 72px rgba(15,23,42,0.26), 0 8px 24px rgba(0,0,0,.12); border: 5px solid #fff; margin-bottom: 14px; flex-shrink: 0; }
.blob-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; display: block; transition: transform 0.65s ease; }
.blob-img-wrap:hover img { transform: scale(1.05); }
.blob-notif { position: absolute; bottom: 58px; left: -8px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 10px; z-index: 7; animation: floatNotif 3.5s ease-in-out infinite; max-width: 200px; }
.blob-notif .notif-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; flex-shrink: 0; }
.blob-notif .notif-txt { font-size: 11px; color: var(--gray-600); line-height: 1.4; }
.blob-notif .notif-txt strong { display: block; font-size: 12px; color: var(--black); }
@keyframes floatNotif { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.slide-metrics { display: flex; gap: 24px; flex-wrap: wrap; }
.slide-metric { display: flex; align-items: center; gap: 8px; }
.slide-metric .sm-val { font-size: 1.3rem; font-weight: 900; color: var(--black); line-height: 1; }
.slide-metric .sm-lbl { font-size: 11px; color: var(--gray-500); font-weight: 500; line-height: 1.3; }
.slide-metric .sm-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 14px; flex-shrink: 0; }
.slide-right { flex-shrink: 0; width: 500px; max-width: 50%; position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.slide-search { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; height: 52px; max-width: 500px; box-shadow: var(--shadow-lg); margin-bottom: 28px; transition: border-color .2s, box-shadow .2s; }
.slide-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,87,255,0.1); }
.slide-search input { flex: 1; border: none; outline: none; font-size: 14px; color: var(--text-dark); padding: 0 16px; background: transparent; }
.slide-search input::placeholder { color: var(--gray-400); }
.slide-search button { width: 52px; height: 52px; background: var(--blue); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.slide-search button:hover { background: var(--blue-dark); }
.slide-search button i { color: #fff; font-size: 15px; }

/* ============================================================
   ZOOM / FREE SESSION SECTION
   ============================================================ */
.zoom-section { padding: 0; background: #fff; position: relative; overflow: hidden; }
.zoom-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 65% at 5% 50%, rgba(0,87,255,0.04) 0%, transparent 60%), radial-gradient(ellipse 45% 55% at 95% 50%, rgba(229,57,53,0.03) 0%, transparent 60%); pointer-events: none; }
.zoom-inner { display: flex; align-items: center; gap: 64px; padding: 80px 48px; position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.zoom-left { flex: 1; min-width: 0; }
.zoom-live-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,87,255,0.07); border: 1px solid rgba(0,87,255,0.18); color: var(--blue); font-size: 0.72rem; font-weight: 700; padding: 7px 16px; border-radius: var(--r-full); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 28px; }
.zoom-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.3); animation: zlPulse 1.8s ease-in-out infinite; flex-shrink: 0; }
@keyframes zlPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.3); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); } }
.zoom-heading { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.75rem); font-weight: 900; color: var(--black); line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 18px; }
.zoom-heading .zh-accent { color: var(--blue); }
.zoom-sub { font-size: 1.05rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 36px; max-width: 520px; }
.zoom-feat-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.zfl-item { display: flex; align-items: center; gap: 14px; color: var(--gray-700); font-size: 0.925rem; font-weight: 500; }
.zfl-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--blue-light); border: 1px solid rgba(0,87,255,0.14); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; color: var(--blue); }
.zoom-cta-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; font-size: 0.95rem; font-weight: 700; padding: 16px 36px; border-radius: var(--r-full); text-decoration: none; box-shadow: var(--shadow-blue); transition: var(--bounce); position: relative; overflow: hidden; }
.zoom-cta-btn:hover { color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 40px rgba(0,87,255,0.45); background: var(--blue-dark); }
.zoom-right { flex: 0 0 380px; width: 380px; }
.zoom-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-2xl); }
.zc-topbar { background: linear-gradient(135deg, var(--black), var(--blue)); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.zc-topbar-left { display: flex; align-items: center; gap: 10px; }
.zc-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--red)); display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; border: 2px solid rgba(255,255,255,0.3); flex-shrink: 0; }
.zc-consultant-name { font-size: 0.875rem; font-weight: 700; color: #fff; }
.zc-consultant-role { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.zc-live-chip { display: flex; align-items: center; gap: 5px; background: rgba(34,197,94,0.2); border: 1px solid rgba(34,197,94,0.4); color: #86efac; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.zc-body { padding: 24px; }
.zc-session-info { background: var(--gray-50); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 20px; margin-bottom: 20px; }
.zc-session-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.zc-session-row:last-child { margin-bottom: 0; }
.zcs-label { font-size: 0.75rem; color: var(--gray-400); font-weight: 500; }
.zcs-val { font-size: 0.82rem; color: var(--text-dark); font-weight: 600; }
.zcs-val.free { color: #22c55e; font-weight: 800; }
.zcs-timer { font-size: 0.82rem; font-weight: 700; color: #F59E0B; display: flex; align-items: center; gap: 5px; }
.zc-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.zc-topic { background: var(--blue-light); border: 1px solid rgba(0,87,255,0.2); color: var(--blue); font-size: 0.72rem; font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.zc-join-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; background: var(--blue); color: #fff; font-size: 0.9rem; font-weight: 700; border-radius: var(--r-md); text-decoration: none; box-shadow: var(--shadow-blue); transition: var(--bounce); }
.zc-join-btn:hover { color: #fff; transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 12px 28px rgba(0,87,255,0.45); }
.zc-stars { display: flex; align-items: center; gap: 6px; margin-top: 16px; justify-content: center; }
.zc-stars i { color: #F59E0B; font-size: 13px; }
.zc-stars span { font-size: 0.78rem; color: var(--gray-400); margin-left: 2px; }
.zoom-slot-chip { display: flex; align-items: center; gap: 6px; background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25); color: #D97706; font-size: 0.72rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; justify-content: center; margin-top: 14px; }
.zoom-trust { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.zt-avatars { display: flex; }
.zt-avatars span { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); border: 2px solid rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; margin-left: -8px; }
.zt-avatars span:first-child { margin-left: 0; }
.zt-text { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; line-height: 1.4; }
.zt-text strong { color: var(--blue); font-weight: 700; }

/* ============================================================
   COURSE HERO REDESIGN (FutureLearn-style — inner pages)
   ============================================================ */
.course-hero-redesign { background: #fff !important; border-bottom: 1px solid var(--border); padding: 60px 0 48px; }
.ch-badge { display: inline-flex; align-items: center; gap: 6px; background: #EFF6FF; color: #1D4ED8; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; border: 1px solid #BFDBFE; }
.ch-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: var(--black); line-height: 1.2; margin-bottom: 14px; }
.ch-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.ch-stars { color: #F59E0B; font-size: 1rem; letter-spacing: 1px; }
.ch-rating-num { font-size: 0.9rem; font-weight: 800; color: var(--blue); }
.ch-rating-count { font-size: 0.82rem; color: var(--gray-500); }
.ch-rating-enrolled { font-size: 0.82rem; color: var(--gray-700); font-weight: 600; padding-left: 10px; border-left: 1px solid var(--border); display: flex; align-items: center; gap: 5px; }
.ch-desc { font-size: 0.95rem; color: var(--gray-700); line-height: 1.72; margin-bottom: 18px; }
.ch-highlights { list-style: none; padding: 0; margin-bottom: 22px; }
.ch-highlights li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; color: var(--gray-700); margin-bottom: 9px; line-height: 1.5; }
.ch-highlights li i { color: var(--blue); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }
.ch-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; position: relative;
    z-index: 9999;}
.ch-btn-primary { background: linear-gradient(135deg, #2563EB, #4F46E5); color: #fff; border: none; padding: 12px 26px; border-radius: var(--r-md); font-size: 0.92rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: var(--ease); box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.ch-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,235,.38); color: #fff; }
.ch-btn-secondary { background: transparent; color: var(--blue); border: 2px solid var(--blue); padding: 11px 22px; border-radius: var(--r-md); font-size: 0.88rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: var(--ease); }
.ch-btn-secondary:hover { background: var(--blue); color: #fff; }
.ch-stats { display: flex; flex-wrap: wrap; gap: 14px; padding: 16px 0 0; border-top: 1px solid var(--border); }
.ch-stat { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--gray-700); }
.ch-stat i { color: var(--blue); font-size: 0.88rem; }
.ch-stat strong { color: var(--black); }
.ch-image-wrap { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 20px 60px rgba(37,99,235,0.14); }
.ch-image-wrap img { width: 100%; height: 260px; object-fit: cover; display: block; }
.ch-info-card { background: #fff; padding: 20px 22px; border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: var(--shadow-lg); }
/* Fee/price elements hidden */
.ch-info-price { display: none; }
.ch-urgency    { display: none; }
.ch-price-current, .ch-price-old, .ch-price-discount { display: none; }
.ch-info-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.ch-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.79rem; color: var(--gray-600); width: calc(50% - 4px); }
.ch-meta-item i { color: var(--blue); width: 14px; text-align: center; }
.ch-enroll-btn { display: block; text-align: center; background: linear-gradient(135deg, #2563EB, #4F46E5); color: #fff; padding: 14px 20px; border-radius: var(--r-md); font-size: 0.97rem; font-weight: 800; text-decoration: none; transition: var(--ease); margin-bottom: 10px; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.ch-enroll-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,235,.38); color: #fff; }
.ch-brochure-btn { display: block; text-align: center; background: #fff; color: var(--blue); padding: 10px 20px; border-radius: var(--r-md); font-size: 0.85rem; font-weight: 700; text-decoration: none; border: 2px solid var(--blue); transition: var(--ease); }
.ch-brochure-btn:hover { background: var(--blue); color: #fff; }
.ch-guarantee { text-align: center; font-size: 0.73rem; color: var(--gray-500); margin-top: 8px; }

/* Bootstrap overrides */
.text-primary { color: var(--blue) !important; }
.btn-primary { background: var(--blue) !important; border-color: var(--blue) !important; }
.btn-primary:hover { background: var(--blue-dark) !important; border-color: var(--blue-dark) !important; }
.bg-primary { background: var(--blue) !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.show { color: var(--blue) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .hero-section { min-height: auto; padding: 3rem 0; }
    .hero-inner { flex-direction: column; min-height: auto; }
    .hero-left { flex: none; width: 100%; max-width: 100%; padding: 44px 24px 32px; }
    .hero-right { width: 100%; min-height: 480px; }
    .img-slider, .img-slides, .img-slide { min-height: 480px; }
    .zoom-inner { flex-direction: column; padding: 48px 24px; gap: 32px; }
    .zoom-right { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
    .floating-actions { right: 15px !important; bottom: 15px !important; }
    .floating-btn { width: 46px; height: 46px; font-size: 1.1rem; }
    .display-3 { font-size: 2rem; }
    .display-4 { font-size: 1.75rem; }
    #chatbotContainer { width: calc(100% - 20px); right: 10px; left: 10px; bottom: 85px; height: 65vh; border-radius: var(--r-xl); }
    .testimonial-card { min-width: 280px; max-width: 280px; }
    .slide { min-width: calc((100% - 20px) / 2); }
    .course-hero-redesign { padding: 36px 0 32px; }
    .ch-image-wrap img { height: 200px; }
    :root { --section-py: 64px; }
}

@media (max-width: 576px) {
    .hero-left { padding: 36px 16px 24px; }
    .hero-right { min-height: 420px; }
    .img-slider, .img-slides, .img-slide { min-height: 420px; }
    .blob-wrap { width: 280px; height: 400px; }
    .blob-img-wrap { width: 228px; height: 316px; border-width: 4px; }
    .blob-ring { width: 238px; height: 338px; }
    :root { --section-py: 48px; }
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE SYSTEM — ALL PAGES
   Added at bottom for highest specificity
   Desktop remains untouched. Mobile/tablet fixes only.
   ============================================================ */

/* ── Global overflow prevention ── */
html, body { overflow-x: hidden; max-width: 100vw; }
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, svg, canvas, lottie-player { max-width: 100%; height: auto; }
table { max-width: 100%; }
pre, code { overflow-x: auto; word-break: break-word; }

/* ── Responsive tables ── */
.table-responsive-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Touch-friendly buttons ── */
@media (max-width: 768px) {
    .btn, button, [type="submit"], [type="button"],
    .nav-link, a.btn { min-height: 44px; }
}

/* ── 1400px — Large Desktop ── */
@media (max-width: 1400px) {
    .container { max-width: 100%; }
}

/* ── 1200px — Standard Desktop / Large Tablet ── */
@media (max-width: 1200px) {
    .container { max-width: 100%; padding-left: 24px; padding-right: 24px; }
    .zoom-right { flex: 0 0 340px; width: 340px; }
    .slide-right { width: 420px; max-width: 45%; }
}

/* ── 992px — Tablet Landscape ── */
@media (max-width: 992px) {
    .container { padding-left: 20px; padding-right: 20px; }
    :root { --section-py: 72px; }

    .zoom-inner { flex-direction: column; gap: 32px; padding: 56px 24px; }
    .zoom-left { text-align: center; }
    .zoom-sub { margin-left: auto; margin-right: auto; }
    .zoom-right { flex: none; width: 100%; max-width: 440px; margin: 0 auto; }

    .slide-right { width: 100%; max-width: 100%; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }

    .ch-btns { flex-wrap: wrap; }
    .ch-stats { flex-wrap: wrap; }
    .ch-meta-item { width: calc(50% - 4px); }

    #chatbotContainer { width: calc(100% - 30px); right: 15px; }
}

/* ── 768px — Tablet Portrait ── */
@media (max-width: 768px) {
    .container { padding-left: 16px; padding-right: 16px; }
    :root { --section-py: 56px; --card-gap: 20px; }

    .section-heading { margin-bottom: 40px; }
    .sec-title, .main-heading { font-size: clamp(1.4rem, 5vw, 2rem); }
    .sec-sub, .lead { font-size: 0.95rem; }

    .hero-inner { grid-template-columns: 1fr; }
    .hero-left { padding: 36px 20px 28px; }

    .slide { min-width: calc(50% - 10px); }
    .slide img { width: 56px; height: 56px; }

    .testimonial-card { min-width: 270px; max-width: 270px; padding: 22px 18px; }

    .zoom-card { max-width: 100%; }
    .zc-body { padding: 20px; }

    .feature-card { padding: 1.5rem; }
    .feature-card .icon-box { width: 60px; height: 60px; }
    .feature-card .icon-box i { font-size: 1.5rem; }

    .course-thumbnail { height: 180px; }

    .quick-enquiry-modal { border-radius: var(--r-lg); }
    #quickEnquiryModal .modal-dialog { max-width: 95%; margin: 12px auto; }

    .floating-actions { right: 12px; bottom: 12px; gap: 10px; }
    .floating-btn { width: 46px; height: 46px; font-size: 1.1rem; }

    .page-header { padding: 60px 0 36px; }
    .page-header h1, .page-header h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

    .wc-stat-band { padding: 24px 16px; border-radius: 16px; }
    .wc-stat-num { font-size: 1.75rem; }
    .wc-stat-item:not(:last-child)::after { display: none; }
}

/* ── 576px — Mobile Landscape ── */
@media (max-width: 576px) {
    .container { padding-left: 14px; padding-right: 14px; }
    :root { --section-py: 44px; --card-gap: 16px; }

    .sec-title, .main-heading { font-size: clamp(1.2rem, 6vw, 1.6rem); }

    .hero-left { padding: 28px 14px 20px; }

    .slide { min-width: 100%; }
    .slide img { width: 48px; height: 48px; }
    .slide-name { font-size: 0.7rem; }

    .testimonial-card { min-width: 250px; max-width: 250px; padding: 18px 14px; }
    .testimonial-image { width: 44px; height: 44px; min-width: 44px; }
    .testimonial-name { font-size: 0.9rem; }
    .testimonial-review { font-size: 0.82rem; }

    .feature-card { padding: 1.25rem; }

    .course-card { border-radius: var(--r-lg); }
    .course-thumbnail { height: 160px; }

    .category-icon { width: 52px; height: 52px; border-radius: var(--r-md); }

    .nav-btn { width: 38px; height: 38px; }

    .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
    .btn-xl { padding: 15px 32px; font-size: 1rem; }

    #chatbotContainer { width: calc(100% - 20px); right: 10px; left: 10px; bottom: 80px; height: 60vh; }

    .ch-image-wrap img { height: 180px; }
    .ch-btns { flex-direction: column; }
    .ch-btn-primary, .ch-btn-secondary { width: 100%; justify-content: center; }
    .ch-meta-item { width: 100%; }
    .ch-rating { flex-direction: column; align-items: flex-start; gap: 6px; }
    .ch-rating-enrolled { border-left: none; padding-left: 0; }
}

/* ── 480px — Small Mobile ── */
@media (max-width: 480px) {
    .container { padding-left: 12px; padding-right: 12px; }

    .sec-title, .main-heading { font-size: clamp(1.1rem, 6.5vw, 1.45rem); }
    .sec-sub, .lead { font-size: 0.9rem; }

    .slide { height: 120px; border-radius: 14px; }

    .testimonial-card { min-width: 240px; max-width: 240px; }

    .floating-btn { width: 44px; height: 44px; font-size: 1rem; }

    .wc-stat-num { font-size: 1.5rem; }

    .page-header { padding: 48px 0 28px; }

    .course-price { font-size: 1.25rem; }
}

/* ── 360px — Narrow Mobile ── */
@media (max-width: 360px) {
    .container { padding-left: 10px; padding-right: 10px; }

    .sec-title, .main-heading { font-size: 1.1rem; }
    .sec-sub, .lead { font-size: 0.85rem; }

    .btn { font-size: 0.85rem; padding: 10px 18px; }
    .btn-lg { padding: 12px 22px; font-size: 0.9rem; }

    .testimonial-card { min-width: 220px; max-width: 220px; }

    .floating-btn { width: 40px; height: 40px; font-size: 0.9rem; }

    .wc-stat-num { font-size: 1.35rem; }
}

/* ── 320px — Minimum Supported Width ── */
@media (max-width: 320px) {
    .container { padding-left: 8px; padding-right: 8px; }

    .sec-title, .main-heading { font-size: 1rem; }

    .testimonial-card { min-width: 200px; max-width: 200px; padding: 14px 12px; }

    .slide { height: 100px; }
    .slide img { width: 40px; height: 40px; }

    .hero-left { padding: 24px 10px 16px; }
}
