@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --blue: #08aeea;
  --blue-2: #35c6f3;
  --blue-ink: #063e58;
  --blue-soft: #e9f8fd;
  --ink: #111820;
  --charcoal: #1b232c;
  --slate: #5f6f7d;
  --muted: #72808d;
  --line: #dce6ee;
  --wash: #f4f8fb;
  --white: #ffffff;
  --boys: #08aeea;
  --girls: #687685;
  --shadow: 0 18px 55px rgba(17, 24, 32, 0.12);
  --soft-shadow: 0 10px 30px rgba(17, 24, 32, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--wash);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 86px 0; }
.section-soft { background: linear-gradient(180deg, #ffffff, #edf5fa); }
.section-dark { background: var(--charcoal); color: var(--white); }
.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 { color: var(--ink); font-size: clamp(3rem, 7.8vw, 6.6rem); font-weight: 900; margin-bottom: 22px; }
h2 { color: var(--ink); font-size: clamp(1.8rem, 4vw, 3.25rem); font-weight: 900; margin-bottom: 14px; }
h3 { color: var(--ink); font-size: 1.18rem; font-weight: 850; margin-bottom: 10px; }
p { color: var(--slate); }

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(17, 24, 32, 0.92);
  border-bottom: 1px solid rgba(8, 174, 234, 0.22);
  backdrop-filter: blur(14px);
}
.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.nav-logo img { width: 132px; filter: drop-shadow(0 8px 22px rgba(0,0,0,.28)); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .mobile-menu a {
  color: #edf7fb;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 9px 12px;
  border-radius: 10px;
}
.nav-links a:hover, .nav-links a.active, .mobile-menu a.active { background: rgba(8,174,234,.22); color: var(--white); }
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: transparent;
}
.hamburger span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); transition: .22s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 29;
  background: var(--charcoal);
  padding: 16px 20px 22px;
  border-bottom: 1px solid rgba(8,174,234,.22);
}
.mobile-menu.open { display: grid; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 850;
  font-size: .94rem;
  cursor: pointer;
  transition: .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--soft-shadow); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost { background: rgba(8,174,234,.08); color: var(--blue-ink); border-color: rgba(8,174,234,.22); }

.hero {
  min-height: 96vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(8,174,234,.18), transparent 31%),
    linear-gradient(135deg, #ffffff 0%, #eef8fd 54%, #f8fbfd 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .52;
  background-image: linear-gradient(90deg, rgba(8,174,234,.14) 1px, transparent 1px), linear-gradient(rgba(8,174,234,.14) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.hero-layout {
  position: relative;
  z-index: 1;
  padding-top: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .72fr);
  gap: 46px;
  align-items: center;
}
.hero-copy { color: var(--slate); font-size: clamp(1.02rem, 2vw, 1.25rem); max-width: 680px; margin-bottom: 26px; }
.hero-actions, .cta-actions, .contact-actions, .button-row, .map-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.hero-badges span, .chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue-ink);
  font-size: .82rem;
  font-weight: 800;
}
.hero-panel {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(8,174,234,.24);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.hero-panel img { border-radius: 16px; aspect-ratio: 1 / .9; width: 100%; object-fit: cover; background: var(--white); }
.hero-panel-card { margin-top: 14px; background: var(--white); border-radius: 16px; padding: 18px; }
.hero-panel-card h3 { color: var(--ink); }
.hero-panel-card p { margin-bottom: 14px; }

.trust-strip {
  margin-top: -42px;
  position: relative;
  z-index: 2;
}
.trust-grid {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.trust-item { padding: 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 4px; }
.trust-item span { color: var(--muted); font-size: .9rem; }

.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.split-section, .feature-band, .cta-inner, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card, .card, .property-card, .detail-card, .contact-panel, .form-card, .map-card, .faq-grid article, .college-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-card { padding: 22px; }
.stat-card strong { display: block; font-size: 2rem; line-height: 1; color: var(--ink); }
.stat-card span { color: var(--muted); font-size: .9rem; }

.property-grid, .compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.property-card, .detail-card { padding: 28px; display: flex; flex-direction: column; min-height: 100%; }
.property-card.boys, .detail-card.boys { border-top: 5px solid var(--boys); background: linear-gradient(180deg, var(--blue-soft), var(--white) 170px); }
.property-card.girls, .detail-card.girls { border-top: 5px solid var(--girls); background: linear-gradient(180deg, #f1f4f7, var(--white) 170px); }
.property-top, .property-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: .86rem; }
.property-footer { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--blue-soft);
  border: 1px solid rgba(8,174,234,.24);
  color: var(--blue-ink);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.property-top .pill { margin-bottom: 0; }
.feature-list { list-style: none; display: grid; gap: 10px; margin: 20px 0; }
.feature-list li { position: relative; padding-left: 22px; color: var(--ink); }
.feature-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); position: absolute; left: 0; top: .62em; }
.text-link { color: var(--ink); font-weight: 900; border-bottom: 2px solid var(--blue); }

.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amenity-grid article, .fit-card { padding: 24px; }
.amenity-grid article span { display: block; color: var(--blue); font-weight: 900; margin-bottom: 14px; }
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fit-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.fit-card h3 { color: var(--white); }
.fit-card p { color: #d8e5ec; }
.amenity-row { display: flex; flex-wrap: wrap; gap: 10px; }
.amenity-row span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--ink); font-weight: 800; }

