/* ===========================
   Global Theme Variables (VU Style)
=========================== */
:root {
  /* Global Theme */
  --primary: #0077B3;       /* Academic Blue */
  --secondary: #2E7D32;     /* Emerald Green */
  --accent: #E94F37;        /* Orange-red */
  --support-green: #4CAF50; /* Positive */
  --support-purple: #6A1B9A;/* Creative */

  /* Neutral */
  --text: #1F2937;
  --muted: #6B7280;
  --light-bg: #F9FAFB;
  --white: #FFFFFF;

  /* Fees Page Extras */
  --brand: #015598;
  --ink: #1f2937;
  --bg: #f7fafc;
  --card: #ffffff;
}

/* ===========================
   Reset & Base
=========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
}

/* ===========================
   Links
=========================== */
a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
a:hover,
a:focus {
  color: var(--accent);
  text-decoration: underline;
}

/* ===========================
   Headings
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5em;
}

/* ===========================
   Buttons
=========================== */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 20px;
  transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: #111;
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 20px;
  transition: background 0.2s ease-in-out;
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.2s ease-in-out;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===========================
   Section Dividers
=========================== */

/* Default â€“ Academic Blue Divider */
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary); /* VU Blue */
  margin: 12px auto 20px;
  border-radius: 2px;
}

/* Optional Gradient Divider â€“ for highlights only */
.section-divider.gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ===========================
   Top Bar
=========================== */
.top_bar {
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  line-height: 1.4;
  padding: 6px 0;
}
.top_bar a { color: var(--white); }
.top_bar a:hover { color: var(--accent); text-decoration: underline; }

/* ===========================
   Admissions Ticker
=========================== */
.admissions-ticker {
  --height: 40px;
  --speed: 15s;
  background: var(--white);
  border-block: 1px solid #ddd;
  font-size: 15px;

  margin: 0 !important;   /* remove extra margin */
  padding: 4px 0;         /* minimal padding for readability */
}

.ticker-viewport {
  overflow: hidden;
  height: var(--height);
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll var(--speed) linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-link {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
}

.ticker-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Reset UL inside ticker */
.admissions-ticker ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Kill unwanted gap between ticker and slider */
.admissions-ticker,
.admissions-ticker .row,
.admissions-ticker section,
.banner-slider {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


@keyframes ticker-scroll {
  from { transform: translateX(100); }
  to { transform: translateX(-75%); }
}

/* ===========================
   Banner Slide (Merged)
=========================== */
.banner-slide {
  position: relative;
  overflow: hidden; /* ensures gradient + scaling works */
}

.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.15)
  );
  z-index: 1;
}

/* ===========================
   Back-to-top button
=========================== */
#totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  transition: all 0.3s ease;
  z-index: 999;
}
#totop:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ===========================
   Responsive Fixes
