:root {
  --blue: #0b3c5d;
  --gold: #d4a017;
  --light: #f6f8fb;
  --dark: #111;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  line-height: 1.7;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.narrow { max-width: 800px; }
.center { text-align: center; }

/* HEADER */
.header {
  background: var(--blue);
  color: #fff;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 20px;
  font-weight: 600;
}

.nav {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav a {
  color: #fff;
}

.nav-cta {
  background: var(--gold);
  color: #000;
  padding: 8px 14px;
  border-radius: 4px;
}

/* HERO */
.hero {
  height: 85vh;
  background: url("./images/apple.webp") center/cover no-repeat;
}

.hero-overlay {
  height: 100%;
  background: rgba(11, 60, 93, 0.65);
  display: flex;
  align-items: center;
}

.hero-content {
  color: #fff;
  max-width: 650px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 20px;
}

.hero-trust {
  display: flex;
  gap: 15px;
  font-size: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 4px;
}

.btn-secondary {
  border: 2px solid #fff;
  padding: 10px 22px;
  border-radius: 4px;
  color: #fff;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section.light {
  background: var(--light);
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature {
  background: #fff;
  padding: 22px;
  border-left: 4px solid var(--gold);
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  margin: 15px;
}

.card .age {
  color: var(--gold);
  font-weight: 600;
  margin: 0 15px;
}

.card p {
  margin: 15px;
}

/* CTA */
.cta {
  background: var(--blue);
  color: #fff;
  padding: 90px 0;
}

.cta p{
  margin-bottom: 20px;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: #ddd;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer h4 {
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: #ddd;
}

.footer-copy {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

/* ABOUT */

.about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-text h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about-text h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 22px;
}

.about-text p {
  margin-bottom: 14px;
  font-size: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.value-box {
  background: var(--light);
  padding: 26px;
  border-left: 4px solid var(--gold);
}

.value-box h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ADMISSIONS */

.admissions h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

.admissions .intro {
  margin-bottom: 40px;
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.step {
  background: var(--light);
  padding: 28px;
  border-left: 4px solid var(--gold);
}

.step span {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}

.step h3 {
  margin: 10px 0;
}

.age-list,
.docs {
  margin: 15px 0 40px;
  padding-left: 20px;
}

.admissions-cta {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}



/* ===== FORM STYLE ===== */
.form-progress {
  background: #eee;
  height: 6px;
  border-radius: 6px;
  margin-bottom: 25px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 6px;
  transition: width 0.3s ease;
}

.form-step {
  display: none;
  animation: fade 0.3s ease;
}

.form-step.active {
  display: block;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.form-field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 14px;
  margin-bottom: 6px;
}

.form-field input {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.form-nav {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}

.next-btn,
.prev-btn,
.submit-btn {
  background: var(--gold);
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 20px;
}

.prev-btn {
  background: #ddd;
}

.privacy-note {
  font-size: 13px;
  color: #666;
  margin-top: 15px;
}

.success-box {
  background: #f0f8f3;
  border-left: 5px solid var(--gold);
  padding: 30px;
  border-radius: 6px;
  text-align: center;
}

.success-box h3 {
  margin-bottom: 15px;
  font-size: 24px;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212,160,23,0.2);
}

/* MOBILE NAV PREMIUM */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;              /* below header */
    right: 16px;
    left: 16px;
    background: linear-gradient(145deg, #ffffff, #f0f4f8);
    flex-direction: column;
    padding: 16px 0;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    backdrop-filter: blur(12px); /* subtle glass effect */
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    z-index: 1500;
  }

  nav.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav a {
    padding: 14px 24px;
    margin: 0 12px;
    border-radius: 12px;
    color: #1b3b5f;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.25s ease;
    text-align: center;
    text-decoration: none;
  }

  nav a:hover {
    background: linear-gradient(90deg, #9ec4ff, #cfe8a9);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1b3b5f;
    padding: 4px 8px;
    transition: transform 0.3s ease;
  }

  .menu-toggle:active {
    transform: scale(0.95);
  }
}

nav a {
  opacity: 0;
  transform: translateY(-8px);
  animation: fadeSlideIn 0.3s forwards;
  animation-delay: var(--delay, 0s);
}

nav.open a:nth-child(1) { --delay: 0.05s; }
nav.open a:nth-child(2) { --delay: 0.1s; }
nav.open a:nth-child(3) { --delay: 0.15s; }
nav.open a:nth-child(4) { --delay: 0.2s; }
nav.open a:nth-child(5) { --delay: 0.25s; }
nav.open a:nth-child(6) { --delay: 0.3s; }

@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(0); }
}