/* United Indian School Kuwait — Modern Design System */
:root {
  --navy: #0B1F3A;
  --navy-deep: #071526;
  --navy-light: #14305A;
  --gold: #C9A227;
  --gold-light: #E8D48B;
  --cream: #F8F6F1;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #5A6570;
  --border: #E5E2DB;
  --success: #2E7D4F;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --container: min(1200px, 92vw);
  --radius: 8px;
  --shadow: 0 4px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 31, 58, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit; font-size: 1rem;
}

.container { width: var(--container); margin-inline: auto; }
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
}
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 500; color: var(--navy); margin: 0.6rem 0 0.8rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem; border-radius: var(--radius);
  transition: all 0.25s ease; border: 2px solid transparent; cursor: pointer;
}
.btn-primary {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); }
.btn-gold {
  background: var(--gold); color: var(--navy-deep); border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: var(--container); margin-inline: auto; padding: 0.9rem 0;
}
.logo {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 700; color: var(--navy); font-size: 1.15rem;
}
.logo-mark {
  width: 42px; height: 42px; background: var(--navy); color: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.logo span { display: block; font-size: 0.7rem; font-weight: 500; color: var(--text-muted); margin-top: 1px; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { margin-left: 0.5rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; background: none; border: none; }
.menu-toggle span { height: 2px; background: var(--navy); border-radius: 1px; }

/* Hero */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white); position: relative; overflow: hidden; padding-top: 5rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 20%, rgba(201,162,39,0.12) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero .eyebrow { color: var(--gold-light); margin-bottom: 1rem; display: block; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 500; line-height: 1.15; margin-bottom: 1.3rem;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem;
  max-width: 520px; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats div strong {
  display: block; font-family: var(--font-display); font-size: 1.8rem;
  color: var(--gold-light); font-weight: 500;
}
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* Values */
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.value-card {
  background: var(--cream); border-radius: var(--radius); padding: 2rem 1.6rem;
  text-align: center; transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .icon {
  width: 52px; height: 52px; margin: 0 auto 1.2rem;
  background: var(--navy); color: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.value-card h3 {
  font-family: var(--font-display); font-size: 1.25rem; color: var(--navy);
  margin-bottom: 0.5rem; font-weight: 500;
}
.value-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Cards / Features */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
}
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; transition: all 0.3s;
}
.feature-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.feature-card h3 {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--navy);
  margin-bottom: 0.7rem; font-weight: 500;
}
.feature-card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 1rem; }
.feature-card a { color: var(--navy); font-weight: 600; font-size: 0.9rem; }
.feature-card a:hover { color: var(--gold); }

/* About strip */
.about-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-strip h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy); font-weight: 500; margin-bottom: 1.2rem;
}
.about-strip p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.05rem; }
.about-visual {
  aspect-ratio: 4/3; background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: var(--font-display); font-size: 3rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--navy); color: var(--white); text-align: center; padding: 4.5rem 0;
}
.cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500; margin-bottom: 0.8rem;
}
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 1.8rem; max-width: 480px; margin-inline: auto; }

/* Page Hero */
.page-hero {
  background: var(--navy); color: var(--white); padding: 8rem 0 4rem; text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500; margin: 0.5rem 0 0.8rem;
}
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.8); padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem;
}
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem;
}
.footer-col a {
  display: block; font-size: 0.92rem; color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.92rem; margin-bottom: 0.4rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* Forms */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--text);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--white); transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Content pages */
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--navy);
  margin: 2rem 0 1rem; font-weight: 500;
}
.content-block h3 {
  font-size: 1.15rem; color: var(--navy); margin: 1.5rem 0 0.6rem; font-weight: 600;
}
.content-block p, .content-block li {
  color: var(--text-muted); margin-bottom: 0.9rem; font-size: 1.02rem;
}
.content-block ul { padding-left: 1.3rem; list-style: disc; margin-bottom: 1.2rem; }
.content-block li { margin-bottom: 0.4rem; }

/* Info cards */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.info-card {
  background: var(--cream); border-radius: var(--radius); padding: 1.6rem;
}
.info-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; font-weight: 600; }
.info-card p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* Timeline / Steps */
.steps { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 1.2rem;
  margin-bottom: 1.8rem; align-items: start;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; background: var(--navy); color: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.step h3 { color: var(--navy); margin-bottom: 0.3rem; font-size: 1.1rem; }
.step p { color: var(--text-muted); margin: 0; font-size: 0.98rem; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
}

/* Mobile nav open state */
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1.2rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  gap: 0.9rem;
  z-index: 999;
}
.nav-links.open a {
  font-size: 1rem;
  padding: 0.35rem 0;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.menu-toggle span {
  transition: transform 0.25s, opacity 0.25s;
  display: block;
  width: 100%;
}
.logo img.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000;
  background: var(--navy-deep); color: #fff; padding: 1rem 1.2rem;
  display: none; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 0.9rem; margin: 0; flex: 1; min-width: 200px; color: rgba(255,255,255,0.85); }
.cookie-banner .btn { padding: 0.55rem 1.1rem; font-size: 0.8rem; }

/* Sticky mobile CTA */
.sticky-mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1500;
  background: var(--navy); padding: 0.75rem 1rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.sticky-mobile-cta a {
  display: block; text-align: center; background: var(--gold); color: var(--navy-deep);
  font-weight: 600; padding: 0.85rem; border-radius: var(--radius); font-size: 0.95rem;
}
@media (max-width: 768px) {
  .sticky-mobile-cta { display: block; }
  body { padding-bottom: 70px; }
  .cookie-banner.show ~ .sticky-mobile-cta,
  .cookie-banner.show { bottom: 0; }
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-item button {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-size: 1.05rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center;
  padding: 0.3rem 0;
}
.faq-item .faq-a { display: none; color: var(--text-muted); margin-top: 0.6rem; font-size: 0.98rem; }
.faq-item.open .faq-a { display: block; }
.faq-item button span { font-size: 1.4rem; color: var(--gold); }

/* Form errors */
.form-group.error input, .form-group.error textarea { border-color: #c0392b; }
.form-group .error-msg { display: none; color: #c0392b; font-size: 0.82rem; margin-top: 0.3rem; }
.form-group.error .error-msg { display: block; }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--navy); }