.page-hero {
  background:
    radial-gradient(circle at 74% 0%, rgba(8,174,234,.16), transparent 28%),
    linear-gradient(135deg, #ffffff, #eef8fd);
  padding: 150px 0 78px;
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.7rem); }
.page-hero p { color: var(--slate); max-width: 760px; font-size: 1.08rem; }
.detail-list { display: grid; gap: 12px; margin-bottom: 24px; }
.detail-list div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.detail-list strong { display: block; color: var(--ink); margin-bottom: 4px; }
.detail-list span { color: var(--muted); }

.college-tools { display: grid; grid-template-columns: 1fr auto; gap: 14px; margin-bottom: 26px; align-items: center; }
.college-search { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--soft-shadow); color: var(--ink); }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 850;
  color: var(--ink);
}
.filter-btn.active, .filter-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.college-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.college-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.college-card[data-hidden="true"] { display: none; }
.college-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.college-meta span { background: var(--blue-soft); border-radius: 999px; padding: 5px 9px; color: var(--blue-ink); font-weight: 800; font-size: .76rem; }
.college-card .btn { margin-top: auto; }

.contact-panel, .form-card { padding: 30px; }
.contact-detail { display: grid; gap: 4px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-detail strong { color: var(--ink); }
.contact-detail span { color: var(--muted); }
.contact-detail a { color: var(--blue); font-weight: 900; width: fit-content; }
.form-card { display: grid; gap: 10px; }
.form-card label { font-weight: 850; color: var(--ink); font-size: .9rem; margin-top: 8px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
}
.form-card textarea { min-height: 120px; resize: vertical; }
.map-section { padding-top: 0; }
.map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.map-card { padding: 18px; }
.map-card p { min-height: 52px; margin-bottom: 14px; }
.map-wrapper { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.map-wrapper iframe { display: block; width: 100%; height: 430px; border: 0; }
.map-actions { justify-content: center; margin-top: 20px; }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.faq-grid article { padding: 22px; }
.faq-grid h3 { font-size: 1rem; margin-bottom: 8px; }
.cta { background: linear-gradient(135deg, #e9f8fd, #ffffff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 62px 0; }
.cta h2 { margin-bottom: 0; }

.footer { background: linear-gradient(180deg, #17212b, #0b1015); color: #d8e5ec; padding: 48px 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr .8fr 1.05fr 1.05fr 1fr; gap: 28px; }
.footer-logo { width: 132px; margin-bottom: 14px; }
.footer p, .footer a { color: #d8e5ec; }
.footer a { display: block; margin-top: 8px; }
.footer h4 { color: var(--blue-2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }

@media (max-width: 980px) {
  .nav-links, .nav-action { display: none; }
  .hamburger { display: block; }
  .hero { min-height: auto; padding: 126px 0 64px; }
  .hero-layout, .split-section, .feature-band, .cta-inner, .contact-grid, .map-grid, .property-grid, .compare-grid, .footer-inner, .college-tools { grid-template-columns: 1fr; }
  .hero-panel { max-width: 470px; }
  .trust-grid, .fit-grid, .amenity-grid, .college-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 580px) {
  .container, .nav-inner { width: min(100% - 28px, 1180px); }
  .section { padding: 58px 0; }
  .nav-logo img { width: 118px; }
  h1 { font-size: clamp(2.35rem, 11.5vw, 3.2rem); }
  .page-hero h1 { font-size: clamp(2.25rem, 10.5vw, 3rem); }
  .hero-copy { font-size: 1rem; }
  .trust-grid, .stat-grid, .fit-grid, .amenity-grid, .college-grid, .faq-grid { grid-template-columns: 1fr; }
  .property-card, .detail-card, .contact-panel, .form-card { padding: 22px; }
  .property-top, .property-footer { align-items: flex-start; flex-direction: column; }
  .hero-actions, .cta-actions, .contact-actions, .map-actions, .button-row { width: 100%; }
  .hero-actions .btn, .cta-actions .btn, .contact-actions .btn, .map-actions .btn, .button-row .btn, .form-card .btn { width: 100%; }
}
