.elementor-8778 .elementor-element.elementor-element-7c61a50{--display:flex;}body.elementor-page-8778:not(.elementor-motion-effects-element-type-background), body.elementor-page-8778 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://pdotuitionservices.com/wp-content/uploads/2025/08/ChatGPT-Image-Aug-14-2025-11_00_39-AM-1.png");}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-a35163d *//* ============================================================
   GLASGOW UK CURRICULUM TUITION — PREMIUM CSS v2
   Font: Outfit (display) + Inter (body)
   Palette: Royal Blue #0d47a1 / Sky #1976d2 / Gold #ffb300
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ===========================
   GLOBAL RESET
=========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-deep:   #0d47a1;
  --blue-mid:    #1565c0;
  --blue-bright: #1976d2;
  --blue-light:  #e8f0fe;
  --blue-pale:   #f0f4ff;
  --gold:        #ffb300;
  --gold-hover:  #ffc107;
  --white:       #ffffff;
  --text-dark:   #0f172a;
  --text-mid:    #334155;
  --text-soft:   #64748b;
  --border:      #dde6f7;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 2px 8px rgba(13,71,161,0.07);
  --shadow-md:   0 6px 20px rgba(13,71,161,0.13);
  --shadow-lg:   0 16px 44px rgba(13,71,161,0.18);
  --shadow-gold: 0 8px 28px rgba(255,179,0,0.45);
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   CONTAINER
=========================== */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===========================
   HERO SECTION  (fully rebuilt)
=========================== */
.hero {
  position: relative;
  padding: 110px 24px 100px;
  /* solid deep blue base — no transparent hacks */
  background: #0b3d91;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;        /* new stacking context — children stay on top */
}

/* Layer 1 — diagonal colour sweep */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #082e6e 0%,
    #1150b8 40%,
    #0d47a1 65%,
    #0a3a8a 100%
  );
  z-index: -3;
}

/* Layer 2 — moving dot-grid */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: dotDrift 20s linear infinite;
  z-index: -2;
}

@keyframes dotDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 36px 36px; }
}

/* Layer 3 — gold orb top-right (separate div not possible → use box-shadow trick on container) */
.hero .container {
  position: relative;
  z-index: 1;
}

/* gold glow blob — injected via outline shadow on a hidden span */
.hero .container::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,179,0,0.18) 0%, transparent 65%);
  top: -260px;
  right: -180px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
  z-index: 0;
}

/* second softer orb bottom-left */
.hero .container::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(100,181,246,0.14) 0%, transparent 70%);
  bottom: -180px;
  left: -130px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 11s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-18px) scale(1.06); }
}

/* keep all direct hero children above orbs */
.hero .container > * {
  position: relative;
  z-index: 2;
}

/* animate text in on load */
.hero h1,
.hero h2,
.hero p,
.hero .hero-links,
.hero .cta-btn {
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.hero h1            { animation-delay: 0.05s; }
.hero h2            { animation-delay: 0.15s; }
.hero p             { animation-delay: 0.22s; }
.hero .hero-links   { animation-delay: 0.30s; }
.hero .cta-btn      { animation-delay: 0.38s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
  /* subtle text-shadow for depth on the dark bg */
  text-shadow: 0 3px 18px rgba(0,0,0,0.35);
}

.hero h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.05rem, 2.3vw, 1.38rem);
  font-weight: 600;
  margin-bottom: 26px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.2px;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 22px;
  font-size: 1.03rem;
  color: rgba(255,255,255,0.84);
  line-height: 1.78;
}

.hero strong {
  color: #ffe082;
  font-weight: 600;
}

.hero-links {
  margin-bottom: 38px;
}

.hero-links a {
  display: inline-block;
  color: #7fffd4;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(127,255,212,0.45);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition),
              letter-spacing var(--transition);
  letter-spacing: 0.2px;
}

.hero-links a:hover {
  color: #fff;
  border-color: #fff;
  letter-spacing: 0.6px;
}

/* ===========================
   CTA BUTTON  (isolated — no pseudo conflict)
=========================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: #1a0f00;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 38px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-gold);
  /* only transform + box-shadow animate — no 'all' which triggers layout */
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.22s ease,
              background 0.22s ease,
              color 0.22s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}

/* shimmer sweep — self-contained inside isolation */
.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255,255,255,0.42) 50%,
    transparent 75%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  border-radius: inherit;
  pointer-events: none;
}

.cta-btn:hover::before {
  transform: translateX(120%);
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 36px rgba(255,160,0,0.55);
  background: var(--gold-hover);
}