=========================== */
@media (max-width: 991px) {
  .banner-caption h2 { font-size: 2rem; }
  .top_bar .row { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .school-name { font-size: 1.8rem; }
  .school-name span { font-size: 1.1rem; }
}
@media (max-width: 576px) {
  .school-name { font-size: 1.5rem; margin-top: 5px; }
  .school-name span { font-size: 0.9rem; }
}

/* ===========================
   Alternating Section Backgrounds (VU style)
=========================== */
.section {
  padding: 60px 0;
}

.section-light {
  background: var(--white);   /* clean white */
}

.section-gray {
  background: var(--light-bg); /* soft gray */
}

.section-accent {
  background: rgba(0, 119, 179, 0.05); /* very subtle blue tint */
}

.section-gold {
  background: rgba(253, 181, 21, 0.08); /* subtle warm tone */
}

/* ===========================
   Banner / Hero
=========================== */
.banner-slider { 
    position: relative; 
    overflow: hidden; 
}
.banner-slider {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ===========================
   Gallery / Masonry
=========================== */
.masonry { column-count: 3; column-gap: 1rem; }

/* ===========================
   Map
=========================== */
.map-container { max-width: 100%; height: 450px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===========================
   Responsive Fixes
=========================== */
@media (max-width: 991px) {
  .banner-caption h2 { font-size: 2rem; }
  .top_bar .row { flex-direction: column; text-align: center; }
  .masonry { column-count: 2; }
}

@media (max-width: 768px) {
  .school-name { font-size: 1.8rem; }
  .school-name span { font-size: 1.1rem; }
}

@media (max-width: 576px) {
  .school-name { font-size: 1.5rem; margin-top: 5px; }
  .school-name span { font-size: 0.9rem; }
  .banner-caption { padding: 0 10px; }
  .masonry { column-count: 1; }
}

/* Prevent unwanted horizontal scroll */
html, body {
  width: 100%;
  overflow-x: hidden;
}
/* ===========================
   Motto (Merged)
=========================== */
.motto {
  text-align: center;
  margin: 40px auto;
  padding: 22px 18px;
  max-width: 500px;
  border-radius: 12px;
  background: #fdfaf3;
  border-inline: 5px solid var(--secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.motto .sanskrit {
  font-family: 'Roboto Slab', serif;
  font-size: 1.8rem;
  color: var(--secondary);
  text-transform: uppercase;
}
.motto .translation {
  font-family: 'Dancing Script', cursive;
  font-size: 1.15rem;
  font-style: italic;
  margin-top: 8px;
  color: #444;
}

/* ===========================
   Banner Caption (Merged)
=========================== */
.banner-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 0 15px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.banner-caption h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  margin-bottom: 12px;
  line-height: 1.3;
  animation: fadeUp 1s ease-in-out both;
}

.banner-caption p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  color: #f9f9f9;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
  animation: fadeUp 1.2s ease-in-out both;
}

/* ===========================
   Gallery / Facility Items (Unified)
=========================== */
/* Shared base */
.card-item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  margin-bottom: 1rem;
}
.card-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  transition: transform 0.4s ease;
}
.card-item:hover img { transform: scale(1.05); }
.card-item .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card-item:hover .overlay { opacity: 1; }

/* Small variations */
.gallery-item { break-inside: avoid; }
.facility-item .overlay { font-weight: 600; }


/* ===========================
   About Us Page Enhancements
=========================== */

/* Section Titles */
.section-title .title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 10px;
}

/* Mission & Vision (CTA Section) */
.cta-section {
  background: var(--primary);
  color: #fff;
  border-radius: 0;
}
.cta-section h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.cta-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f9f9f9;
}

/* Timeline List (What We Want To Do) */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  font-size: 1rem;
  line-height: 1.5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.timeline-item i {
  font-size: 1.2rem;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}
.timeline-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Educational Society Block */
.introduction-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .timeline-item {
    font-size: 0.95rem;
    padding: 12px 14px;
  }
  .motto {
    max-width: 90%;
  }
}
ul.checklist {
  list-style: none;
  padding-left: 0;
}
ul.checklist li::before {
  content: "✔"; /* or Unicode: "\2714" */
  color: #28a745;
  margin-right: 8px;
  font-weight: bold;
}

