/* ==========================================================================
   MERGED STYLE.CSS - LEGACY SITE + NEW HUB PAGES
   Created from:
   1) style (8).css  [legacy/global/shared site styles]
   2) style-css-additions-course-hubs.css  [new hub page styles]

   Merge strategy:
   - Kept the legacy stylesheet first so existing site-wide elements remain intact.
   - Appended the new hub stylesheet after it.
   - This preserves legacy header/footer/form/shared components while allowing
     .ed-hub namespaced pages to use the new design safely.
   - No global footer/header/form blocks from the legacy file were removed.
   ========================================================================== */

/* ==========================================================================
   MASTER STYLE.CSS - EDUDELPHI (Final v27.0 - Alignment Fixes)
   1. Core Resets & Variables
   2. Header & Hero Section (FIXED ALIGNMENT)
   3. Body Components
   4. Feature Grids
   5. Footer Complex
   6. Popup Modal
   7. Responsive Fixes
   ========================================================================== */

/* Import Premium Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    /* Premium Palette */
    --navy: #0f172a;       /* Deep Header/Footer BG */
    --navy-light: #1e293b; 
    --gold: #f59e0b;       /* Primary Action Color */
    --gold-hover: #d97706;
    --blue: #0ea5e9;       /* Secondary Accent */
    --slate-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    
    /* Footer variables */
    --edf-bg-dark: #0f172a;
    --edf-bg-darker: #020617;
    --edf-bg-cta: #1e293b;
    --edf-text: #e9eef5;
    --edf-text-dim: #94a3b8;
    --edf-border: #1e293b;
    
    --radius: 12px;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    font-family: 'Inter', "Open Sans", sans-serif;
    font-size: 62.5% !important; /* 1rem = 10px */
    -webkit-text-size-adjust: 100%;
}

body {
    font-size: 1.6rem !important; /* 16px Base */
    color: var(--text-main);
    background-color: var(--slate-light);
    line-height: 1.6;
    margin: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

h1, h2, h3, h4, h5, h6, .entry-title, .section-title {
    font-family: 'Inter', sans-serif !important;
    color: var(--navy) !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

p { margin-bottom: 1.5rem; }
a { color: var(--gold); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }

/* GLOBAL CONTAINER */
.container, .edf-container {
    padding-right: 15px; 
    padding-left: 15px; 
    margin-right: auto; 
    margin-left: auto;
    width: 100%;
}

/* =========================================
   2. HEADER & HERO (FIXED ALIGNMENT)
   ========================================= */

/* 2.1 Top Bar Fix (Visibility & Flex) */
#top-header {
    background-color: var(--navy) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    padding: 10px 0 !important;
    height: auto !important; /* Overrides inline 35px */
    min-height: 45px;
    display: flex;
    align-items: center;
}

/* Convert the inline floated divs into a Flex Grid */
#top-header > div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Individual Top Bar Items */
#top-header > div > div {
    float: none !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
}

#top-header a {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.5; /* Prevents text cutting */
    padding: 5px 0;
}
#top-header i { color: var(--gold) !important; margin-right: 6px; }
#top-header a:hover { color: #fff !important; }

/* 2.2 Navigation Fix (Right Alignment) */
.navbar {
    background: transparent !important;
    border: none !important;
    margin-bottom: 0 !important;
    min-height: 90px;
    padding-top: 15px;
}

/* Flex Container for Nav */
#masthead .navbar > .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Logo Area */
.navbar-header, #site-header-menu {
    float: none !important;
    flex: 0 0 auto;
}
.navbar-brand { padding: 5px 15px 5px 0; }

/* Menu Area - Force Right Alignment */
#site-navigation {
    flex: 1 1 auto;
    display: flex !important;
    justify-content: flex-end !important; /* Pushes menu to right */
    float: none !important;
}

.navbar-nav {
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row;
    gap: 5px;
}

.navbar-nav > li { float: none !important; }

.navbar-nav > li > a {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 15px !important;
}
.navbar-nav > li > a:hover { color: var(--gold) !important; }

/* 2.3 Hero Wrapper */
.hero-section-wrapper {
    height: 650px !important;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover !important;
    background-position: center top !important;
    position: relative;
    border-bottom: none !important;
}

.course-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.75) 100%);
    display: flex;
    flex-direction: column;
    padding-top: 0 !important;
}

/* 2.4 Hero Content */
.site-header-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    width: 100%;
}
.site-header-main header.container { padding: 0 !important; }

.entry-title {
    color: #fff !important;
    font-size: 4.8rem !important;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: none !important;
}
.entry-desc {
    color: #cbd5e1 !important;
    font-size: 1.8rem !important;
    font-weight: 400;
    max-width: 650px;
    line-height: 1.6;
}
.entry-desc h3 {
    color: var(--gold) !important;
    font-size: 1.6rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 25px;
}

