/* ═══════════════════════════════════════════════════
   WISEMAN TUTORING — Man City-Inspired Design System
   Light background · Sky blue + gold · Dark navy text
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&display=swap');

:root {
  --navy:      #0d1b3e;
  --blue:      #1a4caa;
  --sky:       #6ab4f5;
  --sky-light: #e8f3fd;
  --gold:      #f5a800;
  --amber:     #e89100;
  --gold-pale: #fff8e6;
  --teal:      #1ab3c4;
  --bg:        #f7f9fc;
  --surface:   #ffffff;
  --surface-2: #eef3fb;
  --text:      #0d1b3e;
  --text-2:    #3a4a6b;
  --text-3:    #6b7fa8;
  --white:     #ffffff;
  --border:    #d4dff5;
  --border-2:  #c2cfea;
  --shadow-sm: 0 2px 8px rgba(13,27,62,0.07);
  --shadow:    0 6px 24px rgba(13,27,62,0.10);
  --shadow-lg: 0 16px 48px rgba(13,27,62,0.14);
  --radius:    14px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  color: var(--navy);
  line-height: 1.15;
}

/* ═══ NAV ═══ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  box-shadow: var(--shadow-sm);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.nav-logo-mark {
  width: 42px; height: 42px; background: var(--navy);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 900; font-size: 18px;
  color: var(--gold); flex-shrink: 0;
}
.nav-logo-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); }
.nav-logo-text span { display: block; font-size: 0.68rem; font-weight: 400; color: var(--text-3); letter-spacing: 0.07em; text-transform: uppercase; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { text-decoration: none; }
.nav-links button {
  background: none; border: none; color: var(--text-2);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500;
  padding: 8px 15px; border-radius: 8px; cursor: pointer; transition: .2s;
}
.nav-links button:hover { color: var(--navy); background: var(--sky-light); }
.nav-links button.active { color: var(--blue); background: var(--sky-light); font-weight: 700; }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; padding: 9px 20px !important; }
.nav-cta:hover { background: var(--amber) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ═══ PAGE & SECTIONS ═══ */
.page { position: relative; z-index: 1; }
section { padding: 80px 5%; max-width: 1280px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; }

.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.section-title span { color: var(--gold); }
.section-sub { color: var(--text-2); max-width: 580px; margin-bottom: 44px; font-size: 1.05rem; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-2), transparent); margin: 0 5%; }

/* ═══ HERO ═══ */
.hero {
  min-height: calc(92vh - 70px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 5% 60px;
  background: linear-gradient(135deg, var(--navy) 0%, #162f6b 55%, #1a4caa 100%);
  position: relative; overflow: hidden;
  max-width: none; margin: 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.05'%3E%3Crect x='5' y='5' width='70' height='70' rx='3'/%3E%3Ccircle cx='5' cy='5' r='2'/%3E%3Ccircle cx='75' cy='5' r='2'/%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3Cline x1='5' y1='5' x2='40' y2='40'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(106,180,245,0.15) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,168,0,0.15); border: 1px solid rgba(245,168,0,0.4);
  border-radius: 50px; padding: 6px 16px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px; width: fit-content;
  animation: fadeUp .6s ease both;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 1.6s infinite; }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; line-height: 1.08;
  margin-bottom: 22px; color: var(--white);
  animation: fadeUp .6s .1s ease both;
}
.hero-title .highlight { color: var(--gold); position: relative; }
.hero-title .highlight::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 3px; background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: lineGrow 1s .8s ease forwards;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem); color: rgba(255,255,255,0.72);
  max-width: 580px; margin-bottom: 36px;
  animation: fadeUp .6s .2s ease both;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; animation: fadeUp .6s .3s ease both; }
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px;
  animation: fadeUp .6s .4s ease both;
}
.stat-num { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 900; color: var(--gold); }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: .07em; }

/* ═══ BUTTONS ═══ */
.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-dark {
  padding: 14px 28px; border-radius: 10px;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .92rem;
  cursor: pointer; border: none; transition: transform .15s, box-shadow .15s, background .2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-outline:hover, .btn-dark:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 4px 18px rgba(245,168,0,.38); }
.btn-primary:hover { background: var(--amber); box-shadow: 0 8px 28px rgba(245,168,0,.5); }
.btn-secondary { background: rgba(255,255,255,.1); color: var(--white); border: 1.5px solid rgba(255,255,255,.25); }
.btn-secondary:hover { background: rgba(255,255,255,.18); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--sky-light); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--blue); }