/* Fees Page */
  /* HERO like index */
  .fees-hero{position:relative;background:linear-gradient(120deg,#eaf2ff,#f7fbff);padding:56px 0;border-bottom:1px solid #e5e7eb}
  .fees-hero .title{font-size:clamp(28px,4vw,44px);color:#0f172a;margin:0 0 8px}
  .fees-hero p{color:var(--muted);max-width:850px;margin:0}
  .hero-cta{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
  .btn-pill{appearance:none;border:1px solid #cfe0ff;padding:10px 16px;border-radius:999px;background:#fff;color:var(--brand);font-weight:600;cursor:pointer;transition:.2s;box-shadow:0 2px 10px rgba(2,6,23,.05)}
  .btn-pill:hover{transform:translateY(-1px)}

   /* Page chrome */
  .fees-wrap{background:var(--bg)}
  .fees-intro p{color:var(--muted);margin:6px 0}
  /* Tables */
  .fees-table{font-family: Arial, Helvetica, sans-serif;border-collapse: collapse;width: 100%;background:var(--card);border:1px solid #e5e7eb}
  .fees-table caption{caption-side: top;text-align:left;font-weight:700;padding:.75rem 1rem;color:var(--ink)}
  .fees-table th, .fees-table td{border:1px solid #e5e7eb;padding:10px 12px;vertical-align:top}
  .fees-table thead th{position:sticky;top:0;background:var(--brand);color:#fff;text-align:center;z-index:1}
  .fees-table tbody tr:nth-child(even){background:#f9fafb}
  .fees-table tbody tr:hover{background:#f3f4f6}
  .tab-ov{overflow-x:auto;border-radius:16px;box-shadow:0 6px 24px rgba(2,6,23,.08);margin-top:12px}
.fees-card{background:#fff;padding:12px;border:1px solid #e5e7eb}
  .note{font-size:14px;color:var(--muted)}
  .badge{display:inline-block;padding:.25rem .5rem;border-radius:999px;background:#e6f0fb;color:var(--brand);font-weight:600;font-size:12px}
  .fees h4{margin:24px 0 12px;color:var(--ink)}

  /* Filter pills */
  .filters{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}
  .filter-pill{border:1px solid #d1d5db;background:#fff;border-radius:999px;padding:8px 14px;font-weight:600;color:#111827;cursor:pointer}
  .filter-pill[aria-pressed="true"]{background:#e6f0fb;color:var(--brand);border-color:#bcd2ff}

  /* Mobile stacked table */
  @media (max-width: 768px){
    .fees-table thead{display:none}
    .fees-table, .fees-table tbody, .fees-table tr, .fees-table td{display:block;width:100%}
    .fees-table tr{margin-bottom:12px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}
    .fees-table td{border:none;border-bottom:1px solid #eef2f7;padding:10px 14px}
    .fees-table td:last-child{border-bottom:none}
    .fees-table td::before{content:attr(data-label);display:block;font-weight:700;color:var(--muted);margin-bottom:4px}
  }
  /* CTA & FAQ */
  .cta-strip{margin:28px 0;background:linear-gradient(135deg,#0155980d,#01559814);border:1px solid #e5e7eb;border-radius:16px;padding:18px 20px;display:flex;gap:16px;align-items:center;justify-content:space-between}
  .cta-strip .text{color:var(--ink);font-weight:600}
  .cta-strip .sub{color:var(--muted);font-weight:400}
  .cta-actions{display:flex;gap:10px;flex-wrap:wrap}
  .btn-primary{background:#015598;color:#fff;border:none;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}
  .btn-primary:hover{opacity:.95}
  .btn-outline{background:#fff;color:#015598;border:1px solid #bcd2ff;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}
  .faq{margin-top:24px}
  .faq details{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px 14px;margin-bottom:10px}
  .faq summary{cursor:pointer;font-weight:700;color:#0f172a}
  .faq p{margin:8px 0 0;color:var(--ink)}
  
/* ===========================
   Uniform Page
=========================== */
.uniform-card {
  background: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.uniform-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}
.uniform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.1);
}

/* Subtle background color variations */
.bg-lightblue   { background-color: #eaf6ff; }
.bg-lightorange { background-color: #fff4e5; }
.bg-lightgray   { background-color: #f8f9fa; }

/* Rules */

.rules ul {
    margin-left: 18px;
    margin-bottom: 12px;
}
.rules p {
    margin-bottom: 10px;
}
    
.rules {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;  /* subtle divider between rules */
}

.rules:last-child {
    border-bottom: none;
}

.rules h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2ca3fe;
    margin-bottom: 10px;
    position: relative;
    padding-left: 28px;
}

.rules h3::before {
    content: "✔"; /* or Unicode: "\2714" */
    color: #2ca3fe;
    position: absolute;
    left: 0;
    color: #2ca3fe;
    font-size: 16px;
    top: 0;
}

.rules ul {
    margin-left: 20px;
    margin-bottom: 10px;
    list-style-type: disc;
}

.rules ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Faculty Page */

.featured-imagebox-team {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 15px;
}

.featured-imagebox-team:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.featured-thumbnail img {
    border-radius: 50%; /* Makes profile pics circular */
    max-width: 150px;
    margin: 0 auto 10px;
    display: block;
}

.featured-title h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 4px;
    color: #2ca3fe;
}

.tee {
    font-size: 14px;
    color: #666;
}

.facilities-area {
    padding: 60px 0;
}
.faci-detail {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.faci-detail h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2ca3fe;
    margin-bottom: 12px;
}
.faci-detail p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}
.faci-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

  /* ===========================
   Curriculum Page Specific
=========================== */
@media (max-width: 576px){
  #curriculum-page #primary .sub,
  #curriculum-page #middle .sub1, 
  #curriculum-page #middle .sub2,
  #curriculum-page #secondary .sub1, 
  #curriculum-page #secondary .sub2 {
    columns: 1; 
    -webkit-columns: 1;
  }
}

/* ===== Senior Stream Cards ===== */
#senior .stream-card {
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  transition: all .3s ease;
}
#senior .stream-card h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1a3d7c;
  margin-bottom: .35rem;
}
#senior .tag {
  display: inline-block;
  font-size: .75rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: .15rem .5rem;
  margin: .15rem .25rem .15rem 0;
}
#senior .link-mini { font-size: .875rem; text-decoration: none; }
#senior .link-mini:hover { text-decoration: underline; }
@media (max-width: 576px){ #senior .tag { margin-bottom: .35rem; } }
#senior .stream-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* ===== Curriculum Typography & Layout ===== */
#curriculum-page h2 {
  font-size: 2rem;
  font-weight: 600;
}
@media (min-width: 992px){
  #curriculum-page h2 { font-size: 2.25rem; }
}
#curriculum-page h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}
#curriculum-page p, 
#curriculum-page li {
  font-size: 1rem;
  line-height: 1.7;
}
#curriculum-page .stream-card {
  padding: 1.75rem;
  font-size: 1rem;
}
#curriculum-page .stream-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Sticky Nav Pills */
#curriculum-page .nav-pill {
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
}

/* Scoped buttons */
#curriculum-page .btn {
  font-size: 1rem;
  padding: 0.65rem 1.5rem;
}
#curriculum-page .btn.btn-lg {
  font-size: 1.125rem;
  padding: 0.85rem 2rem;
}

/* Section spacing (curriculum only) */
#curriculum-page section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 992px){
  #curriculum-page section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* Stream card images */
#curriculum-page .stream-card img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Active nav-pills state */
#curriculum-page .nav-pills .nav-link.active {
  background-color: #1a3d7c;
  color: #fff !important;
  font-weight: 600;
  border-radius: 25px;
}

/* ===========================
   Global Space Management
=========================== */
#site-header-menu,
header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
header.header {
  position: relative;
  z-index: 2000; /* always above content */
}
.admissions-ticker {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-block: 1px solid #ddd; /* keep border */
}

/* Nav pills (generic utility) */
.nav-pill {
  text-decoration: none;
  color: #333;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
  background-color: transparent;
  font-weight: 500;
}
.nav-pill:hover {
  background-color: #f8f9fa;
  color: var(--accent);
}
.nav-pill.active-link {
  background-color: var(--accent);
  color: #fff !important;
  font-weight: 600;
}

/* Sticky curriculum nav bar */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1020; /* below header, above content */
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(6px);
}

/* Ensure main navbar & menus stay above */
header, .navbar, .dropdown-menu {
  z-index: 1100 !important;
  position: relative;
}

/* ===========================
   Bootstrap Navbar Styling
=========================== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  padding: 0.9rem 1.5rem; /* more breathing space */
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;  /* ~20px, compact academic look */
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Logo size */
.navbar-brand img {
  max-height: 75px!important;
  height: auto;
  width: auto;
}

.navbar-brand strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.15rem;  /* PRACHYA BHARATI */
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.navbar-brand small {
  display: block;
  font-size: 1.35rem;   /* SENIOR SECONDARY SCHOOL */
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0px;
  line-height: 1.1;/* force tighter vertical rhythm */
}

/* Nav links */
.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;     /* ~16px */
  color: var(--text);
  padding: 10px 16px;
  transition: color 0.2s ease-in-out;
}
.navbar-nav .nav-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.navbar-nav .nav-link:focus {
  color: var(--accent);
}

/* Dropdown menu */
.navbar-nav .dropdown-menu {
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
}

.navbar-nav .dropdown-item {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--text);
}

.navbar-nav .dropdown-item:hover {
  background-color: var(--light-bg);
  color: var(--accent);
}

@media (max-width: 768px) {
  .navbar-brand img {
    max-height: 55px; /* shrink on smaller screens */
  }
  .navbar-brand strong {
    font-size: 1.2rem;
  }
  .navbar-brand small {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }
  .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
  }
  
}

/* Pop Up */
/* lock background when popup is visible */
body.popup-open {
  overflow: hidden; /* prevent background page from scrolling */
}

/* overlay */
.festival-block {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
  padding: 20px;
}

/* visible modifier (added by JS) */
.festival-block.show {
  opacity: 1;
  visibility: visible;
}

/* popup inner box (scrollable) */
.festivalInner {
  position: relative;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;       /* donâ€™t exceed viewport */
  overflow-y: auto;       /* scroll inside */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transform: translateY(10px);
  transition: transform 260ms ease;
}

/* scale-up when visible */
.festival-block.show .festivalInner {
  transform: translateY(0);
}

/* image wrapper */
.festivalImage img {
  display: block;
  width: 100%;
  height: auto;
}

/* controls area (close button + checkbox) */
.festivalControls {
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #fafafa;
}

/* close button */
.festivalClose {
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.festivalClose:focus {
  outline: 3px solid #cfe8ff;
}

/* don't show label */
.dontShowLabel {
  display:flex;
  gap:8px;
  align-items:center;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}
.dontShowLabel input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* responsive tweaks */
@media (max-width:600px) {
  .festivalInner { border-radius: 8px; max-width: 95%; }
  .dontShowLabel { font-size: 13px; }
}

/* ===========================
   Academic Body Page Styling
=========================== */
.section-title h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.section-title h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 50px;
  background: #0077B3; /* your primary color */
  border-radius: 2px;
}

/* Academic Body Table */
.table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.table th {
  background: #0077B3;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

.table td {
  vertical-align: middle;
  font-size: 14px;
}

.table tbody tr:nth-child(odd) {
  background: #fdfdfd;
}

.table tbody tr:hover {
  background: #f1f9ff;
  transition: 0.2s;
}

@media (max-width: 768px) {
  .table th, .table td {
    font-size: 13px;
    padding: 8px;
  }
}

/* ===========================
   Admission Form Styling
=========================== */
#admissionForm {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  font-size: 15px;
}

#admissionForm fieldset {
  border: none;
  margin-bottom: 25px;
  padding: 0;
}

#admissionForm legend {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0077B3;
}

#admissionForm label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
}

#admissionForm input,
#admissionForm select,
#admissionForm textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#admissionForm input:focus,
#admissionForm select:focus,
#admissionForm textarea:focus {
  border-color: #0077B3;
  box-shadow: 0 0 4px rgba(0, 119, 179, 0.3);
  outline: none;
}

