/* ==========================================================================
   NARAYANA COLLEGE OF PHARMACY - OFFICIAL STYLESHEET
   Location: Gudem Village, Srikakulam District, Andhra Pradesh
   Design Theme: Premium Medical + Academic
   Colors:
     Deep Navy Blue: #102B50
     Medical Teal:   #0A9D98
     White:          #FFFFFF
     Light Blue:     #EAF4FA
     Soft Gold:      #D8B66A
   ========================================================================== */

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

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Core Brand Colors */
  --color-navy: #102B50;
  --color-navy-dark: #0A1B33;
  --color-navy-light: #1A3F70;
  --color-teal: #0A9D98;
  --color-teal-dark: #077975;
  --color-teal-light: #12C2BC;
  --color-teal-tint: rgba(10, 157, 152, 0.08);
  --color-gold: #D8B66A;
  --color-gold-light: #F2DFAC;
  --color-gold-dark: #B89547;
  --color-light-blue: #EAF4FA;
  --color-light-blue-alt: #F0F7FC;
  --color-white: #FFFFFF;
  
  /* Neutral Palette */
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;
  --border-glass: rgba(255, 255, 255, 0.25);
  --bg-body: #FAFDFE;
  --bg-card: #FFFFFF;

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 8px rgba(16, 43, 80, 0.05);
  --shadow-md: 0 8px 24px rgba(16, 43, 80, 0.08);
  --shadow-lg: 0 16px 40px rgba(16, 43, 80, 0.12);
  --shadow-xl: 0 24px 60px rgba(16, 43, 80, 0.16);
  --shadow-teal: 0 8px 25px rgba(10, 157, 152, 0.28);
  --shadow-gold: 0 8px 25px rgba(216, 182, 106, 0.32);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Header Height */
  --topbar-height: 42px;
  --navbar-height: 84px;
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
}

/* --- Container & Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-spacing {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-spacing-sm {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-teal);
  background: var(--color-teal-tint);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(10, 157, 152, 0.2);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--color-navy);
  margin-bottom: 18px;
  position: relative;
}

.section-title span {
  color: var(--color-teal);
  position: relative;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  border-radius: 2px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10, 157, 152, 0.4);
  color: var(--color-white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(16, 43, 80, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(16, 43, 80, 0.35);
  color: var(--color-white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-navy);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(216, 182, 106, 0.45);
  color: var(--color-navy-dark);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
  transform: translateY(-3px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--color-teal);
  border: 1.5px solid var(--color-teal);
}

.btn-outline-teal:hover {
  background: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ==========================================================================
   TOP INFO / ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-height);
  padding: 6px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item i {
  color: var(--color-gold);
  font-size: 0.85rem;
}

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

.top-bar-badge {
  background: rgba(10, 157, 152, 0.25);
  color: #2DD4BF;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #2DD4BF;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

/* ==========================================================================
   NAVIGATION BAR (STICKY)
   ========================================================================== */
.header-main {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(16, 43, 80, 0.06);
  border-bottom: 1px solid rgba(16, 43, 80, 0.06);
}

.header-main.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(16, 43, 80, 0.12);
  padding: 0;
}

.header-main .container {
  max-width: 1380px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: height var(--transition-fast);
  gap: 16px;
}

.header-main.scrolled .navbar {
  height: 72px;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 70px;
  width: auto;
  max-width: 520px;
  display: block;
  transition: height var(--transition-fast);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform: translateZ(0);
}

.header-main.scrolled .brand-logo-img {
  height: 56px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-teal);
  background: var(--color-teal-tint);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2.5px;
  background-color: var(--color-teal);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Nav CTA */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-apply-nav {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(216, 182, 106, 0.35);
  animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
  0% { box-shadow: 0 4px 15px rgba(216, 182, 106, 0.3); }
  100% { box-shadow: 0 6px 22px rgba(216, 182, 106, 0.65); }
}

.btn-apply-nav:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ECC878 0%, var(--color-gold) 100%);
  color: var(--color-navy-dark);
}