/* 2.5 Hero Buttons */
.btn.button-download {
    border-radius: 50px !important;
    padding: 14px 35px !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    border: none !important;
    margin-top: 20px;
    margin-right: 15px;
    transition: 0.3s;
}
.btn.button-download[data-target="#ucs2"] {
    background-color: var(--gold) !important;
    color: var(--navy) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn.button-download[data-target="#ucs2"]:hover {
    background-color: #fff !important;
    transform: translateY(-2px);
}
.btn.button-download[href*="wa.me"] {
    background-color: transparent !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    color: #fff !important;
}
.btn.button-download[href*="wa.me"]:hover {
    background-color: #fff !important;
    color: var(--navy) !important;
}

/* Floating Google Badge */
.col-lg-3 img {
    background: #fff;
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* =========================================
   3. COMPONENTS
   ========================================= */
h2.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
}
h2.section-title:after {
    content: ""; display: block; width: 60px; height: 4px;
    background: var(--gold); margin: 15px auto 0; border-radius: 2px;
}

.nav-tabs {
    border: none;
    background: #fff;
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
    margin-bottom: 40px;
    margin-top: -40px; 
    position: relative; z-index: 10;
}
.nav-tabs > li { float: none; display: inline-block; margin: 0; }
.nav-tabs > li > a {
    border: 1px solid #f1f5f9;
    background: var(--slate-light);
    color: var(--text-main);
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 25px;
    font-size: 1.4rem;
}
.nav-tabs > li.active > a, .nav-tabs > li > a:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.cat-course-box {
    background: #fff !important;
    padding: 25px 25px 5px 25px !important;
    border: 1px solid #e2e8f0; border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    border-top: 4px solid var(--gold) !important;
}
.cat-course-box p:first-child { 
    color: var(--navy) !important; font-size: 2rem !important; font-weight: 800; 
}
.cat-course-box p:last-child {
    color: var(--text-muted) !important; font-size: 1.3rem !important;
}
.home-cat-course-content {
    background: #fff !important;
    border: 1px solid #e2e8f0; border-top: none;
    border-radius: 0 0 var(--radius) var(--radius) !important;
    padding: 0 25px 25px 25px !important;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
    transition: 0.3s;
}
.col-lg-4:hover .home-cat-course-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.home-cat-course-content .btn {
    background: transparent !important;
    color: var(--blue) !important;
    font-weight: 700 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* =========================================
   4. FEATURE GRIDS (WHY DELPHI)
   ========================================= */
#why-delphi { background: #fff !important; padding: 80px 0 !important; }

#why-delphi .col-md-4 {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    margin-bottom: 40px;
}
#why-delphi .col-md-4 > div:first-child {
    width: 90px; height: 90px;
    background: #e0f2fe;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}
#why-delphi i { color: var(--blue) !important; font-size: 3.5rem !important; margin: 0 !important; }
#why-delphi .col-md-4:hover > div:first-child { background: var(--blue); transform: scale(1.1); }
#why-delphi .col-md-4:hover i { color: #fff !important; }
#why-delphi p[style*="font-size:1.8rem"] {
    font-size: 1.8rem !important; font-weight: 700 !important; color: var(--navy) !important; margin-bottom: 8px;
}

/* =========================================
   5. FOOTER COMPLEX
   ========================================= */
