/* ============================================================
   EZ TUTORS — SHARED STYLESHEET
   Used by: index.html, 11plus/index.html, and all future pages
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FAF7F2;
  --warm-white: #FFFDF9;
  --amber: #E8A842;
  --amber-dark: #C48A28;
  --amber-light: #FDF0D5;
  --teal: #2D6A6A;
  --teal-dark: #1E4D4D;
  --teal-light: #E8F4F4;
  --charcoal: #2C2C2C;
  --mid-gray: #6B6B6B;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--charcoal); overflow-x: hidden; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(250,247,242,0.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06); transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
.nav-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--teal); letter-spacing: -0.5px; text-decoration: none; }
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--charcoal); text-decoration: none; position: relative; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--amber); transition: width 0.25s; }
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--teal) !important; color: #fff !important; padding: 0.5rem 1.2rem; border-radius: 50px; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px); color: #fff !important; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--teal); color: #fff;
  padding: 0.85rem 1.8rem; border-radius: 50px;
  font-size: 0.93rem; font-weight: 600; font-family: var(--font-body);
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(45,106,106,0.28);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,106,106,0.38); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: transparent; color: var(--charcoal);
  padding: 0.85rem 1.8rem; border-radius: 50px;
  font-size: 0.93rem; font-weight: 500; font-family: var(--font-body);
  text-decoration: none; cursor: pointer;
  border: 1.5px solid rgba(0,0,0,0.15);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

.btn-amber {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--amber); color: #fff;
  padding: 0.85rem 1.8rem; border-radius: 50px;
  font-size: 0.93rem; font-weight: 600; font-family: var(--font-body);
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232,168,66,0.32);
}
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-2px); }

/* ── SECTION SHARED ──────────────────────────────────────── */
.section-tag { display: inline-block; color: var(--amber-dark); font-size: 0.79rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.8rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.2; }
.section-title em { color: var(--teal); font-style: normal; }
.section-sub { font-size: 1rem; color: var(--mid-gray); max-width: 520px; margin: 0.9rem auto 0; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
/* CRITICAL: .reveal default state is VISIBLE.  Animation is layered on top
   only if the IntersectionObserver JS fires successfully — but if it
   doesn't (mobile quirks, slow JS, blocked scripts), content stays visible. */
.reveal { opacity: 1; transform: none; transition: opacity 0.6s, transform 0.6s; }
.reveal.pre-anim { opacity: 0; transform: translateY(28px); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar { background: var(--teal-dark); padding: 1.2rem 5vw; display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.85); font-size: 0.84rem; font-weight: 500; }

/* ── HERO ────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 7rem 5vw 4rem; gap: 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -10%; right: -5%; width: 55vw; height: 120%; background: radial-gradient(ellipse at 70% 40%, #dff0f0 0%, #c8e6e6 40%, transparent 72%); border-radius: 40% 0 0 60%; z-index: 0; }
.hero-content { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--amber-light); color: var(--amber-dark); font-size: 0.8rem; font-weight: 600; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; animation: fadeUp 0.6s ease both; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: 1.12; font-weight: 700; margin-bottom: 1.3rem; animation: fadeUp 0.6s 0.1s ease both; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero h1 .ul-amber { position: relative; display: inline-block; }
.hero h1 .ul-amber::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 7px; background: var(--amber); opacity: 0.3; border-radius: 4px; z-index: -1; }
.hero p { font-size: 1.08rem; line-height: 1.75; color: var(--mid-gray); max-width: 460px; margin-bottom: 2rem; animation: fadeUp 0.6s 0.2s ease both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.6s 0.3s ease both; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; animation: fadeUp 0.6s 0.4s ease both; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--mid-gray); margin-top: 0.2rem; }
.hero-visual { position: relative; z-index: 1; animation: fadeIn 0.8s 0.2s ease both; }
.hero-card-main { background: #fff; border-radius: 24px; padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.1); position: relative; }
.floating-card { position: absolute; background: #fff; border-radius: 16px; padding: 0.9rem 1.1rem; box-shadow: 0 10px 40px rgba(0,0,0,0.13); animation: float 4s ease-in-out infinite; }
.float-1 { top: -1.5rem; right: -1.5rem; display: flex; align-items: center; gap: 0.7rem; }
.float-2 { bottom: -1.2rem; left: -1.5rem; animation-delay: 2s; }
.fi-wrap { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.f-label { font-size: 0.77rem; font-weight: 600; color: var(--charcoal); }
.f-sub { font-size: 0.7rem; color: var(--mid-gray); }
.stars-sm { color: var(--amber); font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 0.2rem; }

/* ── SUBJECTS ─────────────────────────────────────────────── */
.subjects { padding: 6rem 5vw; background: var(--warm-white); }
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.subject-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 1.6rem 1.3rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.subject-card:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: 0 12px 36px rgba(45,106,106,0.12); }
.subj-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.subject-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.45rem; }
.subject-desc { font-size: 0.85rem; color: var(--mid-gray); line-height: 1.6; }

