/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Noto+Sans:wght@400;600&display=swap');

/* ── CSS Variables ── */
:root {
  --saffron:   #E87722;
  --saffron-d: #C5611A;
  --green:     #2E7D32;
  --green-d:   #1B5E20;
  --green-l:   #4CAF50;
  --light-bg:  #FFF8F0;
  --white:     #FFFFFF;
  --text:      #212121;
  --text-light:#555555;
  --border:    #E0D5C8;
  --shadow:    0 2px 12px rgba(0,0,0,0.12);
}

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

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-d);
  text-align: center;
  margin-bottom: 0.3rem;
}
.section-subtitle {
  text-align: center;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}
.divider {
  width: 60px;
  height: 4px;
  background: var(--saffron);
  border-radius: 2px;
  margin: 0.5rem auto 2rem;
}
.btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
}
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: var(--saffron-d); transform: translateY(-1px); }
.btn-secondary { background: var(--green); color: #fff; }
.btn-secondary:hover { background: var(--green-d); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--saffron); }

/* ── TOP HEADER ── */
.site-header {
  background: var(--saffron);
  color: #fff;
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.header-logo {
  max-width: 100%;
  
  height: auto;
  object-fit: contain;
  
  border-radius: 6px;
  padding: 4px 10px;
  flex-shrink: 0;
}
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  margin-top:30px;
}
.header-contact a {
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
}
.header-contact .phone {
  font-size: 1.05rem;
  font-weight: 700;
}

/* ── NAVIGATION ── */
.navbar {
  background: var(--green-d);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { background: var(--saffron); }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ── PAGE BANNER ── */
.page-banner {
  background: linear-gradient(135deg, var(--green-d) 0%, var(--saffron-d) 100%);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}
.page-banner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-banner .breadcrumb {
  font-size: 0.9rem;
  opacity: 0.85;
}
.page-banner .breadcrumb a { color: #fff; }
.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* ══════════════════════════════════
   HOME PAGE
══════════════════════════════════ */

/* Hero Slider */
.hero {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: #111;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}
.hero-overlay h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
  max-width: 800px;
}
.hero-overlay p {
  margin: 14px 0 24px;
  font-size: 1.15rem;
  max-width: 620px;
  opacity: 0.93;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dots span.active { background: var(--saffron); }

/* Notice Ticker */
.notice-bar {
  background: var(--green-d);
  color: #fff;
  padding: 9px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.notice-label {
  background: var(--saffron);
  padding: 2px 16px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-items {
  display: inline-flex;
  gap: 60px;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
  font-size: 0.88rem;
}
@keyframes ticker {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* Welcome */
.welcome { padding: 70px 0 50px; background: var(--light-bg); }
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 2rem;
}
.welcome-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.welcome-img img { border-radius: 8px; box-shadow: var(--shadow); }

/* Feature Cards */
.features { padding: 60px 0; background: #fff; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
}
.card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--green-d);
  margin-bottom: 10px;
}
.card p { color: var(--text-light); font-size: 0.93rem; line-height: 1.7; }

/* CTA Strip */
.cta-strip {
  background: linear-gradient(90deg, var(--green-d) 0%, var(--saffron-d) 100%);
  padding: 50px 20px;
  text-align: center;
  color: #fff;
}
.cta-strip h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.cta-strip p { opacity: 0.9; margin-bottom: 24px; }
.cta-strip .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════
   ABOUT PAGE
══════════════════════════════════ */
.about-section { padding: 60px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}
.about-content h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--saffron-d);
  font-size: 1.15rem;
  margin: 24px 0 8px;
}
.about-content p { color: var(--text-light); line-height: 1.85; margin-bottom: 14px; }
.about-content .address-block {
  background: var(--light-bg);
  border-left: 4px solid var(--saffron);
  padding: 16px 20px;
  margin: 10px 0 20px;
  border-radius: 0 6px 6px 0;
}
.about-content .address-block p { margin: 2px 0; color: var(--text); }
.about-img img { border-radius: 8px; box-shadow: var(--shadow); margin-bottom: 16px; }
.info-badge {
  background: var(--green-d);
  color: #fff;
  border-radius: 8px;
  padding: 20px;
  font-size: 0.9rem;
}
.info-badge p { margin: 6px 0; color: #fff; opacity: 0.95; }
.info-badge strong { display: block; font-size: 1rem; margin-bottom: 4px; }

/* ══════════════════════════════════
   COURSES PAGE
══════════════════════════════════ */
.courses-section { padding: 60px 0; }
.course-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
}
.course-card h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--green-d);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.course-card .course-badge {
  display: inline-block;
  background: var(--saffron);
  color: #fff;
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.course-meta-item .meta-icon {
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.course-meta-item span { color: var(--text-light); }
.course-meta-item strong { color: var(--text); }
.course-card h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--saffron-d);
  margin: 20px 0 10px;
  font-size: 1rem;
}
.course-card ul { padding-left: 20px; list-style: disc; }
.course-card ul li { color: var(--text-light); margin-bottom: 6px; line-height: 1.6; }
.curriculum-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.curriculum-table th {
  background: var(--green-d);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}
