/* ==========================================================
   Pt. Kanhaiya Lal Mishra Vidhi Mahavidyalaya — Shared Styles
========================================================== */

:root {
  --maroon: #7a0c14;
  --red: #a3121a;
  --red-dark: #5c0a10;
  --black: #1a1a1a;
  --white: #ffffff;
  --off-white: #f7f4f1;
  --gold: #c9a24b;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--off-white);
  color: var(--black);
}

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- Top utility bar ---------- */
.top-bar {
  background: var(--black);
  color: var(--off-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  padding: 6px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 0.3px;
}

/* ---------- Branding bar ---------- */
.branding-bar {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  border-bottom: 4px solid var(--red);
  padding: 18px 20px;
}

.branding-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  flex-wrap: wrap;
}

.emblem {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: bold;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.branding-text h1 {
  color: var(--red-dark);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.branding-text p.sub-line {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  font-size: 0.95rem;
  margin-top: 4px;
  font-weight: 600;
}

.branding-text p.bci-line {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--red);
  font-size: 0.9rem;
  margin-top: 2px;
  font-weight: 700;
}

/* ---------- Main Navbar ---------- */
.main-navbar {
  background: var(--red);
  position: relative;
  z-index: 500;
}

.main-navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 12px 20px;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 14px 20px;
  color: var(--white);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.nav-menu > li > a i { font-size: 0.65rem; margin-left: 5px; }

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  background: var(--red-dark);
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 270px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  border-top: 3px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
  z-index: 600;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  color: var(--black);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  border-bottom: 1px solid #eee;
  transition: all 0.15s ease;
}

.dropdown-menu li:last-child a { border-bottom: none; }

.dropdown-menu li a:hover {
  background: var(--off-white);
  color: var(--red);
  padding-left: 24px;
}

@media (max-width: 900px) {
  .main-navbar .container { justify-content: space-between; padding: 0 10px; }
  .menu-toggle { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--red);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  }
  .nav-menu.active { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { padding: 14px 20px; }
  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    min-width: 100%;
    background: var(--off-white);
  }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown:hover .dropdown-menu { opacity: 1; visibility: hidden; }
  .dropdown.open .dropdown-menu { visibility: visible; }
}

/* ---------- Hero (home page) ---------- */
/* slider-4 / slider-4-mobile are complete, purpose-built hero banners (headline,
   tagline and icon badges already composed into the artwork, with a dedicated
   portrait crop for phones) — shown at full, uncropped, natural aspect ratio
   rather than force-fit into a fixed-height box. */
.hero {
  width: 100%;
  line-height: 0;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Floating social buttons ---------- */
.floating-social-right,
.floating-social-left {
  position: fixed;
  bottom: 26px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-social-right { right: 22px; }
.floating-social-left { left: 22px; }

.floating-social-right a,
.floating-social-left a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-social-right a:hover,
.floating-social-left a:hover { transform: scale(1.1); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }

.floating-social-right a.fb,
.floating-social-left a.fb { background: #1877f2; }
.floating-social-right a.mail,
.floating-social-left a.mail { background: var(--red); }
.floating-social-right a.whatsapp,
.floating-social-left a.whatsapp { background: #25d366; }

@media (max-width: 640px) {
  .floating-social-right { right: 14px; bottom: 16px; gap: 10px; }
  .floating-social-left { left: 14px; bottom: 16px; gap: 10px; }
  .floating-social-right a,
  .floating-social-left a { width: 46px; height: 46px; font-size: 1.15rem; }
}

/* ---------- Admission ticker ---------- */
.admission-ticker {
  background: var(--red);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
  white-space: nowrap;
  padding: 11px 0;
}

.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 22s linear infinite;
}

.ticker-group {
  display: inline-flex;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 60px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  letter-spacing: 0.3px;
}

.ticker-item i { color: var(--gold); }

.ticker-item a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 800;
}

.ticker-item a:hover { color: var(--gold); }

.admission-ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Inner page banner ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: 46px 20px;
  text-align: center;
}

.page-banner h1 {
  font-size: 1.9rem;
  letter-spacing: 0.4px;
}

.page-banner .breadcrumb {
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  color: var(--off-white);
}

.page-banner .breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* ---------- Page content ---------- */
.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px 60px;
  line-height: 1.85;
}

.page-content h2 {
  color: var(--red-dark);
  margin: 26px 0 14px;
  font-size: 1.35rem;
  border-left: 4px solid var(--red);
  padding-left: 10px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  margin-bottom: 16px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  font-size: 0.98rem;
}

.page-content ul, .page-content ol {
  margin: 0 0 16px 22px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  font-size: 0.98rem;
}

.page-content li { margin-bottom: 8px; }

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
}

