/* -------------------------------------------------------------
   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:#475569;   /* Darkened from #64748B for readability */
  --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 2rem;}
p{margin:0 0 1.2rem;color:var(--ed-text-main);}

h1,h2,h3,h4{color:var(--ed-primary);margin:0 0 1.28rem;letter-spacing:.02em;}
h2.ed-section-title{font-size:clamp(2.88rem,3vw,3.76rem);font-weight:700;}
h3.ed-section-subtitle{font-size:clamp(1.76rem,1.6vw,2rem);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:0.64rem;padding:0.4rem 1.2rem;border-radius:999px;background:rgba(19,113,226,.06);color:var(--ed-secondary);font-size:1.2rem;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:1.2rem;margin-top:1.6rem;}
.ed-btn{display:inline-flex;align-items:center;justify-content:center;padding:1.12rem 2.56rem;border-radius:999px;font-weight:600;font-size:1.52rem;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:2.88rem;}
.ed-section-header p{max-width:680px;}

.ed-grid-2{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1.3fr);gap:4rem;align-items:flex-start;}
.ed-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.8rem;}
.ed-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.92rem;}

@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:3.2rem 0;}
  .ed-section-header{margin-bottom:2.08rem;}
}

/* Cards */
.ed-card{background:#fff;border-radius:var(--ed-radius-lg);border:1px solid rgba(148,163,184,.25);padding:2.4rem;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:2.88rem;box-shadow:var(--ed-shadow-soft);}
.ed-card-minimal{border-radius:1.6rem;border:1px solid var(--ed-border-subtle);padding:2rem 2.4rem;background:#fff;}
.ed-card-dark{border-radius:var(--ed-radius-xl);padding:3.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:2.24rem;margin-bottom:0.8rem;font-size:1.52rem;}
.ed-list-check li::before{
  content:"✓";position:absolute;left:0;top:0.16rem;font-size:1.28rem;width:1.6rem;height:1.6rem;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:0.64rem 0 0.64rem 1.76rem;padding-left:0.96rem;}
.ed-list-dot li{margin-bottom:0.56rem;font-size:1.49rem;}

.ed-metric-row{display:flex;flex-wrap:wrap;gap:2rem;}
.ed-metric{display:flex;flex-direction:column;gap:0.16rem;}
.ed-metric-label{font-size:1.28rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ed-text-muted);font-weight:500;}
.ed-metric-value{font-size:2.08rem;font-weight:700;color:var(--ed-primary);}
.ed-metric-value.highlight{color:var(--ed-secondary);}
.ed-metric-sub{font-size:1.28rem;color:var(--ed-text-muted);}
.ed-with-divider{border-top:1px solid rgba(148,163,184,.35);margin-top:2rem;padding-top:2rem;}

/* Tools/Chips */
.ed-chip-row{display:flex;flex-wrap:wrap;gap:0.64rem;margin-top:0.64rem;}
.ed-chip{border-radius:999px;padding:0.32rem 0.96rem;background:rgba(15,23,42,.04);font-size:1.25rem;font-weight:500;color:var(--ed-text-muted);}
.ed-tools-grid{display:flex;flex-wrap:wrap;gap:1.2rem;margin-top:1.2rem;}
.ed-tools-item{min-width:120px;padding:0.96rem 1.28rem;border-radius:999px;border:1px solid rgba(148,163,184,.3);background:rgba(255,255,255,.9);font-size:1.36rem;font-weight:500;display:flex;align-items:center;justify-content:space-between;gap:0.64rem;}
.ed-tools-tag{font-size:1.2rem;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:2.8rem;}
@media (max-width:980px){.ed-career-grid{grid-template-columns:minmax(0,1fr);}}
.ed-career-roles ul,.ed-career-industries ul{padding-left:1.76rem;margin:0.48rem 0;font-size:1.49rem;}
.ed-salary-pill{display:inline-flex;align-items:baseline;gap:0.4rem;padding:0.48rem 1.2rem;border-radius:999px;background:rgba(15,118,110,.06);color:var(--ed-success);font-size:1.31rem;font-weight:600;}
.ed-salary-pill span{font-size:1.25rem;font-weight:500;opacity:.9;}

/* Syllabus */
.ed-syllabus-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:3.2rem;}
@media (max-width:900px){.ed-syllabus-layout{grid-template-columns:minmax(0,1fr);}}
.ed-module-list{margin-top:1.6rem;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:1.44rem 1.76rem;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:0.16rem;}
.ed-module-label{font-size:1.2rem;text-transform:uppercase;letter-spacing:.12em;color:var(--ed-text-muted);}
.ed-module-name{font-size:1.52rem;font-weight:600;}
.ed-module-duration{font-size:1.28rem;color:var(--ed-text-muted);}
.ed-module-toggle{font-size:1.92rem;color:var(--ed-secondary);margin-left:1.6rem;}
.ed-module-body{padding:1.44rem 1.92rem 1.92rem;background:#fff;font-size:1.47rem;}
.ed-module-topics{padding-left:1.6rem;margin:0.48rem 0;}
.ed-module-topics li{margin-bottom:0.4rem;}
.ed-note{font-size:1.28rem;color:var(--ed-text-muted);}

/* Timeline / Steps */
.ed-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.92rem;margin-top:2.4rem;}
@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.92rem 1.6rem 1.6rem;border-radius:2.08rem;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:1.44rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;margin-bottom:0.96rem;}
.ed-step-title{font-size:1.57rem;font-weight:600;margin-bottom:0.4rem;color:var(--ed-primary);}

