/* ============================================================
   Hazel Educational Consultancy LTD — Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #7b2fbe;
  --primary-dk:#5a1f96;
  --accent:    #f5c800;
  --accent-lt: #fef3c7;
  --light:     #faf8fd;
  --grey:      #f3eefb;
  --text:      #1e1428;
  --text-muted:#6b5a80;
  --white:     #ffffff;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(123,47,190,.10);
  --shadow-md: 0 8px 40px rgba(123,47,190,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-block;
  background: var(--accent-lt);
  color: var(--primary-dk);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--primary-dk);
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
nav.scrolled { border-color: #e0ecec; box-shadow: var(--shadow); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 52px; object-fit: contain; }

.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--text);
  position: relative; padding-bottom: 3px;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 9px 22px; border-radius: 999px;
  font-weight: 500 !important; transition: background .2s !important;
}
.nav-cta:hover { background: var(--primary-dk) !important; }
.nav-cta::after { display: none !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding-top: 100px;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #f0e8fa 0%, #faf8fd 60%, #fefce8 100%);
  position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(245,200,0,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; padding: 60px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid #e0d0f5;
  color: var(--primary); font-size: .82rem; font-weight: 600;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.hero-badge span { font-size: 1rem; }
.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--primary-dk); margin-bottom: 20px; line-height: 1.2;
}
.hero-text h1 em { color: var(--accent); font-style: normal; }
.hero-text p {
  font-size: 1.1rem; color: var(--text-muted);
  margin-bottom: 36px; max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; transition: .25s;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.hero-image { display: flex; justify-content: center; position: relative; }
.hero-image-wrap {
  position: relative;
  width: 400px; height: 460px;
}
.hero-image-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  transform: rotate(-4deg);
  z-index: 0;
}
.hero-image-wrap img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}
.hero-stat-badge {
  position: absolute; bottom: 24px; left: -24px;
  background: var(--white); border-radius: var(--radius);
  padding: 14px 20px; box-shadow: var(--shadow-md); z-index: 2;
  display: flex; align-items: center; gap: 12px;
}
.hero-stat-badge .num { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--primary); font-weight: 700; }
.hero-stat-badge .lbl { font-size: .78rem; color: var(--text-muted); line-height: 1.3; }
.hero-stat-badge2 {
  position: absolute; top: 24px; right: -20px;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius); padding: 12px 18px;
  box-shadow: var(--shadow-md); z-index: 2; text-align: center;
}
.hero-stat-badge2 .icon { font-size: 1.4rem; }
.hero-stat-badge2 .lbl { font-size: .75rem; font-weight: 600; line-height: 1.4; }

/* ============================================================
   ABOUT
   ============================================================ */
#about { padding: 100px 0; background: var(--white); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 72px; align-items: center;
}
.about-image-col { position: relative; }
.about-img-wrap {
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-overlay {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); border-radius: var(--radius);
  padding: 20px 24px; text-align: center;
  box-shadow: var(--shadow-md);
}
.about-overlay .big { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--white); font-weight: 700; }
.about-overlay .sm { font-size: .78rem; color: rgba(255,255,255,.85); font-weight: 500; }

.about-content p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.02rem; }

.creds {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 32px;
}
.cred-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--grey); border-radius: 10px;
  padding: 12px 16px;
}
.cred-item .icon { font-size: 1.3rem; }
.cred-item span { font-size: .85rem; font-weight: 600; color: var(--primary-dk); line-height: 1.3; }

/* ============================================================
   SERVICES
   ============================================================ */
#services { padding: 100px 0; background: var(--grey); }
.services-header { text-align: center; margin-bottom: 56px; }
.services-header .section-sub { margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  background: var(--white); border-radius: 20px;
  padding: 36px 28px; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 2.4rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.2rem; color: var(--primary-dk); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }
.services-note {
  text-align: center; margin-top: 40px;
  background: var(--white); border-radius: var(--radius);
  padding: 20px 32px; box-shadow: var(--shadow);
  color: var(--text-muted); font-size: .97rem;
  border-left: 4px solid var(--accent);
  max-width: 680px; margin-left: auto; margin-right: auto; margin-top: 40px;
}
.services-note strong { color: var(--primary-dk); }

/* ============================================================
   WHY CHOOSE ME
   ============================================================ */
#why { padding: 100px 0; background: var(--white); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-box {
  background: var(--grey); border-radius: 16px;
  padding: 28px 24px;
  transition: background .25s, box-shadow .25s;
}
.feature-box:hover { background: var(--white); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-box h4 { font-size: 1rem; color: var(--primary-dk); margin-bottom: 8px; }
.feature-box p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

.why-visual {
  background: linear-gradient(145deg, var(--primary-dk), #3d1270);
  border-radius: 24px; padding: 48px 40px; color: var(--white);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06); border-radius: 50%;
}
.why-visual h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.3; }
.why-visual p { color: rgba(255,255,255,.8); font-size: .97rem; margin-bottom: 30px; }
.why-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.why-stat .big { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--accent); }
.why-stat .lbl { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 2px; }

/* ============================================================
   SAFEGUARDING
   ============================================================ */
#safeguarding { padding: 72px 0; background: linear-gradient(135deg, #f0e8fa, #fefce8); }
.safeguarding-box {
  background: var(--white); border-radius: 20px;
  padding: 48px 56px; box-shadow: var(--shadow);
  display: flex; align-items: flex-start; gap: 28px;
  border-left: 6px solid var(--accent);
  max-width: 900px; margin: 0 auto;
}
.sg-icon { font-size: 2.8rem; flex-shrink: 0; margin-top: 4px; }
.sg-content h3 { font-size: 1.4rem; color: var(--primary-dk); margin-bottom: 12px; }
.sg-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { padding: 100px 0; background: var(--grey); }
.contact-header { text-align: center; margin-bottom: 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }

.contact-info h3 { font-size: 1.4rem; color: var(--primary-dk); margin-bottom: 24px; }
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: 12px;
  padding: 16px 20px; box-shadow: var(--shadow);
  transition: transform .2s;
}
.contact-item:hover { transform: translateX(4px); }
.contact-item .ci-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item a { color: var(--text); font-weight: 500; font-size: .97rem; }
.contact-item a:hover { color: var(--primary); }

.contact-form-wrap {
  background: var(--white); border-radius: 20px;
  padding: 40px; box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 1.4rem; color: var(--primary-dk); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .87rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e0d0f5;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem; color: var(--text);
  background: var(--light);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123,47,190,.12);
  background: var(--white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-full { width: 100%; text-align: center; padding: 15px; font-size: 1rem; border-radius: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--primary-dk); color: rgba(255,255,255,.75);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.footer-logo img {
  height: 52px;
  background: var(--white);
  padding: 6px 16px;
  border-radius: 10px;
  object-fit: contain;
}
.footer-links {
  display: flex; gap: 28px; list-style: none; flex-wrap: wrap; justify-content: center;
}
.footer-links a { font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-social a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-social a:hover { color: var(--accent); }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,.1); margin: 8px 0; }
.footer-copy { font-size: .82rem; text-align: center; color: rgba(255,255,255,.5); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner,
  .about-inner,
  .why-inner,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-image { order: -1; }
  .hero-image-wrap { width: 300px; height: 340px; }
  .hero-stat-badge { left: 0; }
  .hero-stat-badge2 { right: 0; }

  .about-overlay { right: 0; bottom: -10px; }

  .services-grid { grid-template-columns: 1fr 1fr; }

  .why-visual { margin-top: 0; }

  .safeguarding-box { padding: 36px 28px; flex-direction: column; gap: 16px; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow);
    padding: 16px 24px;
  }
  .nav-links li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--grey); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }

  .hero-text h1 { font-size: 1.9rem; }
}