.page-content table th,
.page-content table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}

.page-content table th {
  background: var(--red);
  color: var(--white);
}

.page-content table tr:nth-child(even) { background: #faf5f0; }

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid #ece4da;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  color: #333;
  line-height: 1.7;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.info-box::before {
  content: "\f05a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Course cards ---------- */
.courses-grid {
  display: grid;
  gap: 20px;
  margin: 20px 0 28px;
}

.course-card {
  background: var(--white);
  border: 1px solid #ece4da;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.course-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: 18px 20px;
  flex-wrap: wrap;
}

.course-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
}

.course-card-header h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--white);
}

.course-meta { display: flex; flex-wrap: wrap; gap: 10px; }

.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 11px;
  border-radius: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.course-meta span i { color: var(--gold); }

.course-card-body { padding: 4px 20px 16px; }

.course-section { border-bottom: 1px solid #f1ebe2; }
.course-section:last-child { border-bottom: none; }

.course-section summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--red-dark);
  transition: color 0.2s ease;
}

.course-section summary::-webkit-details-marker { display: none; }

.course-section summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.82rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.course-section[open] summary::after { transform: rotate(180deg); }

.course-section summary:hover { color: var(--red); }

.course-section-content {
  padding: 4px 4px 24px;
  animation: course-fade 0.25s ease;
}

@keyframes course-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.course-section-content h4 {
  color: var(--red-dark);
  font-size: 1rem;
  margin: 20px 0 10px;
}

.course-section-content h4:first-child { margin-top: 0; }
.course-section-content table { margin-bottom: 18px; }

.course-section-content > p:last-child,
.course-section-content > .info-box:last-child,
.course-section-content > table:last-child { margin-bottom: 0; }

.course-card.coming-soon {
  border: 2px dashed #d9cdbe;
  background: var(--off-white);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 28px;
  min-height: 160px;
}

.course-card.coming-soon i { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; }
.course-card.coming-soon h4 { color: #888; font-size: 1.05rem; margin-bottom: 6px; }
.course-card.coming-soon p {
  font-family: Arial, Helvetica, sans-serif;
  color: #999;
  font-size: 0.88rem;
}

/* ---------- Action cards (donation, request, CTA-style cards) ---------- */
.action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 22px;
}

.action-card {
  background: var(--white);
  border: 1px solid #ece4da;
  border-radius: 12px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  border-color: var(--gold);
}

.action-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 0 4px var(--off-white), 0 0 0 5px var(--gold), 0 8px 18px rgba(163,18,26,0.25);
}