/* Fees / Compare */
.ed-fees-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1.1fr);gap:2.8rem;align-items:stretch;}
@media (max-width:900px){.ed-fees-grid{grid-template-columns:minmax(0,1fr);}}
.ed-fee-list{margin-top:0.96rem;padding-left:1.76rem;}
.ed-fee-list li{margin-bottom:0.64rem;font-size:1.49rem;}
.ed-fee-tag{display:inline-flex;align-items:center;padding:0.4rem 0.96rem;border-radius:999px;background:rgba(255,186,0,.12);color:#9a6700;font-size:1.28rem;font-weight:600;}
.ed-fee-note{font-size:1.28rem;color:var(--ed-text-muted);margin-top:1.12rem;}
.ed-compare-table{width:100%;border-collapse:collapse;font-size:1.44rem;margin-top:1.6rem;overflow:hidden;border-radius:1.76rem;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:0.96rem 1.44rem;text-align:left;}
.ed-compare-table th{font-size:1.38rem;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:0.24rem 0.88rem;font-size:1.2rem;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:2.4rem;margin-top:1.6rem;}
@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:2.08rem 1.92rem 2.24rem;border-radius:2.24rem;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:0.96rem;}
.ed-testimonial-header{display:flex;align-items:center;gap:1.2rem;}
.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:1.36rem;color:#fff;font-weight:600;flex-shrink:0;}
.ed-testimonial-name{font-size:1.57rem;font-weight:600;color:var(--ed-primary);}
.ed-testimonial-meta{font-size:1.25rem;color:var(--ed-text-muted);}
.ed-stars{font-size:1.25rem;color:#fbbf24;}
.ed-quote{font-size:1.44rem;color:var(--ed-text-main);}
.ed-rating-strip{display:flex;flex-wrap:wrap;gap:2rem;align-items:center;margin-top:1.92rem;font-size:1.36rem;}
.ed-rating-badge{display:inline-flex;align-items:center;gap:0.64rem;padding:0.56rem 1.28rem;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:0.8rem;font-size:1.25rem;color:var(--ed-text-muted);}
.ed-logo-pill{padding:0.4rem 0.96rem;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:2.4rem;}
@media (max-width:900px){.ed-faq-list{grid-template-columns:minmax(0,1fr);}}
details.ed-faq-item{border-radius:1.6rem;border:1px solid rgba(148,163,184,.5);background:#fff;padding:1.44rem 1.6rem;font-size:1.44rem;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:0.88rem;color:var(--ed-text-main);}

/* Enquiry */
.ed-enquiry-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1.1fr);gap:3.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:2.88rem 2.56rem;border:1px solid rgba(148,163,184,.35);}
.ed-enquiry-card h3{font-size:2rem;margin-bottom:0.64rem;}
.ed-form-row{display:flex;flex-wrap:wrap;gap:1.28rem;margin:0.8rem 0 1.6rem;}
.ed-form-group{width:100%;}
.ed-form-group-half{width:calc(50% - 0.64rem);}
@media (max-width:640px){.ed-form-group-half{width:100%;}}
.ed-form-label{display:block;font-size:1.28rem;font-weight:500;margin-bottom:0.4rem;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:0.96rem 1.44rem;font-size:1.44rem;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:1.6rem;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:1.25rem;color:var(--ed-text-muted);margin-top:0.64rem;}