/* Mid-screen compact padding before mobile breakpoint */
@media (max-width: 1240px) and (min-width: 1061px) {
  .nav-menu {
    gap: 1px;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 6px 8px;
  }
  .brand-logo-img {
    height: 62px;
    max-width: 440px;
  }
  .btn-apply-nav {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(16, 43, 80, 0.05);
  border: 1px solid rgba(16, 43, 80, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px 8px;
  z-index: 1003;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover, .mobile-toggle:focus {
  background: rgba(10, 157, 152, 0.1);
  border-color: var(--color-teal);
}

.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 22px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.mobile-toggle.active {
  background: rgba(16, 43, 80, 0.1);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav Backdrop Overlay (Clean tint without blur) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 43, 80, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SHOWCASE SLIDER SECTION
   Full-width vivid imagery, unobstructed, with distinct per-image transitions
   ========================================================================== */
.hero-showcase-section {
  position: relative;
  width: 100%;
  height: 84vh;
  min-height: 580px;
  max-height: 880px;
  background-color: var(--color-navy-dark);
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slides-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Base Slide */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  will-change: transform, opacity, filter;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

/* Subtle top & bottom vignette to frame image beautifully */
.hero-slider-container::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 43, 80, 0.22) 0%, transparent 20%, transparent 80%, rgba(16, 43, 80, 0.4) 100%);
  z-index: 3;
}

/* ==========================================================================
   DISTINCT PER-IMAGE TRANSITIONS
   ========================================================================== */

/* --- 1. Ken Burns Slow Zoom-In & Gentle Crossfade --- */
.hero-slide.transition-kenburns-zoom {
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.4s;
}
.hero-slide.transition-kenburns-zoom img {
  transform: scale(1);
  transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide.transition-kenburns-zoom.active img {
  transform: scale(1.14);
}

/* --- 2. Panoramic Horizontal Glide / Slide from Right --- */
.hero-slide.transition-slide-pan-right {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.3s ease, visibility 1.3s;
}
.hero-slide.transition-slide-pan-right img {
  transform: scale(1.06);
  transition: transform 6s ease-out;
}
.hero-slide.transition-slide-pan-right.active {
  transform: translateX(0);
  opacity: 1;
}
.hero-slide.transition-slide-pan-right.active img {
  transform: scale(1);
}
.hero-slide.transition-slide-pan-right.prev-active {
  transform: translateX(-100%);
  opacity: 0;
}

/* --- 3. Ken Burns Zoom-Out & Blur-to-Sharp Clarity Reveal --- */
.hero-slide.transition-zoomout-clarify {
  transition: opacity 1.4s ease, visibility 1.4s;
}
.hero-slide.transition-zoomout-clarify img {
  transform: scale(1.22);
  filter: blur(8px);
  transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1), filter 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide.transition-zoomout-clarify.active img {
  transform: scale(1.02);
  filter: blur(0);
}

/* --- 4. Cinematic Vertical Rise / Glide from Bottom --- */
.hero-slide.transition-vertical-rise {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.3s ease, visibility 1.3s;
}
.hero-slide.transition-vertical-rise img {
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-slide.transition-vertical-rise.active {
  transform: translateY(0);
  opacity: 1;
}
.hero-slide.transition-vertical-rise.active img {
  transform: scale(1);
}
.hero-slide.transition-vertical-rise.prev-active {
  transform: translateY(-40%);
  opacity: 0;
}

/* --- 5. Diagonal Scale & Micro-Rotation Float --- */
.hero-slide.transition-diagonal-float {
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.5s;
}
.hero-slide.transition-diagonal-float img {
  transform: scale(1.15) rotate(-1.5deg);
  transition: transform 7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-slide.transition-diagonal-float.active img {
  transform: scale(1.02) rotate(0deg);
}

/* ==========================================================================
   SLIDER CONTROLS & INDICATORS
   ========================================================================== */
/* Timer Progress Bar */
.slider-timer-bar-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.slider-timer-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-gold) 100%);
  transition: width 0.1s linear;
}

/* Minimalist Glass Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(16, 43, 80, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-slider-arrow:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(10, 157, 152, 0.4);
}

.hero-slider-arrow.arrow-prev {
  left: 28px;
}

.hero-slider-arrow.arrow-next {
  right: 28px;
}

/* Dots Navigation */
.hero-slider-nav {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 43, 80, 0.6);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
  border: none;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.slider-dot.active {
  width: 32px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  box-shadow: 0 2px 10px rgba(10, 157, 152, 0.5);
}

/* Wave divider */
.hero-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.hero-wave-bottom svg {
  width: 100%;
  height: 60px;
}

/* ==========================================================================
   STATISTICS STRIP
   ========================================================================== */
.stats-strip-section {
  background: var(--color-white);
  padding: 40px 0;
  box-shadow: 0 10px 30px rgba(16, 43, 80, 0.05);
  position: relative;
  z-index: 10;
  margin-top: -30px;
}

.stats-card-container {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-light);
}

.stat-icon {
  width: 58px;
  height: 58px;
  background: var(--color-light-blue);
  color: var(--color-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.stat-item:hover .stat-icon {
  background: var(--color-teal);
  color: var(--color-white);
  transform: rotate(6deg) scale(1.05);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.about-visual {
  position: relative;
  align-self: start;
}

@media (min-width: 992px) and (min-height: 680px) {
  .about-visual {
    position: sticky;
    top: 95px;
  }
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-img-main:hover img {
  transform: scale(1.03);
}

.about-experience-card {
  position: absolute;
  bottom: -28px;
  left: -24px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(16, 43, 80, 0.35);
  border: 2px solid var(--color-gold);
  max-width: 250px;
}

.about-experience-card .exp-years {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.about-experience-card .exp-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-narrative {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-society-highlight {
  background: var(--color-light-blue);
  border-left: 4px solid var(--color-teal);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 30px;
  font-size: 0.98rem;
  color: var(--color-navy);
  line-height: 1.65;
}

/* 4 Core About Feature Pillars */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-light-blue-alt);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 43, 80, 0.06);
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  background: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.pillar-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.pillar-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Vision / Mission Tabs */
.about-tabs {
  margin-top: 25px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tab-nav {
  display: flex;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-light);
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.tab-btn.active {
  background: var(--color-white);
  color: var(--color-navy);
  border-bottom-color: var(--color-teal);
}

.tab-content {
  padding: 20px 24px;
  font-size: 0.925rem;
  color: var(--text-main);
  line-height: 1.65;
  display: none;
}

.tab-content.active {
  display: block;
}

/* ==========================================================================
   COURSES OFFERED SECTION
   ========================================================================== */
.courses-section {
  background: linear-gradient(180deg, var(--color-light-blue-alt) 0%, #F5F9FC 100%);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.course-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(10, 157, 152, 0.4);
}

.course-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.785rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.course-card-badge.dpharm {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: var(--color-white);
}

.course-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.course-intake-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(16, 43, 80, 0.9);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-content {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-meta-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.course-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-meta-item i {
  color: var(--color-teal);
}

.course-title {
  font-size: 1.55rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.course-affiliation-box {
  background: var(--color-light-blue);
  border: 1px solid rgba(10, 157, 152, 0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.875rem;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-affiliation-box i {
  color: var(--color-teal);
  font-size: 1.1rem;
}

.course-affiliation-box strong {
  color: var(--color-navy-dark);
}

.course-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.course-curriculum-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.curriculum-tag {
  background: #F1F5F9;
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #E2E8F0;
}

.course-card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-us-section {
  background: var(--color-white);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(10, 157, 152, 0.3);
  box-shadow: var(--shadow-xl);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon-wrap {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--color-light-blue) 0%, rgba(10, 157, 152, 0.15) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-teal);
  margin-bottom: 24px;
  transition: all var(--transition-normal);
  border: 1px solid rgba(10, 157, 152, 0.15);
}

.why-card:hover .why-icon-wrap {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: var(--color-white);
  transform: rotate(8deg) scale(1.08);
  box-shadow: var(--shadow-teal);
}

.why-card-title {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.why-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   CAMPUS FACILITIES SECTION
   ========================================================================== */
.facilities-section {
  background: linear-gradient(180deg, #F8FAFD 0%, var(--color-light-blue) 100%);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.facility-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(10, 157, 152, 0.3);
}

.facility-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.facility-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.facility-card:hover .facility-img-wrap img {
  transform: scale(1.1);
}

.facility-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(16, 43, 80, 0.85);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.facility-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.facility-title {
  font-size: 1.18rem;
  color: var(--color-navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.facility-title i {
  color: var(--color-teal);
  font-size: 1.1rem;
}

.facility-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CAMPUS GALLERY SECTION
   ========================================================================== */
.gallery-section {
  background: var(--color-white);
}

/* Filter buttons */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 9px 20px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-light-blue-alt);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: 0 4px 14px rgba(10, 157, 152, 0.25);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.gallery-item.hide {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(16, 43, 80, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--color-white);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 40px;
  height: 40px;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay-icon {
  transform: translateY(0);
}

.gallery-caption-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.gallery-caption-cat {
  font-size: 0.75rem;
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   ADMISSIONS SECTION
   ========================================================================== */
.admissions-section {
  background-color: var(--color-navy);
  background-image: 
    linear-gradient(135deg, rgba(16, 43, 80, 0.97) 0%, rgba(10, 157, 152, 0.92) 100%),
    url('../images/facility-lab.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
  position: relative;
}

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

.admissions-info .section-subtitle {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-gold-light);
  border-color: rgba(255, 255, 255, 0.25);
}

.admissions-info .section-title {
  color: var(--color-white);
  text-align: left;
}

.admissions-info .section-desc {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}

.admissions-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 35px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.benefit-icon {
  width: 28px;
  height: 28px;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.admissions-call-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 20px;
}

.call-box-icon {
  width: 52px;
  height: 52px;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.call-box-info p {
  font-size: 0.825rem;
  color: var(--color-gold-light);
}

.call-box-info a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
}

.call-box-info a:hover {
  color: var(--color-gold-light);
}

/* Admissions Form Box */
.admissions-form-box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  color: var(--text-main);
  position: relative;
}

.form-box-header {
  margin-bottom: 25px;
  text-align: center;
}

.form-box-title {
  font-size: 1.55rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.form-box-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.admissions-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #F8FAFC;
  font-size: 0.925rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  background: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(10, 157, 152, 0.12);
}

.form-control.error {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.form-error-msg {
  font-size: 0.775rem;
  color: #EF4444;
  display: none;
  margin-top: 2px;
}

.form-control.error + .form-error-msg {
  display: block;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102B50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

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

/* ==========================================================================
   CONTACT US SECTION
   ========================================================================== */
.contact-section {
  background-color: var(--color-white);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}

.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-teal);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 58px;
  height: 58px;
  background: var(--color-light-blue);
  color: var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: all var(--transition-normal);
}

.contact-info-card:hover .contact-card-icon {
  background: var(--color-teal);
  color: var(--color-white);
  transform: scale(1.1);
}

.contact-card-title {
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.contact-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-card-text a {
  color: var(--color-navy);
  font-weight: 600;
  display: block;
}

.contact-card-text a:hover {
  color: var(--color-teal);
}

/* Contact Main Layout (Map & Quick Message) */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.map-container {
  min-height: 440px;
  height: 100%;
  position: relative;
  background-color: #E5E7EB;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-floating-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(16, 43, 80, 0.95);
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 14px;
}

.map-floating-overlay i {
  color: var(--color-gold);
  font-size: 1.4rem;
}

.map-loc-info h5 {
  color: var(--color-white);
  font-size: 0.925rem;
  margin-bottom: 2px;
}

.map-loc-info p {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form-side {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-side h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.contact-form-side p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* WhatsApp Floating & Direct Buttons */
.whatsapp-float-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: all var(--transition-normal);
}

.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
  color: var(--color-white);
}

.btn-whatsapp-direct {
  background-color: #25D366;
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-direct:hover {
  background-color: #20BA5A;
  color: var(--color-white);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-main {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--color-teal);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col .footer-logo-img {
  height: 74px;
  width: auto;
  max-width: 520px;
  margin-bottom: 20px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform: translateZ(0);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.social-link-btn:hover {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background-color: var(--color-gold);
  border-radius: 2px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition-fast);
}

.footer-link-item a i {
  font-size: 0.75rem;
  color: var(--color-gold);
  transition: transform var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-link-item a:hover i {
  color: var(--color-teal);
}

/* Footer Contact Details */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
  color: var(--color-gold);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

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

/* Footer Bottom Bar */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--color-navy);
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--color-gold);
  color: var(--color-navy);
  transform: translateY(-4px);
}

/* ==========================================================================
   MODALS & LIGHTBOX
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 51, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: scale(0.92);
  transition: transform var(--transition-normal);
  padding: 36px;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: #F1F5F9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #EF4444;
  color: var(--color-white);
}

/* Modal Content Styles */
body.no-scroll {
  overflow: hidden;
}

.modal-badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
}

.modal-pill.gold {
  background: rgba(216, 182, 106, 0.18);
  color: var(--color-gold-dark);
  border: 1px solid rgba(216, 182, 106, 0.4);
}

.modal-pill.teal {
  background: rgba(10, 157, 152, 0.12);
  color: var(--color-teal);
  border: 1px solid rgba(10, 157, 152, 0.3);
}

.modal-pill.navy {
  background: rgba(16, 43, 80, 0.1);
  color: var(--color-navy);
  border: 1px solid rgba(16, 43, 80, 0.2);
}

.success-modal-body {
  text-align: center;
  padding: 20px 10px;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px auto;
  border: 2px solid rgba(16, 185, 129, 0.3);
}

.success-ref-card {
  background: #F8FAFC;
  border: 1.5px dashed var(--color-teal);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 51, 0.95);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 40px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-white);
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 30px;
  color: var(--color-white);
  font-size: 2rem;
  background: none;
  cursor: pointer;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--color-teal);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  border-left: 4px solid var(--color-teal);
  animation: slideInRight 0.4s ease forwards;
}

.toast.success {
  border-left-color: #10B981;
}

.toast.error {
  border-left-color: #EF4444;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-highlights-strip {
    margin-left: auto;
    margin-right: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admissions-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1060px) {
  .top-bar {
    display: none; /* Keep header clean on tablet & mobile */
  }

  .navbar {
    height: 74px;
    gap: 12px;
  }

  .brand-logo-img {
    height: 52px;
    max-width: 320px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 85px 20px 40px;
    box-shadow: -10px 0 35px rgba(16, 43, 80, 0.2);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    border-left: 3px solid transparent;
  }

  .nav-link:hover, .nav-link.active {
    background: var(--color-light-blue);
    color: var(--color-teal);
    border-left-color: var(--color-teal);
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 860px) {

  .stats-card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 68px;
    gap: 8px;
  }

  .brand-logo-img {
    height: 48px;
    max-width: 280px;
  }

  .btn-call-nav {
    display: none; /* Persistent floating call button available on mobile */
  }

  .btn-apply-nav {
    padding: 7px 12px;
    font-size: 0.76rem;
    gap: 4px;
  }

  .hero-showcase-section {
    height: 50vh;
    min-height: 280px;
    max-height: 440px;
  }
}

@media (max-width: 580px) {
  .brand-logo-img {
    height: 44px;
    max-width: 240px;
  }

  .nav-actions {
    gap: 8px;
  }

  .hero-showcase-section {
    height: 44vh;
    min-height: 240px;
    max-height: 350px;
  }

  .hero-slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .hero-slider-arrow.arrow-prev {
    left: 8px;
  }

  .hero-slider-arrow.arrow-next {
    right: 8px;
  }

  .hero-slider-nav {
    bottom: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-card-container {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .hero-main-img-wrap img {
    height: 340px;
  }

  .floating-glass-badge {
    position: static;
    margin-top: 12px;
  }

  .admissions-form-box {
    padding: 24px 20px;
  }
}

@media (max-width: 400px) {
  .navbar {
    height: 62px;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 220px;
  }

  .btn-apply-nav {
    padding: 6px 9px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   MULTI-PAGE BANNER, BREADCRUMB & INNER PAGE STYLES
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 60%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: 55px 0 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--color-teal);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 157, 152, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.page-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 157, 152, 0.2);
  color: var(--color-teal-light);
  border: 1px solid rgba(18, 194, 188, 0.35);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.page-banner-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
}

.page-banner-title span {
  color: var(--color-gold-light);
}

.page-banner-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 740px;
  line-height: 1.6;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #94A3B8;
  margin-top: 6px;
}

.breadcrumb-nav a {
  color: var(--color-gold-light);
  font-weight: 500;
  transition: var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.breadcrumb-nav .separator {
  color: #64748B;
  font-size: 0.75rem;
}

.breadcrumb-nav .current {
  color: var(--color-white);
  font-weight: 600;
}

/* Call to Action Strip on Subpages */
.page-cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  padding: 50px 0;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.page-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.page-cta-text h3 span {
  color: var(--color-gold-light);
}

.page-cta-text p {
  color: #CBD5E1;
  font-size: 1rem;
  max-width: 650px;
}

.page-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Document Checklist Grid */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.checklist-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
}

.checklist-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 157, 152, 0.12);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.checklist-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 3px;
}

.checklist-text span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CALL NOW BUTTONS (NAVBAR & FLOATING ACTION)
   ========================================================================== */
.btn-call-nav {
  background: var(--color-teal);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(10, 157, 152, 0.35);
  transition: all var(--transition-fast);
}

.btn-call-nav:hover {
  background: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 157, 152, 0.5);
}

/* Floating Call Now Button */
.call-float-btn {
  position: fixed;
  bottom: 96px;
  left: 30px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(10, 157, 152, 0.45);
  z-index: 998;
  transition: all var(--transition-normal);
  border: 2px solid rgba(255, 255, 255, 0.25);
  animation: callPulse 2.5s infinite;
}

@keyframes callPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 157, 152, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(10, 157, 152, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 157, 152, 0);
  }
}

.call-float-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 30px rgba(16, 43, 80, 0.55);
  color: var(--color-gold-light);
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .call-float-btn {
    bottom: 80px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .back-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}


/* ==========================================================================
   COURSES OFFERED & FEE STRUCTURE TABLE SECTION
   ========================================================================== */

.courses-table-section {
  background: #ffffff;
  padding: 80px 0 90px;
}

/* --- Section Title --- */
.cfs-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 44px;
}

.cfs-section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  text-align: center;
}

.cfs-title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-teal));
  max-width: 220px;
}

.cfs-title-line:last-child {
  background: linear-gradient(90deg, var(--color-teal), transparent);
}

/* --- Table Wrapper --- */
.cfs-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 32px rgba(16, 43, 80, 0.10);
  border: 1.5px solid #d8dfe8;
  margin-bottom: 40px;
  width: 100%;
}

