/* -------------------------------------------------------------
   style-course2025.css  (Dec-17-2025 FINAL)
   Delphi | Master 2025 Course Template
   - Duplicate-free, media blocks closed, keyframes de-duped
   - No reliance on .page-template-course2025
   - Restores footer/flags/aside + trust strip
   ------------------------------------------------------------- */

/* ========== 0) Base / Reset ========== */
html{
  font-family:"Open Sans",Arial,sans-serif;
  /* 1rem = 10px baseline for easy math */
  font-size:62.5% !important;
  -webkit-text-size-adjust:100%;
}
body{
  margin:0;
  font-size:1.5rem !important; /* 15px body */
  color:#333;
  background:#fff;
  line-height:1.6;
}
*,*::before,*::after{
  -webkit-box-sizing:border-box !important;
  -moz-box-sizing:border-box !important;
  box-sizing:border-box !important;
}
img{max-width:100%;height:auto;border:0;vertical-align:middle;}
a{color:#E46C27;text-decoration:none;transition:0.3s;}
a:hover{color:#003871;text-decoration:none;}
hr{height:0;border:0;border-top:1px solid #eee;margin:20px 0;}
button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}
.screen-reader-text{
  clip:rect(1px,1px,1px,1px);
  position:absolute !important;height:1px;width:1px;overflow:hidden;
}

/* Headings */
h1,h2,h3,h4,h5,h6{
  color:#0E3357;
  font-family:"Montserrat","Open Sans",sans-serif;
  font-weight:700 !important;
  margin:1.5em 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;}

/* Simple layout container compatible with theme */
.container{padding:0 15px;margin:0 auto;max-width:1180px;}

/* WP image captions */
.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;}

/* Floats helpers (legacy content support) */
.alignleft{float:left;margin:.5em 1.5em 1em 0;}
.alignright{float:right;margin:.5em 0 1em 1.5em;}
.aligncenter{clear:both;display:block;margin:0 auto 1.5em;}

/* ========== 1) Design Tokens (one canonical place) ========== */
:root{
  /* Core brand */
  --ed-primary:#003871;      /* Deep brand blue */
  --ed-secondary:#1371E2;    /* Bright brand blue */
  --ed-accent:#F5B301;       /* Gold accent (badges) */
  --ed-success:#047857;      /* Emerald (success/salary) */

  /* Text & surfaces */
  --ed-text-main:#0F172A;    /* Slate-900-ish */
  --ed-text-muted:#64748B;   /* Slate-500 */
  --ed-bg:#F6F9FF;
  --ed-bg-soft:#F8FAFC;
  --ed-border-subtle:rgba(148,163,184,.35);

  /* Radii & shadows */
  --ed-radius-lg:1rem;
  --ed-radius-xl:1.4rem;
  --ed-shadow-card:0 12px 30px rgba(15,23,42,.06);
  --ed-shadow-soft:0 20px 40px rgba(2,6,23,.18);

  /* Spacing */
  --ed-spacing-section:3rem;

  /* Footer (edf- namespace) */
  --edf-max:1200px;
  --edf-pad:16px;
  --edf-bg-dark:#051626;
  --edf-bg-darker:#03101d;
  --edf-bg-cta:#0a2a4a;
  --edf-text:#e9eef5;
  --edf-text-dim:#b7c3d1;
  --edf-accent:#003871;
  --edf-border:#183049;
  --edf-green:#25d366;
}

/* Page baseline text colors override to tokens */
html,body{color:var(--ed-text-main);background:#fff;}

/* ========== 2) Generic Utilities / Blocks ========== */
.ed-container{max-width:var(--edf-max);margin:0 auto;padding:0 1.25rem;}
p{margin:0 0 .75rem;color:var(--ed-text-main);}

h1,h2,h3,h4{color:var(--ed-primary);margin:0 0 .8rem;letter-spacing:.02em;}
h2.ed-section-title{font-size:clamp(1.8rem,3vw,2.35rem);font-weight:700;}
h3.ed-section-subtitle{font-size:clamp(1.1rem,1.6vw,1.25rem);font-weight:600;color:var(--ed-secondary);text-transform:uppercase;letter-spacing:.08em;}

.ed-text-muted{color:var(--ed-text-muted);}
.ed-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .75rem;border-radius:999px;background:rgba(19,113,226,.06);color:var(--ed-secondary);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;}
.ed-badge-dot{width:8px;height:8px;border-radius:50%;background:var(--ed-success);}

.ed-btn-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem;}
.ed-btn{display:inline-flex;align-items:center;justify-content:center;padding:.7rem 1.6rem;border-radius:999px;font-weight:600;font-size:.95rem;border:1px solid transparent;text-decoration:none;cursor:pointer;white-space:nowrap;transition:.16s ease;}
.ed-btn-primary{background:linear-gradient(135deg,var(--ed-secondary),var(--ed-primary));color:#fff;box-shadow:0 12px 30px rgba(0,56,113,.35);}
.ed-btn-primary:hover{transform:translateY(-1px);box-shadow:0 16px 40px rgba(0,56,113,.45);}
.ed-btn-outline{background:transparent;border-color:rgba(0,56,113,.2);color:var(--ed-primary);}
.ed-btn-outline:hover{border-color:var(--ed-secondary);background:rgba(19,113,226,.06);}
.ed-btn-ghost{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.4);color:#fff;}

.ed-section{padding:var(--ed-spacing-section) 0;}
.ed-section--light{background:#fff;}
.ed-section--soft{background:var(--ed-bg);}
.ed-section--alt{background:var(--ed-bg-soft);}
.ed-section--dark{background:radial-gradient(circle at top left,#003871 0,#020617 60%);color:#f9fafb;}
.ed-section--dark h2,.ed-section--dark h3,.ed-section--dark p{color:#f9fafb;}
.ed-section-header{margin-bottom:1.8rem;}
.ed-section-header p{max-width:680px;}

.ed-grid-2{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1.3fr);gap:2.5rem;align-items:flex-start;}
.ed-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.75rem;}
.ed-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2rem;}

@media (max-width:980px){
  .ed-grid-2{grid-template-columns:minmax(0,1fr);}
  .ed-grid-3{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ed-grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .ed-grid-3,.ed-grid-4{grid-template-columns:minmax(0,1fr);}
  .ed-section{padding:2rem 0;}
  .ed-section-header{margin-bottom:1.3rem;}
}

/* Cards */
.ed-card{background:#fff;border-radius:var(--ed-radius-lg);border:1px solid rgba(148,163,184,.25);padding:1.5rem;box-shadow:var(--ed-shadow-card);}
.ed-card-soft{background:linear-gradient(135deg,#fff,#f6f7ff);border-radius:var(--ed-radius-xl);border:1px solid rgba(148,163,184,.18);padding:1.8rem;box-shadow:var(--ed-shadow-soft);}
.ed-card-minimal{border-radius:1rem;border:1px solid var(--ed-border-subtle);padding:1.25rem 1.5rem;background:#fff;}
.ed-card-dark{border-radius:var(--ed-radius-xl);padding:2rem;background:radial-gradient(circle at top left,#0b417f 0,#020617 60%);color:#fff;box-shadow:var(--ed-shadow-soft);}
.ed-card-dark p{color:#e5e7eb;}

/* Lists & pills */
.ed-list-check{list-style:none;padding:0;margin:0;}
.ed-list-check li{position:relative;padding-left:1.4rem;margin-bottom:.5rem;font-size:.95rem;}
.ed-list-check li::before{
  content:"✓";position:absolute;left:0;top:.1rem;font-size:.8rem;width:1rem;height:1rem;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,var(--ed-secondary),var(--ed-primary));
}
.ed-list-dot{margin:.4rem 0 .4rem 1.1rem;padding-left:.6rem;}
.ed-list-dot li{margin-bottom:.35rem;font-size:.93rem;}

.ed-metric-row{display:flex;flex-wrap:wrap;gap:1.25rem;}
.ed-metric{display:flex;flex-direction:column;gap:.1rem;}
.ed-metric-label{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ed-text-muted);font-weight:500;}
.ed-metric-value{font-size:1.3rem;font-weight:700;color:var(--ed-primary);}
.ed-metric-value.highlight{color:var(--ed-secondary);}
.ed-metric-sub{font-size:.8rem;color:var(--ed-text-muted);}
.ed-with-divider{border-top:1px solid rgba(148,163,184,.35);margin-top:1.25rem;padding-top:1.25rem;}

/* Tools/Chips */
.ed-chip-row{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.4rem;}
.ed-chip{border-radius:999px;padding:.2rem .6rem;background:rgba(15,23,42,.04);font-size:.78rem;font-weight:500;color:var(--ed-text-muted);}
.ed-tools-grid{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.75rem;}
.ed-tools-item{min-width:120px;padding:.6rem .8rem;border-radius:999px;border:1px solid rgba(148,163,184,.3);background:rgba(255,255,255,.9);font-size:.85rem;font-weight:500;display:flex;align-items:center;justify-content:space-between;gap:.4rem;}
.ed-tools-tag{font-size:.75rem;color:var(--ed-text-muted);}

/* Career / Salary */
.ed-career-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.1fr) minmax(0,1fr);gap:1.75rem;}
@media (max-width:980px){.ed-career-grid{grid-template-columns:minmax(0,1fr);}}
.ed-career-roles ul,.ed-career-industries ul{padding-left:1.1rem;margin:.3rem 0;font-size:.93rem;}
.ed-salary-pill{display:inline-flex;align-items:baseline;gap:.25rem;padding:.3rem .75rem;border-radius:999px;background:rgba(15,118,110,.06);color:var(--ed-success);font-size:.82rem;font-weight:600;}
.ed-salary-pill span{font-size:.78rem;font-weight:500;opacity:.9;}

/* Syllabus */
.ed-syllabus-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:2rem;}
@media (max-width:900px){.ed-syllabus-layout{grid-template-columns:minmax(0,1fr);}}
.ed-module-list{margin-top:1rem;border-radius:var(--ed-radius-lg);border:1px solid rgba(148,163,184,.4);background:#fff;overflow:hidden;}
.ed-module-item{border-bottom:1px solid rgba(148,163,184,.25);}
.ed-module-header{display:flex;justify-content:space-between;align-items:center;padding:.9rem 1.1rem;cursor:pointer;background:linear-gradient(90deg,rgba(0,56,113,.02),rgba(19,113,226,.04));}
.ed-module-header-title{display:flex;flex-direction:column;gap:.1rem;}
.ed-module-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:var(--ed-text-muted);}
.ed-module-name{font-size:.95rem;font-weight:600;}
.ed-module-duration{font-size:.8rem;color:var(--ed-text-muted);}
.ed-module-toggle{font-size:1.2rem;color:var(--ed-secondary);margin-left:1rem;}
.ed-module-body{padding:.9rem 1.2rem 1.2rem;background:#fff;font-size:.92rem;}
.ed-module-topics{padding-left:1rem;margin:.3rem 0;}
.ed-module-topics li{margin-bottom:.25rem;}
.ed-note{font-size:.8rem;color:var(--ed-text-muted);}

/* Timeline / Steps */
.ed-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2rem;margin-top:1.5rem;}
@media (max-width:960px){.ed-timeline{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.ed-timeline{grid-template-columns:minmax(0,1fr);}}
.ed-step-card{position:relative;padding:1.2rem 1rem 1rem;border-radius:1.3rem;background:#fff;border:1px solid rgba(148,163,184,.45);box-shadow:0 14px 30px rgba(15,23,42,.08);}
.ed-step-number{width:32px;height:32px;border-radius:999px;background:linear-gradient(135deg,var(--ed-accent),var(--ed-secondary));color:#fff;font-size:.9rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;margin-bottom:.6rem;}
.ed-step-title{font-size:.98rem;font-weight:600;margin-bottom:.25rem;color:var(--ed-primary);}

/* Fees / Compare */
.ed-fees-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1.1fr);gap:1.75rem;align-items:stretch;}
@media (max-width:900px){.ed-fees-grid{grid-template-columns:minmax(0,1fr);}}
.ed-fee-list{margin-top:.6rem;padding-left:1.1rem;}
.ed-fee-list li{margin-bottom:.4rem;font-size:.93rem;}
.ed-fee-tag{display:inline-flex;align-items:center;padding:.25rem .6rem;border-radius:999px;background:rgba(255,186,0,.12);color:#9a6700;font-size:.8rem;font-weight:600;}
.ed-fee-note{font-size:.8rem;color:var(--ed-text-muted);margin-top:.7rem;}
.ed-compare-table{width:100%;border-collapse:collapse;font-size:.9rem;margin-top:1rem;overflow:hidden;border-radius:1.1rem;border:1px solid rgba(148,163,184,.45);background:#fff;}
.ed-compare-table thead{background:linear-gradient(90deg,var(--ed-primary),var(--ed-secondary));color:#fff;}
.ed-compare-table th,.ed-compare-table td{padding:.6rem .9rem;text-align:left;}
.ed-compare-table th{font-size:.86rem;text-transform:uppercase;letter-spacing:.08em;font-weight:600;}
.ed-compare-table tbody tr:nth-child(odd){background:rgba(248,250,252,.9);}
.ed-compare-badge{display:inline-flex;padding:.15rem .55rem;font-size:.75rem;border-radius:999px;background:rgba(34,197,94,.09);color:#166534;font-weight:600;}

/* Testimonials */
.ed-testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-top:1rem;}
@media (max-width:980px){.ed-testimonial-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.ed-testimonial-grid{grid-template-columns:minmax(0,1fr);}}
.ed-testimonial-card{padding:1.3rem 1.2rem 1.4rem;border-radius:1.4rem;background:#fff;border:1px solid rgba(148,163,184,.4);box-shadow:0 14px 30px rgba(15,23,42,.08);display:flex;flex-direction:column;gap:.6rem;}
.ed-testimonial-header{display:flex;align-items:center;gap:.75rem;}
.ed-avatar{width:40px;height:40px;border-radius:999px;background:linear-gradient(135deg,var(--ed-secondary),var(--ed-primary));display:inline-flex;align-items:center;justify-content:center;font-size:.85rem;color:#fff;font-weight:600;flex-shrink:0;}
.ed-testimonial-name{font-size:.98rem;font-weight:600;color:var(--ed-primary);}
.ed-testimonial-meta{font-size:.78rem;color:var(--ed-text-muted);}
.ed-stars{font-size:.78rem;color:#fbbf24;}
.ed-quote{font-size:.9rem;color:var(--ed-text-main);}
.ed-rating-strip{display:flex;flex-wrap:wrap;gap:1.25rem;align-items:center;margin-top:1.2rem;font-size:.85rem;}
.ed-rating-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .8rem;border-radius:999px;background:#fff;border:1px solid rgba(148,163,184,.45);}
.ed-rating-label{font-weight:600;color:var(--ed-primary);}
.ed-logo-pills{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.78rem;color:var(--ed-text-muted);}
.ed-logo-pill{padding:.25rem .6rem;border-radius:999px;background:rgba(148,163,184,.15);}

/* FAQ */
.ed-faq-list{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.3fr);gap:1.5rem;}
@media (max-width:900px){.ed-faq-list{grid-template-columns:minmax(0,1fr);}}
details.ed-faq-item{border-radius:1rem;border:1px solid rgba(148,163,184,.5);background:#fff;padding:.9rem 1rem;font-size:.9rem;box-shadow:0 8px 24px rgba(15,23,42,.06);}
details.ed-faq-item summary{cursor:pointer;font-weight:600;color:var(--ed-primary);list-style:none;}
details.ed-faq-item summary::-webkit-details-marker{display:none;}
details.ed-faq-item[open]{border-color:var(--ed-secondary);}
details.ed-faq-item[open] summary{color:var(--ed-secondary);}
details.ed-faq-item>div{margin-top:.55rem;color:var(--ed-text-main);}

/* Enquiry */
.ed-enquiry-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1.1fr);gap:2rem;align-items:stretch;}
@media (max-width:900px){.ed-enquiry-grid{grid-template-columns:minmax(0,1fr);}}
.ed-enquiry-card{background:#fff;border-radius:var(--ed-radius-xl);box-shadow:var(--ed-shadow-soft);padding:1.8rem 1.6rem;border:1px solid rgba(148,163,184,.35);}
.ed-enquiry-card h3{font-size:1.25rem;margin-bottom:.4rem;}
.ed-form-row{display:flex;flex-wrap:wrap;gap:.8rem;margin:.5rem 0 1rem;}
.ed-form-group{width:100%;}
.ed-form-group-half{width:calc(50% - .4rem);}
@media (max-width:640px){.ed-form-group-half{width:100%;}}
.ed-form-label{display:block;font-size:.8rem;font-weight:500;margin-bottom:.25rem;color:var(--ed-text-muted);}
.ed-form-control,.ed-form-select,.ed-form-textarea{
  width:100%;border-radius:999px;border:1px solid rgba(148,163,184,.7);padding:.6rem .9rem;font-size:.9rem;font-family:inherit;outline:none;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;background:rgba(255,255,255,.95);
}
.ed-form-textarea{border-radius:1rem;min-height:96px;resize:vertical;}
.ed-form-control:focus,.ed-form-select:focus,.ed-form-textarea:focus{border-color:var(--ed-secondary);box-shadow:0 0 0 1px rgba(19,113,226,.18);background:#fff;}
.ed-caption{font-size:.78rem;color:var(--ed-text-muted);margin-top:.4rem;}

/* CTA band */
.ed-section-cta-band{
  border-radius:var(--ed-radius-xl);
  background:radial-gradient(circle at top left,#003871 0,#020617 70%);
  padding:1.7rem 1.6rem;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;color:#f9fafb;box-shadow:var(--ed-shadow-soft);
}
.ed-section-cta-band h3{color:#fff;margin-bottom:.35rem;font-size:1.3rem;}
.ed-section-cta-band p{color:#e5e7eb;margin:0;font-size:.9rem;}
.ed-tag-khda{display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .6rem;border-radius:999px;border:1px solid rgba(255,255,255,.4);font-size:.78rem;color:#e5e7eb;}
.ed-tag-khda span{font-weight:600;color:#fff;}

/* Trainers */
.ed-trainer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6rem;}
@media (max-width:1024px){.ed-trainer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.ed-trainer-grid{grid-template-columns:minmax(0,1fr);}}
.ed-trainer-card{background:#fff;border-radius:1.5rem;border:1px solid rgba(148,163,184,.5);box-shadow:0 14px 32px rgba(15,23,42,.08);overflow:hidden;display:flex;flex-direction:column;height:100%;}
.ed-trainer-avatar-wrap{padding-top:1.4rem;display:flex;justify-content:center;}
.ed-trainer-avatar{width:86px;height:86px;border-radius:999px;background:linear-gradient(135deg,var(--ed-secondary),var(--ed-accent));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.1rem;}
.ed-trainer-body{padding:1rem 1.3rem 1.3rem;}
.ed-trainer-name{font-weight:600;font-size:1rem;color:var(--ed-primary);margin-bottom:.15rem;}
.ed-trainer-cred{font-size:.8rem;color:var(--ed-text-muted);margin-bottom:.55rem;}
.ed-trainer-desc{font-size:.88rem;color:var(--ed-text-main);margin-bottom:.7rem;}
.ed-trainer-link{font-size:.83rem;font-weight:600;color:var(--ed-secondary);text-decoration:none;}

/* Webinar card */
.ed-webinar-card{
  border-radius:var(--ed-radius-xl);
  background:linear-gradient(105deg,rgba(0,56,113,.96),rgba(19,113,226,.88));
  padding:1.8rem 1.6rem;color:#fff;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:1.5rem;box-shadow:var(--ed-shadow-soft);
}
.ed-webinar-card h2,.ed-webinar-card h3,.ed-webinar-card p{color:#fff;}
.ed-webinar-meta{display:flex;flex-wrap:wrap;gap:.7rem;margin:.7rem 0 .8rem;font-size:.85rem;}
.ed-webinar-pill{padding:.3rem .65rem;border-radius:999px;background:rgba(15,23,42,.35);color:#e5e7eb;}
.ed-webinar-side{align-self:center;text-align:right;}
@media (max-width:900px){
  .ed-webinar-card{grid-template-columns:minmax(0,1fr);text-align:left;}
  .ed-webinar-side{text-align:left;}
}

/* Inline link */
.ed-small-label{font-size:.78rem;color:var(--ed-text-muted);text-transform:uppercase;letter-spacing:.12em;font-weight:600;}
.ed-inline-link{color:var(--ed-secondary);font-weight:500;text-decoration:none;}
.ed-inline-link:hover{text-decoration:underline;}

/* ========== 3) HERO (header within hero) ========== */
.hero-banner-wrapper{
  width:100%;
  background-repeat:no-repeat;background-size:cover;background-position:center center;
  border-bottom:5px solid #e46c27;position:relative;
}
.course-banner-overlay{
  background:linear-gradient(90deg,rgba(5,34,68,.92) 0%,rgba(5,34,68,.92) 45%,rgba(5,34,68,.75) 100%);
  padding:20px 0 80px;
}
/* Site header inside hero */
header.site-header,#masthead.container{border:0;box-shadow:none;background:transparent;padding-top:5px;padding-bottom:10px;}
#masthead .navbar{margin-bottom:0;border:none;background:transparent;}
@media (min-width:992px){
  #masthead .navbar > .container{display:flex;align-items:center;justify-content:space-between;padding-left:0;padding-right:0;}
  #masthead .navbar-header{display:flex;align-items:center;flex:0 0 auto;margin:0;}
  #masthead .navbar-header .navbar-brand{padding:10px 15px 10px 0;height:auto;display:inline-flex;align-items:center;}
  #masthead .main-navigation{flex:1 1 auto;margin-left:40px;}
  #masthead .main-navigation .nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:18px;margin:0;padding:0;list-style:none;}
  #masthead .main-navigation .nav>li{float:none;}
}
@media (max-width:991px){
  #masthead .navbar > .container{display:block;padding-left:0;padding-right:0;}
}
#masthead .navbar-toggle{display:none;}
.main-navigation .nav>li>a{color:#fff !important;font-weight:600;font-size:1.5rem;text-transform:none;padding:20px 15px;}
.main-navigation .nav>li>a:hover{color:#ffba00 !important;text-decoration:none;}

.site-header{background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 2px 10px rgba(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;}

.hero-banner-wrapper .container{max-width:1180px;margin:0 auto;padding:0 15px;box-sizing:border-box;}
.hero-banner-wrapper .row{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px;box-sizing:border-box;}
.hero-banner-wrapper .col-md-7,.hero-banner-wrapper .col-md-5{padding:0 15px;box-sizing:border-box;}
@media (min-width:992px){
  .hero-banner-wrapper .col-md-7{width:58.3333%;}
  .hero-banner-wrapper .col-md-5{width:41.6667%;}
}
@media (max-width:991px){
  .hero-banner-wrapper .col-md-7,.hero-banner-wrapper .col-md-5{width:100%;}
}
/* mobile hide helpers */
@media (max-width:767px){.hero-banner-wrapper .hidden-xs{display:none !important;}}
@media (min-width:768px) and (max-width:991px){.hero-banner-wrapper .hidden-sm{display:none !important;}}

.hero-inner{padding-top:20px;}
.hero-copy{color:#fff;}
.hero-rating-badge{display:inline-flex;align-items:center;background:rgba(8,48,93,.95);border-radius:40px;padding:6px 18px;margin-bottom:20px;border:1px solid rgba(255,255,255,.08);}
.hero-stars{color:#ffba00;margin-right:10px;font-size:1.6rem;}
.hero-rating-text{font-size:1.3rem;}
.hero-title{color:#fff;font-size:3.4rem;font-weight:800;line-height:1.3;margin:10px 0;}
.hero-subheading{color:#ffba00;font-size:2rem;font-weight:700;margin:5px 0 15px;}
.hero-intro{color:#f2f4f7;font-size:1.6rem;max-width:700px;margin-bottom:20px;}
.hero-bullets{list-style:none;margin:0 0 25px 0;padding:0;}
.hero-bullets li{position:relative;padding-left:26px;margin-bottom:8px;font-size:1.6rem;color:#fff;}
.hero-bullets li::before{content:"✓";position:absolute;left:0;top:0;color:#ffba00;font-weight:700;}
.hero-cta-row{margin:15px 0 10px;}
.hero-banner-wrapper .btn-inquiry,
.hero-banner-wrapper .btn-outline-white{
  display:inline-block;border-radius:999px;padding:10px 22px;font-weight:700;font-size:1.4rem;text-decoration:none;cursor:pointer;transition:background .15s ease,color .15s ease, box-shadow .15s ease;
}
.hero-banner-wrapper .btn-inquiry{background:#e46c27;color:#fff;border:none;box-shadow:0 8px 24px rgba(0,0,0,.3);margin-right:15px;}
.hero-banner-wrapper .btn-inquiry:hover{background:#c9571f;color:#fff;box-shadow:0 10px 32px rgba(0,0,0,.35);}
.hero-banner-wrapper .btn-outline-white{border:1px solid #fff;color:#fff;background:transparent;}
.hero-banner-wrapper .btn-outline-white:hover{background:#fff;color:#052244;text-decoration:none;}
.hero-note{color:#dde6f2;font-size:1.3rem;margin-top:10px;}
/* Form card */
.hero-form-card{background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(0,0,0,.35);padding:28px 30px 30px;}
.hero-form-title{color:#0e3357;font-weight:800;font-size:2.2rem;margin:0 0 8px;text-align:center;}
.hero-form-subtitle{color:#555;font-size:1.4rem;margin:0 0 18px;text-align:center;}
.hero-form-card input[type="text"],
.hero-form-card input[type="email"],
.hero-form-card input[type="tel"]{background:#f7f7f7;border-radius:4px;border:1px solid #ccc;padding:10px 12px;margin-bottom:12px;width:100%;font-size:1.4rem;}
.hero-form-card input[type="submit"]{background:#003871;color:#fff;padding:11px 30px;font-size:1.6rem;border:none;border-radius:4px;cursor:pointer;width:100%;}
.hero-form-card input[type="submit"]:hover{background:#002346;}
@media (max-width:767px){
  .course-banner-overlay{padding:10px 15px 40px;background:linear-gradient(180deg,rgba(5,34,68,.96) 0,rgba(5,34,68,.94) 60%,rgba(5,34,68,.95) 100%);}
  .hero-inner{padding-top:10px;}
  .hero-copy{text-align:left;}
  .hero-title{font-size:2.4rem;}
  .hero-subheading{font-size:1.8rem;}
  .hero-form-col{margin-top:25px;}
}

/* ========== 4) Trust strip (lightweight) ========== */
.trust-strip-simple{background:#fff;border-bottom:1px solid #eaeaea;padding:25px 0;width:100%;}
.trust-strip-simple .container{max-width:1180px;margin:0 auto;padding:0 15px;box-sizing:border-box;}
.trust-strip-simple .trust-grid{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;}
.trust-strip-simple .trust-item{display:flex;align-items:center;gap:15px;flex:1;min-width:200px;border-right:1px solid #f0f0f0;padding-right:20px;justify-content:center;}
.trust-strip-simple .trust-item:last-child{border-right:none;padding-right:0;}
.trust-strip-simple .trust-icon-box{width:45px;height:45px;background:rgba(244,121,32,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.trust-strip-simple .trust-icon-box svg{width:20px;height:20px;fill:#f47920;}
.trust-strip-simple .trust-text h4{margin:0;color:#0f224a;font-size:16px;font-weight:700;line-height:1.2;}
.trust-strip-simple .trust-text p{margin:3px 0 0 0;color:#666;font-size:13px;line-height:1.2;}
@media (max-width:991px){
  .trust-strip-simple .trust-grid{justify-content:center;}
  .trust-strip-simple .trust-item{border-right:none;flex-basis:45%;justify-content:flex-start;padding-left:20px;}
}
@media (max-width:500px){
  .trust-strip-simple{padding:15px 0;}
  .trust-strip-simple .trust-item{flex-basis:100%;padding-bottom:15px;border-bottom:1px solid #f9f9f9;padding-left:0;}
  .trust-strip-simple .trust-item:last-child{border-bottom:none;padding-bottom:0;}
}

/* ========== 5) Countries / Flags band ========== */
.section-countries{background:#F6F9FF;padding:40px 0;border-top:1px solid #eee;}
.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:0;width:0;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,.1);background:#fff;transition:transform .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;}
.flag-overlay{position:absolute;inset:0;background:rgba(14,51,87,.9);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .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;}

/* ========== 6) Footer CTA + Footer Aside/Widgets ========== */
.edf-container{max-width:var(--edf-max);margin:0 auto;padding:0 var(--edf-pad);box-sizing:border-box;}
.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-btn-wa:hover{border-color:var(--edf-green);box-shadow:0 0 0 2px rgba(37,211,102,.15) inset;}
.edf-ico{width:18px;height:18px;fill:currentColor;flex:0 0 18px;}
@media (max-width:992px){
  .edf-cta-grid{grid-template-columns:1fr;gap:12px;}
  .edf-cta-buttons{justify-content:flex-start;flex-wrap:wrap;}
}

.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;}
.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-footer .widget-title,.edf-footer .widget h3,.edf-footer .widget h4{margin:0 0 12px;color:#fff;font-weight:800;font-size:18px;letter-spacing:.2px;}
.edf-copyright{background:var(--edf-bg-darker);margin-top:36px;padding:22px 0;border-top:1px solid var(--edf-border);}
.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;}.edf-btn{padding:9px 12px;}}

/* Old footer classes still in use */
.site-footer{background:#081e33;color:#b0c4de;padding:60px 0 0;clear:both;border-top:4px solid #E46C27;}
.footer-aside h3.widget-title{
  color:#E46C27 !important;font-size:1.8rem;text-transform:uppercase;margin-bottom:25px;letter-spacing:.5px;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:10px;display:block;width:100%;font-weight:700;
}
.footer-aside ul li{border-bottom:1px solid rgba(255,255,255,.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;}
.copyright-area{background:#051626;padding:30px 0;margin-top:40px;width:100%;}
.copyright-text{text-align:center;font-size:1.2rem;color:#667;margin-top:15px;}

/* Accreditation rows (both edf- and legacy) */
.accreditation-logos,.edf-accreditation{
  display:flex !important;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin:0 !important;padding:0 !important;list-style:none !important;
}
.accreditation-logos ul,.accreditation-logos ol,.accreditation-logos p,.accreditation-logos .textwidget,
.edf-accreditation ul,.edf-accreditation ol,.edf-accreditation .textwidget,.edf-accreditation .wp-block-gallery,.edf-accreditation .gallery,.edf-accreditation p{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin:0;padding:0;list-style:none;
}
.accreditation-logos li,.edf-accreditation li{list-style:none;margin:0;padding:0;}
.accreditation-logos li::marker,.accreditation-logos li::before,.edf-accreditation li::before{content:none !important;}
.accreditation-logos br{display:none !important;}
.accreditation-logos a,.edf-accreditation a{display:flex;align-items:center;}
.accreditation-logos img,.edf-accreditation img{height:28px;width:auto;display:block;filter:grayscale(100%);opacity:.8;transition:.2s;}
.accreditation-logos img:hover,.edf-accreditation img:hover{filter:none;opacity:1;}

/* Contact bottom CTA (legacy) */
.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,.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;}
/* Make all CTA buttons share the same look as edf-btn in footer */
.contact-bottom .btn,.edf-footer-cta .edf-btn{
  position:relative;overflow:hidden;background:transparent;color:#fff !important;border:1px solid #3a5775;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;font-weight:700;line-height:1;white-space:nowrap;text-decoration:none;
}
.contact-bottom .btn:hover,.edf-footer-cta .edf-btn:hover{background:#0f3b66;border-color:#6991b8;color:#fff !important;}
@media (max-width:992px){
  .contact-bottom .cta-buttons{flex-wrap:wrap;justify-content:flex-start;}
}

/* ========== 7) Corporate hybrid marquee (logos) ========== */
.section-partners{background:#fff;padding:30px 0;text-align:center;}
.section-partners .section-title.text-left{text-align:left;margin-bottom:15px;}

.section-corporate-hybrid{background:#f8f9fa;padding:70px 0;position:relative;overflow:hidden;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;}
.section-corporate-hybrid .corp-header{margin-bottom:50px;padding:0 15px;}
.section-corporate-hybrid .section-title{color:#f47920;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;}
.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);
  z-index:1;
}
.section-corporate-hybrid .marquee-track{display:flex;width:fit-content;animation:edScrollLogos 45s linear infinite;}
.section-corporate-hybrid .marquee-track:hover{animation-play-state:paused;}
.section-corporate-hybrid .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;transition:transform .2s, box-shadow .2s;
}
.section-corporate-hybrid .logo-card:hover{transform:translateY(-5px);box-shadow:0 10px 20px rgba(0,0,0,.08);}
.section-corporate-hybrid .logo-card img{
  display:block !important;height:auto !important;max-height:36px !important;width:auto !important;max-width:100% !important;object-fit:contain;filter:grayscale(100%);opacity:.75;transition:.25s;
}
.section-corporate-hybrid .logo-card:hover img{filter:none;opacity:1;}
.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,.06);border:1px solid rgba(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;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;}

@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;}
  .section-corporate-hybrid .logo-card{min-width:104px;min-height:56px;padding:10px 14px;}
  .section-corporate-hybrid .logo-card img{max-height:32px !important;}
}

@keyframes edScrollLogos{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

/* ========== 8) Popup (wired to existing JS hooks) ========== */
.delphi-popup-overlay{
  display:none;position:fixed;inset:0;background:rgba(5,10,25,.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:#fff;border-radius:26px;overflow:hidden;display:flex;flex-wrap:wrap;box-shadow:0 22px 60px rgba(0,0,0,.35);animation:delphiFadeIn .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:#fff !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,.12) !important;z-index:10;padding:0;min-width:auto;
}
.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:#fff;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,.45),transparent 60%);opacity:.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,.08);pointer-events:none;
}
.delphi-popup-left .eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.16em;opacity:.9;margin-bottom:0;}
.delphi-popup-title{margin:8px 0 6px !important;font-size:28px !important;font-weight:800 !important;letter-spacing:.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:.96;max-width:360px;color:#fff;}
.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,.75);margin-right:10px;flex-shrink:0;}
.benefit-text{font-size:13px;line-height:1.4;color:#fff;}
/* right side form/content can reuse existing form classes */
