/* ==========================================================================
   Speak With Confidence – Modern look & feel (override layer)
   Loaded AFTER main.css. To revert the redesign, remove the 'swc-modern'
   enqueue line in functions.php (main.css is untouched).
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --swc-navy: #0b2351;
  --swc-navy-2: #14367a;
  --swc-blue: #2f6bff;
  --swc-amber: #ffb020;
  --swc-amber-2: #ff8a1f;
  --swc-ink: #101a33;
  --swc-text: #55607a;
  --swc-bg: #f5f7fc;
  --swc-line: #e6ebf5;
  --swc-radius: 20px;
  --swc-radius-sm: 12px;
  --swc-shadow-sm: 0 2px 10px rgba(11, 35, 81, .06);
  --swc-shadow: 0 12px 32px rgba(11, 35, 81, .10);
  --swc-shadow-lg: 0 24px 60px rgba(11, 35, 81, .18);
  --swc-grad: linear-gradient(135deg, #0b2351 0%, #1d4ed8 100%);
  --swc-grad-warm: linear-gradient(135deg, #ffb020 0%, #ff8a1f 100%);

  /* re-point the theme's own tokens so existing components pick up the new look */
  --ed-ff-body: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
  --ed-ff-p: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
  --ed-ff-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --ed-color-text-body: var(--swc-text);
  --ed-color-heading-primary: var(--swc-ink);
  --ed-color-theme-primary: var(--swc-navy);
  --ed-color-grey-1: var(--swc-bg);
  --ed-color-border-1: var(--swc-line);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ed-ff-body);
  color: var(--swc-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { letter-spacing: -.02em; }
::selection { background: var(--swc-amber); color: var(--swc-navy); }
:focus-visible { outline: 3px solid rgba(47, 107, 255, .55); outline-offset: 3px; border-radius: 6px; }
img { border-radius: 0; }

/* ---------- Header ---------- */
.header.header-2 {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--swc-line);
  box-shadow: 0 6px 24px rgba(11, 35, 81, .05);
  z-index: 100;
}
.header-2 .primary-header-inner { padding: 6px 0; }
.header .primary-header-inner .header-logo img { height: 108px; width: auto; max-height: none; max-width: none; }
.header-2 .primary-header-inner { padding: 4px 0; }
/* ---- Desktop menu: aligned pills + hover dropdown (scoped to the top-level list only) ---- */
@media (min-width: 993px) {
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0; padding: 0; }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li { display: flex; align-items: center; position: relative; margin: 0; padding: 0; }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li > a {
    display: block; padding: 11px 18px; border-radius: 999px;
    font-family: var(--ed-ff-body); font-weight: 600; font-size: 15px; line-height: 1.2;
    text-transform: none; color: var(--swc-ink); white-space: nowrap;
  }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li > a:hover,
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li:hover > a,
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li.current-menu-item > a,
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li.current-menu-parent > a { background: #eef2ff; color: var(--swc-navy); }
  /* has-children: room for the chevron, which sits vertically centred */
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li.menu-item-has-children > a { padding-right: 38px; }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li.menu-item-has-children { padding-right: 0; }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li.menu-item-has-children::after {
    top: 50%; right: 16px; font-size: 11px; color: var(--swc-navy);
    transform: translateY(-50%); transition: transform .25s ease; pointer-events: none;
  }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li.menu-item-has-children:hover::after { transform: translateY(-50%) rotate(180deg); }

  /* dropdown */
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li > ul.sub-menu {
    display: block; position: absolute; top: calc(100% + 10px); left: 50%; width: 250px; margin: 0;
    padding: 10px; background: #fff; border: 1px solid var(--swc-line); border-radius: 16px;
    box-shadow: var(--swc-shadow); opacity: 0; visibility: hidden; z-index: 60;
    transform: translate(-50%, 8px); transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  /* invisible bridge so the pointer never leaves the hover area between link and dropdown */
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li > ul.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li:hover > ul.sub-menu,
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li:focus-within > ul.sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li > ul.sub-menu > li {
    display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; text-align: left;
  }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li > ul.sub-menu > li:hover { background: transparent; }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li > ul.sub-menu > li > a {
    display: block; width: 100%; padding: 12px 14px; border-radius: 10px;
    font-size: 15px; font-weight: 600; text-transform: none; color: var(--swc-ink); white-space: nowrap;
  }
  body .header.header-2 .primary-header-inner .header-right-wrap .header-menu-wrap .mobile-menu-items > ul.sub-menu > li > ul.sub-menu > li > a:hover { background: #eef2ff; color: var(--swc-navy); padding-left: 20px; }
}
.mobile-side-menu-toggle { color: var(--swc-navy); }

/* ---------- Buttons ---------- */
.ed-primary-btn, .header-btn {
  background: var(--swc-grad);
  border: 0;
  border-radius: 999px;
  font-family: var(--ed-ff-body);
  font-weight: 700;
  letter-spacing: .01em;
  padding: 16px 34px;
  box-shadow: 0 10px 24px rgba(29, 78, 216, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ed-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(29, 78, 216, .36);
}
.ed-primary-btn.transparent {
  background: transparent;
  border: 2px solid var(--swc-navy);
  color: var(--swc-navy);
  box-shadow: none;
}
.ed-primary-btn.transparent:hover { background: var(--swc-navy); color: #fff; }
.header-right .ed-primary-btn.header-btn { padding: 13px 26px; font-size: 15px; }

/* ---------- Section headings ---------- */
.section-heading .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  color: var(--swc-navy-2);
  border: 1px solid #dbe4ff;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-heading .section-title {
  font-weight: 800;
  line-height: 1.12;
  color: var(--swc-ink);
}
.section-heading.white-content .sub-title { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.section-heading.white-content .section-title { color: #fff; }

/* ---------- Hero ---------- */
.hero-section-2 { background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%); }
.hero-section-2 .hero-content-2 .hero-text-box h5,
.hero-text-box h5 { color: var(--swc-navy-2); font-weight: 700; }
.hero-content-2 .section-title,
.hero-content-2 h1,
.hero-content-5 h1 { line-height: 1.08; font-weight: 800; }
.hero-content-2 .hero-text-box,
.hero-content-5 { max-width: 640px; }
.hero-section-5 { border-radius: 0 0 var(--swc-radius) var(--swc-radius); }
/* keep the headline inside the dark panel (it used to run into the photo cards) */
.hero-section-2 .hero-content-2 .section-title {
  font-size: clamp(34px, 3.7vw, 56px);
  max-width: 560px;
  letter-spacing: -.03em;
}
.hero-section-2 .hero-content-2 .section-title br { display: none; }
.hero-section-2 .hero-content-2 .section-title span {
  background: var(--swc-grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-section-2 .about-counter-item p { color: rgba(255, 255, 255, .72); }
.hero-section-2 .hero-bg-wrap .faq-text-box,
.hero-section-2 .hero-bg-wrap .hero-text-box {
  border-radius: 16px;
  box-shadow: var(--swc-shadow-lg);
  border: 1px solid var(--swc-line);
}
.hero-section-2 .hero-bg-wrap .hero-bg { border-bottom-left-radius: 56px; }
.hero-section-2 .sub-heading {
  background: rgba(255, 255, 255, .95);
  border-radius: 999px;
  box-shadow: var(--swc-shadow-sm);
}
@media (max-width: 991px) {
  .hero-section-2 .hero-content-2 .section-title { font-size: clamp(30px, 8vw, 42px); max-width: none; }
}

/* ---------- Cards ---------- */
.promo-item, .promo-item-2, .promo-item-3, .feature-item, .course-feature-item,
.testi-item-3, .about-feature-card, .popular-item, .counter-item, .team-item-3, .team-item-5,
.contact-form, .request-form, .blog-contact-form, .course-sidebar {
  border-radius: var(--swc-radius) !important;
}
.promo-item, .promo-item-2, .promo-item-3, .feature-item, .course-feature-item,
.testi-item-3, .about-feature-card, .popular-item {
  border: 1px solid var(--swc-line);
  box-shadow: var(--swc-shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: visible;               /* icon badges that overlap the card edge must not be clipped */
}
.course-feature-item { overflow: hidden; }
/* "Explore Yourself" cards sit on a dark background: no outline, original look */
.feature-item, .feature-item:hover { border: 0 !important; box-shadow: none !important; }
.promo-item:hover, .promo-item-2:hover, .promo-item-3:hover, .feature-item:hover,
.course-feature-item:hover, .testi-item-3:hover, .about-feature-card:hover, .popular-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--swc-shadow);
  border-color: #cfdcff;
}
.course-feature-img img, .promo-thumb img, .about-img img, .about-img-1 img, .about-img-2 img,
.about-img-3 img, .course-details-img img, .content-img-3 img {
  border-radius: var(--swc-radius);
}
.course-feature-img { border-radius: var(--swc-radius) var(--swc-radius) 0 0; overflow: hidden; }

/* ---------- Counters ---------- */
.counter-section { background: var(--swc-grad); }
.counter-item { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Call to action ---------- */
.cta-section { position: relative; }
.cta-section .cta-content .section-title { font-weight: 800; }
.cta-bg-img { border-radius: var(--swc-radius); overflow: hidden; }

/* ---------- Forms ---------- */
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url],
select, textarea, .contact-form input, .contact-form textarea, .request-form input {
  border: 1.5px solid var(--swc-line);
  border-radius: var(--swc-radius-sm);
  background: #fff;
  padding: 14px 18px;
  font-family: var(--ed-ff-body);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--swc-blue);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .14);
  outline: none;
}
.wpcf7-submit, .wpforms-submit {
  background: var(--swc-grad) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 15px 36px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(29, 78, 216, .28);
}

/* ---------- Footer ---------- */
.footer-section {
  background-image: linear-gradient(160deg, #081a3d 0%, #0b2351 55%, #14367a 100%) !important;
  background-color: #0b2351;
  border-radius: 36px 36px 0 0;
  margin-top: -1px;
  overflow: hidden;
}
.footer-section .widget-header { color: #fff; font-weight: 700; letter-spacing: -.01em; }
.footer-section p, .footer-section a, .footer-section li, .footer-section .mail { color: rgba(255, 255, 255, .78); }
.footer-section a:hover { color: var(--swc-amber); }
.footer-section .footer-contact a.mail { display: block; overflow-wrap: anywhere; font-size: 15px; }
.footer-list li a { position: relative; padding-left: 0; transition: padding .25s ease, color .25s ease; }
.footer-list li a:hover { padding-left: 6px; }
.footer-social li a {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
}
.footer-social li a:hover { background: var(--swc-grad-warm); color: var(--swc-navy); transform: translateY(-3px); border-color: transparent; }
.copyright-area { border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .12); }
.copyright-content p { color: rgba(255, 255, 255, .7); margin: 0; }

/* ---------- WhatsApp floating button ---------- */
#whatsapp-button {
  bottom: 22px; left: 22px;
  padding: 11px;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  animation: swcPulse 2.4s infinite;
}
@keyframes swcPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 10px 28px rgba(37, 211, 102, .35); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 10px 28px rgba(37, 211, 102, .35); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 28px rgba(37, 211, 102, .35); }
}

/* ---------- Popup (Book a free demo) ---------- */
.popup-overlay {
  background: rgba(8, 20, 48, .66) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}
.popup-content {
  width: min(92vw, 640px) !important;
  max-height: none;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: visible;               /* lets the close button sit on the corner, off the artwork */
  background: transparent !important;
  box-shadow: none !important;
  animation: swcPop .35s ease;
}
.popup-image {
  display: block; width: 100%; height: auto; max-height: 88vh; object-fit: contain;
  border-radius: 22px;
  box-shadow: var(--swc-shadow-lg);
}
/* close button: circle on the top-right corner, cross drawn with CSS so it is always centred */
.popup-close {
  top: -14px !important; right: -14px !important;
  width: 40px; height: 40px;
  padding: 0;
  font-size: 0 !important; line-height: 0;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--swc-navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  z-index: 3;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.popup-close::before, .popup-close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 2.5px; border-radius: 2px; background: var(--swc-navy);
  transition: background .2s;
}
.popup-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.popup-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.popup-close:hover { background: var(--swc-amber); transform: rotate(90deg); color: transparent !important; }
@keyframes swcPop { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* ==========================================================================
   Section layouts
   ========================================================================== */

/* ---------- Banner sections: 'SWC Institution…' and 'Start learning…' ---------- */
.hero-section-5 { background: linear-gradient(180deg, #eef3ff 0%, #f6f9ff 100%); }
.hero-section-5 .hero-content-5 {
  max-width: 640px; margin: 0 auto; padding: 150px 15px 130px; text-align: center; position: relative; z-index: 2;
}
.hero-section-5 .hero-content-5 .title {
  font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; font-weight: 800; color: var(--swc-ink);
  margin-bottom: 18px; letter-spacing: -.03em;
}
.hero-section-5 .hero-content-5 .title br { display: none; }
.hero-section-5 .hero-content-5 .title span { color: var(--swc-blue); }
.hero-section-5 .hero-content-5 p { max-width: 520px; margin: 0 auto; color: var(--swc-text); font-size: 17px; line-height: 1.7; }
.hero-section-5 .hero-content-5 p br { display: none; }
.hero-section-5 .hero-men-wrap .hero-men { z-index: 1; }
/* banner with a photo on the left only: centre the text in the space beside the photo */
@media (min-width: 1201px) {
  .hero-section-5 .hero-men-wrap:has(.hero-men:only-child) ~ .container .hero-content-5 { margin-left: auto; margin-right: 6%; }
}
@media (max-width: 1399px) { .hero-section-5 .hero-content-5 { max-width: 560px; } }
@media (max-width: 1200px) { .hero-section-5 .hero-content-5 { max-width: 720px; } }
@media (max-width: 767px) { .hero-section-5 .hero-content-5 { padding: 90px 18px 80px; } }

/* ---------- Languages Hub at SWC (+ the image slider inside it) ---------- */
.about-section { background: linear-gradient(180deg, #fff 0%, #f5f8ff 100%); position: relative; }
.about-section > .container > .row { align-items: center; row-gap: 56px; }
.about-section .about-img-wrap { max-width: 600px; height: auto; margin: 0 auto; position: relative; }
/* the slider used to be a full <section> with its own 120px padding nested in this column */
.about-section .about-img-wrap > .testimonial-section-3 { padding: 0 !important; background: transparent !important; overflow: visible; }
.about-section .about-img-wrap .testimonial-section-3 .shapes { display: none; }
.about-section .about-img-wrap .testimonial-section-3 .container { padding: 0; max-width: none; }
.about-section .about-img-wrap .testimonial-section-3 .row { margin: 0; }
.about-section .about-img-wrap .testimonial-section-3 .row > [class*=col-] { padding: 0; }
.about-section .about-img-wrap .testi-carousel-wrap-2 {
  position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--swc-shadow-lg); background: #0b2351;
}
.about-section .about-img-wrap .testi-carousel-2 { border-radius: 28px; margin: 0 !important; max-width: none; width: 100%; }
.about-section .about-img-wrap .testi-item-3 { margin: 0 !important; max-width: none !important; width: 100% !important; }
.about-section .about-img-wrap .testi-item-3 {
  border: 0 !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; background: transparent;
  transform: none !important; overflow: hidden;
}
.about-section .about-img-wrap .testi-item-3 img { display: block; width: 100%; height: 400px; object-fit: cover; border-radius: 0; }
.about-section .about-img-wrap .swiper-arrow {
  position: absolute; left: 14px; right: 14px; top: 50%; transform: translateY(-50%);
  display: flex; justify-content: space-between; margin: 0; padding: 0; pointer-events: none; z-index: 5;
}
.about-section .about-img-wrap .swiper-nav {
  position: static; pointer-events: auto; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .94); color: var(--swc-navy); border: 0;
  box-shadow: 0 8px 20px rgba(11, 35, 81, .25); cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.about-section .about-img-wrap .swiper-nav:hover { background: var(--swc-navy); color: #fff; transform: scale(1.06); }
/* phone card: floating pill under the slider instead of poking out of the section */
.about-section .about-img-wrap .about-contact {
  position: relative; left: auto; bottom: auto; max-width: 320px; width: auto;
  margin: -28px 0 0 24px; padding: 16px 24px; border-radius: 18px;
  background: var(--swc-grad); box-shadow: var(--swc-shadow); z-index: 6;
  grid-template-columns: 48px 1fr; grid-gap: 14px;
}
.about-section .about-img-wrap .about-contact .icon { width: 48px; height: 48px; flex-shrink: 0; }
.about-section .about-img-wrap .about-contact .content a { color: #fff; font-size: 20px; font-weight: 700; white-space: nowrap; }
/* right column */
.about-section .about-content .section-title { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.18; }
.about-section .about-content > .section-heading p { font-size: 17px; line-height: 1.7; }
.about-section .about-counter-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; }
.about-section .about-counter-item {
  display: flex; align-items: center; gap: 14px; margin: 0; padding: 18px 18px;
  background: #fff; border: 1px solid var(--swc-line); border-radius: 18px; box-shadow: var(--swc-shadow-sm);
}
.about-section .about-counter-item .icon {
  flex: 0 0 56px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 16px; background: #eef2ff;
}
.about-section .about-counter-item .icon img { width: 32px; height: 32px; object-fit: contain; }
.about-section .about-counter-item .title { font-size: 28px; margin: 0; color: var(--swc-ink); }
.about-section .about-counter-item p { margin: 0; font-size: 13.5px; line-height: 1.4; }
.about-section .about-counter-item p br { display: none; }
@media (max-width: 575px) {
  .about-section .about-counter-items { grid-template-columns: 1fr; }
  .about-section .about-img-wrap .testi-item-3 img { height: 270px; }
  .about-section .about-img-wrap .about-contact { margin-left: 12px; max-width: calc(100% - 24px); }
}

/* ---------- Featured Courses: two-column horizontal cards ---------- */
.feature-section .feature-wrap { background: transparent; max-width: none; border-radius: 0; }
.feature-section .row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0; --bs-gutter-x: 0;
}
.feature-section .row > [class*=col-] { width: auto; max-width: none; padding: 0 !important; margin: 0; flex: none; }
.feature-section .feature-item {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) 48px; align-items: center; column-gap: 20px;
  min-height: 0; height: 100%; padding: 24px 26px; text-align: left !important;
  background: linear-gradient(135deg, #0b2351 0%, #14367a 100%);
  border: 0 !important; border-radius: 22px !important; box-shadow: var(--swc-shadow) !important; overflow: hidden;
  position: relative;
}
.feature-section .feature-item::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); pointer-events: none;
}
.feature-section .feature-item .icon {
  grid-row: 1 / span 2; width: 84px; height: 84px; margin: 0; border: 0;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.feature-section .feature-item .icon img { width: 44px; height: 44px; object-fit: contain; }
.feature-section .feature-item .title { grid-column: 2; margin: 0 0 6px; font-size: 21px; color: #fff; }
.feature-section .feature-item ul { grid-column: 2; margin: 0; padding: 0; list-style: none; }
.feature-section .feature-item ul li { color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.55; }
.feature-section .feature-item .feature-btn {
  grid-column: 3; grid-row: 1 / span 2; margin: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--swc-grad-warm); border: 0; color: var(--swc-navy);
  display: flex; align-items: center; justify-content: center; transition: transform .25s ease;
}
.feature-section .feature-item:hover .feature-btn { transform: translateX(4px); }
@media (max-width: 991px) { .feature-section .row { grid-template-columns: 1fr; } }
@media (max-width: 575px) {
  .feature-section .feature-item { grid-template-columns: 64px minmax(0, 1fr); padding: 20px; column-gap: 16px; }
  .feature-section .feature-item .icon { width: 64px; height: 64px; }
  .feature-section .feature-item .icon img { width: 34px; height: 34px; }
  .feature-section .feature-item .feature-btn { display: none; }
}

/* ---------- Header: logo + company name ---------- */
.header .primary-header-inner .header-logo a.header-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.header-brand-name {
  font-family: var(--ed-ff-heading); font-weight: 600; font-size: 20px; line-height: 1.1; letter-spacing: -.02em;
  color: var(--swc-navy); white-space: nowrap;
}
.header-brand-name strong { display: block; font-weight: 800; color: var(--swc-blue); font-size: 22px; }
@media (max-width: 1199px) and (min-width: 993px) { .header-brand-name { font-size: 16px; } .header-brand-name strong { font-size: 18px; } }
@media (max-width: 575px) { .header-brand-name { font-size: 14px; } .header-brand-name strong { font-size: 16px; } .header .primary-header-inner .header-logo a.header-brand { gap: 8px; } }
@media (max-width: 359px) { .header-brand-name { display: none; } }

/* ---------- Test prep (IELTS / TOEFL / PTE / OET): numbered editorial list ---------- */
.promo-section-3 { background: #f5f8ff !important; counter-reset: swcprep; }
.promo-section-3 .container { max-width: 1040px; }
.promo-section-3 .row { display: block; margin: 0; --bs-gutter-x: 0; }
.promo-section-3 .row > [class*=col-] { width: 100%; max-width: none; padding: 0; }
.promo-section-3 .promo-item-3 {
  counter-increment: swcprep;
  display: grid; grid-template-columns: 76px 230px minmax(0, 1fr); align-items: start; column-gap: 28px;
  padding: 34px 8px; margin: 0;
  background: transparent !important; border: 0 !important; border-bottom: 1px solid #d9e2f5 !important;
  border-radius: 0 !important; box-shadow: none !important; transform: none !important;
  transition: background .25s ease, padding .25s ease;
}
.promo-section-3 .row > [class*=col-]:first-child .promo-item-3 { border-top: 1px solid #d9e2f5 !important; }
.promo-section-3 .promo-item-3:hover { background: #fff !important; padding-left: 24px; padding-right: 24px; border-radius: 18px !important; box-shadow: var(--swc-shadow-sm) !important; }
.promo-section-3 .promo-item-3::before {
  content: counter(swcprep, decimal-leading-zero); grid-row: 1; grid-column: 1;
  font-family: var(--ed-ff-heading); font-weight: 800; font-size: 44px; line-height: 1; color: #c9d6f5; letter-spacing: -.04em;
}
.promo-section-3 .promo-item-3 .icon {
  grid-row: 1; grid-column: 2; align-self: start; display: flex; align-items: center; justify-content: flex-start; gap: 14px; width: auto; height: auto; margin: 0;
  background: transparent; border: 0; padding: 0;
}
.promo-section-3 .promo-item-3 .icon img { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--swc-grad); box-shadow: 0 8px 18px rgba(29, 78, 216, .28); object-fit: contain; }
.promo-section-3 .promo-item-3 .content { display: contents; }
.promo-section-3 .promo-item-3 .content .title {
  grid-row: 1; grid-column: 2; align-self: start; margin: 0 0 0 62px; padding-top: 6px; font-size: 26px; font-weight: 800; color: var(--swc-ink);
}
.promo-section-3 .promo-item-3 .content p {
  grid-row: 1; grid-column: 3; margin: 0; color: var(--swc-text) !important; font-size: 15.5px; line-height: 1.75;
}
@media (max-width: 767px) {
  .promo-section-3 .promo-item-3 { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; padding: 26px 4px; }
  .promo-section-3 .promo-item-3::before { font-size: 30px; }
  .promo-section-3 .promo-item-3 .icon { display: none; }
  .promo-section-3 .promo-item-3 .content .title { grid-column: 2; margin: 0; font-size: 22px; }
  .promo-section-3 .promo-item-3 .content p { grid-row: 2; grid-column: 1 / -1; }
}

/* ---------- Why Choose SWC / Explore Yourself: intro left, stacked feature rows right ---------- */
.promo-section > .container {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: center;
}
.promo-section .promo-heading { text-align: left !important; margin: 0 !important; max-width: none; }
.promo-section .promo-heading .section-title { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; margin-top: 14px; }
.promo-section .promo-heading::after {
  content: "Small batches, expert trainers and a track record built on student results - here is what sets us apart.";
  display: block; margin-top: 20px; max-width: 420px; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.75;
}
.promo-section .promo-wrap {
  display: flex !important; flex-direction: column; gap: 16px; margin: 0 !important; counter-reset: why;
}
.promo-section .promo-wrap > [class*=col-] { width: 100%; max-width: none; padding: 0; flex: none; }
.promo-section .promo-item {
  position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 22px; align-items: center;
  height: auto; padding: 22px 26px; text-align: left; counter-increment: why;
  background: rgba(255, 255, 255, .07) !important; border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 20px !important; box-shadow: none !important; overflow: hidden;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.promo-section .promo-item, .promo-section .promo-item.item-3 { margin-top: 0 !important; }
.promo-section .promo-item:hover { transform: translateX(8px); background: rgba(255, 255, 255, .13) !important; border-color: rgba(255, 255, 255, .3) !important; }
.promo-section .promo-item::after {
  content: "0" counter(why); position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 56px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .08); pointer-events: none;
}
.promo-section .promo-item .promo-thumb {
  grid-row: 1 / span 2; grid-column: 1; width: 76px; height: 76px !important; min-height: 0 !important; margin: 0;
  position: relative; display: flex; align-items: center; justify-content: center; padding: 0;
  border-radius: 22px; background: var(--swc-grad); box-shadow: 0 12px 26px rgba(29, 78, 216, .45); overflow: hidden;
}
.promo-section .promo-item .promo-thumb .main-img { display: none !important; }
.promo-section .promo-item .promo-thumb .icon {
  position: static !important; inset: auto !important; transform: none !important; width: 100%; height: 100%; margin: 0 !important;
  padding: 0; display: flex; align-items: center; justify-content: center; background: none !important; border: 0 !important; box-shadow: none !important;
}
.promo-section .promo-item .promo-thumb .icon img { width: 40px !important; height: 40px !important; max-width: none; object-fit: contain; filter: brightness(0) invert(1); }
.promo-section .promo-item .title { grid-column: 2; margin: 0 70px 6px 0; font-size: 21px; color: #fff !important; text-align: left; align-self: end; }
.promo-section .promo-item p { grid-column: 2; margin: 0 70px 0 0; color: rgba(255, 255, 255, .76) !important; font-size: 14.5px; line-height: 1.65; text-align: left; align-self: start; }
@media (max-width: 991px) {
  .promo-section > .container { grid-template-columns: 1fr; row-gap: 36px; }
  .promo-section .promo-heading { text-align: center !important; }
  .promo-section .promo-heading::after { margin-left: auto; margin-right: auto; }
  .promo-section .promo-item:hover { transform: translateY(-4px); }
}
@media (max-width: 575px) {
  .promo-section .promo-item { grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .promo-section .promo-item .promo-thumb { width: 60px; height: 60px !important; border-radius: 18px; }
  .promo-section .promo-item .promo-thumb .icon img { width: 32px !important; height: 32px !important; }
  .promo-section .promo-item .title, .promo-section .promo-item p { margin-right: 0; }
  .promo-section .promo-item::after { display: none; }
}

/* ---------- Blog ---------- */
.blog-section { background: #fff; }
.blog-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.swc-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.swc-post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--swc-line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--swc-shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.swc-post-card:hover { transform: translateY(-6px); box-shadow: var(--swc-shadow); border-color: #cfdcff; }
.swc-post-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #0b2351, #1d4ed8); }
.swc-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.swc-post-card:hover .swc-post-thumb img { transform: scale(1.05); }
.swc-post-thumb-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .85); font-size: 52px; }
.swc-post-cat {
  position: absolute; left: 14px; top: 14px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--swc-navy);
  font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; box-shadow: var(--swc-shadow-sm);
}
.swc-post-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.swc-post-meta { font-size: 13.5px; color: #7a86a3; margin-bottom: 10px; }
.swc-post-meta i { margin-right: 6px; color: var(--swc-blue); }
.swc-post-title { font-size: 21px; line-height: 1.3; margin: 0 0 10px; }
.swc-post-title a { color: var(--swc-ink); }
.swc-post-title a:hover { color: var(--swc-blue); }
.swc-post-excerpt { margin: 0 0 18px; font-size: 15px; line-height: 1.7; flex: 1; }
.swc-post-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--swc-navy); }
.swc-post-more i { transition: transform .25s ease; }
.swc-post-more:hover { color: var(--swc-blue); }
.swc-post-more:hover i { transform: translateX(4px); }
.swc-blog-empty {
  text-align: center; padding: 56px 24px; border: 2px dashed #d3def7; border-radius: 24px; background: #f7f9ff;
}
.swc-blog-empty i { font-size: 38px; color: var(--swc-blue); margin-bottom: 14px; display: inline-block; }
.swc-blog-empty h3 { color: var(--swc-ink); font-size: 24px; margin-bottom: 8px; }
.swc-blog-empty p { margin: 0; }
.swc-blog-intro { max-width: 720px; margin: 0 auto 48px; text-align: center; font-size: 18px; }
.swc-pagination { margin-top: 48px; text-align: center; }
.swc-pagination .page-numbers, .swc-pagination .nav-links > * {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 16px; margin: 0 4px;
  border-radius: 999px; border: 1px solid var(--swc-line); color: var(--swc-navy); font-weight: 700; background: #fff;
}
.swc-pagination .page-numbers.current { background: var(--swc-grad); color: #fff; border-color: transparent; }
.swc-pagination a.page-numbers:hover { background: #eef2ff; }
/* single post */
.swc-article { max-width: 820px; margin: 0 auto; }
.swc-article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 26px; color: #7a86a3; font-size: 14.5px; }
.swc-article-meta i { margin-right: 6px; color: var(--swc-blue); }
.swc-article-hero { margin-bottom: 34px; border-radius: 24px; overflow: hidden; box-shadow: var(--swc-shadow); }
.swc-article-hero img { width: 100%; height: auto; display: block; }
.swc-article-content { font-size: 18px; line-height: 1.85; color: #3d4966; }
.swc-article-content h2, .swc-article-content h3, .swc-article-content h4 { color: var(--swc-ink); margin: 36px 0 14px; }
.swc-article-content p { margin-bottom: 22px; }
.swc-article-content img { max-width: 100%; height: auto; border-radius: 16px; }
.swc-article-content a { color: var(--swc-blue); text-decoration: underline; }
.swc-article-content blockquote { margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--swc-amber); background: #f7f9ff; border-radius: 0 16px 16px 0; font-style: italic; }
.swc-article-content ul, .swc-article-content ol { margin: 0 0 22px 22px; }
.swc-article-nav { display: flex; justify-content: space-between; gap: 16px; margin: 48px 0 28px; padding-top: 28px; border-top: 1px solid var(--swc-line); }
.swc-article-nav a { font-weight: 700; color: var(--swc-navy); }
.swc-article-nav a:hover { color: var(--swc-blue); }
.swc-article-back { text-align: center; }
@media (max-width: 991px) { .swc-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .swc-post-grid { grid-template-columns: 1fr; } .blog-section-head { margin-bottom: 30px; } .swc-article-content { font-size: 17px; } }

/* ---------- Mobile polish ---------- */
@media (max-width: 991px) {
  .header.header-2 { position: sticky; top: 0; }
  .header .primary-header-inner .header-logo img,
  .header .primary-header-inner .header-right .header-logo img { height: 78px; width: auto; max-width: none; }
  .footer-section { border-radius: 26px 26px 0 0; }
  .section-heading .section-title { font-size: clamp(28px, 7vw, 38px); }
}
@media (max-width: 575px) {
  .ed-primary-btn { padding: 14px 26px; }
  .popup-content { width: 90vw !important; }
  .popup-image { border-radius: 16px; }
  .popup-close { top: -16px !important; right: -8px !important; width: 38px; height: 38px; }
  #whatsapp-button { bottom: 16px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Blog: whole card clickable + related posts ---------- */
.swc-post-card { position: relative; cursor: pointer; }
.swc-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.swc-post-more { position: relative; z-index: 2; }
.swc-related { max-width: 1140px; margin: 80px auto 0; }
.swc-related-title { font-size: 28px; font-weight: 800; color: var(--swc-ink); margin-bottom: 28px; }
@media (max-width: 991px) { .swc-related .swc-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .swc-related .swc-post-grid { grid-template-columns: 1fr; } }

/* ---------- Exams: pinned sidebar + scrolling details ---------- */
.promo-section-3 { overflow: visible !important; }
.promo-section-3 .container.swc-spy { max-width: 1180px; display: grid; grid-template-columns: 270px minmax(0, 1fr); column-gap: 56px; align-items: start; }
.swc-spy-nav {
  position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 6px; padding: 18px;
  background: #fff; border: 1px solid var(--swc-line); border-radius: 22px; box-shadow: var(--swc-shadow-sm);
}
.swc-spy-head { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--swc-blue); padding: 4px 12px 10px; }
.swc-spy-nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; font-weight: 700; font-size: 16px;
  color: var(--swc-ink); text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.swc-spy-nav a span { font-size: 12px; font-weight: 800; color: #9fb2e0; min-width: 20px; }
.swc-spy-nav a:hover { background: #eef3ff; }
.swc-spy-nav a.active { background: var(--swc-grad); color: #fff; transform: translateX(4px); box-shadow: 0 10px 22px rgba(29, 78, 216, .3); }
.swc-spy-nav a.active span { color: rgba(255, 255, 255, .75); }
.promo-section-3 .swc-spy > .row { grid-column: 2; }
.promo-section-3 .swc-spy .row > [class*=col-].mt-50 { margin-top: 0 !important; }
.promo-section-3 .swc-spy .row > [class*=col-] { margin-bottom: 22px; }
.promo-section-3 .swc-spy .promo-item-3 {
  display: block; padding: 32px 34px; scroll-margin-top: 120px; background: #fff !important; border: 1px solid var(--swc-line) !important;
  border-radius: 24px !important; box-shadow: var(--swc-shadow-sm) !important;
}
.promo-section-3 .swc-spy .row > [class*=col-]:first-child .promo-item-3 { border-top: 1px solid var(--swc-line) !important; }
.promo-section-3 .swc-spy .promo-item-3:hover { padding: 32px 34px; box-shadow: var(--swc-shadow) !important; border-radius: 24px !important; }
.promo-section-3 .swc-spy .promo-item-3::before { position: absolute; right: 28px; top: 20px; font-size: 54px; color: #e1e9fb; }
.promo-section-3 .swc-spy .promo-item-3 { position: relative; }
.promo-section-3 .swc-spy .promo-item-3 .icon { display: inline-flex; margin: 0 14px 0 0; vertical-align: middle; }
.promo-section-3 .swc-spy .promo-item-3 .content { display: block; }
.promo-section-3 .swc-spy .promo-item-3 .content .title { display: inline-block; margin: 0; padding: 0; vertical-align: middle; font-size: 26px; }
.promo-section-3 .swc-spy .promo-item-3 .content p { margin: 18px 0 0; }
@media (max-width: 991px) {
  .promo-section-3 .container.swc-spy { grid-template-columns: 1fr; }
  .swc-spy-nav { position: sticky; top: 76px; z-index: 20; flex-direction: row; overflow-x: auto; padding: 10px; gap: 6px; border-radius: 16px; margin-bottom: 22px; scrollbar-width: none; }
  .swc-spy-nav::-webkit-scrollbar { display: none; }
  .swc-spy-head { display: none; }
  .swc-spy-nav a { flex: none; padding: 9px 14px; font-size: 14px; }
  .swc-spy-nav a span { display: none; }
  .swc-spy-nav a.active { transform: none; }
  .promo-section-3 .swc-spy > .row { grid-column: 1; }
  .promo-section-3 .swc-spy .promo-item-3 { padding: 24px 22px; scroll-margin-top: 150px; }
}

.promo-section-3 .swc-spy .promo-item-3 { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; align-items: center; }
.promo-section-3 .swc-spy .promo-item-3 .icon { grid-row: 1; grid-column: 1; margin: 0; }
.promo-section-3 .swc-spy .promo-item-3 .content { display: contents; }
.promo-section-3 .swc-spy .promo-item-3 .content .title { grid-row: 1; grid-column: 2; display: block; }
.promo-section-3 .swc-spy .promo-item-3 .content p { grid-row: 2; grid-column: 1 / -1; margin: 18px 0 0; }

/* ---------- Featured Courses: white icons ---------- */
.feature-section .feature-item .icon { background: linear-gradient(135deg, #2f6bff, #1d4ed8) !important; box-shadow: 0 10px 22px rgba(29, 78, 216, .4) !important; border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.feature-section .feature-item .icon img { filter: brightness(0) invert(1); opacity: 1; }
.feature-section .feature-item .feature-btn { background: rgba(255, 255, 255, .14) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.feature-section .feature-item .feature-btn i { color: #fff !important; }
.feature-section .feature-item:hover .feature-btn { background: #fff !important; }
.feature-section .feature-item:hover .feature-btn i { color: var(--swc-navy) !important; }

/* ---------- Legal links + cookie notice ---------- */
.copyright-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.swc-legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.swc-legal-links a { color: rgba(255, 255, 255, .75); font-size: 14px; text-decoration: none; }
.swc-legal-links a:hover { color: #fff; text-decoration: underline; }
.swc-cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 99999; max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: #0b2351; color: #fff;
  border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.swc-cookie[hidden] { display: none; }
.swc-cookie p { margin: 0; flex: 1; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.swc-cookie a { color: #ffc24a; text-decoration: underline; }
.swc-cookie-actions { display: flex; gap: 10px; flex: none; }
.swc-cookie-btn { border: 0; cursor: pointer; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--swc-grad-warm, #ffc24a); color: #0b2351; }
.swc-cookie-btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
@media (max-width: 575px) { .swc-cookie { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; } .swc-cookie-actions { justify-content: flex-end; } }