.section-corporate-hybrid {
    background-color: var(--slate-light);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.section-corporate-hybrid .corp-header { margin-bottom: 50px; padding: 0 15px; text-align: center; }
.section-corporate-hybrid .section-title {
    color: var(--navy); font-size: 32px; font-weight: 700; margin-bottom: 10px;
}
.section-corporate-hybrid .section-subtitle {
    color: var(--text-muted); font-size: 16px; max-width: 700px; margin: 0 auto;
}
.marquee-wrapper { margin-bottom: 60px; position: relative; overflow: hidden; }
.marquee-track { display: flex; width: fit-content; animation: edScrollLogos 45s linear infinite; will-change: transform; contain: content; }
.marquee-track:hover { animation-play-state: paused; }

.logo-card {
    background: #fff; width: 180px; height: 90px; margin: 0 15px;
    border-radius: 8px; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease; flex-shrink: 0;
}
.logo-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.logo-card img {
    max-width: 70%; max-height: 50px; filter: grayscale(100%); opacity: 0.6; transition: 0.3s; width: auto;
}
.logo-card:hover img { filter: grayscale(0); opacity: 1; }
@keyframes edScrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.section-corporate-hybrid .stats-wrapper { position: relative; z-index: 2; padding: 0 15px; }
.section-corporate-hybrid .stats-card {
    background: #fff; border-radius: 12px; padding: 40px;
    display: flex; justify-content: space-around; align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06); max-width: 1000px; margin: 0 auto;
}
.section-corporate-hybrid .stat-item { text-align: center; flex: 1; border-right: 1px solid #eee; }
.section-corporate-hybrid .stat-item:last-child { border-right: none; }
.section-corporate-hybrid .stat-number {
    display: block; color: var(--gold); font-size: 36px; font-weight: 800; margin-bottom: 5px;
}
.section-corporate-hybrid .stat-label { color: var(--text-main); font-size: 15px; font-weight: 500; display: block; }
.section-corporate-hybrid .footer-note {
    margin-top: 30px; color: var(--text-muted); font-size: 14px; font-style: italic; text-align: center;
}

.section-countries { background-color: #fff; padding: 40px 0; border-top: 1px solid #eee; }
.section-countries .section-title { text-align: center; margin-bottom: 30px; }
.flags-grid {
    display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 15px;
    overflow-x: auto; padding-bottom: 5px; -webkit-overflow-scrolling: touch;
}
.flags-grid::-webkit-scrollbar { height: 0px; width: 0px; background: transparent; }
.flag-item {
    flex: 0 0 auto; width: 100px; height: 65px; position: relative;
    border-radius: 4px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background: #fff; transition: transform 0.2s ease;
}
.flag-item:hover { transform: translateY(-3px); }
.flag-link { display: block; width: 100%; height: 100%; position: relative; }
.flag-img-wrap { width: 100%; height: 100%; background: #f9f9f9; }
.flag-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flag-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.9); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.flag-name { color: #fff; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; text-align: center; line-height: 1.2; padding: 2px; }
.flag-item:hover .flag-overlay { opacity: 1; }

.edf-footer-cta, .contact-bottom {
    background: linear-gradient(180deg, var(--edf-bg-cta), var(--edf-bg-dark));
    padding: 28px 0;
    border-top: 1px solid var(--edf-border);
    color: #fff;
    width: 100%;
    float: left;
}
.edf-cta-grid, .contact-bottom .container {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center;
    max-width: 1200px; margin: 0 auto; width: 100%;
}
.edf-cta-title, .cta-title {
    margin: 0; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .6px;
    color: #ffffff !important; font-size: clamp(16px, 1.6vw, 20px);
}
.edf-cta-buttons, .cta-buttons {
    display: flex; gap: 12px; justify-content: flex-end; align-items: center; flex-wrap: nowrap;
}
.edf-btn, .btn.btn-outline, .edf-btn-outline {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
    font-weight: 700; line-height: 1; border: 1px solid #3a5775; text-decoration: none; color: #fff !important;
    white-space: nowrap; transition: 0.3s; background: transparent; font-size: 1.3rem;
}
.edf-btn:hover, .btn.btn-outline:hover, .edf-btn-outline:hover {
    background: var(--gold); border-color: var(--gold); color: var(--navy) !important; transform: translateY(-1px);
}
.edf-ico, .btn.btn-outline i { width: 18px; height: 18px; fill: currentColor; flex: 0 0 18px; margin-right: 5px; color: var(--gold); }

.edf-footer, .site-footer {
    background: var(--edf-bg-dark); color: var(--edf-text); padding: 42px 0 0; clear: both;
}
.site-footer .container, .edf-footer .container, .edf-container {
    max-width: 1200px; margin: 0 auto; padding-left: 15px; padding-right: 15px;
}
.edf-widgets-grid { display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); }
.edf-footer-col { min-width: 0; }

.edf-footer .widget-title, .edf-footer .widget h3, .edf-footer .widget h4, .footer-aside h3.widget-title {
    margin: 0 0 12px; color: var(--gold) !important; font-weight: 800; font-size: 18px; letter-spacing: .2px;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; display: block; width: 100%; list-style: none !important;
}
.edf-footer .widget-title::before, .edf-footer .widget h3::before, .edf-footer .widget h4::before { content: none !important; }
.edf-footer .widget ul, .footer-aside ul { list-style: none !important; margin: 0; padding: 0; }
.edf-footer .widget li, .footer-aside ul li {
    margin: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; list-style: none !important;
}
.edf-footer a, .footer-aside ul li a { color: var(--edf-text-dim); text-decoration: none; font-size: 1.4rem; }
.edf-footer a:hover, .footer-aside ul li a:hover { color: #fff; padding-left: 5px; }

.edf-copyright, .copyright-area {
    background: var(--edf-bg-darker); margin-top: 36px; padding: 22px 0; border-top: 1px solid var(--edf-border);
}
.copyright-area .container { max-width: 1200px; margin: 0 auto; }
.edf-accreditation, .accreditation-logos {
    display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
    background: #fff; padding: 15px 40px; border-radius: 50px; margin: 0 auto 20px; color: #334155;
}
.edf-accreditation span { color: #334155 !important; font-weight: 500; font-size: 1.2rem; }
.edf-accreditation ul, .accreditation-logos ul, .edf-accreditation p, .accreditation-logos p {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 0; padding: 0; list-style: none;
}
.edf-accreditation li, .accreditation-logos li { list-style: none; margin: 0; padding: 0; }
.edf-accreditation li::marker, .accreditation-logos li::marker, .edf-accreditation li::before, .accreditation-logos li::before { content: none !important; }
.edf-accreditation br, .accreditation-logos br { display: none !important; }
.edf-accreditation img, .accreditation-logos img {
    height: 30px; width: auto; display: block; filter: grayscale(100%); opacity: .8; transition: .2s;
}
.edf-accreditation img:hover, .accreditation-logos img:hover { filter: none; opacity: 1; transform: scale(1.1); }
.edf-copytext, .copyright-text { text-align: center; color: var(--edf-text-dim); font-size: 14px; }

/* =========================================
   6. POPUP MODAL
   ========================================= */
.form-imp {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: -9999;
}   
   
.delphi-popup-overlay {
    display: none; position: fixed; inset: 0; background: rgba(5, 10, 25, 0.78); z-index: 99999;
    align-items: center; justify-content: center; padding: 16px; box-sizing: border-box;
}
.delphi-popup-overlay.is-open { display: flex !important; }
body.delphi-modal-open { overflow: hidden; }

.delphi-popup-modal {
    position: relative; max-width: 980px; width: 100%; background: #ffffff; border-radius: 26px; overflow: hidden;
    display: flex; flex-wrap: wrap; box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35); animation: delphiFadeIn 0.3s ease-out forwards; text-align: left;
}
@keyframes delphiFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.delphi-popup-close {
    position: absolute; top: 14px; right: 16px; background: #ffffff !important; border-radius: 999px; width: 32px; height: 32px;
    border: none !important; font-size: 22px; line-height: 32px; text-align: center; cursor: pointer; color: #111; z-index: 10;
}
.delphi-popup-close:hover { background: #f2f4f8 !important; }

.delphi-popup-left {
    flex: 0 0 50%; min-width: 280px; padding: 30px 30px 26px; box-sizing: border-box;
    color: #ffffff; background: #022845; position: relative; overflow: hidden;
}
.delphi-popup-left::before {
    content: ""; position: absolute; top: -60px; left: -40px; width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 180, 26, 0.45), transparent 60%); opacity: 0.8; pointer-events: none;
}
.delphi-popup-left::after {
    content: ""; position: absolute; bottom: -80px; right: -70px; width: 230px; height: 230px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08); pointer-events: none;
}
.delphi-popup-left .eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.9; margin-bottom: 0; }
.delphi-popup-title {
    margin: 8px 0 6px !important; font-size: 28px !important; font-weight: 800 !important; letter-spacing: 0.02em; line-height: 1.2 !important; color: #fff !important;
}
.delphi-popup-title span { color: #ffe27a; }
.delphi-popup-subtitle { margin: 0 0 18px !important; font-size: 14px; line-height: 1.6; opacity: 0.96; max-width: 360px; color: #fff; }
.delphi-trust-card {
    margin-top: 10px; padding: 12px 14px 13px; border-radius: 20px; background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.22); max-width: 390px; backdrop-filter: blur(4px);
}
.delphi-trust-headline { font-size: 12px; margin: 0 0 8px; color: #fff; }
.trust-metrics { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.trust-box {
    flex: 1 1 150px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 9px;
    border-radius: 14px; background: rgba(255, 255, 255, 0.97); color: #111827;
}
.trust-box-label strong { font-size: 12px; display: block; color: #111; }
.trust-box-label span { font-size: 11px; color: #4b5563; }
.trust-box img, .khda-logo-wrap img, .mobile-trust-item img { max-height: 35px; width: auto; object-fit: contain; }
.g-logo-circle {
    width: 22px; height: 22px; border-radius: 999px; background: #ffffff; display: flex; align-items: center;
    justify-content: center; font-size: 13px; font-weight: 700; color: #4285f4; border: 1px solid #d1d5db; flex-shrink: 0;
}

.delphi-popup-right { flex: 0 0 50%; min-width: 280px; padding: 34px 32px 26px; box-sizing: border-box; background: #ffffff; }
.delphi-popup-form-title { margin: 6px 0 18px !important; font-size: 24px !important; font-weight: 700 !important; color: #111827 !important; }
.delphi-popup-form { display: flex; flex-direction: column; gap: 13px; }
.delphi-popup-form label { font-size: 13px; font-weight: 600; color: #374151; margin: 0; }
.delphi-popup-form input[type="text"], .delphi-popup-form input[type="email"], .delphi-popup-form input[type="tel"], .delphi-popup-form select {
    background: #f9fafb !important; border: 1px solid #d1d5db !important; border-radius: 999px !important;
    padding: 11px 14px !important; font-size: 14px !important; width: 100%; color: #111; box-shadow: none; height: auto;
}
.delphi-popup-form textarea {
    background: #f9fafb !important; border: 1px solid #d1d5db !important; border-radius: 14px !important;
    padding: 11px 14px !important; font-size: 14px !important; width: 100%; min-height: 80px; resize: vertical;
}
.delphi-popup-form input:focus, .delphi-popup-form textarea:focus { border-color: #004a80 !important; background: #ffffff !important; outline: none; }
.delphi-popup-form .phone-wrap {
    display: flex; align-items: stretch; border-radius: 999px; border: 1px solid #d1d5db; background: #f9fafb; overflow: hidden;
}
.delphi-popup-form .country-code {
    padding: 0 12px; display: flex; align-items: center; font-size: 13px; white-space: nowrap;
    background: #eef2ff; border-right: 1px solid #d1d5db; color: #1f2937; font-weight: 500;
}
.delphi-popup-form .phone-wrap input[type="tel"] { border: none !important; background: transparent !important; }
.delphi-popup-form .delphi-popup-submit {
    width: 100%; border: none; border-radius: 999px; padding: 12px 18px !important; font-size: 15px !important;
    font-weight: 700 !important; cursor: pointer; background: linear-gradient(90deg, #f4b41a 0%, #f7c853 60%, #e3a910 100%) !important;
    color: #111827 !important; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.23); text-transform: none !important; margin-top: 10px;
}
.delphi-popup-form .delphi-popup-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28); }
.privacy-note { font-size: 11px; color: #6b7280; text-align: center; margin-top: 8px; }


.widgettitle {color: #fff !important;} 
.mobile-header { display: none; }
@media (max-width: 768px) {
    .delphi-popup-modal { flex-direction: column; max-width: 420px; border-radius: 20px; }
    .delphi-popup-left { display: none; }
    .delphi-popup-right { padding: 18px 16px 16px; }
    .delphi-popup-form-title { display: none !important; } 
    .mobile-header { display: block; margin-bottom: 6px; }
    .mobile-header-title { font-size: 20px; font-weight: 700; color: #111827; margin: 4px 0 10px; }
    .mobile-trust-row { display: flex; gap: 8px; margin-bottom: 12px; }
    .mobile-trust-item { 
        display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px;
        border-radius: 999px; background: #f3f4f6; font-size: 11px; color: #374151; 
    }
}

/* =========================================
   7. RESPONSIVE FIXES
   ========================================= */
@media (min-width: 1200px) { .container, .edf-container { width: 1200px; margin: 0 auto; } }

@media (max-width: 991px) {
    /* Header */
    .navbar-collapse { background: var(--navy); padding: 20px; margin-top: 10px; border-radius: 12px; z-index: 999; }
    .hero-section-wrapper { height: auto !important; padding: 60px 0; }
    .entry-title { font-size: 3.6rem !important; text-align: center; }
    .entry-desc { text-align: center; margin: 0 auto; }
    .col-lg-9, .col-lg-3 { width: 100%; text-align: center; }
    
    /* Footer Mobile */
    .section-corporate-hybrid .stats-card { flex-direction: column; padding: 30px; gap: 30px; }
    .section-corporate-hybrid .stat-item { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 20px; width: 100%; }
    .section-corporate-hybrid .stat-item:last-child { border-bottom: none; }
    
    /* Contact Bar Mobile */
    .contact-bottom .container, .edf-cta-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; display: block; }
    .cta-buttons, .edf-cta-buttons { justify-content: center; margin-top: 15px; flex-wrap: wrap; }
    
    /* Widget Grid Mobile */
    .edf-widgets-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-aside { margin-bottom: 30px; }
}

@media (max-width: 767px) {
    /* Top Header */
    #top-header > div > div { width: 100% !important; justify-content: center; }
    #top-header a { font-size: 1.2rem; }
    
    .hidden-xs { display: none !important; }
    .btn.button-download { width: 100%; margin-right: 0; }
    .flags-grid { justify-content: flex-start; } 
    .edf-widgets-grid { grid-template-columns: 1fr; }
}

/* Fix phone input padding after removing +971 */
.delphi-popup-form .phone-wrap input[type="tel"],
.delphi-popup-form .phone-wrap input[type="text"] {
    padding-left: 15px !important; /* Resets the padding to normal */
}

/* Hide the old country code span just in case it's still cached */
.delphi-popup-form .country-code {
    display: none !important;
}




/* Article Pages and Layout */
/* =========================================
   1. GLOBAL FIXES & UTILITIES
   ========================================= */

/* Fix Bootstrap Tables in Articles */
.entry-content table {
    width: 100%;
    margin-bottom: 25px;
    border-collapse: collapse;
    border: 1px solid #ddd;
}
.entry-content table th, 
.entry-content table td {
    padding: 15px; /* More breathing room */
    border: 1px solid #ddd;
    text-align: left;
}
.entry-content table th {
    background-color: #0c1c2c; /* Corporate Blue Header */
    color: #fff;
    font-weight: 600;
}
.entry-content table tr:nth-child(even) {
    background-color: #f9fbfd; /* Subtle striping */
}

/* Ensure Navbar Image fits nicely */
.navbar-brand img {
    height: auto;
    max-height: 70px;
    width: auto;
}

/* Post Navigation (Previous/Next) */
.nav-links {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

/* =========================================
   2. ARTICLE TYPOGRAPHY (The Authority Look)
   ========================================= */

/* Main Body Text - Optimized for Wide Layouts */
.edudelphi-article-body {
    font-size: 18px; 
    line-height: 1.8;
    color: #2c3e50; /* Dark Grey for readability */
}

.edudelphi-article-body p {
    margin-bottom: 25px;
}

/* Corporate Headings inside articles */
.edudelphi-article-body h2 {
    font-size: 28px;
    color: #0c1c2c; /* EduDelphi Navy */
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 5px solid #FBBB27; /* Gold accent line */
    padding-left: 20px;
}

.edudelphi-article-body h3 {
    font-size: 24px;
    color: #333;
    margin-top: 40px;
    font-weight: 600;
}

/* Lists */
.edudelphi-article-body ul, 
.edudelphi-article-body ol {
    margin-bottom: 25px;
    padding-left: 25px;
}
.edudelphi-article-body li {
    margin-bottom: 12px;
}

/* Article Footer Tags */
.tagcloud a {
    display: inline-block;
    background: #f1f1f1;
    padding: 6px 18px;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    transition: all 0.2s ease;
}
.tagcloud a:hover {
    background: #0c1c2c;
    color: #fff;
}

/* =========================================
   3. COMMENT SECTION (Wide Grid Layout)
   ========================================= */

#comments-wrapper {
    margin-top: 60px;
}

/* The Container Box */
.comment-respond {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 4px;
    border-left: 4px solid #0c1c2c; /* Brand Accent */
}

/* Title */
.comment-reply-title {
    font-size: 24px;
    font-weight: 600;
    color: #0c1c2c;
    margin-bottom: 30px;
    display: block;
}

/* The Grid Layout for Inputs */
.comment-form {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Full Width Elements */
.comment-notes, 
.comment-form-comment, 
.form-submit,
.comment-form-cookies-consent {
    width: 100%;
    padding: 0 15px;
}

/* 3-Column Layout for Name/Email/URL */
.comment-form-author,
.comment-form-email,
.comment-form-url {
    width: 33.33%; /* 1/3 Width */
    float: left;
    padding: 0 15px;
}

/* Mobile Fallback: Stack them on small screens */
@media (max-width: 768px) {
    .comment-form-author, 
    .comment-form-email, 
    .comment-form-url { 
        width: 100%; 
    }
}

/* Input Styling */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd; /* Soft border */
    background: #fff;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #FBBB27; /* Gold focus state */
    outline: none;
}

.comment-form textarea {
    height: 150px;
}

/* Submit Button - EduDelphi Style */
.comment-form .submit {
    background: #0c1c2c; /* Navy */
    color: #fff;
    padding: 12px 40px;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-form .submit:hover {
    background: #FBBB27; /* Gold Hover */
    color: #000;
}

/* =========================================
   4. BLOG INDEX (Card List Layout)
   ========================================= */

/* Mobile Fix: Stack image on top for small screens */
@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
    }
    .blog-card-img {
        width: 100% !important;
        height: 200px !important;
    }
    .blog-card-content {
        width: 100% !important;
    }
    /* Fix Hero Title on Mobile */
    .blog-header h1 {
        font-size: 32px !important;
    }
}

/* Hover Effect for Cards */
.blog-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    transform: translateY(-3px);
    border-color: #FBBB27 !important; /* Gold border on hover */
}

/* Sidebar Link Hover Effect */
.clean-list li a:hover {
    background: #0c1c2c !important; /* Blue background on hover */
    color: #fff !important;
}

/* Pagination Styling */
.blog-pagination .nav-links {
    display: inline-block;
    padding: 10px;
    background: #fff;
    border-radius: 50px;
    border: 1px solid #e1e8ed;
}
.blog-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 2px;
    color: #0c1c2c;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: #0c1c2c;
    color: #fff;
}

/* ==========================================================================
   APPENDED: NEW COURSE HUB / CATEGORY HUB STYLES
   These rules are namespaced under .ed-hub and are intentionally placed
   after the legacy stylesheet so new hub pages can override safely within
   their own wrapper without breaking older pages.
   ========================================================================== */

/* =========================================
   8. COURSE HUB / CATEGORY HUB PAGES
   Reusable CSS for country hubs and category hubs.
   Append this section to the live Edudelphi style.css.
   ========================================= */

.ed-hub {
    color: var(--text-main);
    background: var(--slate-light);
    font-family: 'Inter', "Open Sans", sans-serif;
}

.ed-hub-qatar {
    --ed-hub-hero-image: url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Doha_MIA_Park_Skyline_View_23.jpg?width=1800");
}

.ed-hub-accounting-qatar {
    --ed-hub-hero-image: url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Doha_MIA_Park_Skyline_View_23.jpg?width=1800");
}

.ed-hub *,
.ed-hub *::before,
.ed-hub *::after {
    box-sizing: border-box;
}

.ed-hub a {
    text-decoration: none;
}

.ed-hub-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.ed-hub-section {
    padding: 72px 0;
}

.ed-hub-section-white {
    background: var(--white);
}

.ed-hub-section-soft {
    background: var(--slate-light);
}

.ed-hub-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ed-hub-eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: var(--gold);
}

.ed-hub-title {
    color: var(--navy) !important;
    font-size: 3.4rem !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px;
    margin: 0 0 14px !important;
}

.ed-hub-subtitle {
    max-width: 830px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.6rem;
    line-height: 1.7;
}

.ed-hub-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: var(--navy);
}

.ed-hub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.86) 48%, rgba(15, 23, 42, 0.42) 100%),
        var(--ed-hub-hero-image, none) center/cover no-repeat;
}

.ed-hub-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 40px;
    align-items: center;
    padding: 82px 0;
}

.ed-hub-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.ed-hub-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
}

