/* ==========================================================================
   BENZIL™ Website Stylesheet - Light Theme
   Harmonious Lime Green & Charcoal Palette
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Brand Design Tokens */
:root {
  /* Color Palette */
  --clr-brand: #84C104;
  --clr-brand-hover: #70A303;
  --clr-brand-light: #F3FBE5;
  --clr-brand-glow: rgba(132, 193, 4, 0.15);
  
  --clr-bg-primary: #FFFFFF;
  --clr-bg-secondary: #F7F9FA;
  --clr-bg-tertiary: #F1F3F5;
  
  --clr-text-main: #000000;
  --clr-text-muted: #1E2022;
  --clr-text-light: #4A5056;
  --clr-text-on-brand: #000000;
  
  --clr-border: #E9ECEF;
  --clr-white: #FFFFFF;
  
  /* Font Families */
  --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Typography Scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: clamp(2.5rem, 5vw, 3.75rem);
  --fs-heading-lg: clamp(1.8rem, 4vw, 2.5rem);
  
  /* Layout Tokens */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 8px 24px rgba(146, 208, 0, 0.2);
  
  --container-width: 1200px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--clr-bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--clr-border);
  border-radius: var(--border-radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-text-light);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  background-color: var(--clr-bg-primary);
  color: var(--clr-text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Typography & Helper Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--clr-text-main) 30%, var(--clr-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-muted { color: var(--clr-text-muted); }
.text-light { color: var(--clr-text-light); }

.section-padding {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  letter-spacing: 0.5px;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--clr-brand);
  color: var(--clr-text-on-brand);
}

.btn-primary:hover {
  background-color: var(--clr-brand-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: var(--clr-bg-tertiary);
  color: var(--clr-text-main);
  border: 1px solid var(--clr-border);
}

.btn-secondary:hover {
  background-color: var(--clr-white);
  border-color: var(--clr-text-main);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-text-main);
  border: 2px solid var(--clr-border);
}

.btn-outline:hover {
  border-color: var(--clr-brand);
  color: var(--clr-brand-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
/* Alert Ticker */
.alert-ticker {
  background-color: var(--clr-brand-light);
  border-bottom: 1px solid rgba(146, 208, 0, 0.2);
  color: var(--clr-text-main);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 0.5rem 1rem;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.alert-ticker__content {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  animation: ticker-animation 25s linear infinite;
  padding-left: 100%;
}

.alert-ticker:hover .alert-ticker__content {
  animation-play-state: paused;
}

@keyframes ticker-animation {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Main Navigation Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  z-index: 99;
  transition: all var(--transition-fast);
}

.navbar--scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  height: 52px;
}

.navbar__logo img {
  height: 100%;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.navbar__link {
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--clr-text-main);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-brand);
  transition: width var(--transition-fast);
}

.navbar__link:hover::after,
.navbar__link--active::after {
  width: 100%;
}

/* Dropdown Menu */
.navbar__item--dropdown {
  position: relative;
}

.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 10;
}

.navbar__item--dropdown:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-link {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
}

.navbar__dropdown-link:hover {
  background-color: var(--clr-brand-light);
  color: var(--clr-brand-hover);
}

/* Mobile Menu Toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--clr-text-main);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-fast);
}

@media (max-width: 992px) {
  .navbar__toggle {
    display: flex;
  }
  
  .navbar__menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 80px);
    background-color: var(--clr-white);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-medium);
    overflow-y: auto;
  }
  
  .navbar__menu--open {
    transform: translateX(0);
  }
  
  .navbar__dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: var(--clr-bg-secondary);
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 0.5rem 0;
  }
  
  .navbar__item--dropdown:hover .navbar__dropdown {
    transform: none;
  }
  
  .navbar__item--dropdown.active .navbar__dropdown {
    display: block;
  }
  
  .navbar__toggle--open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .navbar__toggle--open span:nth-child(2) {
    opacity: 0;
  }
  
  .navbar__toggle--open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background-color: var(--clr-bg-secondary);
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background-color: var(--clr-brand-light);
  color: var(--clr-text-main);
  border-radius: var(--border-radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(146, 208, 0, 0.2);
}

.hero__title {
  font-size: var(--fs-4xl);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__description {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 8px solid var(--clr-white);
  transform: rotate(-1.5deg);
}

.hero__image-bg {
  position: absolute;
  top: 5%;
  left: 5%;
  right: -5%;
  bottom: -5%;
  background: var(--clr-brand);
  border-radius: var(--border-radius-md);
  z-index: 1;
  opacity: 0.25;
}

@media (max-width: 992px) {
  .hero {
    padding: 5rem 0 4rem;
  }
  .hero__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__image-wrapper {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
}

.hero--clean-minimal {
  background-color: var(--clr-bg-secondary);
  background-image: radial-gradient(var(--clr-border) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* ==========================================================================
   Section Intro
   ========================================================================== */
