
:root {
  --saffron: #ff6a00;
  --saffron-light: #fff1e6;
  --green: #138a36;
  --green-light: #eaf7ee;
  --navy: #10245c;
  --ink: #1f2937;
  --muted: #667085;
  --white: #ffffff;
  --paper: #f8fafc;
  --border: #e5e7eb;
  --shadow: 0 12px 30px rgba(16, 36, 92, 0.10);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-family: lato, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(16, 36, 92, 0.07);
}

.tricolor-line {
  height: 4px;
  background: linear-gradient(
    to right,
    var(--saffron) 0 33.33%,
    var(--white) 33.33% 66.66%,
    var(--green) 66.66% 100%
  );
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  color: var(--navy);
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--saffron);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--green);
  padding: 10px 18px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: #0f6f2b;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 30px;
  cursor: pointer;
}

/* =========================
   WELCOME PAGE
========================= */

.welcome-hero {
  min-height: calc(100vh - 82px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111827;
}

.welcome-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 20, 55, 0.88) 0%,
      rgba(6, 20, 55, 0.67) 42%,
      rgba(6, 20, 55, 0.20) 78%,
      rgba(6, 20, 55, 0.12) 100%
    );
  z-index: 1;
}

.welcome-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 650px;
  padding: 70px 0;
}

.brand-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-left: 4px solid var(--saffron);
  border-right: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.welcome-content h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  margin-bottom: 18px;
}

.welcome-content h1 span {
  color: var(--saffron);
}

.welcome-subtitle {
  color: #e7edf8;
  font-size: 20px;
  max-width: 560px;
  margin-bottom: 20px;
}

.thought {
  font-size: 21px;
  font-style: italic;
  font-weight: 600;
  margin-bottom: 30px;
  padding-left: 16px;
  border-left: 3px solid var(--green);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 25px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--white);
  font-weight: 800;
  transition: 0.25s ease;
}

.primary-btn:hover {
  background: #e85e00;
  transform: translateY(-2px);
}

/* =========================
   GENERAL SECTIONS
========================= */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.eyebrow {
  color: var(--saffron);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head h2 {
  color: var(--navy);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
}

.alt-section {
  background: var(--paper);
}

/* =========================
   WHY TALK SMART
========================= */

.value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.value-card {
  flex: 1 1 260px;
  max-width: 350px;
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
}

.value-card:nth-child(1) .value-icon {
  color: var(--saffron);
  background: var(--saffron-light);
}

.value-card:nth-child(2) .value-icon {
  color: var(--navy);
  background: #eef2ff;
}

.value-card:nth-child(3) .value-icon {
  color: var(--green);
  background: var(--green-light);
}

.value-card h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  color: var(--muted);
}

/* =========================
   WHAT WE TEACH
========================= */

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.skill-card {
  flex: 1 1 280px;
  max-width: 350px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.skill-card h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.skill-card p {
  color: var(--muted);
}

/* =========================
   ABOUT
========================= */

.about-grid {
  display: flex;
  align-items: center;
  gap: 55px;
}

.about-image,
.about-copy {
  flex: 1;
}

.about-image video {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: block;
}
.about-gallery img {
  width: 100%;
  height: 200px !important;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
  transition: transform 0.3s ease;
}

.about-gallery img:hover {
  transform: scale(1.2);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.about-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
}

.about-copy h2 {
  color: var(--navy);
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 16px;
}


/* =========================
   ENGLISH LEVEL CARDS
========================= */

.level-grid {
  width: 100%;
  max-width: 1150px;
  margin: 35px auto 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* CARD */

.level-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;

  border-top: 6px solid #ff6500;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

.level-card:nth-child(2) {
  border-top-color: #f5a400;
}

.level-card:nth-child(3) {
  border-top-color: #182d65;
}

.level-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


/* IMAGE */

.level-card img {
  width: 100%;
  height: 180px;

  display: block;

  object-fit: cover;
}

/* =========================
   COURSE POPUP
========================= */

.course-modal {
  display: none;

  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  background: rgba(0, 0, 0, 0.65);

  z-index: 9999;

  align-items: center;
  justify-content: center;

  padding: 20px;
  box-sizing: border-box;
}

.course-modal-content {
  position: relative;

  width: 100%;
  max-width: 550px;

  max-height: 85vh;
  overflow-y: auto;

  background: #ffffff;

  padding: 35px;

  border-radius: 16px;

  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);

  box-sizing: border-box;
}

.close-modal {
  position: absolute;

  top: 10px;
  right: 15px;

  border: none;
  background: transparent;

  font-size: 32px;
  color: #555;

  cursor: pointer;
}

.course-modal-content h2 {
  margin: 15px 0 10px;
}

.course-modal-content h3 {
  margin-top: 25px;
}

.course-modal-content ul {
  padding-left: 20px;
  line-height: 1.9;
}

/* CARD CONTENT */

.level-content {
  padding: 18px 22px 22px;
}


/* LEVEL BADGE */

.level-badge {
  display: inline-block;

  background: #ff3b12;
  color: #ffffff;

  padding: 7px 17px;

  border-radius: 30px;

  font-size: 15px;
  font-weight: 700;

  margin-bottom: 12px;
}


/* TITLE */

.level-content h3 {
  margin: 0 0 20px;

  color: #142b57;

  font-size: 26px;
  line-height: 1.2;
}


/* LEARN MORE */

.learn-btn {
  border: none;
  background: transparent;

  color: #ff3b12;

  font-size: 17px;
  font-weight: 700;

  padding: 0;

  cursor: pointer;
}

.learn-btn:hover {
  text-decoration: underline;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .level-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .level-card img {
    height: 200px;
  }
}






/* =========================
   EXAMS
========================= */

.exam-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.exam-card {
  flex: 1 1 220px;
  max-width: 260px;
  padding: 28px 22px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.exam-card h3 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 8px;
}

.exam-card p {
  color: var(--muted);
}

/* =========================
   CTA
========================= */

.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
}