.ed-hub-hero h1 {
    color: #fff !important;
    font-size: 5rem !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px;
    margin: 0 0 18px !important;
}

.ed-hub-hero-copy {
    max-width: 760px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    line-height: 1.7;
}

.ed-hub-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ed-hub-btn-row-spaced {
    margin-top: 18px;
}

.ed-hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ed-hub-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.22);
}

.ed-hub-btn-primary {
    background: var(--gold);
    color: var(--navy) !important;
}

.ed-hub-btn-primary:hover {
    background: var(--gold-hover);
    color: #fff !important;
}

.ed-hub-btn-outline {
    background: #fff;
    color: var(--navy) !important;
    border-color: rgba(15, 23, 42, 0.16);
}

.ed-hub-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.36);
}

.ed-hub-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0, 18, 42, 0.28);
}

.ed-hub-panel h2,
.ed-hub-panel h3 {
    color: var(--navy) !important;
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
}

.ed-hub-panel p {
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 0 0 16px;
}

.ed-hub-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ed-hub-metric {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
}

.ed-hub-metric strong {
    display: block;
    color: var(--navy);
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 4px;
}

.ed-hub-metric span {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.35;
}

.ed-hub-picker {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.ed-hub-picker a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--navy) !important;
    font-weight: 800;
    font-size: 1.4rem;
}

