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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  background-color: #f8f4ee;
  color: #2f2117;
}

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

a {
  text-decoration: none;
}

ul {
  padding-left: 20px;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(42, 25, 15, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(244, 215, 155, 0.18);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a64a, #f0c96a);
  color: #2f2117;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 1rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-weight: bold;
  color: #ffffff;
  font-size: 1rem;
}

.logo-subtitle {
  color: #f4d79b;
  font-size: 0.82rem;
}

.navbar {
  margin-left: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  padding-left: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #f7e7c1;
  font-size: 0.98rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  width: 34px;
  height: 26px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #f4d79b;
  border-radius: 2px;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #2f1b12, #5a3825, #b68b3c);
  color: white;
  padding: 110px 20px 90px;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 5, 0.18);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 520px;
  text-align: center;
}

.tag {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: #f4d79b;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.18;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #f7e7c1;
  margin-bottom: 20px;
}

.intro {
  max-width: 700px;
  font-size: 1.1rem;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 300px;
  text-align: center;
}

.hero-image img {
  width: 340px;
  max-width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #f4d79b;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.btn {
  display: inline-block;
  background-color: #d4a64a;
  color: #2f2117;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s ease;
  border: 2px solid #d4a64a;
}

.btn:hover {
  background-color: #f0c96a;
  border-color: #f0c96a;
}

.btn-outline {
  background-color: transparent;
  color: #fff7e8;
  border: 2px solid #f4d79b;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #fff7e8;
}

section {
  padding: 80px 0;
}

section h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #5e3a22;
  text-align: center;
}

.section-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #8c5a2b, #d4a64a);
  margin: 0 auto 28px;
  border-radius: 5px;
}

.section-intro {
  max-width: 880px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 1.03rem;
}

.about {
  background-color: #fffaf3;
}

.about p,
.foundation p,
.contact p {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.highlights {
  background-color: #f3eadf;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.card {
  background-color: #fffaf3;
  padding: 24px;
  border-radius: 14px;
  border-left: 5px solid #c99a3c;
  box-shadow: 0 4px 14px rgba(70, 40, 20, 0.08);
}

.card h4 {
  color: #8c5a2b;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.foundation {
  background-color: #ead8bf;
}

.passions {
  background-color: #fffaf3;
}

.passion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 25px;
}

.passion-box {
  background-color: #5a3825;
  color: #f7e7c1;
  text-align: center;
  padding: 18px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(60, 35, 20, 0.12);
}

.curriculum {
  background-color: #f3eadf;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.level-card {
  background-color: #fffaf3;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(70, 40, 20, 0.08);
  border-top: 4px solid #c99a3c;
}

.level-card h4 {
  color: #5a3825;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.level-range {
  font-weight: bold;
  color: #b07a2e;
  margin-bottom: 12px;
}

.featured-level {
  background: linear-gradient(180deg, #fffaf3, #f7efdf);
}

.exam-card ul {
  margin-top: 12px;
  padding-left: 18px;
}

.exam-card li {
  margin-bottom: 8px;
}

.a1-overview,
.module-section {
  margin-top: 34px;
  background-color: #fffaf3;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(70, 40, 20, 0.08);
}

.a1-overview h4,
.module-section h4 {
  color: #5a3825;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.a1-summary {
  margin-bottom: 20px;
}

.a1-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.skill-box {
  background-color: #f8f1e6;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(201, 154, 60, 0.25);
  font-weight: 600;
  color: #5e3a22;
}

.module-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.module-block {
  background-color: #f8f1e6;
  border-radius: 12px;
  padding: 18px;
  border-left: 4px solid #c99a3c;
}

.module-block h5 {
  color: #5a3825;
  margin-bottom: 10px;
  font-size: 1rem;
}

.module-block ul {
  padding-left: 18px;
}

.module-block li {
  margin-bottom: 8px;
}

.classes {
  background-color: #fffaf3;
}

.booking-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.booking-card {
  background-color: #fdf8f0;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(70, 40, 20, 0.08);
  border: 1px solid rgba(140, 90, 43, 0.08);
}

.booking-card h4 {
  color: #5a3825;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.booking-card p {
  margin-bottom: 16px;
}

.booking-list {
  margin-bottom: 24px;
}

.booking-list li {
  margin-bottom: 8px;
}

.placeholder-box {
  margin-top: 18px;
  border: 2px dashed #c99a3c;
  background-color: #fffaf3;
  border-radius: 12px;
  padding: 24px;
  color: #7b5a3a;
  min-height: 180px;
}

.gallery {
  background-color: #f3eadf;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.gallery-item {
  background-color: #fffaf3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.gallery-item figcaption {
  text-align: center;
  padding: 12px;
  font-weight: bold;
  color: #8c5a2b;
  background-color: #fffaf3;
  font-size: 1rem;
}

.contact {
  background-color: #fffaf3;
  text-align: center;
}

.email a {
  color: #8c5a2b;
  font-size: 1.2rem;
  font-weight: bold;
}

.email a:hover {
  color: #c99a3c;
  text-decoration: underline;
}

.site-footer {
  background-color: #2a190f;
  color: #f4d79b;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding: 60px 0 30px;
}

.footer-col h4 {
  color: #fff7e8;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-col p,
.footer-col li {
  color: #e6cfaa;
  font-size: 0.98rem;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #e6cfaa;
}

.footer-col a:hover {
  color: #f0c96a;
}

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

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a64a, #f0c96a);
  color: #2f2117 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid rgba(244, 215, 155, 0.18);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.92rem;
  color: #e6cfaa;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background-color: #2a190f;
    border-top: 1px solid rgba(244, 215, 155, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 5%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(244, 215, 155, 0.08);
  }

  .menu-toggle:checked + .hamburger + .navbar {
    max-height: 420px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 90px 20px 70px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h2 {
    font-size: 1.15rem;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .intro {
    margin-left: auto;
    margin-right: auto;
  }

  section h3 {
    font-size: 1.65rem;
  }

  .gallery-item img {
    height: 300px;
  }

  .hero-image img {
    width: 280px;
    height: 280px;
  }

  .logo-subtitle {
    display: none;
  }

  .module-card,
  .a1-skills-grid {
    grid-template-columns: 1fr;
  }
}