/* ==========================================================================
   MASTER STYLE.CSS - EDUDELPHI (Version 13.1 - Restored & Optimized)
   1. Core Resets & Typography (RESTORED ORIGINAL)
   2. Bootstrap Grid Fallback (RESTORED ORIGINAL)
   3. WordPress Core Utilities
   4. Header & Navigation
   5. Modern UI Components
   6. Footer (New Optimized Layout)
   7. Responsive Fixes (RESTORED ORIGINAL)
   ========================================================================== */

/* =========================================
   1. CORE RESETS & TYPOGRAPHY
   ========================================= */
html {
    font-family: "Open Sans", Arial, sans-serif;
    /* RESTORED: Sets 1rem = 10px. */
    font-size: 62.5% !important; 
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-size: 1.5rem !important; /* 15px Base Size */
/*    line-height: 1.6;*/
    color: #333;
    background-color: #fff;
}

/* Fix Box Model */
*, *:before, *:after {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    color: #0E3357;
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 700 !important; 
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}
h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }

p { margin: 0 0 1.5rem; }
a { color: #E46C27; text-decoration: none; transition: 0.3s; }
a:hover { color: #003871; text-decoration: none; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
hr { height: 0; border: 0; border-top: 1px solid #eee; margin: 20px 0; }

/* Form Elements Normalize */
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/* =========================================
   2. BOOTSTRAP GRID FALLBACK (RESTORED ORIGINAL)
   ========================================= */
.container { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
.container-fluid { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
.row { margin-right: -15px; margin-left: -15px; }

/* Clearfix */
.clearfix:before, .clearfix:after, .row:before, .row:after { content: " "; display: table; }
.clearfix:after, .row:after { clear: both; }

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
}
.col-xs-12 { width: 100%; }
.col-xs-6 { width: 50%; }
.col-xs-4 { width: 33.33333333%; }

/* Layout Overrides */
.site-inner, .site-content, .content-area, .site-main, .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    padding: 0 !important;
}
.entry-content .container {
    width: auto; 
    max-width: 1170px;
    margin: 0 auto !important;
    float: none !important;
}

/* =========================================
   3. WORDPRESS CORE UTILITIES
   ========================================= */
.alignleft { float: left; margin: 0.5em 1.5em 1em 0; }
.alignright { float: right; margin: 0.5em 0 1em 1.5em; }
.aligncenter { clear: both; display: block; margin: 0 auto 1.5em; }

.wp-caption { margin-bottom: 1.5em; max-width: 100%; background: #f9f9f9; border: 1px solid #eee; padding: 5px; text-align: center; }
.wp-caption img { display: block; margin: 0 auto; }
.wp-caption-text { font-size: 1.2rem; color: #666; padding-top: 5px; margin: 0; }

.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* Inputs */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], textarea {
    background: #f7f7f7; border: 1px solid #ccc; border-radius: 4px; color: #333; padding: 10px; width: 100%;
}
.form-imp { display: none !important; } 

/* Pagination */
.pagination { display: block; text-align: center; margin: 30px 0; }
.page-numbers { display: inline-block; padding: 10px 15px; background: #fff; border: 1px solid #ddd; margin: 0 2px; color: #0E3357; }
.page-numbers.current { background: #0E3357; color: #fff; border-color: #0E3357; }

/* List Styles */
.entry-content ul { list-style: disc; margin-left: 1.5em; }
.entry-content ol { list-style: decimal; margin-left: 1.5em; }
.entry-content li { margin-bottom: 0.5em; }
.nav, .course-menu ul, .hero-highlights, .check-list, .content-list, .footer-aside ul { list-style: none !important; margin-left: 0 !important; padding-left: 0 !important; }

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
/* Header layout without Bootstrap */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 9999;
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.site-header .site-branding img {
    max-height: 50px;
    height: auto;
    width: auto;
}

/* Let the menu wrap under logo on small screens if needed */
@media (max-width: 767px) {
    .site-header .header-inner {
        flex-wrap: wrap;
    }
    .site-header .site-navigation {
        width: 100%;
        margin-top: 8px;
    }
}


.navbar-toggle { float: right; margin-top: 25px; margin-right: 15px; border: 1px solid #ddd; background: #fff; padding: 9px 10px; }
.navbar-toggle .icon-bar { background-color: #0E3357; display: block; width: 22px; height: 2px; border-radius: 1px; }
.navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; }

/* Sticky Course Menu */
.course-menu { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.05); width: 100%; z-index: 990; border-bottom: 1px solid #eee; }
.course-menu ul.nav { display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.course-menu ul.nav > li { float: left; display: block; }
.course-menu ul.nav > li > a {
    color: #0E3357 !important;
    font-weight: 700;
    font-size: 1.4rem;
    padding: 20px 15px;
    text-transform: uppercase;
    display: block;
}
.course-menu ul.nav > li > a:hover { color: #E46C27 !important; background: transparent; }
.course-menu-btn { padding-top: 12px; text-align: right; }

/* =========================================
   5. MODERN UI COMPONENTS
   ========================================= */
/* Headings */
h2.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0E3357 !important;
    text-transform: none;
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}
h2.section-title:after { content: ""; display: block; width: 80px; height: 4px; background: #E46C27; margin: 10px auto 0; border-radius: 2px; }

/* Buttons */
.btn-inquiry, .button-download, .btn-orange {
    background: #E46C27 !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(228, 108, 39, 0.4);
    border: none !important;
    text-transform: uppercase;
    font-size: 1.4rem !important;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-inquiry:hover, .button-download:hover {
    background: #0E3357 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 51, 87, 0.3);
    color: #fff !important;
}

/* Cards */
.career-trends, .course-why-element, .pricing-content, .testimonial-element-single, .shadow-card, .step-box {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(14, 51, 87, 0.08) !important;
    padding: 30px !important;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    border-top: 4px solid transparent !important;
    background: #fff;
}
.career-trends:hover, .course-why-element:hover, .shadow-card:hover {
    transform: translateY(-5px);
    border-top: 4px solid #E46C27 !important;
}

/* Pricing Tables */
.pricingTable:after { display: none !important; }
.pricingTable .pricingTable-header { background: #0E3357; color: #fff; padding: 30px 10px; border-radius: 12px 12px 0 0; }
.pricingTable .title { font-weight: 700; color: #fff; font-size: 2.4rem; margin: 0; }
.pricingTable .duration { background: rgba(255,255,255,0.15); border-radius: 20px; margin-top: 10px; display: inline-block; padding: 5px 15px; color: #ffba00; }
.pricingTable .content-list li { border-bottom: 1px solid #f0f0f0; padding: 12px 0; }
.pricingTable .price-value { background: #f9f9f9; padding: 20px; border-radius: 0 0 12px 12px; }

/* FAQ */
.course-faq .panel { border: none !important; box-shadow: 0 2px 15px rgba(0,0,0,0.05) !important; margin-bottom: 15px !important; }
.course-faq .panel-heading { background-color: #fff !important; padding: 15px 20px; border-left: 4px solid #003871; }
.course-faq .panel-title a { font-weight: 600; font-size: 1.6rem !important; display: block; color: #0E3357; text-decoration: none; position: relative; }
.course-faq .panel-title a:after { font-family: 'FontAwesome'; content: "\f107"; float: right; color: #E46C27; }
.course-faq .panel-title a[aria-expanded="true"]:after { content: "\f106"; }
.course-faq .panel-body { color: #555; line-height: 1.6; }

/* Tabs */
.nav-tabs { border-bottom: 2px solid #eee; display: flex; flex-wrap: wrap; justify-content: center; }
.nav-tabs > li { float: none; display: inline-block; margin-bottom: -2px; }
.nav-tabs > li > a { border: none; color: #666; font-weight: 600; font-size: 1.6rem; padding: 15px 25px; background: transparent; }
.nav-tabs > li.active > a { color: #0E3357; border-bottom: 3px solid #E46C27; background: #fff; }

/* =========================================
   6. FOOTER (OPTIMIZED LAYOUT)
   ========================================= */

/* 6.1 Partners Section */
.section-partners { background: #fff; padding: 30px 0; text-align: center; }
.section-partners .section-title.text-left { text-align: left; margin-bottom: 15px; }

/* 6.2 Serving Countries (Single Row) */
.section-countries {
    background-color: #F6F9FF;
    padding: 40px 0;
    border-top: 1px solid #eee;
}
.flags-grid {
    display: flex;
    flex-wrap: nowrap; /* Force single row */
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    overflow-x: auto; /* Scroll on tiny screens */
    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 img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Overlay Style */
.flag-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(14, 51, 87, 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; /* Adjusted for 62.5% base */
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    padding: 2px;
}
.flag-item:hover .flag-overlay { opacity: 1; }

/* 6.3 Contact Bar (Visibility Fix) */
.contact-bottom { background: #0E3357; color: #fff; padding: 25px 0; width: 100%; float: left; }
.contact-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-title { 
    color: #fff !important; 
    font-size: 2.2rem; 
    margin: 0; 
    font-weight: 700; 
    text-transform: uppercase;
}
.cta-buttons { display: flex; gap: 10px; }
.btn.btn-outline {
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff !important;
    font-size: 1.3rem;
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}
.btn.btn-outline i { margin-right: 6px; }
.btn.btn-outline:hover { background: #E46C27; border-color: #E46C27; color: #fff !important; }

/* 6.4 Main Footer Widgets */
.site-footer {
    background: #081e33; 
    color: #b0c4de;
    padding: 60px 0 0;
    clear: both;
    border-top: 4px solid #E46C27;
}

/* Header Visibility Fix */
.footer-aside h3.widget-title {
    color: #E46C27 !important;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    display: block;
    width: 100%;
    font-weight: 700;
}
.footer-aside ul li { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 8px 0; }
.footer-aside ul li a { color: #b0c4de; font-size: 1.4rem; }
.footer-aside ul li a:hover { color: #fff; padding-left: 5px; }

/* 6.5 Logos Section */
.copyright-area {
    background: #051626;
    padding: 30px 0;
    margin-top: 40px;
    width: 100%;
}
.accreditation-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    display: inline-flex;
    margin: 0 auto 20px;
}
.accreditation-logos img {
    height: 45px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}
.accreditation-logos img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }
.copyright-text { text-align: center; font-size: 1.2rem; color: #667; margin-top: 15px; }

/* =========================================
   7. RESPONSIVE MEDIA QUERIES (RESTORED ORIGINAL)
   ========================================= */
@media (min-width: 768px) {
    .container { width: 750px; }
    .col-sm-6 { width: 50%; }
}
@media (min-width: 992px) {
    .container { width: 970px; }
    .col-md-3 { width: 25%; } .col-md-4 { width: 33.33%; } .col-md-6 { width: 50%; } .col-md-8 { width: 66.66%; }
}
@media (min-width: 1200px) {
    .container { width: 1170px; }
    .col-lg-3 { width: 25%; } .col-lg-4 { width: 33.33%; } .col-lg-9 { width: 75%; }
}

@media (max-width: 767px) {
    .hidden-xs { display: none !important; }
    .course-menu { display: none !important; }
    .hero-section { text-align: center; padding: 40px 0; }
    h2.section-title { font-size: 2.2rem; }
    .nav-tabs > li { display: block; width: 100%; border-bottom: 1px solid #eee; }
    .container { width: 100%; padding-left: 15px; padding-right: 15px; }
    .navbar-collapse.in { display: block !important; }

    /* Footer Mobile Fixes */
    .contact-bottom .container { display: block; text-align: center; }
    .cta-buttons { justify-content: center; margin-top: 15px; flex-wrap: wrap; }
    .flags-grid { justify-content: flex-start; } 
    .accreditation-logos { padding: 10px 20px; border-radius: 10px; width: 100%; }
    .accreditation-logos img { height: 35px; margin: 5px; }
}




/* ============= New Course Layout (Scoped) ============= */

/* Global colour tokens for the layout */
:root {
  --primary: #0E3357;
  --accent: #E46C27;
  --accent-yellow: #ffba00;
  --bg-light: #f7f9fc;
  --text-main: #222;
  --text-muted: #666;
  --radius-card: 12px;
  --shadow-soft: 0 6px 24px rgba(0,0,0,0.08);
  --max-width: 1180px;
}

/* Base wrapper */
.course-page {
  font-size: 16px;
  color: var(--text-main);
}

/* Containers & sections */
.course-page .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.course-page section {
  padding: 60px 0;
}

.course-page h1,
.course-page h2,
.course-page h3,
.course-page h4 {
  margin-top: 0;
  color: var(--primary);
}

.course-page .section-heading {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 800;
  text-align: center;
}

.course-page .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 32px;
}

/* Buttons (scoped so they don't override Bootstrap) */
.course-page .btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease,
              box-shadow 0.15s ease,
              background 0.15s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.course-page .btn-primary:hover {
  background: #c9571f;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.22);
}

.course-page .btn-secondary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.course-page .btn-secondary:hover {
  background: #fff;
  color: var(--primary);
  text-decoration: none;
}

.course-page .btn-outline-dark {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.course-page .btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* Top course nav (below main site header) */
.course-page .course-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.course-page .course-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.course-page .course-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.course-page .course-nav-links a {
  font-weight: 600;
  color: var(--primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.course-page .course-nav-links a:hover {
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.course-page .course-nav-right .btn-primary {
  padding: 8px 20px;
  box-shadow: none;
  font-size: 1.5rem;
}

/* Hero */
.course-page .hero {
  background:
    linear-gradient(rgba(14,51,87,0.93), rgba(14,51,87,0.9)),
    url('https://edudelphi.com/ae/wp-content/uploads/sites/4/page-header-v1.webp')
      center/cover no-repeat;
  color: #fff;
  padding: 80px 0 70px;
}

.course-page .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.course-page .hero-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.course-page .hero-badge-stars {
  color: var(--accent-yellow);
  font-size: 1rem;
  line-height: 1;
}

.course-page .hero-badge-text {
  font-weight: 600;
}

.course-page .hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.2;
}

.course-page .hero-subtitle {
  font-size: 1.4rem;
  color: var(--accent-yellow);
  margin: 0 0 16px;
  font-weight: 500;
}

.course-page .hero-text {
  font-size: 1rem;
  color: #e0e0e0;
  max-width: 90%;
}

.course-page .hero-list {
  list-style: none;
  padding-left: 0;
  margin: 22px 0 0;
  font-size: 0.95rem;
}

.course-page .hero-list li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 20px;
}

.course-page .hero-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-yellow);
  font-weight: 700;
}

.course-page .hero-cta-group {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.course-page .hero-lnp {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,0.32);
  font-size: 0.85rem;
}

.course-page .hero-lnp-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-page .hero-lnp-logos img {
  height: 24px;
  background: #fff;
  border-radius: 6px;
  padding: 2px 6px;
}

.course-page .hero-logos {
  margin-top: 34px;
  opacity: 0.9;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.course-page .hero-logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
  align-items: center;
}

/* Hero form card */
.course-page .hero-form-card {
  background: #fff;
  color: var(--text-main);
  padding: 26px 22px 22px;
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.course-page .hero-form-card h3 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.course-page .hero-form-sub {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.course-page .hero-form-note {
  text-align: center;
  font-size: 0.75rem;
  color: #16a34a;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.course-page .hero-form input[type="text"],
.course-page .hero-form input[type="email"],
.course-page .hero-form input[type="tel"] {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.course-page .hero-form label {
  font-size: 0.75rem;
  color: #444;
  display: block;
  margin-top: 4px;
  text-align: left;
}

.course-page .hero-form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.course-page .hero-form-smallprint {
  font-size: 0.7rem;
  color: #999;
  text-align: center;
  margin-top: 6px;
}

/* Simple grids / cards */
.course-page .grid-2 {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 36px;
  align-items: flex-start;
}

.course-page .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.course-page .card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
}

.course-page .card-soft {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid #e1ede8;
  padding: 22px 20px;
}

.course-page .stat-block {
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

.course-page .stat-block h3 {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 800;
}

.course-page .stat-block p {
  margin: 0;
  font-size: 1.3rem;
}

/* Overview */
.course-page .bg-light {
  background: var(--bg-light);
}

.course-page .overview-text p {
  margin-bottom: 12px;
}

.course-page .overview-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.course-page .overview-global {
  text-align: center;
}

.course-page .overview-global-values {
  display: flex;
  justify-content: space-around;
  margin-top: 18px;
}

.course-page .overview-global-item span:first-child {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.course-page .overview-global-item span:last-child {
  font-size: 1.6rem;
  color: var(--text-muted);
}

/* Benefits */
.course-page .benefits-grid {
  margin-top: 20px;
}

.course-page .benefit-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.course-page .salary-table-wrapper {
  margin-top: 36px;
}

.course-page .salary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
}

.course-page .salary-table th,
.course-page .salary-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.course-page .salary-table thead {
  background: var(--primary);
  color: #fff;
}

.course-page .salary-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Steps */
.course-page .steps-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.course-page .step-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid #e5e7eb;
  padding: 18px 18px 16px;
  position: relative;
}

.course-page .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* Syllabus */
.course-page .syllabus-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.course-page .syllabus-card ul {
  margin-top: 10px;
  padding-left: 18px;
  font-size: 0.9rem;
}

/* Fees */
.course-page .fees-top-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.course-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.course-page .pricing-card h3 {
  margin-bottom: 4px;
}

.course-page .pricing-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e5e7eb;
  font-size: 1.3rem;
}

.course-page .pricing-list {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 12px;
  font-size: 0.9rem;
}

.course-page .pricing-list li {
  margin-bottom: 4px;
  padding-left: 18px;
  position: relative;
}

.course-page .pricing-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--accent);
}

.course-page .lnp-banner {
  margin-top: 26px;
  background: #f1f5ff;
  border-radius: var(--radius-card);
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
}

.course-page .lnp-banner-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-page .lnp-banner-logos img {
  height: 28px;
  background: #fff;
  border-radius: 6px;
  padding: 3px 8px;
}

/* Reviews */
.course-page .reviews-grid {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  gap: 22px;
}

.course-page .review-rating-block {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid #e5e7eb;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.course-page .review-score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-page .review-score-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
}

.course-page .review-stars {
  color: var(--accent-yellow);
  font-size: 1.1rem;
  line-height: 1;
}

.course-page .review-widgets-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.course-page .review-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.course-page .review-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid #e5e7eb;
  padding: 14px 14px 12px;
  font-size: 0.9rem;
}

.course-page .review-card-stars {
  color: var(--accent-yellow);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.course-page .review-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Trainer */
.course-page .trainer-section {
  background: var(--primary);
  color: #fff;
}

.course-page .trainer-card {
  background: #fff;
  color: var(--text-main);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 50px rgba(0,0,0,0.4);
  padding: 22px 22px 20px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.course-page .trainer-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.course-page .trainer-name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.course-page .trainer-cred {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.course-page .trainer-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
  margin: 8px 0 4px;
}

.course-page .trainer-list li {
  margin-bottom: 4px;
  padding-left: 18px;
  position: relative;
}

.course-page .trainer-list li::before {
  content: "✓";
  position: absolute;
  left: 3px;
  top: 0;
  color: var(--accent);
  font-size: 0.9rem;
}

.course-page .trainer-quote {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* FAQ (no JS, SEO-safe) */
.course-page .faq-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
  margin-top: 20px;
}

.course-page .faq-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  font-size: 1.5rem;
}

.course-page .faq-item details {
  cursor: pointer;
}

.course-page .faq-item summary {
  list-style: none;
  font-weight: 600;
  color: var(--primary);
}

.course-page .faq-item summary::-webkit-details-marker {
  display: none;
}

.course-page .faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--accent);
}

.course-page .faq-item details[open] summary::after {
  content: "−";
}

.course-page .faq-item p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Final CTA */
.course-page .final-cta {
  background:
    url('https://edudelphi.com/wp-content/uploads/2025/09/banner-background-with-pattern-1.webp')
      center/cover no-repeat;
  padding: 50px 0;
}

.course-page .final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.course-page .final-cta-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #000;
}

.course-page .final-cta-sub {
  margin: 0;
  color: #333;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .course-page .hero-inner {
    grid-template-columns: 1fr;
  }
  .course-page .hero-form-card {
    max-width: 420px;
    margin: 24px auto 0;
  }
  .course-page .grid-2,
  .course-page .fees-top-grid,
  .course-page .reviews-grid {
    grid-template-columns: 1fr;
  }
  .course-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .course-page .review-cards {
    grid-template-columns: 1fr 1fr;
  }
  .course-page .course-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .course-page section {
    padding: 40px 0;
  }
  .course-page .hero {
    padding: 60px 0 40px;
  }
  .course-page .hero-title {
    font-size: 2rem;
  }
  .course-page .hero-subtitle {
    font-size: 1.1rem;
  }
  .course-page .overview-stats,
  .course-page .benefits-grid,
  .course-page .steps-grid,
  .course-page .syllabus-grid,
  .course-page .fees-top-grid,
  .course-page .pricing-grid {
    grid-template-columns: 1fr;
  }
  .course-page .pricing-grid {
    gap: 16px;
  }
  .course-page .faq-columns {
    grid-template-columns: 1fr;
  }
  .course-page .review-cards {
    grid-template-columns: 1fr;
  }
  .course-page .final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .course-page .course-nav-links {
    gap: 8px;
    font-size: 0.8rem;
  }
  .course-page .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .course-page .hero-text {
    max-width: 100%;
  }
}


/* ===========================
   2025 COURSE PAGE – FONT SIZE FIX
   (affects only content wrapped in .course-page)
   =========================== */

/* Default text for the new layout: match site body (≈15px) */
.course-page p,
.course-page li,
.course-page table,
.course-page .section-subtitle,
.course-page .hero-text {
    font-size: 1.5rem;  /* ≈15px with your current base */
}

/* Navigation & labels slightly smaller but still readable */
.course-page .course-nav-links a,
.course-page .salary-note,
.course-page .review-widgets-note,
.course-page .trainer-quote,
.course-page .lnp-banner,
.course-page .faq-item p {
    font-size: 1.6rem;  /* ≈13px */
}

/* Tiny helper / legal text */
.course-page .hero-form-smallprint {
    font-size: 1.1rem;  /* ≈11px */
}

/* Buttons & key CTAs */
.course-page .btn-primary,
.course-page .btn-secondary,
.course-page .btn-outline-dark {
    font-size: 1.4rem;  /* ≈14px */
}

/* Section headings – give them proper weight */
.course-page .section-heading {
    font-size: 2.2rem;  /* ≈22px */
}

.course-page h3 {
    font-size: 1.8rem;  /* ≈18px */
}

/* CTA Enquiry Section */
#enquiry.enquiry-section {
  padding: 60px 0 70px;
  background: radial-gradient(circle at top left, #fff4e0 0, #ffffff 50%, #f7fbff 100%);
}

#enquiry .enquiry-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  padding: 40px 40px 35px;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

#enquiry .enquiry-content,
#enquiry .enquiry-form {
  flex: 1 1 0;
}

/* Left side text */
#enquiry .enquiry-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #f97316;
  margin-bottom: 8px;
}

#enquiry .enquiry-heading {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #0f172a;
}

#enquiry .enquiry-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 18px;
}

#enquiry .enquiry-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 6px 16px;
}

#enquiry .enquiry-benefits li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #374151;
}

#enquiry .enquiry-benefits li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
  position: absolute;
  left: 0;
  top: 7px;
}

/* Trust badges */
#enquiry .enquiry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

#enquiry .enquiry-badge {
  padding: 10px 16px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

#enquiry .badge-number {
  display: block;
  font-weight: 700;
  font-size: 2.5rem;
  color: #111827;
}

#enquiry .badge-label {
  display: block;
  font-size: 1.5rem;
  color: #6b7280;
}

/* Right side form card */
#enquiry .enquiry-form-card {
  background: #f9fafb;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 24px 24px 16px;
}

#enquiry .form-heading {
  font-size: 20px;
  margin-bottom: 6px;
  color: #111827;
}

#enquiry .form-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 18px;
}

/* Generic form styling inside shortcode */
#enquiry .enquiry-form-card form input[type="text"],
#enquiry .enquiry-form-card form input[type="email"],
#enquiry .enquiry-form-card form input[type="tel"],
#enquiry .enquiry-form-card form select,
#enquiry .enquiry-form-card form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 9px 11px;
  font-size: 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #ffffff;
}

#enquiry .enquiry-form-card form textarea {
  min-height: 90px;
  resize: vertical;
}

#enquiry .enquiry-form-card form input:focus,
#enquiry .enquiry-form-card form select:focus,
#enquiry .enquiry-form-card form textarea:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.35);
}

/* Submit button */
#enquiry .enquiry-form-card form input[type="submit"],
#enquiry .enquiry-form-card .submit-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(90deg, #f97316, #f59e0b);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

#enquiry .enquiry-form-card form input[type="submit"]:hover,
#enquiry .enquiry-form-card .submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.45);
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 991px) {
  #enquiry .enquiry-card {
    flex-direction: column;
    padding: 28px 20px 24px;
  }

  #enquiry .enquiry-heading {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  #enquiry.enquiry-section {
    padding: 40px 0 45px;
  }

  #enquiry .enquiry-card {
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  #enquiry .enquiry-form-card {
    margin-top: 16px;
  }
}

/* ========================================================
   NEW CORPORATE SECTION STYLES (Footer Integration)
   ======================================================== */

.section-corporate-hybrid {
    background-color: #f8f9fa; /* Matches your light gray theme */
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

/* Header Tweaks */
.section-corporate-hybrid .corp-header {
    margin-bottom: 50px;
    padding: 0 15px;
}

.section-corporate-hybrid .section-title {
    color: #f47920; /* EduDelphi Orange */
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.section-corporate-hybrid .section-subtitle {
    color: #666;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- 1. INFINITE MARQUEE --- */
.section-corporate-hybrid .marquee-wrapper {
    margin-bottom: 60px;
    position: relative;
    overflow: hidden; /* Critical for hiding overflow logos */
}

.section-corporate-hybrid .marquee-track {
    display: flex;
    width: fit-content;
    /* Adjust '45s' to change speed */
    animation: edScrollLogos 45s linear infinite;
}

.section-corporate-hybrid .marquee-track:hover {
    animation-play-state: paused;
}

.section-corporate-hybrid .logo-card {
    background: #fff;
    width: 180px; /* Fixed card width */
    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; /* Prevents cards from squishing */
}

.section-corporate-hybrid .logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.section-corporate-hybrid .logo-card img {
    max-width: 70%;
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
    width: auto;
}

.section-corporate-hybrid .logo-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* The Animation Keyframes */
@keyframes edScrollLogos {
    0% { transform: translateX(0); }
    /* Shifts left by 50% of the track width (assuming 2 identical sets of logos) */
    100% { transform: translateX(-50%); } 
}

/* --- 2. STATS CARD --- */
.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);
    border: 1px solid rgba(0,0,0,0.02);
    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: #f47920; /* Orange Accent */
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.2;
}

.section-corporate-hybrid .stat-label {
    color: #555;
    font-size: 15px;
    font-weight: 500;
    display: block;
}

.section-corporate-hybrid .footer-note {
    margin-top: 30px;
    color: #888;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 0;
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 768px) {
    .section-corporate-hybrid .stats-card {
        flex-direction: column;
        padding: 30px 20px;
        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;
        padding-bottom: 0;
    }
    
    .section-corporate-hybrid .section-title {
        font-size: 26px;
    }
}

/* ==========================================================================
   8. NEW COUNSELING POPUP (2025 DESIGN)
   Overrides global styles strictly within .delphi-popup-modal
   ========================================================================== */

/* Overlay & Animation */
.delphi-popup-overlay {
    display: none; /* JS toggles this to flex */
    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; /* Reset alignment */
}

@keyframes delphiFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Close Button */
.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: #1f2933;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12) !important;
    z-index: 10;
    padding: 0;
    min-width: auto;
}
.delphi-popup-close:hover {
    background: #f2f4f8 !important;
}

/* Left Panel (Visuals) */
.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;
}

/* Typography Overrides */
.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; /* Override global h2 margin */
    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;
}

/* Benefits List */
.delphi-popup-benefits { margin-bottom: 22px; }
.delphi-popup-benefit {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.dot-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffdf6b, #f4b41a);
    box-shadow: 0 0 0 3px rgba(2, 16, 38, 0.75);
    margin-right: 10px;
    flex-shrink: 0;
}
.benefit-text {
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
}

/* Trust Card */
.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; }

.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;
}