.cta-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 5px 16px rgba(255,160,0,0.4);
  transition-duration: 0.1s;
}

/* ===========================
   SECTIONS — BASE
=========================== */
section {
  padding: 76px 0;
}

section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  text-align: center;
  color: var(--blue-deep);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  position: relative;
}

section h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--gold), var(--blue-bright));
  border-radius: 4px;
  margin: 12px auto 0;
  transition: width var(--transition);
}

section:hover h3::after { width: 80px; }

section p {
  max-width: 820px;
  margin: 0 auto 20px;
  text-align: center;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
}

section strong { color: var(--blue-deep); font-weight: 600; }

/* ===========================
   STATS SECTION
=========================== */
section:has(.stats) {
  padding: 50px 0;
  background: var(--blue-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-box:hover::before { opacity: 1; }

.stat-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.stat-box h3::after { display: none; }

.stat-box p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  text-align: center;
  margin: 0;
}

/* ===========================
   FEATURES GRID — CARDS
=========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.feature {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  position: relative;
  /* NO overflow:hidden — that clips process number badges */
  text-align: left;
  color: var(--text-mid);
  font-size: 0.96rem;
  line-height: 1.65;
  will-change: transform;
}

/* left accent bar — fades in on hover */
.feature::before {
  content: "";
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-deep), var(--blue-bright));
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transform: scaleY(0.6);
  transition: opacity var(--transition), transform var(--transition);
}

/* micro-glow ring on hover — inset so it doesn't overflow */
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1.5px rgba(25,118,210,0);
  transition: box-shadow var(--transition);
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: #b8d0f8;
}

.feature:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.feature:hover::after {
  box-shadow: inset 0 0 0 1.5px rgba(25,118,210,0.25);
}

.feature h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  transition: letter-spacing var(--transition);
}

.feature:hover h4 {
  letter-spacing: 0.2px;
}

.feature ul {
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
}

.feature ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color var(--transition), padding-left var(--transition);
}

.feature ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  font-size: 0.8rem;
  transition: transform var(--transition);
}

.feature:hover ul li {
  color: var(--text-mid);
}

.feature ul li:hover {
  padding-left: 22px;
  color: var(--blue-deep);
}

.feature ul li:hover::before {
  transform: translateX(2px);
}

/* ===========================
   WHY CHOOSE SECTION
=========================== */
.why-choose {
  background: var(--blue-pale);
}

/* ===========================
   KEY STAGES SECTION
=========================== */
.levels { background: var(--white); }

/* ===========================
   SUBJECTS SECTION
=========================== */
.subjects { background: #f7fbff; }

/* ===========================
   EXAM BOARDS SECTION
=========================== */
.exam-boards {
  background: var(--white);
}

.exam-boards ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  list-style: none;
  margin: 30px auto 24px;
  max-width: 700px;
  padding: 0;
}

.exam-boards ul li {
  background: var(--white);
  border: 1.5px solid var(--blue-bright);
  color: var(--blue-deep);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 50px;
  letter-spacing: 0.4px;
  transition: all var(--transition);
  cursor: default;
}

.exam-boards ul li:hover {
  background: var(--blue-deep);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(13,71,161,0.2);
}

/* ===========================
   LOCAL AREAS SECTION
=========================== */
.local-areas {
  background: var(--blue-pale);
}

.local-areas strong {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ===========================
   TRUST SECTION
=========================== */
.trust {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,71,161,0.04) 0%, transparent 70%);
  right: -200px; bottom: -200px;
  border-radius: 50%;
  pointer-events: none;
}

/* ===========================
   NATIONAL PRESENCE
=========================== */
.national-presence {
  background: #f0f4ff;
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.presence-item {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-mid);
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.presence-item::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-deep), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.presence-item:hover {
  background: var(--blue-deep);
  color: #fff;
  border-color: var(--blue-deep);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.presence-item:hover::before { transform: scaleX(1); }

/* ===========================
   GLOBAL PRESENCE
=========================== */
.global-presence {
  background: var(--white);
}

.presence-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.highlight {
  display: inline-block;
  background: var(--blue-pale);
  border: 1px solid #c5d8ff;
  color: var(--blue-mid);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
}

.highlight:hover {
  background: var(--blue-deep);
  color: #fff;
  border-color: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(13,71,161,0.2);
}

/* ===========================
   WHO CAN BENEFIT
=========================== */
.who-can-benefit {
  background: #f7fbff;
}

.who-can-benefit ul {
  list-style: none;
  padding: 0;
  margin: 28px auto;
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.who-can-benefit ul li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px 14px 44px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: all var(--transition);
}

.who-can-benefit ul li::before {
  content: "→";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--blue-bright);
  font-weight: 700;
  transition: all var(--transition);
}

