:root {
  --color-primary: #022135;
  --color-primary-dark: #0a314a;
  --color-accent: #5e879f;
  --color-bg: #f6f9fb;
  --color-surface: #ffffff;
  --color-text: #102534;
  --color-text-secondary: #607383;
  --color-border: #d9e4ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

header p {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* Hero: full-width photo banner. */
.hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  /* Dark gradient overlay so the white hero text stays legible over a busy photo */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 33, 53, 0.72) 0%, rgba(2, 33, 53, 0.55) 45%, rgba(2, 33, 53, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 2rem 1.5rem;
  max-width: 640px;
}

.hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  opacity: 0.9;
}

.hero-content h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-content p {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.features {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
  text-align: center;
}

.features h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 0 0 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: left;
}

.feature-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.feature-item strong {
  color: var(--color-primary);
  font-size: 0.95rem;
}

.feature-item span {
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.our-schools {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.our-schools h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
}

.school-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.school-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.school-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 33, 53, 0.08);
  border-color: var(--color-accent);
}

.school-link span {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.schools-section {
  background: var(--color-primary);
  padding: 3rem 1.5rem;
}

.schools-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.schools-content h3 {
  margin: 0 0 0.9rem;
  font-size: 1.4rem;
}

.schools-content p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.6;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

main h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

main > p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 2rem;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(2, 33, 53, 0.06);
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-note {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
}

/* Persistent contact CTA — always reachable regardless of scroll position, since the
   in-page WhatsApp buttons are mid-page and easy to miss if a visitor doesn't scroll that far. */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(2, 33, 53, 0.25);
  z-index: 100;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 26px rgba(2, 33, 53, 0.32);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}
