/* Navodaya IAS Academy — clean professional theme */

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #1a1f2e;
  --muted: #5c6578;
  --line: #e4e7ed;
  --navy: #1e3a5f;
  --navy-deep: #152a45;
  --gold: #b8952c;
  --gold-light: #c9a83a;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(21, 42, 69, 0.06);
  --shadow-md: 0 8px 28px rgba(21, 42, 69, 0.1);
  --max: 1100px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Poppins", "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* NAV */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }

.logo-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  background: var(--navy);
  flex-shrink: 0;
}

.logo-circle img { width: 100%; height: 100%; object-fit: cover; }

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text .main { font-weight: 700; font-size: 0.98rem; color: var(--navy); }
.logo-text .sub { font-size: 0.6rem; font-weight: 500; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }

.nav-links { display: none; align-items: center; gap: 0.1rem; }

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.86rem;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  transition: 0.15s ease;
}

.nav-links a:hover { color: var(--navy); background: rgba(30,58,95,0.05); }
.nav-links a.active { color: var(--gold); font-weight: 600; }

.nav-cta {
  display: none;
  background: var(--navy);
  color: #fff !important;
  padding: 0.48rem 1.1rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.84rem;
  transition: 0.15s ease;
}
.nav-cta:hover { background: var(--navy-deep); }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: transparent;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.25s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links.mobile-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 0.6rem 1.25rem 1.1rem; gap: 0.1rem;
  box-shadow: 0 10px 24px rgba(21,42,69,0.08);
}
.nav-links.mobile-open a { padding: 0.7rem 0.8rem; color: var(--ink); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.68rem 1.3rem; border-radius: 7px;
  font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer;
  transition: 0.15s ease; font-family: inherit;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: rgba(30,58,95,0.05); }
.btn-block { width: 100%; }

/* HERO */
.hero {
  padding: 2.5rem 0 2.75rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-container {
  max-width: var(--max); margin: 0 auto; padding: 0 1.25rem;
  display: flex; flex-direction: column; gap: 2rem; align-items: center;
}

.hero-content { text-align: center; max-width: 520px; }

.hero-tagline {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  color: var(--navy); background: rgba(30,58,95,0.06);
  padding: 0.28rem 0.85rem; border-radius: 5px; margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(1.55rem, 4.8vw, 2.25rem);
  font-weight: 700; line-height: 1.28; color: var(--navy); margin-bottom: 0.75rem;
}
.hero h1 .gold { color: var(--gold); }

.hero-desc { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.35rem; }

.hero-stats {
  display: flex; justify-content: center; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 1.35rem;
}
.stat-num { font-size: 1.4rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat-label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }

.hero-image { position: relative; width: 100%; max-width: 300px; }
.hero-image img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.floating-badge {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  font-size: 0.72rem; font-weight: 600; padding: 0.35rem 0.9rem;
  border-radius: 6px; white-space: nowrap; box-shadow: var(--shadow);
}

/* QUICK LINKS */
.quick-links { padding: 1.75rem 0 0.25rem; }
.quick-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.quick-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 0.75rem; text-align: center;
  transition: 0.15s ease;
}
.quick-card:hover { border-color: rgba(184,149,44,0.4); box-shadow: var(--shadow); }
.quick-card .icon { font-size: 1.25rem; margin-bottom: 0.3rem; }
.quick-card h3 { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.1rem; }
.quick-card p { font-size: 0.7rem; color: var(--muted); }

/* SECTIONS */
section { padding: 3rem 0; }

.section-header { text-align: center; margin-bottom: 2rem; }
.section-header h2 {
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 700; color: var(--navy); margin-bottom: 0.4rem;
}
.section-header h2 span { color: var(--gold); }
.section-divider {
  width: 40px; height: 3px; background: var(--gold);
  margin: 0 auto 0.75rem; border-radius: 2px;
}
.section-header p { color: var(--muted); font-size: 0.92rem; max-width: 460px; margin: 0 auto; }

/* PAGE HERO */
.page-hero {
  padding: 2.25rem 0 2rem; text-align: center;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.45rem, 3.8vw, 1.95rem);
  font-weight: 700; color: var(--navy); margin-bottom: 0.4rem;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--muted); font-size: 0.92rem; max-width: 460px; margin: 0 auto; }

.breadcrumb {
  display: flex; justify-content: center; gap: 0.35rem;
  font-size: 0.78rem; color: var(--muted); margin-bottom: 0.85rem;
}
.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold); }

/* ABOUT */
.about-grid { display: grid; gap: 1.75rem; align-items: center; }
.about-content h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: 0.7rem; color: var(--navy); }
.about-content p { color: var(--muted); margin-bottom: 1rem; font-size: 0.93rem; }
.features-list { display: grid; gap: 0.55rem; }
.features-list li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.9rem; color: var(--ink);
}
.features-list li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.about-image img {
  border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line);
}