.who-can-benefit ul li:hover {
  transform: translateY(-4px);
  border-color: #c5d8ff;
  box-shadow: var(--shadow-md);
  color: var(--blue-deep);
}

.who-can-benefit ul li:hover::before {
  transform: translateX(4px);
  color: var(--blue-deep);
}

/* ===========================
   PROCESS / HOW IT WORKS
=========================== */
.process-section {
  background: linear-gradient(180deg, #f0f4ff 0%, var(--white) 100%);
}

.process-section .features-grid {
  counter-reset: steps;
  padding-top: 28px;
}

.process-section .feature {
  counter-increment: steps;
  padding-top: 44px;
  overflow: visible;
}

.process-section .feature::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -20px;
  left: 24px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(13,71,161,0.35);
  z-index: 10;
  border: 3px solid var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  /* width/height defined once — no duplicate */
}

.process-section .feature:hover::before {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 8px 20px rgba(13,71,161,0.4);
}

.process-section .feature::after { display: none; }

.process-section .feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #c5d8ff;
}

.process-section .feature strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
}

/* ===========================
   FINAL CTA
=========================== */
.final-cta {
  background: linear-gradient(150deg, #0d3780 0%, #1565c0 50%, #0a3375 100%);
  padding: 86px 20px;
  text-align: center;
  /* isolation creates a fresh stacking context —
     pseudo-elements stay behind content always */
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* dot-grid texture — pushed to z-index -2 */
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: -2;
  pointer-events: none;
}

/* gold orb — pushed to z-index -1, well below text */
.final-cta::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,179,0,0.18) 0%, transparent 68%);
  bottom: -160px;
  left: -120px;
  z-index: -1;
  pointer-events: none;
}

/* container sits above both decorative layers */
.final-cta .container {
  position: relative;
  z-index: 1;
}

/* all direct children of container explicitly stacked above overlays */
.final-cta .container > * {
  position: relative;
  z-index: 2;
}

.final-cta h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0,0,0,0.25);
}

/* prevent global section h3::after underline bar showing here */
.final-cta h3::after { display: none !important; }

.final-cta p {
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: center;
  /* guarantee text is never obscured */
  position: relative;
  z-index: 2;
}

.final-cta strong {
  color: #ffe082;
  font-weight: 700;
}

/* ===========================
   FAQ SECTION
=========================== */
.faq-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 76px 24px;
}

.faq-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--blue-deep);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  position: relative;
}

.faq-section h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--gold), var(--blue-bright));
  border-radius: 4px;
  margin: 12px auto 36px;
}

.faq {
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.faq:hover { box-shadow: var(--shadow-md); }

.faq button {
  width: 100%;
  background: var(--white);
  color: var(--text-dark);
  padding: 18px 52px 18px 22px;
  border: none;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background var(--transition), color var(--transition);
}

.faq button::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue-bright);
  transition: transform var(--transition), color var(--transition);
  line-height: 1;
}

.faq.active button {
  background: var(--blue-deep);
  color: #fff;
}

.faq.active button::after {
  content: "−";
  color: #fff;
  transform: translateY(-50%) rotate(0deg);
}

.faq .answer {
  background: #f5f8ff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1),
              padding 0.28s ease;
  border-top: 1px solid var(--border);
}

.faq .answer p {
  text-align: left;
  color: var(--text-mid);
  font-size: 0.95rem;
  padding: 18px 22px;
  margin: 0;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .who-can-benefit ul {
    grid-template-columns: 1fr;
  }
  .presence-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 640px) {
  .hero { padding: 72px 16px 64px; }
  section { padding: 56px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .faq-section { padding: 56px 16px; }
  .presence-grid { grid-template-columns: repeat(2, 1fr); }
  .exam-boards ul { gap: 10px; }
  .exam-boards ul li { padding: 9px 18px; font-size: 0.85rem; }
}




/* ===========================
   CROSS-LINKS SECTION
=========================== */
.cross-links {
  padding: 80px 0;
  background: linear-gradient(180deg, #f0f4ff 0%, var(--white) 100%);
}

.cross-links h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  text-align: center;
  color: var(--blue-deep);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.cross-links h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--gold), var(--blue-bright));
  border-radius: 4px;
  margin: 12px auto 0;
}

.cross-links > .container > p {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
}

