/**
 * Madrek Zaban — IELTS visual alignment v0.5.2.
 * Layout-only refinement. Existing Elementor widget identifiers, stored values,
 * colors, typography controls, content, heading tags and images are untouched.
 * Scoped to the IELTS Elementor sections so the homepage and other services are safe.
 */

/* Shared IELTS page sizing / consistent vertical rhythm. */
.mz-el-section[class*="mz-el-section-ielts-"] {
  box-sizing:border-box;
  scroll-margin-top:86px;
}
.mz-el-section[class*="mz-el-section-ielts-"] .mz-el-inner {
  width:100%;
  min-width:0;
  max-width:1120px;
}
.mz-el-section[class*="mz-el-section-ielts-"] .mz-el-inner > .elementor-element,
.mz-el-section[class*="mz-el-section-ielts-"] .mz-el-inner > .elementor-widget {
  min-width:0;
}
.mz-el-section[class*="mz-el-section-ielts-"] .mz-ielts-title {
  margin-bottom:36px;
}
.mz-el-section[class*="mz-el-section-ielts-"] :is(a,button,summary):focus-visible {
  outline:3px solid #286ca5;
  outline-offset:3px;
}

/* HERO: balanced split, square local illustration and subtle pink backdrop. */
.mz-el-section.mz-el-section-ielts-hero {
  padding-top:94px;
  padding-bottom:33px;
  background:radial-gradient(ellipse at 7% 20%,rgba(255,184,166,.54) 0,rgba(255,213,195,.22) 31%,transparent 58%),var(--mz-bg,#fff6ea);
}
.mz-el-section-ielts-hero > .mz-el-inner,
.mz-el-section-ielts-hero .mz-el-inner {
  min-height:430px;
  
  align-items:center;
}
.e-con:where(.mz-el-section-ielts-hero > .mz-el-inner,
.mz-el-section-ielts-hero .mz-el-inner){--gap:64px;}

.mz-el-section-ielts-hero .mz-ielts-hero-copy {
  flex:1 1 49%!important;
  
  align-items:flex-start;
}
.e-con:where(.mz-el-section-ielts-hero .mz-ielts-hero-copy){--gap:8px;}

.mz-el-section-ielts-hero .mz-ielts-hero-visual {
  flex:1 1 47%!important;
  position:relative;
  isolation:isolate;
  align-items:center;
}
.mz-el-section-ielts-hero .mz-ielts-hero-visual::before {
  content:"";
  position:absolute;
  inset:4% 8% 2%;
  border-radius:47% 53% 40% 60%;
  background:rgba(255,190,168,.22);
  filter:blur(27px);
  z-index:-1;
  pointer-events:none;
}
.mz-el-section-ielts-hero .mz-ielts-hero-visual .mz-el-photo {
  width:min(100%,455px);
  max-width:455px;
  margin:auto;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 20px 37px -25px rgba(31,23,48,.37);
}
.mz-el-section-ielts-hero .mz-ielts-hero-visual .mz-el-photo img {
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:contain;
  max-height:none;
  background:#fff;
  border-radius:10px;
}
.mz-el-section-ielts-hero .mz-ielts-h1 .elementor-heading-title {
  line-height:1.14;
}
.mz-el-section-ielts-hero .mz-ielts-hero-actions {
  margin-top:9px;
}
.mz-el-section-ielts-hero .mz-ielts-hero-actions .elementor-button {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease,box-shadow .2s ease;
}
.mz-el-section-ielts-hero .mz-ielts-hero-actions .elementor-button:hover {
  transform:translateY(-2px);
}
.mz-el-section-ielts-hero .mz-ielts-art-sticker {
  bottom:-8px;
  right:7%;
  transform:rotate(-3deg);
}

/* Statistics: the compact four-part ribbon shown in the reference. */
.mz-el-section.mz-el-section-ielts-stats {
  padding-top:14px;
  padding-bottom:43px;
}
.mz-el-section-ielts-stats .mz-ielts-stats {
  min-height:91px;
  border-radius:17px;
  box-shadow:0 16px 32px -25px rgba(31,23,48,.3);
}
.mz-el-section-ielts-stats .mz-ielts-stat {padding:15px 11px;}

/* Benefits: cards occupy the same content width as the metric ribbon. */
.mz-el-section.mz-el-section-ielts-benefits {
  padding-top:69px;
  padding-bottom:98px;
}
.mz-el-section-ielts-benefits .mz-ielts-benefits {
  width:100%;
  max-width:1080px;
  gap:15px;
}
.mz-el-section-ielts-benefits .mz-ielts-benefit {
  min-height:112px;
  box-sizing:border-box;
  gap:17px;
  padding:21px 24px;
  box-shadow:0 13px 25px -20px rgba(31,23,48,.4);
  transition:transform .2s ease,box-shadow .2s ease;
}
@media (hover:hover){
  .mz-el-section-ielts-benefits .mz-ielts-benefit:hover {
    transform:translateY(-3px);
    box-shadow:0 18px 28px -20px rgba(31,23,48,.45);
  }
}

/* Score: keep the right-hand text and left-hand sample score optically balanced. */
.mz-el-section.mz-el-section-ielts-score {
  padding-top:68px;
  padding-bottom:104px;
}

.e-con:where(.mz-el-section-ielts-score .mz-el-inner){--gap:78px;}

.mz-el-section-ielts-score .mz-ielts-score-column {display:flex;justify-content:center;}
.mz-el-section-ielts-score .mz-ielts-score-card {
  width:100%;
  max-width:430px;
  border-radius:28px;
  box-shadow:0 24px 39px -26px rgba(31,23,48,.3);
}

/* Steps: remove the disconnected line at the far right.
   Every connector now begins at the centre of its own numbered circle. */
.mz-el-section.mz-el-section-ielts-process {
  padding-top:80px;
  padding-bottom:91px;
}
.mz-el-section-ielts-process .mz-ielts-process {
  width:min(100%,680px);
  max-width:680px;
  margin-inline:auto;
  display:grid;
  gap:12px;
  position:relative;
  padding:0;
}
.mz-el-section-ielts-process .mz-ielts-process::before {content:none;display:none;}
.mz-el-section-ielts-process .mz-ielts-process > li {
  display:grid;
  grid-template-columns:35px minmax(0,1fr);
  gap:14px;
  align-items:start;
  position:relative;
  width:100%;
  margin:0;
}
.mz-el-section-ielts-process .mz-ielts-process > li:not(:last-child)::after {
  content:"";
  position:absolute;
  top:35px;
  right:16px;
  bottom:-12px;
  width:2px;
  border-radius:2px;
  background:#ffb8a3;
  pointer-events:none;
  z-index:0;
}
.mz-el-section-ielts-process .mz-ielts-process-number {
  width:35px;
  height:35px;
  line-height:35px;
  margin:0;
  position:relative;
  z-index:1;
  flex:none;
}
.mz-el-section-ielts-process .mz-ielts-process-card {
  min-width:0;
  width:100%;
  box-sizing:border-box;
  min-height:77px;
  padding:17px 21px;
  border-radius:15px;
  position:relative;
  z-index:1;
}

/* Requirements and package comparisons match the reference rhythm. */
.mz-el-section.mz-el-section-ielts-requirements {
  padding-top:82px;
  padding-bottom:98px;
}

.e-con:where(.mz-el-section-ielts-requirements .mz-el-inner){--gap:72px;}

.mz-el-section-ielts-requirements .mz-ielts-req-list {width:100%;gap:9px;}
.mz-el-section-ielts-requirements .mz-ielts-req-list li {min-height:46px;}
.mz-el-section.mz-el-section-ielts-packages {padding-top:70px;padding-bottom:103px;}
.mz-el-section-ielts-packages .mz-ielts-packages {
  width:100%;
  max-width:1060px;
  gap:18px;
  margin-inline:auto;
  align-items:stretch;
}
.mz-el-section-ielts-packages .mz-ielts-package {
  min-width:0;
  min-height:352px;
  box-sizing:border-box;
  padding:26px;
  border-radius:24px;
  box-shadow:0 8px 20px -20px rgba(31,23,48,.16);
}
.mz-el-section-ielts-packages .mz-ielts-package.is-featured {
  box-shadow:0 20px 29px -17px rgba(31,23,48,.35);
}
.mz-el-section-ielts-packages .mz-ielts-package-btn {
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mz-el-section.mz-el-section-ielts-comparison {padding-top:75px;padding-bottom:105px;}
.mz-el-section-ielts-comparison .mz-ielts-compare-wrap {width:100%;max-width:700px;}

/* FAQ / lead capture: balanced two-column layout, no overlap. */
.mz-el-section.mz-el-section-ielts-faq {
  padding-top:76px;
  padding-bottom:96px;
}

.e-con:where(.mz-el-section-ielts-faq .mz-el-inner){--gap:54px;}

.mz-el-section-ielts-faq .mz-ielts-faq-side {flex:1 1 53%;min-width:0;}
.mz-el-section-ielts-faq .mz-ielts-form-side {
  flex:1 1 43%;
  max-width:430px;
  min-width:0;
  padding:25px 22px;
  box-sizing:border-box;
  box-shadow:0 9px 20px -18px rgba(31,23,48,.3);
}
.mz-el-section-ielts-faq .mz-ielts-questions {width:100%;}
.mz-el-section-ielts-faq .mz-ielts-questions details {border:1px solid rgba(31,23,48,.035);}
.mz-el-section-ielts-faq .mz-ielts-questions summary {min-height:49px;}
.mz-el-section-ielts-faq .mz-ielts-lead-form input {width:100%;max-width:100%;box-sizing:border-box;}

/* Mode-specific surfaces: preserve accessible contrast while retaining orange identity. */
html[data-mz-theme="dark"] .mz-el-section-ielts-hero .mz-ielts-hero-visual::before {background:rgba(255,136,112,.12);}
html[data-mz-theme="dark"] .mz-el-section-ielts-benefits .mz-ielts-benefit {border-color:rgba(255,255,255,.09);}

@media (max-width:1024px){
  
.e-con:where(.mz-el-section-ielts-hero .mz-el-inner){--gap:36px;}

  
.e-con:where(.mz-el-section-ielts-score .mz-el-inner,
  .mz-el-section-ielts-requirements .mz-el-inner){--gap:38px;}

  
.e-con:where(.mz-el-section-ielts-faq .mz-el-inner){--gap:32px;}

  .mz-el-section-ielts-packages .mz-ielts-packages {gap:14px;}
  .mz-el-section-ielts-packages .mz-ielts-package {padding:20px;}
}

/* Mobile: precisely 15px safe gutter and no horizontal overflow. */
@media (max-width:767px){
  .mz-el-section[class*="mz-el-section-ielts-"] {
    padding-inline:15px;
    max-width:100%;
  }
  .mz-el-section[class*="mz-el-section-ielts-"] .mz-el-inner {
    width:100%;
    min-width:0;
    max-width:100%;
  }
  .mz-el-section.mz-el-section-ielts-hero {padding-top:76px;padding-bottom:24px;}
  .mz-el-section-ielts-hero .mz-el-inner {min-height:0;}
.e-con:where(.mz-el-section-ielts-hero .mz-el-inner){--gap:26px;}

  .mz-el-section-ielts-hero .mz-ielts-hero-copy,
  .mz-el-section-ielts-hero .mz-ielts-hero-visual {flex:none!important;min-width:0;width:100%;}
  .mz-el-section-ielts-hero .mz-ielts-hero-copy {align-items:center;text-align:center;}
  .mz-el-section-ielts-hero .mz-ielts-hero-visual .mz-el-photo {width:min(100%,350px);max-width:350px;}
  .mz-el-section-ielts-hero .mz-ielts-art-sticker {right:10%;}
  .mz-el-section.mz-el-section-ielts-stats {padding-top:10px;padding-bottom:32px;}
  .mz-el-section-ielts-stats .mz-ielts-stats {grid-template-columns:repeat(2,minmax(0,1fr));}
  .mz-el-section.mz-el-section-ielts-benefits {padding-top:60px;padding-bottom:70px;}
  .mz-el-section-ielts-benefits .mz-ielts-benefits {grid-template-columns:1fr;gap:11px;}
  .mz-el-section-ielts-benefits .mz-ielts-benefit {min-height:94px;padding:15px;gap:12px;}
  .mz-el-section.mz-el-section-ielts-score {padding-top:55px;padding-bottom:74px;}
  
.e-con:where(.mz-el-section-ielts-score .mz-el-inner){--gap:22px;}

  .mz-el-section-ielts-score .mz-ielts-score-card {max-width:430px;margin-inline:auto;}
  .mz-el-section.mz-el-section-ielts-process {padding-top:65px;padding-bottom:68px;}
  .mz-el-section-ielts-process .mz-ielts-process {width:100%;max-width:520px;gap:10px;}
  .mz-el-section-ielts-process .mz-ielts-process > li {grid-template-columns:32px minmax(0,1fr);gap:10px;}
  .mz-el-section-ielts-process .mz-ielts-process-number {width:32px;height:32px;line-height:32px;}
  .mz-el-section-ielts-process .mz-ielts-process > li:not(:last-child)::after {right:15px;top:32px;bottom:-10px;}
  .mz-el-section-ielts-process .mz-ielts-process-card {min-height:70px;padding:14px 15px;}
  .mz-el-section.mz-el-section-ielts-requirements {padding-top:67px;padding-bottom:73px;}
  
.e-con:where(.mz-el-section-ielts-requirements .mz-el-inner){--gap:23px;}

  .mz-el-section.mz-el-section-ielts-packages {padding-top:62px;padding-bottom:76px;}
  .mz-el-section-ielts-packages .mz-ielts-packages {grid-template-columns:1fr;max-width:430px;gap:16px;}
  .mz-el-section-ielts-packages .mz-ielts-package {min-height:0;padding:24px;}
  .mz-el-section-ielts-packages .mz-ielts-package.is-featured {transform:none;}
  .mz-el-section.mz-el-section-ielts-comparison {padding-top:60px;padding-bottom:77px;}
  .mz-el-section-ielts-comparison .mz-ielts-compare-wrap {max-width:100%;overflow-x:auto;}
  .mz-el-section.mz-el-section-ielts-faq {padding-top:63px;padding-bottom:74px;}
  
.e-con:where(.mz-el-section-ielts-faq .mz-el-inner){--gap:25px;}

  .mz-el-section-ielts-faq .mz-ielts-faq-side,
  .mz-el-section-ielts-faq .mz-ielts-form-side {width:100%;max-width:none;flex:0 1 auto;}
  .mz-el-section-ielts-faq .mz-ielts-form-side {padding:18px;}
}
@media (max-width:390px){
  
.e-con:where(.mz-el-section-ielts-hero .mz-ielts-hero-actions){--gap:8px;}

  .mz-el-section-ielts-hero .mz-ielts-hero-actions .elementor-button {padding-inline:12px;font-size:12px;}
  .mz-el-section-ielts-stats .mz-ielts-stat strong {font-size:21px;}
  .mz-el-section-ielts-packages .mz-ielts-package {padding:20px;}
}
@media (prefers-reduced-motion:reduce){
  .mz-el-section-ielts-benefits .mz-ielts-benefit,
  .mz-el-section-ielts-hero .mz-ielts-hero-actions .elementor-button {transition:none;}
}