/* --- Main Table --- */
.cfs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.95rem;
  min-width: 600px;
}

/* --- Table Header --- */
.cfs-table thead tr {
  background: var(--color-navy);
}

.cfs-table thead th {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 18px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}

.cfs-table thead th:last-child { border-right: none; }

/* --- Category Rows (UG / PG headers) --- */
.cfs-category-row td {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
  padding: 13px 18px;
  color: #ffffff;
}

.cfs-category-row.cfs-ug {
  background: #1a3f70;
}

.cfs-category-row.cfs-diploma {
  background: #0a9d98;
}

.cfs-category-row.cfs-pg {
  background: #c0400a;
}

/* --- Data Rows --- */
.cfs-data-row {
  transition: background var(--transition-fast);
}

.cfs-data-row:nth-child(even) {
  background: #f5f8fb;
}

.cfs-data-row:hover {
  background: #eaf4fa;
}

.cfs-data-row td {
  padding: 14px 18px;
  text-align: center;
  color: var(--text-main);
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  vertical-align: middle;
  line-height: 1.5;
}

.cfs-data-row td:last-child {
  border-right: none;
}

/* S.No column */
.cfs-sno {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
  width: 60px;
}

/* Course name column */
.cfs-course-name {
  text-align: left !important;
  font-weight: 600;
  color: var(--color-navy);
}