.action-card h4 {
  color: var(--red-dark);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.action-card p {
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.action-card .btn-outline { width: 100%; text-align: center; }

/* ---------- Leadership messages (Principal / Chairman) ---------- */
.message-block {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #ece4da;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.message-photo {
  width: 170px;
  height: 170px;
  min-width: 170px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}

.message-photo img { width: 100%; height: 100%; object-fit: cover; }

.message-photo.placeholder {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  box-shadow: 0 0 0 4px var(--off-white), 0 0 0 5px var(--gold), 0 8px 18px rgba(163,18,26,0.25);
}

.message-text h2 {
  margin: 0 0 4px;
  border: none;
  padding: 0;
}

.message-role {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(163,18,26,0.07);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.message-signoff {
  margin-top: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--red-dark);
  line-height: 1.5;
}

.message-signoff span {
  display: block;
  font-weight: 400;
  color: #666;
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .message-block { flex-direction: column; align-items: center; text-align: center; padding: 26px 20px; }
  .message-photo { width: 140px; height: 140px; min-width: 140px; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  border: 3px solid var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Map embed ---------- */
.map-embed-wrap {
  border-radius: 4px;
  overflow: hidden;
  border: 4px solid var(--white);
  outline: 2px solid var(--gold);
  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
  margin-bottom: 22px;
}

.map-embed-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.contact-detail-card {
  background: var(--white);
  border: 1px solid #ece4da;
  border-radius: 10px;
  padding: 22px 20px;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.1);
  border-color: var(--gold);
}

.contact-detail-card i {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-card h4 {
  color: var(--red-dark);
  font-size: 0.85rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.contact-detail-card p, .contact-detail-card a {
  font-size: 0.92rem;
  color: #333;
  text-decoration: none;
  line-height: 1.6;
}

.contact-detail-card a:hover { color: var(--red); text-decoration: underline; }

/* ---------- Section title (shared by homepage sections) ---------- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  color: var(--red-dark);
  font-size: 1.8rem;
  text-align: center;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--gold);
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  font-size: 0.95rem;
}

/* ---------- Notices & Announcements ---------- */
.notice-section { background: var(--off-white); border-top: 1px solid #e8e0d8; border-bottom: 1px solid #e8e0d8; }

.notice-list { display: flex; flex-direction: column; gap: 14px; max-width: 850px; margin: 0 auto; }

.notice-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid #ece4da;
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  font-family: Arial, Helvetica, sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.notice-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.09);
  border-left-color: var(--gold);
}

.notice-date {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 8px rgba(163,18,26,0.28);
}

.notice-text { font-size: 0.93rem; color: #333; line-height: 1.5; }

.notice-cta { text-align: center; margin-top: 30px; }

/* ---------- Homepage About Us section ---------- */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
  border: 4px solid var(--white);
  outline: 2px solid var(--gold);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-text .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-text .section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.about-text h2 {
  color: var(--red-dark);
  font-size: 1.9rem;
  margin-bottom: 20px;
  line-height: 1.3;
  padding-bottom: 14px;
  border-bottom: 1px solid #ece4da;
}

.about-text p {
  font-family: Georgia, 'Times New Roman', serif;
  color: #3a3a3a;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 18px;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.about-highlights {
  list-style: none;
  margin: 24px 0 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--off-white);
  border: 1px solid #ece4da;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-highlights li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  border-color: var(--gold);
}

.about-highlights li i {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
}

/* ---------- News section ---------- */
.news-section { background: var(--off-white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.news-card {
  background: var(--white);
  border: 1px solid #ece4da;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  border-color: var(--gold);
}

.news-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.08); }

.news-card-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.news-card-body { padding: 20px; border-top: 1px solid #f1ebe2; }

.news-card-body h3 {
  color: var(--red-dark);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card-body p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 14px;
}

.news-card-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.news-card-body a:hover { color: var(--red-dark); gap: 10px; }

.news-cta { text-align: center; margin-top: 36px; }

/* ---------- Faculty section ---------- */
.faculty-section { background: var(--white); }

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.faculty-card {
  position: relative;
  background: var(--white);
  border: 1px solid #ece4da;
  border-radius: 10px;
  padding: 34px 22px 26px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.faculty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  border-color: var(--gold);
}

.faculty-avatar {
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 0 4px var(--off-white), 0 0 0 5px var(--gold), 0 8px 18px rgba(163,18,26,0.25);
  transition: transform 0.25s ease;
}

.faculty-card:hover .faculty-avatar { transform: scale(1.06); }

.faculty-card h3 { color: var(--red-dark); font-size: 1.08rem; font-weight: 700; margin-bottom: 5px; }

.faculty-designation {
  font-family: Arial, Helvetica, sans-serif;
  color: #777;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.faculty-qualification {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--red-dark);
  background: rgba(163,18,26,0.07);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.faculty-code {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--black);
  border-radius: 20px;
  padding: 4px 12px;
  letter-spacing: 0.4px;
}

.faculty-achievements {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1ebe2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  color: #777;
}

.faculty-achievements strong { display: block; color: #555; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 3px; }

.faculty-cta { text-align: center; margin-top: 36px; }

.btn-outline {
  display: inline-block;
  padding: 11px 30px;
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.4px;
  transition: all 0.2s ease;
}

.btn-outline:hover { background: var(--red); color: var(--white); }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: #ccc;
  padding: 50px 20px 0;
  font-family: Arial, Helvetica, sans-serif;
  border-top: 4px solid var(--red);
}

.footer-container { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
  padding-bottom: 30px;
}

.footer-grid h3 {
  color: var(--gold);
  font-size: 1.02rem;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 10px;
}

.footer-grid h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--red);
}

.footer-grid p { font-size: 0.85rem; line-height: 1.7; color: #bbb; }

.social-icons { display: flex; gap: 10px; margin-top: 18px; }

.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.social-icons a:hover { background: var(--gold); color: var(--black); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #bbb;
  line-height: 1.6;
}

.contact-item i { color: var(--gold); margin-top: 3px; width: 16px; text-align: center; flex-shrink: 0; }

.map-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 9px 20px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.3px;
  transition: background 0.2s ease;
}

.map-btn:hover { background: var(--gold); color: var(--black); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; font-size: 0.85rem; }
.footer-links li a { color: #bbb; text-decoration: none; transition: color 0.2s ease; }
.footer-links li a:hover { color: var(--gold); padding-left: 3px; }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: #999;
}

.footer-bottom a { color: var(--gold); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Address strip (legacy, kept for compatibility) ---------- */
.address-strip {
  background: var(--black);
  color: var(--off-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  text-align: center;
  padding: 12px 20px;
  border-top: 3px solid var(--gold);
}

@media (max-width: 640px) {
  .branding-text h1 { font-size: 1.35rem; }
  .page-banner h1 { font-size: 1.5rem; }
  .notice-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-container { padding: 44px 20px; }
}
