/* =========================================================
   GLOBAL RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Nunito", sans-serif;
  background: #fffaf2;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.section {
  padding: 90px 0;
}

.section-light {
  background: #ffffff;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
  max-width: 750px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-label {
  display: inline-block;
  color: #e67e22;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-top: 10px;
  color: #172554;
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.2;
}

.section-heading p {
  max-width: 650px;
  margin: 15px auto 0;
  color: #64748b;
  font-size: 16px;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #172554;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(23, 37, 84, 0.15);
}

.btn-primary:hover {
  background: #0f1b42;
  box-shadow: 0 8px 22px rgba(23, 37, 84, 0.22);
}

.btn-secondary {
  background: #ffffff;
  color: #172554;
  border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: rgba(255, 250, 242, 0.95);
  border-bottom: 1px solid #eee4d6;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}

.logo-name {
  color: #172554;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: #e67e22;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #e67e22;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #172554;
  font-size: 28px;
  line-height: 1;
}

.mobile-menu {
  display: none;
  padding: 15px 4%;
  background: #fffaf2;
  border-top: 1px solid #eee4d6;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 13px 0;
  color: #334155;
  font-weight: 700;
  border-bottom: 1px solid #eee4d6;
}

.mobile-menu a:hover {
  color: #e67e22;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 12px;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 0 80px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(circle at 10% 20%,
      rgba(254, 243, 199, 0.9) 0,
      transparent 25%),
    radial-gradient(circle at 90% 80%,
      rgba(219, 234, 254, 0.8) 0,
      transparent 25%),
    #fffaf2;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 18px;
  border: 1px solid #f2b66d;
  border-radius: 30px;

  background: #fff1dc;
  color: #9a4f08;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hero h1 {
  margin-top: 25px;
  color: #172554;
  font-family: "Playfair Display", serif;
  font-size: clamp(45px, 7vw, 78px);
  line-height: 1.05;
}

.hero h1 span {
  color: #e67e22;
}

.hero-subtitle {
  max-width: 700px;
  margin: 25px auto 0;
  color: #334155;
  font-size: clamp(18px, 2.5vw, 21px);
  font-weight: 700;
}

.hero-tagline {
  margin-top: 10px;
  color: #64748b;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

/* =========================================================
   HERO DECORATIVE SHAPES
========================================================= */

.shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.shape-one {
  width: 90px;
  height: 90px;
  top: 20%;
  left: 5%;

  border-radius: 20px;
  background: #fde68a;

  transform: rotate(20deg);
}

.shape-two {
  width: 100px;
  height: 100px;
  right: 7%;
  bottom: 15%;

  border-radius: 50%;
  background: #dbeafe;
}

.shape-three {
  width: 14px;
  height: 14px;
  top: 25%;
  right: 20%;

  border-radius: 50%;
  background: #e67e22;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.about-text {
  color: #64748b;
  font-size: 17px;
}

.founder-box {
  margin-top: 30px;
  padding: 25px;

  background: #fff4df;
  border: 1px solid #f4d39f;
  border-radius: 16px;
}

.founder-label {
  color: #9a4f08;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.founder-name {
  margin-top: 5px;

  color: #172554;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 800;
}

.founder-box p {
  margin-top: 5px;
  color: #64748b;
}

.about-cards {
  display: grid;
  gap: 18px;
}