.cfs-course-name span {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cfs-affil-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-teal);
}

/* Fee cell */
.cfs-fee {
  font-size: 0.93rem;
  color: #c0400a;
  font-weight: 700;
  text-align: center;
  vertical-align: middle !important;
  line-height: 1.6;
}

/* ==========================================================================
   ADMISSION PROCEDURE SECTION
   ========================================================================== */

.cfs-admission-section {
  background: #fafcff;
  border: 1.5px solid #d8dfe8;
  border-radius: var(--radius-md);
  padding: 36px 40px 40px;
  box-shadow: 0 2px 16px rgba(16, 43, 80, 0.06);
}

.cfs-admission-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2.5px solid var(--color-teal);
  display: inline-block;
}

.cfs-admission-block {
  margin-bottom: 28px;
}

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

.cfs-admission-subheading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 12px;
}

.cfs-admission-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cfs-admission-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
}

.cfs-diamond {
  flex-shrink: 0;
  color: var(--color-teal);
  font-size: 0.85rem;
  margin-top: 3px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .courses-table-section {
    padding: 50px 0 60px;
  }

  .cfs-section-title {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
  }

  .cfs-title-line {
    display: none;
  }

  .cfs-admission-section {
    padding: 24px 20px 28px;
  }

  .cfs-table thead th,
  .cfs-data-row td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   CHAIRMAN'S PROFILE SECTION
   ========================================================================== */

.chairman-section {
  background: linear-gradient(135deg, #f0f7fc 0%, #ffffff 60%, #eaf4fa 100%);
  position: relative;
  overflow: hidden;
}

.chairman-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(10, 157, 152, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Main Card --- */
.chairman-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: flex-start;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: 0 12px 48px rgba(16, 43, 80, 0.10);
  border: 1px solid rgba(16, 43, 80, 0.08);
  position: relative;
  overflow: hidden;
}

.chairman-card + .chairman-card {
  margin-top: 40px;
}

.chairman-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-teal) 100%);
  border-radius: 6px 0 0 6px;
}