/* ── ABOUT ────────────────────────────────────────────────── */
.about { padding: 6rem 5vw; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-images { position: relative; min-height: 440px; }
.about-img-main { width: 100%; height: 420px; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); display: block; }
.about-img-accent { position: absolute; bottom: -2rem; right: -2rem; width: 52%; height: 200px; object-fit: cover; border-radius: 18px; border: 5px solid var(--cream); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.about-badge { position: absolute; top: 1.5rem; left: -1.5rem; background: var(--amber); color: #fff; padding: 0.9rem 1.3rem; border-radius: 14px; box-shadow: 0 8px 24px rgba(232,168,66,0.4); text-align: center; }
.about-badge-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1; }
.about-badge-txt { font-size: 0.72rem; font-weight: 600; opacity: 0.9; }
.about-content .section-header { text-align: left; margin-bottom: 1.5rem; }
.about-content .section-sub { margin: 0; max-width: 100%; }
.perks-list { list-style: none; margin: 1.8rem 0 2rem; display: flex; flex-direction: column; gap: 1rem; }
.perks-list li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.91rem; }
.perk-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how-it-works { padding: 6rem 5vw; background: var(--teal-dark); color: #fff; position: relative; overflow: hidden; }
.how-it-works::before { content: ''; position: absolute; top: -50%; left: -10%; width: 50%; height: 150%; background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%); pointer-events: none; }
.how-it-works .section-title { color: #fff; }
.how-it-works .section-sub { color: rgba(255,255,255,0.65); }
.how-it-works .section-tag { color: var(--amber); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.8rem; }
.step-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 2rem; transition: background 0.25s, transform 0.25s; }
.step-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: rgba(232,168,66,0.2); line-height: 1; margin-bottom: 0.6rem; }
.step-ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.step-title { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { padding: 6rem 5vw; background: var(--warm-white); }
.t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  max-width: 1280px;
  margin: 0 auto;
}
.t-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.t-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.t-card::before { content: '"'; font-family: var(--font-display); font-size: 5rem; line-height: 0.8; color: var(--amber-light); position: absolute; top: 1rem; right: 1.5rem; pointer-events: none; }
.t-stars { color: var(--amber); font-size: 0.88rem; margin-bottom: 1rem; }
.t-text { font-size: 0.93rem; line-height: 1.75; color: var(--mid-gray); font-style: italic; margin-bottom: 1.5rem; }
.t-author { display: flex; align-items: center; gap: 0.9rem; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.t-name { font-weight: 600; font-size: 0.88rem; }
.t-role { font-size: 0.76rem; color: var(--mid-gray); }

/* ── PRICING ──────────────────────────────────────────────── */
.pricing { padding: 6rem 5vw; background: var(--cream); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; max-width: 980px; margin: 0 auto; }
.pricing-card { background: var(--warm-white); border-radius: 24px; padding: 2.4rem 2rem; border: 2px solid transparent; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.pricing-card.featured { background: var(--teal-dark); color: #fff; transform: scale(1.04); box-shadow: 0 20px 60px rgba(45,106,106,0.3); }
.pricing-card:not(.featured):hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.pricing-badge { display: inline-block; background: var(--amber); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.8rem; border-radius: 50px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.2rem; }
.pricing-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-desc { font-size: 0.86rem; color: var(--mid-gray); line-height: 1.6; margin-bottom: 1.2rem; }
.pricing-card.featured .pricing-desc { color: rgba(255,255,255,0.65); }
.pricing-price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--teal); }
.pricing-card.featured .pricing-price { color: var(--amber); }
.pricing-period { font-size: 0.82rem; color: var(--mid-gray); margin: 0.3rem 0 1.5rem; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.6); }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { font-size: 0.88rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; gap: 0.6rem; }
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.chk { width: 18px; height: 18px; border-radius: 50%; background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pricing-card.featured .chk { background: rgba(232,168,66,0.25); }

/* ── BOOKING FORM ─────────────────────────────────────────── */
.booking { padding: 6rem 5vw; background: var(--warm-white); }
.booking-inner { display: grid; grid-template-columns: 1fr 1.45fr; gap: 4rem; align-items: start; max-width: 1100px; margin: 0 auto; }
.booking-info .section-header { text-align: left; margin-bottom: 1.8rem; }
.booking-info .section-sub { margin: 0; max-width: 100%; }
.bk-perks { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.bk-perks li { display: flex; align-items: flex-start; gap: 0.9rem; font-size: 0.9rem; line-height: 1.5; }
.bk-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bk-txt strong { display: block; font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.bk-txt span { color: var(--mid-gray); font-size: 0.82rem; }
.contact-img { width: 100%; height: 200px; object-fit: cover; border-radius: 18px; margin-top: 2rem; }
.form-card { background: #fff; border-radius: 24px; padding: 2.5rem 2.2rem; box-shadow: 0 12px 50px rgba(0,0,0,0.09); }
.form-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.4rem; }
.form-card > p { font-size: 0.87rem; color: var(--mid-gray); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group label { font-size: 0.81rem; font-weight: 600; color: var(--charcoal); letter-spacing: 0.3px; }
.form-group input, .form-group select, .form-group textarea { padding: 0.75rem 1rem; border-radius: 12px; border: 1.5px solid #e5e0d9; font-family: var(--font-body); font-size: 0.9rem; color: var(--charcoal); background: var(--cream); outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45,106,106,0.1); background: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-submit { width: 100%; padding: 1rem; border-radius: 50px; background: var(--teal); color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(45,106,106,0.28); margin-top: 0.5rem; }
.form-submit:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,106,106,0.38); }
.privacy-note { text-align: center; font-size: 0.75rem; color: var(--mid-gray); margin-top: 1rem; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.form-success h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--teal); margin-bottom: 0.6rem; }
.form-success p { color: var(--mid-gray); font-size: 0.9rem; line-height: 1.6; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { background: var(--charcoal); color: rgba(255,255,255,0.75); padding: 4rem 5vw 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #fff; text-decoration: none; display: inline-block; margin-bottom: 1rem; }
.footer-logo span { color: var(--amber); }
.footer-logo svg text[fill="#1A3045"] { fill: #fff; }

.footer-tagline { font-size: 0.85rem; line-height: 1.7; max-width: 240px; }
.footer-heading { font-weight: 600; color: #fff; font-size: 0.88rem; margin-bottom: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.84rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; }
.social-links { display: flex; gap: 0.8rem; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; transition: background 0.2s; }
.social-link:hover { background: var(--teal); }

/* ── 11+ PORTAL — used by 11plus/index.html ─────────────── */

/* Portal page hero */
.portal-hero { padding: 7rem 5vw 5rem; background: var(--teal-dark); color: #fff; text-align: center; position: relative; overflow: hidden; }
.portal-hero::before { content: ''; position: absolute; top: -50%; left: -10%; width: 50%; height: 150%; background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%); pointer-events: none; }
.portal-hero-inner { position: relative; z-index: 1; }
.portal-hero .section-tag { color: var(--amber); }
.portal-hero .section-title { color: #fff; }
.portal-hero .section-title em { color: var(--amber); font-style: normal; }
.portal-hero .section-sub { color: rgba(255,255,255,0.68); margin: 0.9rem auto 2rem; }
.portal-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; }
.portal-pill { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.82); font-size: 0.82rem; font-weight: 500; padding: 0.45rem 1.1rem; border-radius: 50px; }

/* Free tier banner */
.portal-free-banner { background: var(--amber-light); border-top: 3px solid var(--amber); padding: 2.2rem 5vw; }
.portal-free-banner-inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.portal-free-banner-text h4 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.3rem; }
.portal-free-banner-text p { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.6; }
.portal-free-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.portal-free-pill { background: #fff; color: var(--teal-dark); font-size: 0.76rem; font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 50px; border: 1px solid rgba(45,106,106,0.15); }
.portal-free-action { flex-shrink: 0; text-align: center; }
.portal-free-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--teal); }
.portal-free-period { font-size: 0.8rem; color: var(--mid-gray); margin-bottom: 0.8rem; }

/* Portal pricing cards */
.portal-pricing { padding: 6rem 5vw; background: var(--cream); }
/* Pricing tier cards — fit all 4 on one row at wide screens, wrap to 2x2 on narrower.
   On phones, falls back to a single column.  No horizontal scroll. */
.portal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2vw 2rem;
  align-items: stretch;
}
.portal-card {
  background: var(--warm-white);
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  border: 2px solid transparent;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Slightly tighter card internals so 4 fit comfortably at 1280px */
.portal-card .portal-card-price { font-size: 2.4rem; }
.portal-card .portal-card-name { font-size: 1.15rem; }
.portal-card .portal-card-features li { font-size: 0.84rem; }
.portal-card button { margin-top: auto; }
.portal-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.portal-card.featured { background: var(--teal-dark); color: #fff; transform: scale(1.04); box-shadow: 0 20px 60px rgba(45,106,106,0.3); border-color: transparent; }
.portal-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.portal-card-badge { display: inline-block; background: var(--amber); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.8rem; border-radius: 50px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.2rem; }
.portal-card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.portal-card.featured .portal-card-icon { background: rgba(255,255,255,0.1); }
.portal-card-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 0.4rem; }
.portal-card-sub { font-size: 0.86rem; color: var(--mid-gray); line-height: 1.6; margin-bottom: 1.2rem; }
.portal-card.featured .portal-card-sub { color: rgba(255,255,255,0.65); }
.portal-card-price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--teal); }
.portal-card.featured .portal-card-price { color: var(--amber); }
.portal-card-period { font-size: 0.82rem; color: var(--mid-gray); margin: 0.3rem 0 1.5rem; }
.portal-card.featured .portal-card-period { color: rgba(255,255,255,0.6); }
.portal-card-features { list-style: none; margin-bottom: 2rem; }
.portal-card-features li { font-size: 0.88rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.portal-card.featured .portal-card-features li { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.pf-chk { width: 18px; height: 18px; border-radius: 50%; background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.portal-card.featured .pf-chk { background: rgba(232,168,66,0.25); }

/* Mock exam */
.free-mock-section { padding: 6rem 5vw; background: var(--warm-white); }
.free-mock-inner { max-width: 900px; margin: 0 auto; }
.mock-exam-card { background: #fff; border-radius: 24px; box-shadow: 0 12px 50px rgba(0,0,0,0.09); overflow: hidden; }
.mock-header { background: var(--teal-dark); padding: 1.2rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.mock-header-left { display: flex; align-items: center; gap: 1rem; }
.mock-badge { background: var(--amber); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.8rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; }
.mock-title { color: #fff; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.mock-timer { background: rgba(255,255,255,0.12); color: #fff; font-weight: 600; padding: 0.4rem 1rem; border-radius: 50px; font-family: monospace; font-size: 1.05rem; letter-spacing: 2px; border: 1px solid rgba(255,255,255,0.2); }
.mock-progress-bar { height: 4px; background: var(--teal-light); }
.mock-progress-fill { height: 100%; background: var(--amber); transition: width 0.4s ease; }
.mock-body { padding: 2rem 2.2rem; }
.mock-q-counter { font-size: 0.78rem; font-weight: 600; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.5rem; }
.mock-subject-tag { display: inline-block; background: var(--teal-light); color: var(--teal-dark); font-size: 0.73rem; font-weight: 700; padding: 0.2rem 0.8rem; border-radius: 50px; margin-bottom: 1.2rem; }
.mock-question { font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.2rem); font-weight: 600; line-height: 1.5; margin-bottom: 0.8rem; color: var(--charcoal); }
.mock-question-context { font-size: 0.9rem; color: var(--mid-gray); line-height: 1.75; margin-bottom: 1.6rem; padding: 1rem 1.2rem; background: var(--cream); border-radius: 12px; border-left: 3px solid var(--teal); white-space: pre-line; }
.mock-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.8rem; }
.mock-option { padding: 0.85rem 1.1rem; border-radius: 12px; border: 1.5px solid #e5e0d9; background: var(--cream); font-size: 0.92rem; font-family: var(--font-body); cursor: pointer; text-align: left; color: var(--charcoal); transition: border-color 0.2s, background 0.2s, transform 0.15s; display: flex; align-items: center; gap: 0.7rem; }
.mock-option:hover:not(:disabled) { border-color: var(--teal); background: var(--teal-light); transform: translateY(-1px); }
.mock-option.correct { border-color: #2d8c5a; background: #eaf7f0; color: #1a5c38; }
.mock-option.incorrect { border-color: #c0392b; background: #fdf0ee; color: #8b1a12; }
.mock-option-letter { width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,0.07); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; flex-shrink: 0; }
.mock-option.correct .mock-option-letter { background: #2d8c5a; color: #fff; }
.mock-option.incorrect .mock-option-letter { background: #c0392b; color: #fff; }
.mock-feedback { display: none; padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.5rem; font-size: 0.9rem; line-height: 1.65; }
.mock-feedback.show { display: block; }
.mock-feedback.correct-fb { background: #eaf7f0; border: 1px solid #a8dfc0; color: #1a5c38; }
.mock-feedback.incorrect-fb { background: #fdf0ee; border: 1px solid #f5c0b8; color: #8b1a12; }
.mock-feedback strong { display: block; margin-bottom: 0.4rem; font-size: 0.95rem; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.mock-nav-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; transition: background 0.25s; }
.mock-dot.active { background: var(--teal); }
.mock-dot.done-correct { background: #2d8c5a; }
.mock-dot.done-incorrect { background: #c0392b; }
.mock-next-btn { display: none; align-items: center; gap: 0.5rem; background: var(--teal); color: #fff; padding: 0.7rem 1.6rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600; font-family: var(--font-body); border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; box-shadow: 0 4px 16px rgba(45,106,106,0.28); }
.mock-next-btn:hover { background: var(--teal-dark); transform: translateY(-2px); }
.mock-next-btn.visible { display: inline-flex; }
.mock-results { display: none; padding: 2.5rem 2.2rem; text-align: center; }
.mock-results.show { display: block; }
.results-score-ring { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--teal) 0%, var(--teal-light) 0%); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.results-score-inner { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.results-score-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--teal); line-height: 1; }
.results-score-label { font-size: 0.65rem; color: var(--mid-gray); }
.results-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--charcoal); }
.results-sub { color: var(--mid-gray); font-size: 0.92rem; max-width: 460px; margin: 0 auto 1.5rem; line-height: 1.75; }
.results-breakdown { display: flex; justify-content: center; gap: 2.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.rb-item { text-align: center; }
.rb-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1; }
.rb-num.green { color: #2d8c5a; }
.rb-num.red { color: #c0392b; }
.rb-num.teal { color: var(--teal); }
.rb-label { font-size: 0.75rem; color: var(--mid-gray); margin-top: 0.2rem; }
.results-cta-box { background: var(--teal-dark); border-radius: 18px; padding: 2rem; color: #fff; margin-top: 1rem; }
.results-cta-box h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.results-cta-box p { font-size: 0.88rem; color: rgba(255,255,255,0.68); margin-bottom: 1.4rem; line-height: 1.7; }
.results-cta-btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.mock-restart-btn { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: rgba(255,255,255,0.85); padding: 0.7rem 1.4rem; border-radius: 50px; font-size: 0.88rem; font-weight: 500; font-family: var(--font-body); border: 1.5px solid rgba(255,255,255,0.3); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.mock-restart-btn:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

/* Teaser cards */
.portal-teaser { padding: 6rem 5vw; background: var(--cream); }
.teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; max-width: 1000px; margin: 0 auto; }
.teaser-card { background: var(--warm-white); border-radius: 20px; padding: 1.8rem 1.5rem; border: 1.5px dashed rgba(45,106,106,0.25); position: relative; opacity: 0.82; transition: transform 0.25s; }
.teaser-card:hover { transform: translateY(-3px); }
.teaser-lock { position: absolute; top: 1rem; right: 1rem; width: 26px; height: 26px; border-radius: 50%; background: var(--amber-light); display: flex; align-items: center; justify-content: center; }
.teaser-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.teaser-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--charcoal); }
.teaser-desc { font-size: 0.85rem; color: var(--mid-gray); line-height: 1.6; }
.teaser-soon { display: inline-block; margin-top: 0.7rem; background: var(--amber-light); color: var(--amber-dark); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; }

/* Notify strip */
.notify-strip { background: var(--teal-dark); padding: 3.5rem 5vw; text-align: center; }
.notify-strip h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.notify-strip p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.notify-form { display: flex; gap: 0.8rem; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.notify-input { flex: 1; min-width: 200px; padding: 0.85rem 1.2rem; border-radius: 50px; border: 1.5px solid rgba(255,255,255,0.2); font-family: var(--font-body); font-size: 0.9rem; background: rgba(255,255,255,0.1); color: #fff; outline: none; }
.notify-input::placeholder { color: rgba(255,255,255,0.4); }
.notify-input:focus { border-color: var(--amber); }
.notify-submit { background: var(--amber); color: #fff; padding: 0.85rem 1.8rem; border-radius: 50px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; border: none; cursor: pointer; box-shadow: 0 4px 16px rgba(232,168,66,0.35); transition: background 0.2s, transform 0.15s; }
.notify-submit:hover { background: var(--amber-dark); transform: translateY(-1px); }

/* Index page 11+ teaser banner */
.index-portal-teaser { padding: 6rem 5vw; background: var(--teal-dark); color: #fff; position: relative; overflow: hidden; text-align: center; }
.index-portal-teaser::before { content: ''; position: absolute; top: -50%; left: -10%; width: 50%; height: 150%; background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%); pointer-events: none; }
.index-portal-teaser-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.index-portal-teaser .section-tag { color: var(--amber); }
.index-portal-teaser .section-title { color: #fff; margin-bottom: 1rem; }
.index-portal-teaser .section-title em { color: var(--amber); font-style: normal; }
.index-portal-teaser .section-sub { color: rgba(255,255,255,0.68); margin-bottom: 2rem; }
.portal-teaser-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.5rem; }
.portal-teaser-pill { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.82); font-size: 0.82rem; font-weight: 500; padding: 0.45rem 1.1rem; border-radius: 50px; }
.portal-teaser-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: #fff; color: var(--teal-dark); padding: 0.85rem 1.8rem; border-radius: 50px; font-size: 0.93rem; font-weight: 600; font-family: var(--font-body); text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }

/* ── RESPONSIVE ───────────────────────────────────────────── */
/* ── MOBILE NAV ──────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  z-index: 201;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid #f0ece5; }
  .nav-links li:last-child { border-bottom: none; margin-top: 1rem; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
    font-weight: 500;
  }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta {
    display: block;
    text-align: center;
    padding: 0.85rem 1.5rem !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { display: none; }
  .booking-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pricing-card.featured { transform: none; }
  .portal-card.featured { transform: none; }
  .portal-free-banner-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 1.5rem; }
  .hero-stats { gap: 1.5rem; }
  .mock-options { grid-template-columns: 1fr; }
}