.curriculum-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light); }
.curriculum-table tr:nth-child(even) td { background: #f5f0e8; }

/* ══════════════════════════════════
   COMMITTEES PAGE
══════════════════════════════════ */
.committees-section { padding: 60px 0; }
.committee-block { margin-bottom: 48px; }
.committee-block h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--green-d);
  font-size: 1.3rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--saffron);
}
.committee-table { width: 100%; border-collapse: collapse; }
.committee-table th {
  background: var(--saffron);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}
.committee-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light); }
.committee-table tr:nth-child(even) td { background: var(--light-bg); }
.committee-table tr:hover td { background: #fceee0; }

/* ══════════════════════════════════
   FEE STRUCTURE PAGE
══════════════════════════════════ */
.fee-section { padding: 60px 0; }
.fee-note {
  background: #FFF3CD;
  border: 1px solid #FFECB5;
  border-left: 4px solid var(--saffron);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: #856404;
  margin-bottom: 28px;
}
.fee-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.fee-table th {
  background: var(--green-d);
  color: #fff;
  padding: 13px 16px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}
.fee-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light); }
.fee-table tr:nth-child(even) td { background: var(--light-bg); }
.fee-table .total-row td {
  background: var(--saffron);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
}

/* ══════════════════════════════════
   GALLERY PAGE
══════════════════════════════════ */
.gallery-section { padding: 60px 0; }
.gallery-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 8px 22px;
  border: 2px solid var(--saffron);
  border-radius: 24px;
  background: transparent;
  color: var(--saffron);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab-btn.active,
.tab-btn:hover { background: var(--saffron); color: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-more {
  text-align: center;
  margin-top: 30px;
  color: var(--text-light);
  font-style: italic;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}

/* ══════════════════════════════════
   GRIEVANCES PAGE
══════════════════════════════════ */
.grievances-section { padding: 60px 0; }
.grievance-intro {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 36px;
}
.grievance-intro h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--green-d);
  margin-bottom: 10px;
}
.grievance-intro p { color: var(--text-light); line-height: 1.7; }
.grievance-intro .committee-contact {
  margin-top: 16px;
  padding: 14px;
  background: #fff;
  border-radius: 6px;
  border-left: 4px solid var(--saffron);
  font-size: 0.9rem;
  color: var(--text);
}
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-card h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--green-d);
  font-size: 1.25rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group label .req { color: #e53935; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--light-bg);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--saffron);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group .error-msg {
  color: #e53935;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #e53935; }
.form-group.has-error .error-msg { display: block; }
.form-submit { text-align: center; margin-top: 10px; }
.form-submit .btn { padding: 12px 40px; font-size: 1rem; }
.alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 600;
  display: none;
}
.alert.success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; display: block; }
.alert.error   { background: #FFEBEE; color: #c62828; border: 1px solid #FFCDD2; display: block; }

/* ══════════════════════════════════
   CONTACT PAGE
══════════════════════════════════ */
.contact-section { padding: 60px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--green-d);
  margin-bottom: 22px;
  font-size: 1.3rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-icon {
  background: var(--saffron);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--green-d);
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.contact-item p, .contact-item a {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}
.contact-item a:hover { color: var(--saffron); }
.map-embed { margin-top: 28px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 300px; border: none; display: block; }
.contact-form h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--green-d);
  margin-bottom: 22px;
  font-size: 1.3rem;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--saffron);
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #333;
}
.footer-col p { font-size: 0.88rem; line-height: 1.8; color: #aaa; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: #aaa;
  font-size: 0.88rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--saffron); }
.footer-col ul li a::before { content: '›'; color: var(--saffron); font-size: 1.1rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.footer-contact-item .icon { color: var(--saffron); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: #aaa; }
.footer-contact-item a:hover { color: var(--saffron); }
.footer-bottom {
  background: #111;
  text-align: center;
  padding: 16px 20px;
  font-size: 0.82rem;
  color: #666;
  border-top: 1px solid #2a2a2a;
}
.footer-bottom a { color: var(--saffron); }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 992px) {
  .header-logo { max-width: 340px; }
  .hero { height: 400px; }
  .hero-overlay h2 { font-size: 1.9rem; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .welcome-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-contact a { font-size: 0.82rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--green-d);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hamburger { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .hero { height: 320px; }
  .hero-overlay h2 { font-size: 1.4rem; }
  .hero-overlay p { font-size: 0.95rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
  .page-banner h2 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .committee-table, .fee-table, .curriculum-table { font-size: 0.82rem; }
  .committee-table th, .committee-table td,
  .fee-table th, .fee-table td,
  .curriculum-table th, .curriculum-table td { padding: 9px 10px; }
}

@media (max-width: 480px) {
  .header-inner { flex-direction: column; align-items: center; }
  .header-logo { max-width: 300px; }
  .header-contact { align-items: center; }
  .hero { height: 260px; }
  .hero-overlay h2 { font-size: 1.1rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 16px; }
  .course-meta { flex-direction: column; gap: 12px; }
}