/* CTA band */
.ed-section-cta-band{
  border-radius:var(--ed-radius-xl);
  background:radial-gradient(circle at top left,#003871 0,#020617 70%);
  padding:2.72rem 2.56rem;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.6rem;color:#f9fafb;box-shadow:var(--ed-shadow-soft);
}
.ed-section-cta-band h3{color:#fff;margin-bottom:0.56rem;font-size:2.08rem;}
.ed-section-cta-band p{color:#e5e7eb;margin:0;font-size:1.44rem;}
.ed-tag-khda{display:inline-flex;align-items:center;gap:0.64rem;padding:0.4rem 0.96rem;border-radius:999px;border:1px solid rgba(255,255,255,.4);font-size:1.25rem;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:2.56rem;}
@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:2.4rem;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:2.24rem;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.76rem;}
.ed-trainer-body{padding:1.6rem 2.08rem 2.08rem;}
.ed-trainer-name{font-weight:600;font-size:1.6rem;color:var(--ed-primary);margin-bottom:0.24rem;}
.ed-trainer-cred{font-size:1.28rem;color:var(--ed-text-muted);margin-bottom:0.88rem;}
.ed-trainer-desc{font-size:1.41rem;color:var(--ed-text-main);margin-bottom:1.12rem;}
.ed-trainer-link{font-size:1.33rem;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:2.88rem 2.56rem;color:#fff;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:2.4rem;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:1.12rem;margin:1.12rem 0 1.28rem;font-size:1.36rem;}
.ed-webinar-pill{padding:0.48rem 1.04rem;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:1.25rem;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-color: var(--slate-light);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.section-corporate-hybrid .corp-header { margin-bottom: 50px; padding: 0 15px; text-align: center; }
.section-corporate-hybrid .section-title {
    color: var(--navy); font-size: 32px; font-weight: 700; margin-bottom: 10px;
}
.section-corporate-hybrid .section-subtitle {
    color: var(--text-muted); font-size: 16px; max-width: 700px; margin: 0 auto;
}
.section-corporate-hybrid .marquee-wrapper { margin-bottom: 60px; position: relative; overflow: hidden; }
.section-corporate-hybrid .marquee-track { display: flex; width: fit-content; animation: edScrollLogos 45s linear infinite; will-change: transform; contain: content; }
.section-corporate-hybrid .marquee-track:hover { animation-play-state: paused; }

.section-corporate-hybrid .logo-card {
    background: #fff; width: 180px; height: 90px; margin: 0 15px;
    border-radius: 8px; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease; flex-shrink: 0;
}
.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; }
@keyframes edScrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.section-corporate-hybrid .stats-wrapper { position: relative; z-index: 2; padding: 0 15px; }
.section-corporate-hybrid .stats-card {
    background: #fff; border-radius: 12px; padding: 40px;
    display: flex; justify-content: space-around; align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06); max-width: 1000px; margin: 0 auto;
}
.section-corporate-hybrid .stat-item { text-align: center; flex: 1; border-right: 1px solid #eee; }
.section-corporate-hybrid .stat-item:last-child { border-right: none; }
.section-corporate-hybrid .stat-number {
    display: block; color: var(--gold); font-size: 36px; font-weight: 800; margin-bottom: 5px;
}
.section-corporate-hybrid .stat-label { color: var(--text-main); font-size: 15px; font-weight: 500; display: block; }

@media (max-width: 991px) {
    .section-corporate-hybrid .stats-card { flex-direction: column; padding: 30px; gap: 30px; }
    .section-corporate-hybrid .stat-item { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 20px; width: 100%; }
    .section-corporate-hybrid .stat-item:last-child { border-bottom: none; }
}
/* ========================================================
   ENQUIRY CTA SECTION (LEGACY #enquiry STYLES)
   ======================================================== */

#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;
}

/* Bullet benefits */
#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.4);
  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;
  }
}