.section-intro {
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-intro__badge {
  text-transform: uppercase;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-brand-hover);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.75rem;
}

.section-intro__title {
  font-size: var(--fs-heading-lg);
  margin-bottom: 1rem;
}

.section-intro__desc {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
}

/* ==========================================================================
   Department Showcase (Focus Section)
   ========================================================================== */
.dept-showcase {
  background-color: var(--clr-bg-primary);
  border-bottom: 1px solid var(--clr-border);
}

.dept-showcase__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.dept-showcase__chemistry-card {
  background-color: var(--clr-bg-secondary);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--clr-border);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.dept-showcase__chemistry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: var(--clr-brand);
}

.dept-showcase__title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dept-showcase__title-wrapper h3 {
  font-size: var(--fs-3xl);
}

.dept-showcase__icon {
  width: 50px;
  height: 50px;
  background-color: var(--clr-brand-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-brand-hover);
}

.dept-showcase__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.dept-showcase__subtitle {
  font-weight: 500;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  font-size: var(--fs-lg);
}

.dept-showcase__list {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.dept-showcase__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.dept-showcase__check {
  width: 20px;
  height: 20px;
  background-color: var(--clr-brand-light);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-brand-hover);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.dept-showcase__check svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 3;
}

.dept-showcase__item h4 {
  font-size: var(--fs-md);
  margin-bottom: 0.25rem;
}

.dept-showcase__item p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.dept-showcase__other-depts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dept-showcase__subcard {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-sm);
  padding: 2rem;
  transition: all var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.dept-showcase__subcard:hover {
  transform: translateY(-4px);
  border-color: var(--clr-brand);
  box-shadow: var(--shadow-sm);
}

.dept-showcase__subcard-info h4 {
  font-size: var(--fs-2xl);
  margin-bottom: 0.5rem;
}

.dept-showcase__subcard-info p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.dept-showcase__arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  background-color: var(--clr-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-main);
  transition: all var(--transition-fast);
}

.dept-showcase__subcard:hover .dept-showcase__arrow {
  background-color: var(--clr-brand);
  color: var(--clr-text-on-brand);
}

@media (max-width: 992px) {
  .dept-showcase__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   Faculty Showcase
   ========================================================================== */
.faculty-section {
  background-color: var(--clr-bg-secondary);
  border-bottom: 1px solid var(--clr-border);
}

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

.faculty-card {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-brand);
}

.faculty-card__image-wrapper {
  width: 140px;
  height: 140px;
  border-radius: var(--border-radius-full);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 4px solid var(--clr-brand-light);
  background-color: var(--clr-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faculty-card__image-wrapper svg {
  width: 64px;
  height: 64px;
  color: var(--clr-text-light);
}

.faculty-card__name {
  font-size: var(--fs-xl);
  margin-bottom: 0.25rem;
}

.faculty-card__designation {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-brand-hover);
  margin-bottom: 1rem;
}

.faculty-card__qualification {
  font-size: var(--fs-xs);
  background-color: var(--clr-bg-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
}

.faculty-card__bio {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

/* ==========================================================================
   Program Showcase Cards (Chemistry Batches Page / Mathematics / Physics)
   ========================================================================== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

@media (max-width: 480px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}

.program-card {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  transition: all var(--transition-medium);
  position: relative;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-brand);
  box-shadow: var(--shadow-lg);
}

.program-card__badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  background-color: var(--clr-brand-light);
  color: var(--clr-brand-hover);
  border: 1px solid rgba(146, 208, 0, 0.2);
}

.program-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: var(--clr-brand-light);
  color: var(--clr-brand-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.program-card__title {
  font-size: var(--fs-2xl);
  margin-bottom: 0.75rem;
}

.program-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-card__meta {
  border-top: 1px solid var(--clr-border);
  padding-top: 1.25rem;
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.program-card__meta-item {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
}

.program-card__meta-item strong {
  display: block;
  color: var(--clr-text-main);
  font-size: var(--fs-sm);
}

.program-card__action {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Results Dashboard
   ========================================================================== */
.results-hero {
  background-color: var(--clr-brand-light);
  padding: 5rem 0;
  text-align: center;
}

.results-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.results-stats__item {
  background-color: var(--clr-white);
  border: 1px solid rgba(146, 208, 0, 0.2);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 3rem;
  box-shadow: var(--shadow-sm);
  min-width: 200px;
}

.results-stats__number {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--clr-brand-hover);
  display: block;
  line-height: 1.1;
}

.results-stats__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text-muted);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.results-card {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.results-card__rank {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  background-color: var(--clr-brand-light);
  color: var(--clr-brand-hover);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 1rem;
}

.results-card__avatar {
  width: 90px;
  height: 90px;
  border-radius: var(--border-radius-full);
  background-color: var(--clr-bg-secondary);
  border: 3px solid var(--clr-brand);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-light);
}

.results-card__avatar svg {
  width: 44px;
  height: 44px;
}

.results-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-full);
}

