/* ============================================================
   Leading Tuition – Global Stylesheet
   ============================================================ */

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

:root {
  --dark:   #3d0b1f;
  --cream:  #f7f0ea;
  --gold:   #c8a44a;
  --white:  #ffffff;
  --text:   #3d0b1f;
  --light-section: #f0e8df;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 58px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.navbar-brand img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.navbar-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}

.navbar-nav a:hover,
.navbar-nav a.active { opacity: 1; font-weight: 700; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 5, 18, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 0 60px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
}

/* HOME HERO (full-viewport) */
.hero--home {
  height: 420px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.hero--home .hero-content {
  text-align: center;
  padding: 0 32px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── SECTION WRAPPERS ── */
.section { padding: 80px 60px; }
.section--dark { background: var(--dark); color: var(--white); }
.section--light { background: var(--light-section); }
.section--cream { background: var(--cream); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--dark);
  display: flex;
  justify-content: space-around;
  padding: 52px 60px;
  color: var(--white);
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 340px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #e8c97a;
  white-space: nowrap;
}

.stat-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* ── TWO-COL FEATURE SECTION ── */
.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 70px 60px;
  background: var(--cream);
  max-width: 100%;
}

.feature-row--reverse { flex-direction: row-reverse; }

.feature-text { flex: 1; }
.feature-text h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.feature-text p { color: #4a2c3d; line-height: 1.8; }

.feature-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-img img {
  max-height: 280px;
  width: auto;
}

/* ── BOOTCAMP PROMO ── */
.bootcamp-promo {
  background: var(--light-section);
  text-align: center;
  padding: 80px 60px;
}

.bootcamp-promo h2 {
  font-size: 2.6rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.bootcamp-promo p {
  font-size: 1.05rem;
  color: #4a2c3d;
  margin-bottom: 36px;
}

.bootcamp-promo img {
  max-width: 600px;
  margin: 0 auto 36px;
  border-radius: 4px;
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--dark);
  text-align: center;
  padding: 80px 60px;
  color: var(--white);
}

.testimonials h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.testimonials hr {
  border-color: rgba(255,255,255,0.2);
  margin-bottom: 48px;
}

.testimonial-stars { font-size: 2rem; color: #e8c97a; margin-bottom: 24px; }

.testimonial-quote {
  font-size: 1.1rem;
  max-width: 760px;
  margin: 0 auto 16px;
  line-height: 1.8;
  opacity: 0.9;
}

.testimonial-author {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 40px;
}

/* ── AWARDS ── */
.awards-section {
  background: var(--cream);
  padding: 70px 60px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.award-block { max-width: 500px; }
.award-block h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  color: var(--dark);
}
.award-block img {
  max-width: 360px;
  margin: 0 auto 16px;
  border-radius: 4px;
}
.award-block p { font-size: 0.95rem; color: #4a2c3d; font-style: italic; }
.award-block p em { font-style: italic; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 52px 60px 28px;
}

footer h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

footer hr {
  border-color: rgba(255,255,255,0.25);
  margin-bottom: 28px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.2s;
}

.footer-social a:hover { background: rgba(255,255,255,0.25); }

.footer-social svg { width: 22px; height: 22px; fill: white; }

footer .copyright {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* ── ABOUT ── */
.mission-section {
  background: var(--dark);
  color: var(--white);
  display: flex;
  gap: 60px;
  padding: 80px 60px;
  align-items: flex-start;
}

.mission-label {
  flex-shrink: 0;
  text-align: center;
  min-width: 220px;
}

.mission-label h2 {
  font-size: 2.4rem;
  color: #e8c97a;
  margin-bottom: 10px;
}

.mission-label p {
  font-size: 0.95rem;
  opacity: 0.8;
  font-style: italic;
}

.mission-body p {
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Team */
.team-section { padding: 80px 60px; background: var(--cream); }

.team-member {
  display: flex;
  gap: 52px;
  align-items: flex-start;
  margin-bottom: 72px;
}

.team-member:last-child { margin-bottom: 0; }

.team-member img {
  width: 300px;
  height: 360px;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  filter: grayscale(100%);
}

.team-info h3 {
  font-size: 1.7rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-info .role {
  font-size: 1rem;
  font-weight: 700;
  color: #7a3050;
  margin-bottom: 20px;
}

.team-info p {
  color: #4a2c3d;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Why Choose Us */
.why-choose {
  background: var(--dark);
  color: var(--white);
  padding: 80px 60px;
  text-align: center;
}

.why-choose h2 {
  font-size: 2.4rem;
  color: #e8c97a;
  margin-bottom: 52px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  margin-bottom: 48px;
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #e8c97a;
}

.why-item p { font-size: 0.9rem; opacity: 0.88; line-height: 1.7; }

.why-tagline {
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
}

.video-wrapper {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100%;
  height: 340px;
  border: none;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 80px 60px;
  background: var(--cream);
}

.service-card { text-align: center; }

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.92rem;
  color: #4a2c3d;
  line-height: 1.75;
}

.services-cta {
  text-align: center;
  padding: 52px 60px 80px;
  background: var(--cream);
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ── TUTORS ── */
.tutors-intro {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 72px 60px;
}

.tutors-intro p {
  max-width: 860px;
  margin: 0 auto 20px;
  opacity: 0.9;
  line-height: 1.8;
}

.uni-logos {
  background: var(--cream);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 60px;
  flex-wrap: wrap;
}

.uni-logos img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.join-team {
  background: var(--cream);
  padding: 80px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.join-team h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.join-team hr {
  border-color: rgba(61,11,31,0.2);
  margin-bottom: 36px;
}

.join-team p {
  color: #4a2c3d;
  margin-bottom: 20px;
  line-height: 1.8;
}

.join-team .btn { margin-top: 16px; }

/* ── FAQs ── */
.faq-list {
  background: var(--cream);
  padding: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(61,11,31,0.2);
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover { opacity: 0.75; }

.faq-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform 0.25s;
  color: var(--dark);
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding-bottom: 28px;
  color: #4a2c3d;
  line-height: 1.8;
}

.faq-answer p { margin-bottom: 16px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.open .faq-answer { display: block; }

/* ── CONTACT ── */
.contact-section {
  background: var(--dark);
  color: var(--white);
  padding: 80px 60px;
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.contact-section .subtitle {
  opacity: 0.85;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact-section hr {
  border-color: rgba(255,255,255,0.2);
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1rem;
  opacity: 0.92;
}

.contact-detail svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }

.social-section {
  background: var(--dark);
  padding: 0 60px 72px;
  color: var(--white);
}

.social-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s;
}

.social-icons a:hover { background: rgba(255,255,255,0.28); }
.social-icons svg { width: 26px; height: 26px; fill: white; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .navbar { padding: 0 24px; }
  .navbar-nav { gap: 18px; }
  .section { padding: 52px 28px; }
  .stats-bar { padding: 40px 24px; }
  .feature-row, .feature-row--reverse { flex-direction: column; padding: 52px 28px; }
  .mission-section { flex-direction: column; padding: 52px 28px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; padding: 40px 28px; }
  .services-cta { padding: 32px 28px 52px; flex-direction: column; align-items: center; }
  .team-member { flex-direction: column; }
  .team-member img { width: 100%; height: 300px; }
  .hero-content { padding: 0 28px; }
  .awards-section { flex-direction: column; padding: 52px 28px; }
  .faq-list { padding: 40px 28px; }
  .contact-section, .social-section { padding: 52px 28px; }
  footer { padding: 40px 28px 20px; }
  .uni-logos { gap: 40px; padding: 40px 28px; }
  .join-team { padding: 52px 28px; }
  .bootcamp-promo { padding: 52px 28px; }
  .testimonials { padding: 52px 28px; }
}

@media (max-width: 600px) {
  .navbar-nav { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .stat-item { flex-direction: column; text-align: center; gap: 8px; }
  .hero--home { height: 340px; }
  .hero-content h1 { font-size: 1.9rem; }
}