.ed-hub-picker span {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.2rem;
    text-align: right;
}

.ed-hub-trust {
    background: #fff;
    border-top: 4px solid var(--gold);
    border-bottom: 1px solid #e2e8f0;
}

.ed-hub-trust-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    padding: 30px 0;
}

.ed-hub-trust h2 {
    color: var(--navy) !important;
    font-size: 2.4rem !important;
    line-height: 1.2 !important;
    margin: 0 0 8px !important;
}

.ed-hub-trust p {
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1.65;
    margin: 0;
}

.ed-hub-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.ed-hub-trust-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
}

.ed-hub-trust-item strong {
    display: block;
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 5px;
}

.ed-hub-trust-item span {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.35;
}

.ed-hub-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.ed-hub-nav-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: thin;
}

.ed-hub-nav-scroll a {
    flex: 0 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--navy) !important;
    background: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    padding: 10px 13px;
}

.ed-hub-nav-scroll a:hover {
    background: var(--navy);
    color: #fff !important;
    border-color: var(--navy);
}

.ed-hub-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.ed-hub-section-head > div:first-child {
    max-width: 830px;
}

.ed-hub-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ed-hub-course-card {
    display: flex;
    flex-direction: column;
    min-height: 276px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.ed-hub-course-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.ed-hub-course-top {
    padding: 18px 18px 14px;
    border-top: 4px solid var(--gold);
}

.ed-hub-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.ed-hub-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e0f2fe;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 800;
    padding: 5px 8px;
}