.results-card__name {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.results-card__exam {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--clr-border);
  background-color: var(--clr-white);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--clr-brand);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  width: 100%;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--clr-white);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--clr-text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium) ease-out;
  background-color: var(--clr-bg-secondary);
}

.faq-answer-inner {
  padding: 1.25rem 1.5rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  border-top: 1px solid var(--clr-border);
}

/* Active accordion styles */
.faq-item--active {
  border-color: var(--clr-brand);
  box-shadow: var(--shadow-sm);
}

.faq-item--active .faq-icon {
  transform: rotate(180deg);
  color: var(--clr-brand-hover);
}

/* ==========================================================================
   Form Styling
   ========================================================================== */
.form-card {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  max-width: 650px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .form-card {
    padding: 1.5rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-bottom: 0.5rem;
  color: var(--clr-text-muted);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--clr-border);
  background-color: var(--clr-bg-secondary);
  font-size: var(--fs-sm);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--clr-brand);
  background-color: var(--clr-white);
  box-shadow: 0 0 0 4px var(--clr-brand-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #0E2A38;
  color: #B2C0C6;
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--clr-brand);
}

.footer__container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.footer__logo-wrapper {
  margin-bottom: 1.5rem;
  height: 52px;
  display: inline-block;
}

.footer__logo-wrapper img {
  height: 100%;
  width: auto;
}

.footer__description {
  font-size: var(--fs-sm);
  margin-bottom: 1.5rem;
}

.footer__title {
  color: var(--clr-white);
  font-size: var(--fs-lg);
  margin-bottom: 1.5rem;
}

.footer__links {
  display: grid;
  gap: 0.75rem;
}

.footer__link:hover {
  color: var(--clr-brand);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: var(--fs-sm);
}

.footer__contact-icon {
  color: var(--clr-brand);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid #1E3F4F;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--fs-xs);
}