/* ==========================================================================
   8. NEW COUNSELING POPUP (2025 DESIGN)
   ========================================================================== */

/* 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;
}

/* Modal Shell */
.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 10px 24px rgba(15, 23, 42, 0.18);
    padding: 0;
    min-width: auto;
    z-index: 10;
}

.delphi-popup-close:hover {
    background: #f2f4f8 !important;
}

/* =======================
   LEFT PANEL (COPY + TRUST)
   ======================= */

.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;
}

/* Left Typography */
.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;
    padding: 0;
    list-style: none;
}

.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;
}

/* Form layout */
.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"],
.delphi-popup-form select,
.delphi-popup-form textarea {
    background: #f9fafb !important;
    border: 1px solid #d1d5db !important;
    border-radius: 999px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    width: 100%;
    color: #111;
    box-shadow: none;
    height: auto;
}

.delphi-popup-form textarea {
    border-radius: 14px !important;
    min-height: 80px;
    resize: vertical;
}

.delphi-popup-form input:focus,
.delphi-popup-form select:focus,
.delphi-popup-form textarea:focus {
    border-color: #004a80 !important;
    background: #ffffff !important;
    outline: none;
}

/* 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 .form-consent input[type="checkbox"] {
    margin-top: 2px;
}

.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 VARIANTS
   ======================= */

.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 {
        flex: 1 1 auto;
        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;
    }
}
/* ===========================================================
   GLOBAL DELPHI CONTACT FORM  ( [contact_form] shortcode )
   Design: stacked pill fields + soft "plate" + orange CTA
   =========================================================== */

/* Wrapper that creates the soft glowing plate behind the fields */
.delphi-inline-form {
  width: 100%;
  margin-top: 14px;
  padding: 16px 18px 18px;
  border-radius: 24px;
  box-sizing: border-box;

  /* subtle glow / plate effect, works on white or dark cards */
  background:
    radial-gradient(circle at 10% -40%, rgba(255, 255, 255, 1), transparent 60%),
    radial-gradient(circle at 80% 130%, rgba(246, 158, 61, 0.12), transparent 70%),
    #f9fafb;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.17);
}

/* Inner form layout – vertical stack */
.delphi-inline-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

/* Honeypot – keep fully hidden */
.delphi-inline-form .form-imp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Row wrapper (currently one field per row) */
.delphi-inline-form .delphi-field-row {
  width: 100%;
}

/* ---------- INPUTS & SELECTS ---------- */

.delphi-inline-form input[type="text"],
.delphi-inline-form input[type="email"],
.delphi-inline-form input[type="tel"],
.delphi-inline-form select {
  width: 100%;
  border-radius: 999px;                     /* pill shape like screenshot */
  border: 1px solid #e5e7eb;
  padding: 12px 16px;
  font-size: 1.5rem; /* Form text scaling fix (was 0.95rem -> 9.5px) */
  line-height: 1.4;
  background-color: #f9fafb;
  color: #111827;
  outline: none;
  box-shadow: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.delphi-inline-form input::placeholder,
.delphi-inline-form select::placeholder {
  color: #9ca3af;
}

/* Focus state – EduDelphi orange accent */
.delphi-inline-form input[type="text"]:focus,
.delphi-inline-form input[type="email"]:focus,
.delphi-inline-form input[type="tel"]:focus,
.delphi-inline-form select:focus {
  border-color: #e46c27;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(228, 108, 39, 0.25);
}

/* ---------- CONSENT & SMALL TEXT ---------- */

.delphi-inline-form .delphi-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 4px;
  font-size: 1.25rem; /* Consent text scaling fix */
  line-height: 1.4;
  color: #4b5563;
}

