/* =====================================================
   KABIRA THE INTERNATIONAL SCHOOL – Clean & Minimal Layout
   Color Palette: Navy #1a3a6b | Green #1b8a43 | Off-white #f8f9fa
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --navy:       #1a3a6b;
  --navy-dark:  #0f2447;
  --green:      #1b8a43;
  --green-dark: #146b33;
  --green-light:#38c168;
  --green-bg:   #eef9f2;
  --off-white:  #f8f9fa;
  --light-bg:   #f0f3f8;
  --white:      #ffffff;
  --text:       #1a2332;
  --text-mid:   #3d4f6b;
  --text-light: #64748b;
  --border:     #e2e8f0;

  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Image Protection & Security Hardening */
img {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

/* ── HEADER ────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.08em;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #25d366;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.btn-whatsapp-header:hover {
  background: #1ebe5d;
}

.coming-soon-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
  background: var(--off-white);
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ── HERO SECTION ─────────────────────────────────── */
.hero {
  background: var(--navy);
  width: 100%;
  padding: 72px 32px;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: inline-block;
}

.hero-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  width: 100%;
}

.hero-italic {
  font-style: italic;
  font-weight: 700;
  color: var(--green-light);
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--green);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Hero Right Clean Logo Frame */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-logo-frame {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 320px;
}

.hero-logo-clean {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
}

/* ── TRUST BAR ─────────────────────────────────────── */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
  width: 100%;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--navy);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  font-size: 1.2rem;
}

.trust-sep {
  color: var(--border);
  font-size: 1.4rem;
}

/* ── SECTION HEADER COMMON ────────────────────────── */
.section-header-block {
  margin-bottom: 44px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
  display: block;
}

.section-label.light { color: var(--green-light); }

.section-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-heading em {
  font-style: italic;
  color: var(--green);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 680px;
  line-height: 1.7;
}

/* ── WHY CHOOSE KABIRA ──────────────────────────── */
.about-section {
  padding: 88px 32px;
  background: var(--white);
  width: 100%;
}

.about-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-tile {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26,58,107,0.06);
  background: white;
}

.tile-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: white;
  border: 1px solid var(--border);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-tile h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.feat-tile p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── PROGRAMMES & TIMINGS ───────────────────────── */
.programs-section {
  background: var(--light-bg);
  padding: 88px 32px;
  width: 100%;
}

.programs-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.prog-card {
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.prog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.prog-age {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.prog-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.prog-card p {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.65;
}

/* Dark Daycare Tile Overrides */
.prog-card.prog-card--daycare {
  background: var(--navy);
  border-color: var(--navy-dark);
}

.prog-card.prog-card--daycare:hover {
  box-shadow: 0 12px 28px rgba(15,36,71,0.35);
}

.prog-card.prog-card--daycare .prog-age {
  color: var(--green-light) !important;
  font-weight: 800;
}

.prog-card.prog-card--daycare h3 {
  color: #ffffff !important;
  font-weight: 700;
}

.prog-card.prog-card--daycare p {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Timings Summary Box */
.timings-summary-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
}

.timing-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.timing-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timing-block > div {
  display: flex;
  flex-direction: column;
}

.timing-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-light);
  text-transform: uppercase;
}

.timing-value {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.timing-sub {
  font-size: 0.78rem;
  color: var(--text-mid);
}

.timing-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* ── CONTACT & LOCATION SECTION ─────────────────── */
.contact-section {
  background: var(--navy);
  padding: 88px 32px;
  width: 100%;
}

.contact-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.18;
  margin-bottom: 16px;
}

.contact-heading em {
  font-style: italic;
  color: var(--green-light);
}

.contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  text-decoration: none;
  color: white;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.contact-tile:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(4px);
}

.tile-ico {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-ico { background: rgba(37,211,102,0.22); color: #25d366; }
.phone-ico    { background: rgba(27,138,67,0.22);  color: var(--green-light); }
.map-ico      { background: rgba(255,112,67,0.22); color: #ff7043; }

.tile-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tile-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tile-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
}

.tile-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

.tile-arrow {
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
  transition: color 0.2s, transform 0.2s;
}

.contact-tile:hover .tile-arrow {
  color: white;
  transform: translateX(4px);
}

/* Contact Right Admissions Card */
.contact-right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.admissions-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  width: 100%;
}

.adm-card-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--green-dark);
  background: var(--green-bg);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.adm-card-heading {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.adm-card-sub {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Form Layout */
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.form-group label .req {
  color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: white;
}

.btn-green-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--green);
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}

.btn-green-full:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.form-footer-note {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
}

/* Success Card */
.form-success-msg {
  text-align: center;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.success-icon {
  font-size: 2.5rem;
}

.form-success-msg h4 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  color: var(--navy);
}

.form-success-msg p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.btn-download-csv {
  padding: 12px 18px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-download-csv:hover {
  background: var(--navy-dark);
}

.btn-reset-form {
  padding: 10px 18px;
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-reset-form:hover {
  background: var(--off-white);
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}

.footer-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 4px;
}

.footer-school-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: white;
}

.footer-school-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-light);
  text-transform: uppercase;
}

.footer-trust-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-loc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--green);
  padding-bottom: 8px;
  display: inline-block;
  max-width: max-content;
}

.links-col {
  gap: 12px;
}

.foot-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.foot-link:hover {
  color: var(--green-light);
}

.footer-quote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.footer-tag-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--green-light);
  border: 1px solid rgba(142,211,130,0.3);
  padding: 6px 14px;
  border-radius: 100px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 32px;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}

/* ── WHATSAPP FAB ──────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  background: #25d366;
  border-radius: 100px;
  text-decoration: none;
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: background 0.2s, transform 0.2s;
}

.wa-fab:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
}

/* =====================================================
   RESPONSIVE MEDIA QUERIES
   ===================================================== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-inner {
    gap: 16px;
  }

  .about-features,
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timings-summary-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .timing-divider {
    width: 100%;
    height: 1px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-right {
    max-width: 400px;
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  .header-inner {
    padding: 12px 20px;
  }

  .hero {
    padding: 44px 20px;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-green,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .trust-inner {
    flex-direction: column;
    gap: 8px;
  }

  .trust-sep {
    display: none;
  }

  .about-section,
  .programs-section,
  .contact-section {
    padding: 60px 20px;
  }

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

  .wa-fab span {
    display: none;
  }

  .wa-fab {
    padding: 14px;
    border-radius: 50%;
  }
}