@media (max-width: 576px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Floating Widgets
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background-color: var(--clr-brand);
  color: var(--clr-text-on-brand);
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.whatsapp-widget:hover {
  background-color: var(--clr-brand-hover);
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.whatsapp-widget svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 576px) {
  .whatsapp-widget {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-widget svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   Success Wall Interactive Tab System
   ========================================================================== */
.results-tabs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 4rem;
  width: 100%;
}

.subject-tabs {
  display: inline-flex;
  background-color: var(--clr-bg-secondary);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-full);
  padding: 0.375rem;
  gap: 0.25rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.subject-tab-btn {
  padding: 0.625rem 1.75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--border-radius-full);
  color: var(--clr-text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.subject-tab-btn:hover {
  color: var(--clr-text-main);
  background-color: rgba(0, 0, 0, 0.03);
}

.subject-tab-btn.active {
  background-color: var(--clr-brand);
  color: var(--clr-text-on-brand);
  box-shadow: var(--shadow-sm);
}

.exam-tabs-wrapper {
  width: 100%;
}

.exam-tabs {
  display: none;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}

.exam-tabs.active {
  display: flex;
  animation: tabFadeIn var(--transition-fast) ease-in-out;
}

.exam-tab-btn {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--clr-white);
  color: var(--clr-text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.exam-tab-btn:hover {
  border-color: var(--clr-text-main);
  color: var(--clr-text-main);
}

.exam-tab-btn.active {
  background-color: var(--clr-brand-light);
  border-color: var(--clr-brand);
  color: var(--clr-brand-hover);
  box-shadow: var(--shadow-sm);
}

/* Results Panes Styling */
.results-panes-container {
  width: 100%;
}

.results-pane {
  display: none;
}

.results-pane.active {
  display: block;
  animation: tabFadeIn var(--transition-medium) ease-in-out;
}

.results-section {
  margin-bottom: 4rem;
}

.results-section:last-child {
  margin-bottom: 0;
}

.results-section__title {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--clr-text-light);
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: left;
}

.year-block {
  margin-bottom: 3.5rem;
  border-left: 3px solid var(--clr-brand);
  padding-left: 1.25rem;
}

.year-block:last-child {
  margin-bottom: 0;
}

.year-block__title {
  font-size: var(--fs-sm);
  color: var(--clr-brand-hover);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: left;
}

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

/* ==========================================================================
   Mentor Spotlight Card (index.html) Responsive Style
   ========================================================================== */
.mentor-spotlight {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: center;
  text-align: left;
  padding: 3rem;
  background-color: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.mentor-spotlight:hover {
  transform: translateY(-4px);
  border-color: var(--clr-brand);
  box-shadow: var(--shadow-md);
}

.mentor-spotlight__image-wrapper {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  margin-bottom: 0;
  border-radius: var(--border-radius-full);
  overflow: hidden;
  border: 4px solid var(--clr-brand-light);
  background-color: var(--clr-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-light);
}

.mentor-spotlight__image-wrapper svg {
  width: 80px;
  height: 80px;
}

@media (max-width: 768px) {
  .mentor-spotlight {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2.25rem 1.5rem;
  }
  .mentor-spotlight__image-wrapper {
    width: 130px;
    height: 130px;
  }
  .mentor-spotlight__image-wrapper svg {
    width: 60px;
    height: 60px;
  }
}

/* ==========================================================================
   Global Mobile View Layout Optimizations
   ========================================================================== */
@media (max-width: 992px) {
  .results-stats {
    gap: 2rem;
  }
  .results-stats__item {
    min-width: 150px;
    padding: 1.25rem 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.35rem;
    --fs-xl: 1.2rem;
    --fs-lg: 1.05rem;
  }

  .section-intro {
    margin-bottom: 2.5rem;
  }

  /* Grid Stack Enhancements */
  .program-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem;
  }

  .faculty-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.75rem;
  }

  .results-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
  }

  .program-card {
    padding: 1.75rem;
  }

  .faculty-card {
    padding: 1.5rem;
  }

  .results-card {
    padding: 1.25rem;
  }

  .results-card__avatar {
    width: 80px;
    height: 80px;
  }

  .results-card__avatar svg {
    width: 36px;
    height: 36px;
  }

  /* Success Wall tab layout adjustments for small screens */
  .subject-tabs {
    width: 100%;
    border-radius: var(--border-radius-sm);
    padding: 0.25rem;
  }

  .subject-tab-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: var(--fs-xs);
  }

  .exam-tab-btn {
    padding: 0.375rem 0.875rem;
    font-size: var(--fs-xs);
  }

  .results-tabs-container {
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }
  
  .results-section {
    margin-bottom: 2.5rem;
  }

  .year-block {
    margin-bottom: 2.25rem;
    padding-left: 0.875rem;
  }
}

@media (max-width: 480px) {
  .navbar__container {
    height: 70px;
  }
  .navbar__menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
  .hero__title {
    font-size: var(--fs-3xl);
  }
  .hero__description {
    font-size: var(--fs-sm);
  }
  .results-stats__item {
    width: 100%;
  }
}

/* Scroll lock utility for mobile menu */
.overflow-hidden {
  overflow: hidden;
}

/* Roster grid for team panel pages */
.roster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Staff grid for supportive staff panels */
.staff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .roster-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  .staff-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   Lightweight Page Transition Styles
   ========================================================================== */
body {
  opacity: 0;
  transition: opacity 0.35s ease-out;
}

body.page-loaded {
  opacity: 1;
}

/* ==========================================================================
   Double-Accordion Results System Styles
   ========================================================================== */
.accordion-list {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--clr-border);
  background-color: var(--clr-white);
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.accordion-item:hover {
  border-color: var(--clr-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.accordion-item.active {
  border-color: var(--clr-brand);
  box-shadow: var(--shadow-lg);
  transform: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--clr-text-main);
  cursor: pointer;
  background-color: var(--clr-white);
  transition: all var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--clr-bg-secondary);
}

.accordion-item.active > .accordion-header {
  background-color: var(--clr-brand-light);
  border-bottom: 1px solid rgba(146, 208, 0, 0.15);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
}

.accordion-title svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  color: var(--clr-brand-hover);
}

.accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--clr-text-light);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.accordion-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium) ease-out;
  background-color: var(--clr-bg-primary);
}