.ed-hub-badge-warm {
    background: #fff7ed;
    color: #92400e;
}

.ed-hub-course-card h3 {
    color: var(--navy) !important;
    font-size: 2.3rem !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    margin: 0 0 5px !important;
}

.ed-hub-course-sub {
    color: var(--text-main);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.ed-hub-course-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 18px 18px;
}

.ed-hub-course-body p {
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1.55;
    margin: 0 0 14px;
}

.ed-hub-course-note {
    border-left: 3px solid var(--gold);
    background: #fffbeb;
    color: var(--text-main);
    border-radius: 0 8px 8px 0;
    padding: 10px 12px;
    font-size: 1.3rem;
    line-height: 1.45;
    margin: 0 0 14px;
}

.ed-hub-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: auto;
    margin-bottom: 15px;
}

.ed-hub-spec {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 9px 10px;
}

.ed-hub-spec span {
    display: block;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.ed-hub-spec strong {
    color: var(--navy);
    font-size: 1.3rem;
    line-height: 1.25;
}

.ed-hub-course-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ed-hub-course-actions .ed-hub-btn {
    min-height: 40px;
    padding: 10px 13px;
    font-size: 1.3rem;
}

.ed-hub-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    margin-top: 28px;
}

.ed-hub-compare {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.ed-hub-compare th,
.ed-hub-compare td {
    border-bottom: 1px solid #e2e8f0;
    padding: 16px;
    text-align: left;
    vertical-align: top;
    font-size: 1.4rem;
    line-height: 1.55;
}

.ed-hub-compare th {
    color: var(--navy);
    background: #f8fafc;
    font-weight: 800;
}

.ed-hub-compare td:first-child {
    color: var(--navy);
    font-weight: 800;
}

.ed-hub-compare tr:last-child td {
    border-bottom: 0;
}

.ed-hub-visual-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.ed-hub-image-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy);
    box-shadow: var(--shadow-card);
}