/* --- Photo Column --- */
.chairman-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.chairman-photo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
  box-shadow: 0 12px 36px rgba(10, 157, 152, 0.28);
  flex-shrink: 0;
}

.chairman-photo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 4px solid #ffffff;
}

/* Empty Photo Slot */
.photo-frame-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border: 4px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 8px rgba(16, 43, 80, 0.08);
}

.empty-photo-placeholder i {
  font-size: 5rem;
  color: #94a3b8;
  opacity: 0.85;
}

.photo-frame-empty img:not([src=""]) {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #ffffff;
}

.chairman-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(16, 43, 80, 0.3);
}

.chairman-role-badge i {
  color: var(--color-gold);
  font-size: 0.8rem;
}

/* --- Info Column --- */
.chairman-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chairman-name-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chairman-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
}

.chairman-qualification {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-teal);
  letter-spacing: 0.5px;
}

.chairman-org {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.chairman-divider {
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  border-radius: 2px;
}

.chairman-message {
  font-size: 0.97rem;
  color: var(--text-main);
  line-height: 1.75;
}

/* --- Highlight Items --- */
.chairman-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 4px;
}

.ch-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 200px;
  background: var(--color-light-blue);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  border-left: 3px solid var(--color-teal);
}

.ch-highlight > i {
  color: var(--color-teal);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.ch-highlight > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ch-highlight strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
}

.ch-highlight span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .chairman-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    text-align: center;
  }

  .chairman-card::before {
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    border-radius: 20px 20px 0 0;
  }

  .chairman-photo-wrap {
    align-items: center;
  }

  .chairman-divider {
    margin: 0 auto;
  }

  .chairman-name-block {
    align-items: center;
  }

  .chairman-highlights {
    justify-content: center;
  }

  .ch-highlight {
    text-align: left;
    flex: 1 1 160px;
  }
}

@media (max-width: 480px) {
  .chairman-photo-frame {
    width: 180px;
    height: 180px;
  }

  .empty-photo-placeholder i {
    font-size: 4rem;
  }

  .chairman-card {
    padding: 28px 18px;
  }
}