/* ═══ CARDS ═══ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--sky); }
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--sky-light); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.card p { color: var(--text-2); font-size: .9rem; line-height: 1.6; }

/* ═══ SUBJECTS ═══ */
.subjects { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.subject-pill {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 10px 22px; font-weight: 600;
  font-size: .88rem; color: var(--text-2); transition: .2s;
}
.subject-pill.featured { background: var(--sky-light); border-color: var(--blue); color: var(--blue); font-weight: 700; }
.subject-pill:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--navy); }

/* ═══ STEPS ═══ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step { padding: 32px 24px; text-align: center; position: relative; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -8px; top: 40px; font-size: 1.3rem; color: var(--gold); opacity: .6; }
.step-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  font-family: 'Sora', sans-serif; font-weight: 900; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: 0 4px 14px rgba(13,27,62,.2);
}
.step h4 { font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.step p { color: var(--text-2); font-size: .88rem; }

/* ═══ TESTIMONIALS ═══ */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.testimonial {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: relative;
}
.testimonial::before { content: '"'; position: absolute; top: 10px; right: 20px; font-size: 72px; color: rgba(106,180,245,0.12); font-family: 'Sora',sans-serif; line-height: 1; }
.stars { color: var(--gold); margin-bottom: 12px; font-size: .9rem; }
.testimonial p { color: var(--text-2); font-size: .9rem; margin-bottom: 16px; }
.testimonial-author { font-weight: 700; font-size: .88rem; color: var(--navy); }
.testimonial-grade { font-size: .78rem; color: var(--text-3); }

/* ═══ TEAM ═══ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.team-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .2s; text-align: center; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar { height: 150px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 60px; }
.team-info { padding: 20px; }
.team-info h3 { font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.team-role { font-size: .82rem; color: var(--blue); margin-bottom: 8px; font-weight: 700; }
.team-info p { font-size: .85rem; color: var(--text-2); }

/* ═══ BANNER ═══ */
.banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4caa 100%);
  border-radius: var(--radius-lg); padding: 56px 48px;
  text-align: center; margin: 0 5% 60px;
  position: relative; overflow: hidden;
}
.banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='white' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.banner h2 { color: var(--white); font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 12px; }
.banner h2 span { color: var(--gold); }
.banner p { color: rgba(255,255,255,.65); margin-bottom: 28px; }

/* ═══ CONTACT CARDS ═══ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.contact-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--shadow-sm); transition: .2s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sky-light); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-card h4 { font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px; }
.contact-card p, .contact-card a { color: var(--navy); font-size: .9rem; font-weight: 500; text-decoration: none; }
.contact-card a:hover { color: var(--blue); text-decoration: underline; }

/* ═══ FAQ ═══ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--navy);
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .98rem;
  text-align: left; padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-q .arrow { font-size: .75rem; transition: transform .3s; flex-shrink: 0; color: var(--gold); }
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-q.open { color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--text-2); padding-bottom: 20px; font-size: .92rem; line-height: 1.7; }

/* ═══ FORMS ═══ */
.form-wrap {
  max-width: 680px; margin: 0 auto;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow);
}
.form-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; color: var(--navy); }
.form-sub { color: var(--text-3); font-size: .88rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 16px; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: .95rem; outline: none; transition: .2s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,76,170,.1); background: var(--white);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group select option { background: var(--white); color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: 15px; border-radius: 10px;
  background: var(--navy); color: var(--white);
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: .98rem;
  border: none; cursor: pointer; transition: .2s; margin-top: 6px;
}
.form-submit:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,76,170,.3); }

.success-msg { display: none; text-align: center; padding: 48px 20px; }
.success-icon { font-size: 56px; margin-bottom: 16px; animation: popIn .4s ease; }
.success-msg h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--navy); }
.success-msg p { color: var(--text-2); }

/* ═══ WHATSAPP FLOAT ═══ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; box-shadow: 0 4px 18px rgba(37,211,102,.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; text-decoration: none; color: white; transition: .2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ═══ FOOTER ═══ */
footer { background: var(--navy); padding: 48px 5% 32px; text-align: center; }
.footer-brand { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.footer-brand span { color: var(--gold); }
footer p { color: rgba(255,255,255,.45); font-size: .82rem; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin: 14px 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .84rem; text-decoration: none; transition: .2s; }
.footer-links a:hover { color: var(--gold); }

/* ═══ KEYFRAMES ═══ */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes lineGrow { to { transform: scaleX(1); } }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.6)} }
@keyframes popIn { from{transform:scale(.5);opacity:0} to{transform:scale(1);opacity:1} }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--border); padding: 16px; gap: 6px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links button { text-align: left; width: 100%; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 60px 5% 50px; }
  .hero-stats { gap: 24px; }
  .step:not(:last-child)::after { display: none; }
  .banner { padding: 36px 24px; margin: 0 3% 40px; }
  section { padding: 56px 4%; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
}