.info-card {
  display: flex;
  gap: 18px;

  padding: 25px;

  background: #fffaf2;
  border: 1px solid #e5e7eb;
  border-radius: 16px;

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

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.icon-box {
  min-width: 48px;
  width: 48px;
  height: 48px;

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

  border-radius: 12px;
  background: #172554;
  color: #ffffff;

  font-size: 22px;
}

.info-card h3 {
  color: #172554;
  font-size: 19px;
  line-height: 1.3;
}

.info-card p {
  margin-top: 5px;
  color: #64748b;
  font-size: 14px;
}

/* =========================================================
   COURSES
========================================================= */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  display: flex;
  flex-direction: column;

  padding: 28px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;

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

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.course-icon {
  width: 58px;
  height: 58px;

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

  border-radius: 14px;
  background: #fff1dc;

  font-size: 28px;
}

.course-card h3 {
  margin-top: 20px;

  color: #172554;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.25;
}

.course-card p {
  flex-grow: 1;

  margin-top: 10px;
  color: #64748b;
  font-size: 15px;
}

.course-card .btn {
  width: 100%;
  margin-top: 22px;
}

/* =========================================================
   WHY US
========================================================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  padding: 28px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;

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

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.why-icon {
  font-size: 30px;
  line-height: 1;
}

.why-card h3 {
  margin-top: 15px;
  color: #172554;
  font-size: 19px;
}

.why-card p {
  margin-top: 7px;
  color: #64748b;
  font-size: 14px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 20px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.contact-card-icon {
  width: 48px;
  min-width: 48px;
  height: 48px;

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

  border-radius: 12px;
  background: #fff1dc;

  font-size: 21px;
}

.contact-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-value {
  margin-top: 2px;
  color: #172554;
  font-weight: 800;
  word-break: break-word;
}

.contact-whatsapp {
  width: 100%;
  min-height: 48px;
  margin-top: 5px;
}

.contact-form {
  padding: 30px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  min-height: 46px;

  padding: 12px 14px;

  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;

  background: #ffffff;
  color: #1e293b;

  font-size: 15px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus {
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
}

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

footer {
  background: #172554;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding: 60px 0;
}

.footer-logo {
  width: 85px;
  height: 85px;

  object-fit: contain;

  background: #ffffff;
  border-radius: 8px;
}

.footer-description {
  max-width: 350px;
  margin-top: 15px;
  color: #cbd5e1;
}

.footer-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links {
  margin-top: 15px;
  list-style: none;
}

.footer-links li {
  margin-bottom: 9px;
  color: #cbd5e1;
  font-size: 14px;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #f59e0b;
}

.copyright {
  padding: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.15);

  color: #cbd5e1;
  font-size: 13px;
  text-align: center;
}

/* =========================================================
   TOAST
========================================================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 2000;

  max-width: min(90%, 450px);

  padding: 14px 22px;

  border-radius: 10px;

  background: #172554;
  color: #ffffff;

  opacity: 0;
  pointer-events: none;

  transform: translate(-50%, 120px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
  .nav-links {
    gap: 18px;
  }

  .nav-actions {
    gap: 6px;
  }

  .courses-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    gap: 40px;
  }

  .contact-grid {
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

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

@media (max-width: 850px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-container {
    min-height: 70px;
  }

  .logo {
    width: 50px;
    height: 50px;
  }
}

/* =========================================================
   TABLET / SMALL DEVICES
========================================================= */

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 35px;
  }

  .contact-grid {
    gap: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .shape-one {
    width: 65px;
    height: 65px;
    left: 3%;
  }

  .shape-two {
    width: 75px;
    height: 75px;
    right: 3%;
  }

  .shape-three {
    right: 10%;
  }
}

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

@media (max-width: 600px) {
  .container {
    width: min(92%, 500px);
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .section-heading p {
    font-size: 14px;
  }

  /* Navbar */

  .nav-container {
    min-height: 65px;
  }

  .logo {
    width: 45px;
    height: 45px;
  }

  .logo-name {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 17px;
  }

  /* Hero */

  .hero {
    min-height: 100svh;
    padding: 105px 0 65px;
  }

  .hero-badge {
    padding: 7px 14px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(40px, 12vw, 54px);
  }

  .hero-subtitle {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-tagline {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 28px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  /* About */

  .about-text {
    font-size: 15px;
  }

  .founder-box {
    padding: 20px;
  }

  .founder-name {
    font-size: 24px;
  }

  .info-card {
    padding: 20px;
  }

  /* Courses */

  .courses-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .course-card,
  .why-card {
    padding: 22px;
  }

  /* Contact */

  .contact-card {
    padding: 17px;
  }

  .contact-form {
    padding: 20px;
  }

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

  /* Footer */

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 45px 0;
  }

  .footer-description {
    font-size: 14px;
  }

  /* Decorative shapes */

  .shape-one {
    width: 45px;
    height: 45px;
    top: 15%;
    left: 2%;
  }

  .shape-two {
    width: 55px;
    height: 55px;
    right: 2%;
    bottom: 10%;
  }

  .shape-three {
    width: 10px;
    height: 10px;
    right: 8%;
  }
}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {
  .container {
    width: 94%;
  }

  .logo-name {
    max-width: 170px;
    font-size: 15px;
  }

  .hero {
    padding-top: 95px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .course-card,
  .why-card {
    padding: 20px;
  }

  .contact-form {
    padding: 16px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
  outline: 3px solid rgba(230, 126, 34, 0.45);
  outline-offset: 3px;
}

/* =========================================================
   REDUCE ANIMATIONS FOR USERS WHO PREFER IT
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}