.ed-hub-image-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    opacity: 0.72;
}

.ed-hub-image-card span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
}

.ed-hub-note {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
}

.ed-hub-accordion {
    display: grid;
    gap: 14px;
}

.ed-hub-category {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.ed-hub-category[open] {
    box-shadow: var(--shadow-hover);
}

.ed-hub-category-summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px;
}

.ed-hub-category-summary::-webkit-details-marker {
    display: none;
}

.ed-hub-category-summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fffbeb;
    color: var(--navy);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.ed-hub-category[open] .ed-hub-category-summary::after {
    content: "-";
    background: var(--gold);
}

.ed-hub-category-kicker {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ed-hub-category-summary h3 {
    color: var(--navy) !important;
    font-size: 2.4rem !important;
    line-height: 1.2 !important;
    margin: 0 0 7px !important;
}

.ed-hub-category-summary p {
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1.55;
    margin: 0;
}

.ed-hub-category-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ed-hub-category-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 6px 9px;
}

.ed-hub-category-panel {
    border-top: 1px solid #e2e8f0;
    padding: 22px;
    background: #f8fafc;
}

.ed-hub-category-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.ed-hub-category-topline p {
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1.55;
    margin: 0;
}

.ed-hub-split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 32px;
    align-items: center;
}

.ed-hub-feature-list,
.ed-hub-path-grid,
.ed-hub-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.ed-hub-feature,
.ed-hub-path-card,
.ed-hub-faq-grid details {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 18px;
}