#admissionForm button[type="submit"] {
  background: #0077B3;
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

#admissionForm button[type="submit"]:hover {
  background: #E94F37; /* accent color */
}

/* Success & Error Messages */
.notice.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.notice.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.notice.error ul {
  margin: 0;
  padding-left: 18px;
}

/* File inputs */
#admissionForm input[type="file"] {
  border: none;
  padding: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
  #admissionForm {
    padding: 20px;
  }
  #admissionForm legend {
    font-size: 16px;
  }
}

/* Admin Container */
.admin-container {
  background: #fff;
  padding: 20px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 98%;
}

.admin-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 20px 0;
  color: #0077B3;
  text-align: center;
}

/* Table */
.table {
  font-size: 14px;
}

.table th {
  text-align: center;
  white-space: nowrap;
}

.table td {
  vertical-align: middle;
}

/* Status badges */
.badge {
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Buttons in Actions */
.table .btn {
  margin: 2px;
}

.table-hover tbody tr:hover {
  background-color: #f1f9ff !important;
}

/* Small visual improvements to match your theme */
.featured-imagebox-team { border-radius: 12px; overflow: hidden; background:#fff; }
.featured-imagebox-team .featured-thumbnail img { width:100%; height:240px; object-fit:cover; display:block; }
.featured-content-team { padding: 14px; }
.section-divider { height:3px; background:#8b1c2d; margin:12px auto 0; width:120px; border-radius:2px; }
.faculty-filter.active { background:#8b1c2d; color:#fff; border-color:#8b1c2d; }
@media (max-width:480px){ .featured-imagebox-team .featured-thumbnail img{ height:180px; } }


/* Modern Footer (White Theme) */
.footer-modern {
  background: #ffffff;
  color: #374151;
  border-top: 1px solid #e5e7eb;
  font-family: "Inter", sans-serif;
}

/* Titles */
.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #0a1a2b;
  margin-bottom: 15px;
}

/* Text */
.footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 18px;
}

/* Social Icons */
.footer-social a {
  display: inline-block;
  width: 38px;
  height: 38px;
  background: #f3f4f6;
  color: #0a1a2b;
  border-radius: 10px;
  text-align: center;
  line-height: 38px;
  margin-right: 6px;
  transition: 0.3s;
}
.footer-social a:hover {
  background: #2ea3f2;
  color: #fff;
}

/* Lists */
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}
.footer-links a:hover {
  color: #0077b3;
  padding-left: 4px;
}

/* Contact */
.footer-contact li {
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact i {
  margin-right: 8px;
  color: #0077b3;
}

/* CTA */
.footer-cta {
  background: #f8fafc;
  padding: 18px 0;
}
.btn-modern {
  background: #0077b3;
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.btn-modern:hover {
  background: #0a90da;
}

/* Bottom */
.footer-bottom {
  background: #f1f5f9;
  padding: 14px 0;
  color: #6b7280;
  font-size: 14px;
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background: #0077b3;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: 0.3s;
}
.back-top:hover {
  background: #0a90da;
}

/* Faculties page */
.featured-imagebox-team {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.featured-imagebox-team:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.featured-thumbnail img {
    height: 260px;
    width: 100%;
    object-fit: cover;
}

.featured-content h5 {
    font-weight: 600;
    margin-bottom: 6px;
}

.featured-content .text-primary {
    font-size: 13px;
    letter-spacing: 0.3px;
}

.ttm-contactform select{
width:100%;
border:1px solid #ccc;
border-radius:8px;
padding:12px 14px;
margin-bottom:12px;
font-size:15px;
background:#fff;
}

.ttm-contactform select:focus{
border-color:#2ca3fe;
outline:none;
box-shadow:0 0 5px rgba(44,163,254,0.4);
}



/* Footer Styles */

.info-card {
    border-radius: 12px;
    padding: 25px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.featured-icon i {
    font-size: 28px;
    color: #2ca3fe !important;
    margin-bottom: 12px;
}
.featured-content h5 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}
.featured-content p, .featured-content a {
    font-size: 15px;
    color: #555;
}

.ttm-contactform input,
.ttm-contactform textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 15px;
}
.ttm-contactform input:focus,
.ttm-contactform textarea:focus {
    border-color: #2ca3fe;
    outline: none;
    box-shadow: 0 0 5px rgba(44,163,254,0.4);
}

.con-sub {
    background: #2ca3fe;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    cursor: pointer;
}
.con-sub:hover {
    background: #1a8ddb;
}

.whatsapp-btn {
    background: #25d366;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease;
}
.whatsapp-btn:hover {
    background: #1ebd5c;
}

@media(max-width:768px){
    .con-map iframe { height: 300px !important; }
}

/* Floating buttons on footer */ 

/* WhatsApp Chat Widget */

.whatsapp-chat-box{
position:fixed;
bottom:90px;
right:20px;
width:260px;
background:white;
border-radius:10px;
box-shadow:0 4px 15px rgba(0,0,0,0.2);
font-family:Arial;
z-index:9999;
overflow:hidden;
}

.whatsapp-header{
background:#25D366;
color:white;
padding:10px;
font-weight:bold;
}

.whatsapp-body{
padding:12px;
font-size:14px;
color:#333;
}

.whatsapp-button{
display:block;
background:#25D366;
color:white;
text-align:center;
padding:10px;
text-decoration:none;
font-weight:bold;
}

.whatsapp-button:hover{
background:#1ebe5d;
}

.chat-close{
float:right;
cursor:pointer;
font-weight:bold;
font-size:16px;
}

/* Careers Page */

.ttm-contactform input,
.ttm-contactform select,
.ttm-contactform textarea{
width:100%;
border:1px solid #ccc;
border-radius:8px;
padding:12px 14px;
margin-bottom:15px;
font-size:15px;
}

.ttm-contactform input:focus,
.ttm-contactform select:focus,
.ttm-contactform textarea:focus{
border-color:#2ca3fe;
outline:none;
box-shadow:0 0 5px rgba(44,163,254,0.4);
}

.career-benefits{
margin-bottom:30px;
padding-left:18px;
}

.career-benefits li{
margin-bottom:8px;
}

.career-section{
padding-bottom:60px;
}

/* admin page for career */
.container{
margin-top:60px;
max-width:1100px;
}

h2{
font-weight:600;
margin-bottom:20px;
}

body{
background:#f5f5f5;
font-family:Arial;
}

.container{
margin-top:40px;
}

.table{
background:white;
}

.result-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('images/school-banner.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.result-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.result-box:hover {
  transform: translateY(-5px);
}

.result-box h2 {
  color: #0d6efd;
  font-size: 36px;
  margin-bottom: 10px;
}

.result-box p {
  font-size: 16px;
  color: #555;
}

.topper-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.topper-card:hover {
  transform: translateY(-5px);
}

.topper-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.topper-card h5 {
  font-size: 18px;
  margin-bottom: 5px;
}

.topper-card .marks {
  font-size: 20px;
  font-weight: bold;
  color: #198754;
}

.stream-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.stream-box:hover {
  transform: translateY(-5px);
}

.stream-box h4 {
  margin-bottom: 10px;
}

.results-highlight {
  background: #f8f9fa;
}

.result-box-home {
  background: rgba(255,255,255,0.3);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.result-box-home:hover {
  transform: translateY(-5px);
}

.result-box-home h3 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 700;
}

.result-box-home {
  border: 1px solid rgba(255,255,255,0.2);
}

.results-highlight {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: white;
}

.results-highlight p {
  color: rgba(255,255,255,0.8);
}

.student-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.student-card:hover {
  transform: scale(1.05);
}

.banner-caption h2 {
  font-weight: 700;
}
