/* ============================================
   THEME VARIABLES — Customize these for each site
   ============================================ */
:root {
  --primary: #5b6dff;
  --secondary: #c4b2ff;
  --bg: #f5f6ff;
  --bg-deep: #e6ebff;
  --text: #1e2340;
  --muted: #5d648f;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(60, 78, 140, 0.18);
  --radius: 20px;
  --font-heading: "Baloo 2", cursive;
  --font-body: "Hind", sans-serif;
}

/* ============================================
   RESET & BASE — Do NOT modify
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(196, 178, 255, 0.45), transparent 48%),
    radial-gradient(circle at 80% 0%, rgba(145, 176, 255, 0.35), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, var(--bg-deep) 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; }

/* ============================================
   LAYOUT — Do NOT modify
   ============================================ */
.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

section {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 560px;
  margin: 0.5rem auto 0;
}

/* ============================================
   HEADER & NAV — Do NOT modify
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.brand-mark { color: var(--primary); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 4%;
    background: var(--card);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 1rem;
    display: none;
    min-width: 180px;
  }

  .site-nav.open { display: flex; }
  .header-inner { position: relative; }
}

/* ============================================
   BUTTONS — Do NOT modify
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(91, 109, 255, 0.3);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(91, 109, 255, 0.35);
  color: var(--text);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text h1 { margin-bottom: 1.25rem; }

.hero-text p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.75);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px dashed rgba(91, 109, 255, 0.3);
}

.hero-visual {
  background: rgba(255, 255, 255, 0.7);
  border-radius: calc(var(--radius) + 10px);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-visual img {
  border-radius: var(--radius);
}

/* ============================================
   STORY
   ============================================ */
.story-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(91, 109, 255, 0.15);
}

.story-card p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

/* ============================================
   FACTS
   ============================================ */
.facts {
  background: rgba(255, 255, 255, 0.6);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.fact-card {
  background: var(--card);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: left;
}

.fact-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.fact-card h3 { margin-bottom: 0.5rem; }

.fact-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.gallery-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.gallery-card figcaption {
  padding: 1rem 1.2rem 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================
   FOOTER — Do NOT modify
   ============================================ */
.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: left;
  margin-bottom: 2rem;
}

.footer-grid h3 {
  margin-bottom: 0.6rem;
  color: var(--text);
}

.footer-grid p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-note {
  text-align: center;
  color: var(--muted);
}

/* ============================================
   RESPONSIVE — Do NOT modify
   ============================================ */
@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  section { padding: 3.5rem 0; }

  .story-card { padding: 2rem 1.5rem; }
}