/* ---- Card overrides for cross-links ---- */
.cross-links .feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 22px;
  overflow: hidden;
}

/* Gold orb top-right accent */
.cross-links .feature::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at top right, rgba(255,179,0,0.13), transparent 70%);
  pointer-events: none;
  border-radius: 0 var(--radius-md) 0 0;
  box-shadow: none; /* override global inset glow */
}

/* Icon badge */
.cross-links .cl-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
  transition: background var(--transition), transform var(--transition);
}

.cross-links .cl-icon svg {
  width: 18px;
  height: 18px;
}

.cross-links .feature:hover .cl-icon {
  background: #c5d8ff;
  transform: scale(1.1) rotate(-4deg);
}

/* Paragraph inside card */
.cross-links .feature p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  text-align: left;
  margin: 0;
  flex: 1;
}

/* Arrow link */
.cross-links .feature a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-bright);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(25,118,210,0.3);
  padding-bottom: 1px;
  width: fit-content;
  margin-top: 2px;
  transition: color var(--transition), border-color var(--transition), gap var(--transition);
}

.cross-links .feature a:hover {
  color: var(--blue-deep);
  border-color: var(--blue-deep);
  gap: 8px;
}

/* Hover badge (optional — add <span class="cl-badge">POPULAR</span> inside cards) */
.cross-links .cl-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--blue-light);
  color: var(--blue-deep);
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition);
}

.cross-links .feature:hover .cl-badge {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================
   SUBJECTS — HOVER / TOUCH
=========================== */
.subjects .feature:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  box-shadow: var(--shadow-lg);
  transform: translateY(-7px);
}

.subjects .feature:hover h4 {
  color: #ffffff;
  letter-spacing: 0.2px;
}

.subjects .feature:hover p {
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.subjects .feature:hover ul li {
  color: rgba(255, 255, 255, 0.88);
  padding-left: 18px;
}

.subjects .feature:hover ul li::before {
  color: var(--gold);
}

.subjects .feature:hover::before {
  background: linear-gradient(180deg, var(--gold), #ffe082);
  opacity: 1;
  transform: scaleY(1);
}

/* ===== CITY INTENT SECTION ===== */

.city-intent {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
}

.city-intent .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Heading */
.city-intent h3 {
  font-size: 32px;
  font-weight: 700;
  color: #0a2540;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

/* Underline accent */
.city-intent h3::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #2b6cb0;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Paragraphs */
.city-intent p {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 18px;
  text-align: center;
}

/* Highlight strong text */
.city-intent strong {
  color: #1d4ed8;
  font-weight: 600;
}

/* Card effect wrapper */
.city-intent .container {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Hover lift effect */
.city-intent .container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Subtle divider between paragraphs */
.city-intent p:not(:last-child)::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #e2e8f0;
  margin: 15px auto 0;
}

/* Responsive */
@media (max-width: 768px) {
  .city-intent {
    padding: 60px 15px;
  }

  .city-intent h3 {
    font-size: 24px;
  }

  .city-intent p {
    font-size: 15px;
  }

  .city-intent .container {
    padding: 25px 20px;
  }
}/* End custom CSS */
/* Start custom CSS *//* ===========================
   SAFE FULL-WIDTH OVERRIDE
   (NO 100vw, NO OVERFLOW)
=========================== */

/* Allow theme to stretch */
.site,
.site-content,
.content-area,
.wrap,
.page-wrap {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Elementor root */
.elementor {
  max-width: 100% !important;
}

/* Elementor sections full width */
.elementor-section {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===========================
   HERO – FULL SCREEN, CENTERED
=========================== */

.hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  box-sizing: border-box;
}

/* Keep hero content aligned */
.hero > * {
  max-width: 1200px;
  margin: auto;
}

/* ===========================
   MOBILE SAFETY
=========================== */

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 50px 16px;
    text-align: center;
  }
}




/* ===========================
   MOBILE VISIBILITY FIX
=========================== */

@media (max-width: 768px) {

  /* Restore section spacing */
  section {
    padding: 40px 16px !important;
    margin: 0 !important;
  }

  /* Ensure all sections show fully */
  section,
  .elementor-section {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Fix grids stacking visibility */
  .stats,
  .features-grid,
  .subject-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Prevent text from shrinking */
  p, li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Ensure background sections are visible */
  .subjects,
  .trust,
  .national-cbse,
  .global-cbse,
  .national-icse,
  .global-icse,
  .national-igcse,
  .global-igcse {
    background-clip: padding-box;
    padding: 40px 16px !important;
  }
}/* End custom CSS */