.accordion-content-inner {
  padding: 2rem;
  border-top: 1px solid var(--clr-border);
}

.accordion-item.active > .accordion-header .accordion-icon {
  transform: rotate(180deg);
  color: var(--clr-brand-hover);
}

/* Level 2 Nested Accordion Adjustments */
.nested-accordion {
  border: 1px solid var(--clr-border) !important;
  background-color: var(--clr-bg-secondary) !important;
  border-radius: var(--border-radius-sm) !important;
  margin-bottom: 0.75rem !important;
  box-shadow: none !important;
}

.nested-accordion:hover {
  border-color: var(--clr-text-light) !important;
  transform: none !important;
}

.nested-accordion.active {
  border-color: var(--clr-brand) !important;
  background-color: var(--clr-white) !important;
  box-shadow: var(--shadow-sm) !important;
}

.nested-accordion .accordion-header {
  padding: 1.125rem 1.5rem !important;
  font-size: var(--fs-sm) !important;
  background-color: var(--clr-bg-secondary) !important;
  font-weight: 600 !important;
}

.nested-accordion .accordion-header:hover {
  background-color: var(--clr-bg-tertiary) !important;
}

.nested-accordion.active > .accordion-header {
  background-color: var(--clr-brand-light) !important;
  border-bottom: 1px solid rgba(146, 208, 0, 0.15) !important;
}

.nested-accordion .accordion-content-inner {
  padding: 1.5rem 1.25rem !important;
  background-color: var(--clr-white) !important;
}

/* ==========================================================================
   Multimedia Testimonials Section Styles
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-brand);
  box-shadow: var(--shadow-md);
}

.testimonial-card__quote {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-style: italic;
  position: relative;
  flex-grow: 1;
}

.testimonial-card__quote::before {
  content: '“';
  font-size: 4rem;
  color: var(--clr-brand-light);
  position: absolute;
  top: -1.5rem;
  left: -0.75rem;
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 1;
}

.testimonial-card__quote p {
  position: relative;
  z-index: 2;
}

.testimonial-card__student {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--clr-border);
  padding-top: 1.25rem;
  margin-top: auto;
}

.testimonial-card__student-info h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.testimonial-card__student-info span {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  display: block;
}

/* Image & Screenshot Testimonials */
.testimonial-card--screenshot .screenshot-container {
  height: 200px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  margin-bottom: 1.25rem;
  background-color: var(--clr-bg-secondary);
  position: relative;
  cursor: zoom-in;
}

.testimonial-card--screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition-medium);
}

.testimonial-card--screenshot:hover img {
  transform: scale(1.03);
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: var(--clr-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  gap: 0.5rem;
}

.testimonial-card--screenshot .screenshot-container:hover .screenshot-overlay {
  opacity: 1;
}

/* Video Testimonials */
.testimonial-card--video .video-thumbnail-container {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #0E2A38;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.testimonial-card--video .video-thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform var(--transition-medium), opacity var(--transition-fast);
}

.testimonial-card--video:hover .video-thumbnail-container img {
  transform: scale(1.04);
  opacity: 0.9;
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-full);
  background-color: var(--clr-brand);
  color: var(--clr-text-on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 3;
  transition: all var(--transition-fast);
}

.play-btn-overlay svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  fill: currentColor;
  margin-left: 3px; /* Center-adjust play symbol */
}

.testimonial-card--video:hover .play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--clr-brand-hover);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .testimonial-card {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   Faculty Card Initials Placeholder Avatars
   ========================================================================== */
.faculty-card__image-wrapper {
  position: relative;
}

.faculty-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-card__photo ~ .faculty-photo-placeholder {
  display: none;
}

.faculty-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--clr-brand-light) 0%, var(--clr-border) 100%);
  color: var(--clr-brand-hover);
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Video Modal Overlay
   ========================================================================== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal--open .video-modal__content {
  transform: scale(1);
}

.video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease;
}

.video-modal__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.video-modal__video {
  width: 100%;
  height: 100%;
  border: none;
}

/* Hostel/Campus Gallery Styles */
.gallery-card {
  background-color: var(--clr-bg-secondary);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-brand);
}

.gallery-card__image-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: var(--clr-border);
}

.gallery-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card__image {
  transform: scale(1.05);
}

.gallery-card__content {
  padding: 1.5rem;
}

.gallery-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--clr-text-main);
  transition: color 0.2s ease;
}

.gallery-card:hover .gallery-card__title {
  color: var(--clr-brand-hover);
}

.gallery-card__desc {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  line-height: 1.5;
}