.ed-hub-feature strong,
.ed-hub-path-card strong,
.ed-hub-faq-grid summary {
    display: block;
    color: var(--navy);
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 7px;
}

.ed-hub-feature span,
.ed-hub-path-card p,
.ed-hub-faq-grid p {
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1.55;
    margin: 0;
}

.ed-hub-faq-grid summary {
    cursor: pointer;
    margin-bottom: 0;
}

.ed-hub-faq-grid details[open] summary {
    margin-bottom: 10px;
}

.ed-hub-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.ed-hub-mini-links a {
    display: inline-flex;
    border-radius: 999px;
    background: #fffbeb;
    color: var(--navy) !important;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 7px 10px;
}

.ed-hub-link-grid,
.ed-hub-market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.ed-hub-market-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 22px;
}

.ed-hub-link-card,
.ed-hub-market-card,
.ed-hub-salary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-card);
}

.ed-hub-market-card {
    padding: 24px;
}

.ed-hub-link-card strong,
.ed-hub-market-card h3,
.ed-hub-salary-card strong {
    display: block;
    color: var(--navy);
    font-size: 1.7rem;
    line-height: 1.3;
    margin: 0 0 8px;
    font-weight: 800;
}

.ed-hub-market-card h3 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.ed-hub-link-card span,
.ed-hub-market-card p,
.ed-hub-market-card li,
.ed-hub-salary-card span {
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
}

.ed-hub-market-card p {
    margin: 0 0 14px;
}

.ed-hub-market-card ul {
    margin: 0;
    padding-left: 18px;
}

.ed-hub-salary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.ed-hub-note-small {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
    margin-top: 16px;
}

.ed-hub-note-small a {
    color: var(--gold) !important;
    font-weight: 800;
}

.ed-hub-highlight,
.ed-hub-cta {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 30px;
}

.ed-hub-highlight h2,
.ed-hub-cta h2 {
    color: #fff !important;
    font-size: 2.8rem !important;
    line-height: 1.2 !important;
    margin: 0 0 12px !important;
}

.ed-hub-highlight p,
.ed-hub-cta p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.5rem;
    line-height: 1.7;
    margin: 0 0 18px;
}

.ed-hub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ed-hub-list li {
    position: relative;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    line-height: 1.55;
    margin-bottom: 9px;
}

.ed-hub-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.ed-hub-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ed-hub-cta p {
    max-width: 740px;
    margin-bottom: 0;
}

@media (max-width: 1080px) {
    .ed-hub-course-grid,
    .ed-hub-visual-band,
    .ed-hub-trust-grid,
    .ed-hub-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ed-hub-hero-inner,
    .ed-hub-market-grid,
    .ed-hub-trust-card,
    .ed-hub-split {
        grid-template-columns: 1fr;
    }

    .ed-hub-hero h1 {
        font-size: 4rem !important;
    }

    .ed-hub-section-head,
    .ed-hub-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .ed-hub-section {
        padding: 48px 0;
    }

    .ed-hub-hero {
        min-height: auto;
    }

    .ed-hub-hero-inner {
        padding: 58px 0;
    }

    .ed-hub-hero h1 {
        font-size: 3.4rem !important;
    }

    .ed-hub-hero-copy {
        font-size: 1.6rem;
    }

    .ed-hub-title {
        font-size: 2.8rem !important;
    }

    .ed-hub-btn-row,
    .ed-hub-course-actions {
        align-items: stretch;
    }

    .ed-hub-btn,
    .ed-hub-course-actions .ed-hub-btn {
        width: 100%;
    }

    .ed-hub-course-grid,
    .ed-hub-visual-band,
    .ed-hub-trust-grid,
    .ed-hub-feature-list,
    .ed-hub-link-grid,
    .ed-hub-path-grid,
    .ed-hub-faq-grid,
    .ed-hub-salary-grid,
    .ed-hub-specs,
    .ed-hub-metric-grid {
        grid-template-columns: 1fr;
    }

    .ed-hub-picker a {
        align-items: flex-start;
        flex-direction: column;
    }

    .ed-hub-picker span {
        text-align: left;
    }

    .ed-hub-category-summary {
        grid-template-columns: 1fr auto;
        padding: 18px;
    }

    .ed-hub-category-summary h3 {
        font-size: 2rem !important;
    }

    .ed-hub-category-panel {
        padding: 18px;
    }

    .ed-hub-category-topline {
        align-items: stretch;
        flex-direction: column;
    }

    .ed-hub-course-card {
        min-height: 0;
    }
}


/* --- PREVENT HORIZONTAL GHOST SCROLLING --- */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}