.delphi-inline-form .delphi-consent-label input[type="checkbox"] {
  margin-top: 3px;
}

.delphi-inline-form .delphi-smallprint {
  margin: 4px 0 0;
  font-size: 1.2rem; /* Smallprint scaling fix */
  line-height: 1.4;
  color: #6b7280; /* Darkened from #9ca3af for readability */
}

/* ---------- PRIMARY CTA BUTTON ---------- */

.delphi-btn-primary {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;

  color: #ffffff;
  background: linear-gradient(90deg, #e46c27, #ffba00);
  box-shadow: 0 14px 32px rgba(228, 108, 39, 0.55);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

/* Helper to make button full-width (used in shortcode) */
.delphi-btn-full {
  display: block;
  width: 100%;
}

.delphi-btn-primary:hover,
.delphi-btn-primary:focus {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(228, 108, 39, 0.65);
  opacity: 0.97;
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 640px) {
  .delphi-inline-form {
    margin-top: 10px;
    padding: 14px 14px 16px;
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.2);
  }

  .delphi-inline-form form {
    gap: 9px;
  }
}

/* 1. Hide the body content by default */
.ed-module-body {
    display: none; /* Hidden by default */
    padding: 15px 0;
}

/* 2. Show the body content when the parent has the 'is-open' class */
.ed-module-item.is-open .ed-module-body {
    display: block; /* Visible when open */
    animation: fadeIn 0.3s ease-in-out;
}

/* 3. Style the cursor to look clickable */
.ed-module-header {
    cursor: pointer;
    user-select: none; /* Prevents text highlighting while clicking */
}

/* 4. Optional: Rotate the '+' icon when open */
.ed-module-item.is-open .ed-module-toggle {
    transform: rotate(45deg); 
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Simple fade animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   Restoring "Corporate Hybrid" (Client Logos) Styling
   ========================================================================== */

.corporate-hybrid {
    padding: 40px 0;
    text-align: center;
    overflow: hidden; /* Ensures the marquee stays contained */
}

/* This adds the gap between the logos */
.corporate-hybrid img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 30px;        /* Adds 30px gap on both sides (60px total) */
    max-width: 120px;      /* Standardizes logo size */
    height: auto;
    opacity: 0.8;          /* Optional: Slight fade like the original */
    transition: opacity 0.3s ease;
}

.corporate-hybrid img:hover {
    opacity: 1;            /* Full color on hover */
}

/* Mobile Adjustment: Smaller gaps on phones */
@media (max-width: 767px) {
    .corporate-hybrid img {
        margin: 0 15px;    /* Smaller gap on mobile */
        max-width: 90px;
    }
}

/* Fix phone input padding after removing +971 */
.delphi-popup-form .phone-wrap input[type="tel"],
.delphi-popup-form .phone-wrap input[type="text"] {
    padding-left: 15px !important; /* Resets the padding to normal */
}

/* Hide the old country code span just in case it's still cached */
.delphi-popup-form .country-code {
    display: none !important;
}



/* --- PREVENT HORIZONTAL GHOST SCROLLING --- */
html, body {
    overflow-x: hidden !important; 
    width: 100% !important;
}

/* --- WHATSAPP FIX --- */
#wa-widget-container {
    position: fixed !important;
    right: 15px !important;
    bottom: 20px !important;
    z-index: 9999 !important;
    width: 60px !important;
    height: 60px !important;
    max-width: none !important;
    overflow: visible !important;
}
.wa-float {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 10000 !important;
    max-width: 60px !important;
}
