/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --green: #5a8a3a;
  --green-dark: #4a7a2a;
  --green-light: #6da347;
  --gold: #e8b34c;
  --gold-dark: #d99a2c;
  --text: #4a4a4a;
  --text-light: #6b6b6b;
  --bg-light: #f4f1ec;
  --white: #ffffff;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

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

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link { display: inline-flex; align-items: center; }
.logo-image {
  height: 60px;
  width: auto;
  display: block;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.primary-nav a {
  font-size: 15px;
  color: #555;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a:hover { color: var(--green); }

.caret { font-size: 9px; opacity: 0.7; }

.language-switcher {
  position: relative;
}

.language-switcher .lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: #555;
}

.language-switcher .lang-button:hover { border-color: #aaa; }

.flag { display: inline-flex; }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.10);
  z-index: 200;
}

.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
}

.lang-menu li:hover {
  background: #f4f1ec;
  color: var(--green);
}

.lang-menu li[hidden] { display: none; }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #555;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 480px;
  background-image: url('https://lirp.cdn-website.com/17f6f961/dms3rep/multi/opt/harmony-montessori-children+%281%29+%281%29-1920w.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 52px;
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-size: 17px;
  margin: 0 0 30px;
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: 0;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover {
  background: var(--gold-dark);
}

/* ---------- Sections ---------- */
section { padding: 70px 0; }

.section-title {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 38px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 50px;
  color: #4a4a4a;
}

.section-title.light { color: #fff; }

/* ---------- Why choose ---------- */
.why-choose { background: #fff; }
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.feature { text-align: center; }
.feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg {
  width: 60px;
  height: 60px;
  color: var(--green);
  stroke-width: 1.6;
}
.feature h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  color: var(--green);
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.3;
}
.feature p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Programs ---------- */
.programs { background: var(--bg-light); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.program-card {
  background: #fff;
  border: 1px solid #e5e0d6;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.program-image {
  height: 170px;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
}
.program-meta {
  padding: 18px 14px 22px;
  text-align: center;
}
.program-meta h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--green);
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
}
.program-meta p {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
}

/* ---------- How to Apply ---------- */
.how-to-apply {
  background: var(--green);
  color: #fff;
}
.apply-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step { text-align: center; }
.step-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.step-icon svg {
  width: 60px;
  height: 60px;
  color: #fff;
  stroke-width: 1.6;
}
.step h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 14px;
  font-family: 'Open Sans', sans-serif;
}
.step p {
  font-size: 15px;
  margin: 0 auto;
  max-width: 260px;
  line-height: 1.6;
}

/* ---------- Inclusivity ---------- */
.inclusivity { background: #fff; padding: 50px 0; }
.inclusivity p {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 18px;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-light);
  color: var(--text);
  padding-top: 50px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 30px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #6b6b6b;
  margin: 0 0 18px;
  font-weight: 600;
}

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

.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a:hover { color: var(--green); }

.footer-contact .phone {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
  color: #4a4a4a;
}

.footer-contact address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.social {
  display: flex;
  gap: 12px;
  color: var(--green);
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--green);
}
.social svg {
  width: 22px;
  height: 22px;
}
.social a:hover { color: var(--green-dark); }

.footer-bottom {
  border-top: 1px solid #e0dcd2;
  padding: 18px 0;
  font-size: 13px;
  color: var(--text-light);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom a:hover { color: var(--green); }

/* ---------- Floating Contact Button ---------- */
.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--gold);
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: background 0.2s;
}
.floating-contact:hover { background: var(--gold-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-steps { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .primary-nav,
  .language-switcher { display: none; }
  .mobile-toggle { display: flex; }

  .primary-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }
  .primary-nav.open ul {
    flex-direction: column;
    gap: 16px;
  }

  .hero { height: 420px; }
  .hero-content h1 { font-size: 38px; }
  .section-title { font-size: 30px; margin-bottom: 36px; }
  section { padding: 50px 0; }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
}