/* Right Panel (Form) */
.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 .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.delphi-popup-form label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

/* Overriding Global Input Styles */
.delphi-popup-form input[type="text"],
.delphi-popup-form input[type="email"],
.delphi-popup-form input[type="tel"] {
    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 input:focus {
    border-color: #004a80 !important;
    background: #ffffff !important;
}

/* Phone Input Wrapper */
.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;
}
/* Remove border from input inside the phone wrap wrapper */
.delphi-popup-form .phone-wrap input[type="tel"] {
    border: none !important;
    background: transparent !important;
}

/* Checkbox & Submit */
.delphi-popup-form .form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-weight: 400;
    font-size: 12px;
    color: #4b5563;
    cursor: pointer;
}
.delphi-popup-form .delphi-popup-submit {
    margin-top: 2px;
    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;
}
.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;
}

/* Mobile Specifics */
.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; } /* Hide desktop title */
    .mobile-header { display: block; margin-bottom: 6px; }
    
    .mobile-header-eyebrow { font-size: 11px; text-transform: uppercase; color: #9ca3af; }
    .mobile-header-title { font-size: 20px; font-weight: 700; color: #111827; margin: 4px 0 10px; }
    .mobile-header-title span { color: #b8860b; }
    
    .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; 
    }
    .mobile-trust-item img { height: 18px; width: auto; }
}

/* ====== EduDelphi Footer Styles Pack (safe with Bootstrap) ====== */
:root{
  --edf-bg-dark:#051626;
  --edf-bg-darker:#03101d;
  --edf-bg-cta:#0a2a4a;
  --edf-text:#e9eef5;
  --edf-text-dim:#b7c3d1;
  --edf-accent:#003871;
  --edf-gold:#F5B301;
  --edf-border:#183049;
}

/* Container used by the new footer markup */
.edf-container{max-width:1200px;margin:0 auto;padding:0 16px;box-sizing:border-box}

/* ---------------- Companies We Work With (marquee) ---------------- */
.section-corporate-hybrid{padding:36px 0;background:#f8fafc}
.section-corporate-hybrid .corp-header .section-title{
  font-weight:800;color:#0f172a;margin:0 0 6px;text-align:center
}
.section-corporate-hybrid .corp-header .section-subtitle{
  color:#475569;margin:0 0 14px;text-align:center
}
.section-corporate-hybrid .marquee-wrapper{
  position:relative;overflow:hidden;padding:18px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)
}
/* Animate either class (your markup uses .marquee-track) */
.section-corporate-hybrid .marquee-track,
.section-corporate-hybrid .marquee-logos{
  display:flex;align-items:center;gap:22px;width:max-content;
  animation:edScrollLogos 45s linear infinite;will-change:transform
}
.section-corporate-hybrid .marquee-track:hover,
.section-corporate-hybrid .marquee-logos:hover{animation-play-state:paused}

.logo-card{
  display:inline-flex;align-items:center;justify-content:center;
  background:#fff;border-radius:14px;padding:12px 18px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);min-width:120px;min-height:64px
}
.logo-card img{
  display:block;max-height:36px;width:auto;height:auto;object-fit:contain;
  filter:grayscale(100%);opacity:.75;transition:.25s
}
.logo-card:hover img{filter:none;opacity:1}

@keyframes edScrollLogos{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@-webkit-keyframes edScrollLogos{0%{-webkit-transform:translateX(0)}100%{-webkit-transform:translateX(-50%)}}

/* Stats strip */
.stats-wrapper{margin-top:18px}
.stats-card{
  display:grid;grid-template-columns:repeat(3,1fr);
  background:#fff;border-radius:16px;box-shadow:0 6px 22px rgba(0,0,0,.08);
  padding:18px 16px
}
.stat-item{display:flex;flex-direction:column;align-items:center;gap:6px;position:relative}
.stat-item:not(:last-child)::after{
  content:"";position:absolute;right:0;top:10%;bottom:10%;width:1px;background:rgba(0,0,0,.08)
}
.stat-number{font-weight:800;font-size:clamp(20px,3.2vw,28px);color:var(--edf-gold)}
.stat-label{font-size:13px;color:#475569;letter-spacing:.2px}
.footer-note{margin-top:10px;font-size:13px;color:#64748b;text-align:center}

@media(max-width:768px){
  .stats-card{grid-template-columns:1fr;row-gap:10px}
  .stat-item:not(:last-child)::after{display:none}
}

/* ---------------- Serving Countries (flags grid) ---------------- */
.section-countries{padding:36px 0;background:#fff}
.section-countries .section-title{color:#0f172a;font-weight:800;margin:0 0 16px}
.section-countries .flags-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px
}
.flag-link{display:block;position:relative;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.flag-img-wrap{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;background:#f1f5f9}
.flag-img-wrap img{max-height:60%;max-width:80%;width:auto;height:auto;object-fit:contain;display:block}
.flag-overlay{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(180deg,rgba(2,6,23,0) 0%,rgba(2,6,23,.6) 75%,rgba(2,6,23,.9) 100%);
  padding:8px 12px
}
.flag-name{color:#fff;font-weight:700;font-size:14px}
.flag-link:hover .flag-img-wrap{filter:saturate(1.1)}

@media(max-width:992px){.section-countries .flags-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.section-countries .flags-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------------- Contact CTA band (no Bootstrap) ---------------- */
.edf-footer-cta{
  background:linear-gradient(180deg,var(--edf-bg-cta),var(--edf-bg-dark));
  padding:28px 0;border-top:1px solid var(--edf-border);color:#fff
}
.edf-cta-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;align-items:center}
.edf-cta-title{
  margin:0;font-weight:800;text-transform:uppercase;letter-spacing:.6px;
  color:#f2f7fb;font-size:clamp(16px,1.6vw,20px)
}
.edf-cta-buttons{display:flex;gap:12px;justify-content:flex-end;align-items:center;flex-wrap:nowrap}
.edf-btn{
  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;white-space:nowrap;
  transition:background .2s ease,border-color .2s ease,transform .08s ease
}
.edf-btn:hover{background:#0f3b66;border-color:#6991b8;transform:translateY(-1px)}
.edf-ico{width:18px;height:18px;fill:currentColor;flex:0 0 18px}

@media(max-width:992px){
  .edf-cta-grid{grid-template-columns:1fr}
  .edf-cta-buttons{justify-content:flex-start;flex-wrap:wrap}
}

/* ---------------- Widgets Footer + Accreditation ---------------- */
.edf-footer{background:var(--edf-bg-dark);color:var(--edf-text);padding:42px 0 0}
.edf-widgets-grid{display:grid;gap:28px;grid-template-columns:repeat(4,1fr)}
.edf-footer-col{min-width:0}

/* Widget headings: remove dots/bullets and improve contrast */
.edf-footer .widget-title,
.edf-footer .widget h3,
.edf-footer .widget h4{
  margin:0 0 12px;color:#ffffff;font-weight:800;font-size:18px;letter-spacing:.2px
}
.edf-footer .widget-title::before,
.edf-footer .widget h3::before,
.edf-footer .widget h4::before{content:none !important}

.edf-footer .widget ul{list-style:none;margin:0;padding:0}
.edf-footer .widget li{margin:8px 0}
.edf-footer a{color:var(--edf-text-dim);text-decoration:none}
.edf-footer a:hover{color:#fff}

.edf-copyright{background:var(--edf-bg-darker);margin-top:36px;padding:22px 0;border-top:1px solid var(--edf-border)}
/* Handle both the new class and legacy widget output */
.edf-accreditation,
.accreditation-logos{
  display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap
}
.edf-accreditation ul,
.accreditation-logos ul{
  display:flex;gap:14px;flex-wrap:wrap;justify-content:center;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}
.edf-copytext{text-align:center;color:var(--edf-text-dim);font-size:14px}

@media(max-width:992px){.edf-widgets-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.edf-widgets-grid{grid-template-columns:1fr}}

