
:root {
  --blue: #1a2fff;
  --blue-dark: #1020cc;
  --orange: #ff6b1a;
  --black: #0d0d0d;
  --white: #ffffff;
  --gray-light: #f4f5f8;
  --gray-mid: #e2e4ec;
  --gray-text: #6b7280;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(26, 47, 255, 0.10);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.07);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; }

.btn-primary {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--black);
  color: var(--black);
  padding: 11px 26px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  padding: 12px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.btn-white:hover { background: var(--orange); color: var(--white); }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { font-size: 1.4rem; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #e55a0e; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}


.hero {
  background: var(--blue);
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: 80px 40px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255,107,26,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  gap: 60px;
  justify-content: center;
}

/* Wrap hero in a container */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 100%;
  padding: 80px max(40px, calc((100vw - 1280px)/2 + 40px)) 60px;
  background: var(--blue);
}

.hero-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
}

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

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-img-wrapper {
  position: relative;
  width: 340px;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
  flex-shrink: 0;
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  background: rgba(255,107,26,0.92);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.4;
}


.admissions-banner {
  background: #1a1a2e;
  overflow: hidden;
}

.admissions-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 320px;
}

.admissions-text {
  padding: 60px 40px 60px 0;
}

.admissions-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 28px;
}

.admissions-img {
  height: 320px;
  position: relative;
}
.admissions-img::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(to right, #1a1a2e, transparent);
}

.resources {
  background: var(--white);
  padding: 96px 40px;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 48px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}

.resource-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-mid);
  transition: box-shadow 0.2s, transform 0.2s;
}
.resource-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.resource-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.resource-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.35;
}

.resource-card p {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.7;
}

.resources-cta {
  text-align: center;
}

.services {
  background: var(--gray-light);
  padding: 96px 40px;
}

.services-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.services-gallery img {
  border-radius: var(--radius);
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
}
.services-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.footer {
  background: var(--black);
  padding: 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer .logo-text { color: var(--white); }

.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  margin-left: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }


@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeUp 0.7s ease both; }
.hero-image   { animation: fadeUp 0.7s 0.15s ease both; }
.admissions-text { animation: fadeUp 0.6s 0.1s ease both; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    text-align: center;
    gap: 40px;
  }
  .hero-sub { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .hero-image { justify-content: center; }
  .hero-img-wrapper { width: 100%; max-width: 340px; height: 360px; }

  .admissions-inner { grid-template-columns: 1fr; }
  .admissions-img { display: none; }
  .admissions-text { padding: 48px 0; text-align: center; }

  .resources-grid { grid-template-columns: 1fr; }
  .services-gallery { grid-template-columns: 1fr; }
  .services-gallery img { height: 200px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 600px) {
  .resources, .services { padding: 64px 24px; }
  .admissions-banner .admissions-inner { padding-left: 24px; padding-right: 24px; }
  .navbar .nav-inner { padding: 0 20px; }
  .footer { padding: 32px 24px; }
}
