/* ── CSS Variables ────────────────────────────────────── */
:root {
  --navy:      #292275;
  --green:     #028f3e;
  --orange:    #a83705;
  --white:     #ffffff;
  --black:     #000000;
  --offwhite:  #FAFAF8;
  --gray-100:  #f5f5f5;
  --gray-200:  #e5e5e5;
  --gray-500:  #6b7280;
  --gray-700:  #374151;
  --green-10:  rgba(2,143,62,0.10);
  --navy-10:   rgba(41,34,117,0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius:    8px;
  --radius-lg: 16px;
  --font:      'Outfit', sans-serif;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilities ────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.bg-offwhite { background: var(--offwhite); }
.bg-navy     { background: var(--navy); }

.section-tag {
  display: inline-block;
  background: var(--green-10);
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-tag-light {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 700; color: var(--navy); margin-top: 8px; }
.section-cta { text-align: center; margin-top: 40px; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: 2px solid transparent;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-green  { background: var(--green);  color: var(--white); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-navy   { background: var(--navy);   color: var(--white); }
.btn-outline-green { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline-green:hover { background: var(--green); color: var(--white); }
.btn-outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ── Topbar ───────────────────────────────────────────── */
.topbar { background: var(--navy); color: #c8c4f0; font-size: .8rem; }
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #c8c4f0; transition: color .2s; }
.topbar a:hover { color: var(--white); }
.topbar i { margin-right: 5px; }
.topbar-right a { font-size: .85rem; }

/* ── Navbar ───────────────────────────────────────────── */
.main-nav {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 1000;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo { flex-shrink: 0; padding: 4px 0; display: flex; align-items: center; gap: 10px; }
.nav-logo-icon { height: 56px; width: auto; }
.nav-logo-name { height: 44px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto; flex-wrap: nowrap;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 14px 12px;
  font-weight: 500; font-size: .88rem;
  color: var(--gray-700);
  transition: color .2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--green); }
.nav-links > li > a .fa { font-size: .65rem; margin-left: 3px; }

/* Dropdown */
.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 200px;
  border-top: 3px solid var(--green);
  z-index: 100;
}
.dropdown li a {
  display: block; padding: 11px 18px;
  font-size: .875rem; color: var(--gray-700);
  transition: background .15s, color .15s;
}
.dropdown li a:hover { background: var(--green-10); color: var(--green); }

/* Apply Now CTA in nav */
.nav-cta { margin-left: 8px; }
.btn-apply {
  background: var(--green); color: var(--white);
  padding: 9px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: .85rem;
  transition: opacity .2s;
  white-space: nowrap;
}
.btn-apply:hover { opacity: .88; }

/* Burger */
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-burger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; height: 90vh; min-height: 540px; overflow: hidden; }
.hero-slider, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(41,34,117,.6) 0%, rgba(0,0,0,.5) 100%); }
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--white); padding: 24px;
}
.hero-tagline { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #f0c080; margin-bottom: 12px; font-weight: 500; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.hero-sub { font-size: 1.1rem; opacity: .85; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: background .3s;
}
.dot.active { background: var(--white); }

/* ── Stats Bar ────────────────────────────────────────── */
.stats-bar { background: var(--navy); color: var(--white); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 8px 16px; border-right: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-right: none; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: #f0c080; }
.stat-label { font-size: .8rem; opacity: .75; margin-top: 2px; }

/* ── About Snippet ────────────────────────────────────── */
.about-snippet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-text h2 { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin: 12px 0 16px; }
.about-text p { color: var(--gray-700); margin-bottom: 16px; }
.about-motto { color: var(--green); font-style: italic; font-weight: 500; }
.about-motto .fa { color: var(--orange); margin-right: 6px; }

/* ── Admissions Band ──────────────────────────────────── */
.admissions-band { background: var(--green); color: var(--white); padding: 48px 0; }
.admissions-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.admissions-band h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.admissions-band p { opacity: .85; }

/* ── Blog Cards ───────────────────────────────────────── */
.blog-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px; }
.blog-cat {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.blog-cat-news        { background: rgba(2,143,62,.12);   color: var(--green); }
.blog-cat-article     { background: rgba(41,34,117,.10);  color: var(--navy);  }
.blog-cat-achievement { background: rgba(168,55,5,.12);   color: var(--orange);}
.blog-card-body h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h3 a:hover { color: var(--green); }
.blog-excerpt { font-size: .875rem; color: var(--gray-500); margin-bottom: 12px; }
.blog-date { font-size: .78rem; color: var(--gray-500); }
.blog-date i { margin-right: 4px; }

/* ── Events ───────────────────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: 16px; max-width: 700px; margin: 0 auto; }
.event-item { display: flex; gap: 20px; align-items: flex-start; background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border-left: 4px solid var(--green); }
.event-date-box { text-align: center; min-width: 52px; }
.event-day   { display: block; font-size: 1.6rem; font-weight: 800; color: var(--orange); line-height: 1; }
.event-month { display: block; font-size: .75rem; text-transform: uppercase; color: var(--gray-500); }
.event-info h4 { font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.event-info p  { font-size: .85rem; color: var(--gray-500); }

/* ── Gallery Grid ─────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-thumb { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-thumb:hover img { transform: scale(1.06); }
.gallery-thumb-placeholder { width: 100%; height: 100%; background: var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--gray-500); }
.gallery-album-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: var(--white); font-size: .85rem; font-weight: 500;
  padding: 20px 12px 12px;
}

/* ── Achievements Band ────────────────────────────────── */
.achievements-band { padding: 72px 0; }
.achievements-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.achievements-text h2 { font-size: 1.8rem; font-weight: 700; color: var(--white); margin: 12px 0 16px; }
.achievements-text p  { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.achievements-icons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ach-icon { text-align: center; }
.ach-icon i { font-size: 2rem; color: #f0c080; margin-bottom: 8px; display: block; }
.ach-icon span { color: rgba(255,255,255,.75); font-size: .85rem; }

/* ── Contact CTA ──────────────────────────────────────── */
.contact-cta { text-align: center; }
.contact-cta-inner h2 { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.contact-cta-inner p  { color: var(--gray-500); margin-bottom: 24px; }

/* ── Footer ───────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-main { padding: 64px 0 40px; max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-tagline { font-style: italic; color: #f0c080; margin: 8px 0; font-size: .9rem; }
.footer-desc { font-size: .85rem; margin-bottom: 16px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: 16px; letter-spacing: .04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact p { font-size: .85rem; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact p i { margin-top: 3px; color: var(--green); flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.75); transition: color .2s; }
.footer-contact a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: background .2s; }
.footer-social a:hover { background: var(--green); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 24px; max-width: 1180px; margin: 0 auto; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: var(--white); }

/* ── WhatsApp Float ───────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 52px; height: 52px; background: #25d366; color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── Cookie Banner ────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy); color: rgba(255,255,255,.85);
  padding: 16px 24px; display: flex; align-items: center; justify-content: center;
  gap: 20px; font-size: .875rem; flex-wrap: wrap;
}
.cookie-banner a { color: #a8d4ff; text-decoration: underline; }
.btn-cookie { background: var(--green); color: var(--white); border: none; padding: 8px 20px; border-radius: var(--radius); font-weight: 600; cursor: pointer; }

/* ── Page Hero (inner pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a145a 100%);
  color: var(--white); padding: 64px 0 48px; text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; }
.page-hero p  { opacity: .75; margin-top: 8px; }
.breadcrumb { font-size: .8rem; opacity: .6; margin-top: 12px; }
.breadcrumb a { color: var(--white); }
.breadcrumb span { margin: 0 6px; }

/* ── Blog Post ────────────────────────────────────────── */
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; max-width: 1100px; margin: 0 auto; padding: 64px 24px; }
.post-content h1 { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.post-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 32px; aspect-ratio: 16/9; object-fit: cover; }
.post-body { font-size: 1rem; line-height: 1.9; color: var(--gray-700); }
.post-body h2,h3 { color: var(--navy); margin: 32px 0 12px; }
.post-body p { margin-bottom: 16px; }
.post-body img { border-radius: var(--radius); margin: 16px 0; }
.post-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; font-size: .85rem; color: var(--gray-500); }
.post-sidebar { }
.post-sidebar h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; border-bottom: 2px solid var(--green); padding-bottom: 8px; }

/* ── Forms ────────────────────────────────────────────── */
.form-section { max-width: 680px; margin: 0 auto; padding: 64px 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; color: var(--gray-700); }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-family: var(--font); font-size: .95rem;
  transition: border-color .2s;
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-submit { margin-top: 8px; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: .9rem; }
.alert-success { background: rgba(2,143,62,.1); color: var(--green); border: 1px solid rgba(2,143,62,.2); }
.alert-error   { background: rgba(168,55,5,.1);  color: var(--orange); border: 1px solid rgba(168,55,5,.2); }

/* ── Faculty Grid ─────────────────────────────────────── */
.faculty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.faculty-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; text-align: center; padding: 28px 16px; }
.faculty-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--green-10); }
.faculty-photo-placeholder { width: 96px; height: 96px; border-radius: 50%; background: var(--green-10); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 2rem; color: var(--green); }
.faculty-card h4 { font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.faculty-card .designation { font-size: .85rem; color: var(--green); font-weight: 500; margin-bottom: 4px; }
.faculty-card .subject { font-size: .8rem; color: var(--gray-500); }

/* ── Disclosure ───────────────────────────────────────── */
.disclosure-section { max-width: 900px; margin: 0 auto; padding: 64px 24px; }
.disclosure-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.disclosure-table th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; font-size: .875rem; }
.disclosure-table td { padding: 11px 16px; border-bottom: 1px solid var(--gray-200); font-size: .875rem; }
.disclosure-table tr:hover td { background: var(--offwhite); }
.doc-download { color: var(--green); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.doc-download:hover { color: var(--orange); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-snippet-grid, .achievements-band-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-img { order: -1; }
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .blog-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-lg); padding: 16px 0; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px 24px; }
  .dropdown { position: static; box-shadow: none; border-top: none; padding-left: 16px; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-burger { display: flex; }
  .nav-inner { flex-wrap: wrap; position: relative; }
  .topbar-left { flex-wrap: wrap; gap: 10px; }
  .admissions-band-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero { height: 70vh; }
  .hero-content h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