/* WHY CARDS */
.why-grid { display: grid; gap: 1rem; }
.why-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.15rem; transition: 0.15s ease;
}
.why-card:hover { border-color: rgba(184,149,44,0.35); box-shadow: var(--shadow); }
.why-card .icon {
  width: 42px; height: 42px; background: rgba(30,58,95,0.06);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 0.75rem;
}
.why-card h3 { font-size: 1rem; font-weight: 650; margin-bottom: 0.35rem; color: var(--navy); }
.why-card p { color: var(--muted); font-size: 0.86rem; }

/* COURSES */
.courses-grid { display: grid; gap: 1rem; }
.course-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.15rem;
  position: relative; overflow: hidden; transition: 0.15s ease;
}
.course-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--gold); opacity: 0; transition: 0.15s;
}
.course-card:hover {
  border-color: rgba(184,149,44,0.35); box-shadow: var(--shadow);
}
.course-card:hover::before { opacity: 1; }
.course-icon { font-size: 1.5rem; margin-bottom: 0.55rem; }
.course-card h3 { font-size: 1rem; font-weight: 650; margin-bottom: 0.35rem; color: var(--navy); }
.course-card p { color: var(--muted); font-size: 0.86rem; }

/* FACULTY */
.faculty-photo-wrap {
  max-width: 680px; margin: 0 auto 1.5rem;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.faculty-photo-wrap img { width: 100%; }

.faculty-names {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem;
}
.faculty-name-tag {
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.5rem 0.95rem; border-radius: 20px; font-size: 0.84rem;
  transition: 0.15s;
}
.faculty-name-tag strong { color: var(--navy); }
.faculty-name-tag:hover { border-color: var(--gold); }

.faculty-cards { display: grid; gap: 1rem; margin-top: 1.75rem; }
.faculty-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.1rem; text-align: center;
  transition: 0.15s;
}
.faculty-card:hover { border-color: rgba(184,149,44,0.35); box-shadow: var(--shadow); }
.faculty-card .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(30,58,95,0.08); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.7rem; font-size: 1.2rem; font-weight: 700; color: var(--navy);
}
.faculty-card h3 { font-size: 1rem; font-weight: 650; margin-bottom: 0.2rem; color: var(--navy); }
.faculty-card .subject { color: var(--gold); font-size: 0.82rem; font-weight: 500; }

/* SELECTIONS — full photos, no crop */
.selections-grid { display: grid; gap: 1rem; }
.selection-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.selection-card img {
  width: 100%; height: auto; object-fit: contain;
  display: block; background: #f0f1f4;
}
.selection-card .caption {
  padding: 0.75rem 1rem; font-size: 0.85rem; font-weight: 550;
  color: var(--navy); text-align: center; border-top: 1px solid var(--line);
}

/* VIDEO */
.video-wrapper {
  max-width: 720px; margin: 0 auto; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: #000;
  box-shadow: var(--shadow-md);
}
.video-wrapper video { width: 100%; display: block; }
.video-cta { text-align: center; margin-top: 1.5rem; }

/* CONTACT */
.contact-grid { display: grid; gap: 1.75rem; }
.contact-info h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: 1.1rem; color: var(--navy); }
.contact-item { display: flex; gap: 0.8rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-item .icon {
  width: 38px; height: 38px; background: rgba(30,58,95,0.06);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item h4 { font-size: 0.84rem; font-weight: 600; margin-bottom: 0.1rem; color: var(--navy); }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.88rem; }
.contact-item a:hover { color: var(--navy); }

.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  min-height: 260px; margin-top: 0.5rem;
}
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

.enquiry-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.25rem; box-shadow: var(--shadow);
}
.enquiry-form h3 { font-size: 1.1rem; font-weight: 650; margin-bottom: 0.3rem; color: var(--navy); }
.enquiry-form > p { color: var(--muted); font-size: 0.86rem; margin-bottom: 1.2rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 500;
  margin-bottom: 0.35rem; color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.7rem 0.9rem; border-radius: 7px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-family: inherit; font-size: 0.9rem; outline: none; transition: 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e3a5f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem;
}
.form-group textarea { min-height: 90px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9aa3b2; }

/* FOOTER */
footer {
  margin-top: auto;
  background: var(--navy-deep);
  padding: 2.5rem 0 0;
}
.footer-content {
  max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 1.75rem;
  display: grid; gap: 1.75rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-brand .logo-circle { width: 48px; height: 48px; border-color: var(--gold-light); }
.footer-brand p { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.55; }
.footer-brand strong { color: #fff; }
.footer-links h4 { font-size: 0.9rem; font-weight: 650; margin-bottom: 0.7rem; color: var(--gold-light); }
.footer-links ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.86rem; transition: 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.25rem; text-align: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem;
  width: 52px; height: 52px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35); z-index: 999;
  transition: 0.15s;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* RESPONSIVE */
@media (min-width: 640px) {
  .quick-links-grid { grid-template-columns: repeat(4, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .selections-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1.3fr 1fr 1fr; }
  .map-embed iframe { height: 300px; }
}

@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hero-container { flex-direction: row; text-align: left; gap: 2.5rem; }
  .hero-content { text-align: left; flex: 1; }
  .hero-stats { justify-content: flex-start; }
  .hero-btns { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .faculty-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .selections-grid { grid-template-columns: repeat(3, 1fr); }
}