.cta-section::before {
  top: -120px;
  left: -70px;
  border-color: rgba(255, 106, 0, 0.28);
}

.cta-section::after {
  right: -80px;
  bottom: -120px;
  border-color: rgba(19, 138, 54, 0.32);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 10px;
}

.cta-content p {
  color: #dce4f4;
  margin-bottom: 25px;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #081437;
  color: var(--white);
  padding: 55px 0 20px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-logo {
  width: 95px;
  margin-bottom: 14px;
  background: white;
  border-radius: 14px;
  padding: 5px;
}

.footer-column h3 {
  margin-bottom: 14px;
}

.footer-column p,
.footer-column a {
  display: block;
  color: #c8d2e6;
  margin-bottom: 8px;
}

.footer-column a:hover {
  color: var(--saffron);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 35px;
  padding-top: 18px;
  text-align: center;
  color: #9eabc2;
  font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 800px) {
  .nav-container {
    min-height: 68px;
  }

  .nav-logo img {
    width: 62px;
    height: 62px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    padding: 14px 4%;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 12px 20px rgba(16, 36, 92, 0.10);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 11px 12px;
    text-align: center;
  }

  .nav-cta {
    margin-top: 4px;
  }

  section {
    padding: 65px 0;
  }

  .welcome-hero {
    min-height: calc(100vh - 72px);
  }

  .welcome-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(6, 20, 55, 0.72),
        rgba(6, 20, 55, 0.84)
      );
  }

  .welcome-content {
    text-align: center;
    margin: 0 auto;
  }

  .thought {
    border-left: 0;
    border-top: 2px solid var(--green);
    padding: 12px 0 0;
  }

  .about-grid {
    flex-direction: column;
  }

  .about-image img {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .welcome-content h1 {
    font-size: 45px;
  }

  .welcome-subtitle {
    font-size: 17px;
  }

  .thought {
    font-size: 18px;
  }

  .value-card,
  .skill-card,
  .level-card,
  .exam-card {
    max-width: 100%;
  }
}

/* =========================
   PAGE LOAD ANIMATION
========================= */

.page-enter {
  opacity: 0;
  animation: pageFadeIn 0.8s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Main content animation */

.page-enter main > section {
  opacity: 0;
  transform: translateY(25px);
  animation: sectionAppear 0.7s ease forwards;
}

.page-enter main > section:nth-child(1) {
  animation-delay: 0.1s;
}

.page-enter main > section:nth-child(2) {
  animation-delay: 0.2s;
}

.page-enter main > section:nth-child(3) {
  animation-delay: 0.3s;
}

.page-enter main > section:nth-child(4) {
  animation-delay: 0.4s;
}

.page-enter main > section:nth-child(5) {
  animation-delay: 0.5s;
}

.page-enter main > section:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes sectionAppear {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about,
#courses,
#exams,
#contact,#intro {
  scroll-margin-top: 95px;
}

section{
  scroll-margin-top:95px;
}
