:root {
  /* Brand Colors */
  --green: #1a5c38;
  --green-dark: #0e3d26;
  --green-deep: #092617;
  --green-mid: #256b44;
  --green-light: #d6eade;
  --green-pale: #f0f7f2;

  --gold: #c89010;
  --gold-dark: #9e7008;
  --gold-light: #e8a820;
  --gold-pale: #fdf6e0;
  --gold-bg: #fef9ec;

  /* Enhanced Gradients */
  --gradient-green: linear-gradient(135deg, var(--green-pale) 0%, var(--green) 50%, var(--green-mid) 100%) --gradient-gold: linear-gradient(135deg, var(--green-pale) 0%, var(--gold) 50%, var(--gold-light) 100%) --gradient-hero: linear-gradient(135deg, var(--green-pale) 0%, rgba(14, 61, 38, 0.9) 50%, rgba(37, 107, 68, 0.85) 100%) --gradient-card: var(--green-pale);

  /* Neutrals */
  --white: #ffffff;
  --light: #f4f8f5;
  --text-dark: #132218;
  --text-mid: #344d3a;
  --text-muted: #6b7c6e;
  --border: #d4e3d8;

  /* Enhanced Shadows */
  --shadow-xs: 0 1px 4px rgba(14, 61, 38, .07);
  --shadow-sm: 0 2px 10px rgba(14, 61, 38, .10);
  --shadow-md: 0 4px 24px rgba(14, 61, 38, .14);
  --shadow-lg: 0 8px 44px rgba(14, 61, 38, .20);
  --shadow-xl: 0 12px 60px rgba(14, 61, 38, .25);
  --shadow-gold: 0 4px 20px rgba(200, 144, 16, .35);
  --shadow-glow: 0 0 30px rgba(200, 144, 16, .15);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --tr: all .28s var(--ease);
  --tr-fast: all .18s var(--ease);

  /* Typography */
  --font: 'Outfit', sans-serif;

  /* Cell Pages Variables */
  --cell-primary: #0e3d26;
  --cell-primary-light: #1a5c38;
  --cell-gold: #c89010;
  --cell-gold-light: #e6b322;
  --cell-gold-pale: #fef9e6;
  --cell-red: #c0392b;
  --cell-red-light: #e74c3c;
  --cell-bg-light: #f8faf9;
  --cell-radius-sm: 12px;
  --cell-radius-md: 16px;
  --cell-radius-lg: 24px;
  --cell-radius-xl: 32px;
}

/* ─── RESET / BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/*  HEADER SYSTEM  */

/* ─── BRAND / HEADER BAR ─── */
.college-header {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  padding: 20px 0 16px;
  position: relative;
  border-bottom: 5px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

/* Top decorative stripe with gradient */
.college-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--green);
}

/* Logo Circles */
.header-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-logo-ring {
  width: 140px;
  height: 150px;
  /* border-radius: 50%;
  border: 4px solid var(--gold); */
  padding: 3px;
  /* background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  box-shadow: 0 0 0 3px var(--green-light), var(--shadow-md), var(--shadow-glow); */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* transition: var(--tr); */
  position: relative;
}

#logo-left img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transform: scale(1.08);
}

#logo-right img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/* .header-logo-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: var(--tr);
} */

/* .header-logo-ring:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 0 4px var(--gold-light), var(--shadow-lg), var(--shadow-gold);
}

.header-logo-ring:hover::before {
  opacity: 0.1;
} */

.header-logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40%;
}

.logo-placeholder-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--green-pale);
  border-radius: 50%;
  gap: 4px;
}

.logo-placeholder-icon i {
  font-size: 2.2rem;
  color: var(--green);
  opacity: .55;
}

.logo-placeholder-icon span {
  font-size: .55rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .8px;
  text-transform: uppercase;
  opacity: .7;
}

.logo-tag {
  font-size: .65rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .8px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  padding: 2px 8px;
}

/* Center brand text */
.header-brand {
  text-align: center;
  flex: 1;
  padding: 0 20px;
  position: relative;
}

.header-brand .h-tamil {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .6px;
  line-height: 1.3;
  margin-bottom: 3px;
  text-shadow: 0 2px 4px rgba(26, 92, 56, 0.1);
}

.header-brand .h-english {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 1.15;
  text-shadow: 0 3px 6px rgba(14, 61, 38, 0.15);
}

.header-brand .h-affiliation {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.header-brand .h-affiliation::before,
.header-brand .h-affiliation::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--gold);
  max-width: 90px;
}

.header-brand .h-location {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-top: 4px;
  letter-spacing: .3px;
}

.header-brand .h-nirf {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 5px;
  display: inline-block;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  border-radius: 25px;
  padding: 4px 16px;
  border: 1px solid var(--border);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

/* ─── MAIN NAVBAR ─── */
.main-navbar {
  background: var(--green);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  top: 0;
  z-index: 1050;
  box-shadow: 0 4px 24px rgba(14, 61, 38, .4), var(--shadow-glow);
}

.main-navbar .navbar-brand {
  color: var(--gold-light) !important;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
  display: none;
}

.main-navbar .navbar-toggler {
  border-color: rgba(200, 144, 16, .6);
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--tr);
}

.main-navbar .navbar-toggler:hover {
  background: rgba(200, 144, 16, .15);
  border-color: var(--gold);
}

.main-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Nav Links */
.main-navbar .nav-link {
  color: rgba(255, 255, 255, .92) !important;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 14px 12px;
  position: relative;
  transition: var(--tr);
  white-space: nowrap;
}

.main-navbar .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
  transition: var(--tr);
  box-shadow: 0 0 10px rgba(200, 144, 16, .5);
}

.main-navbar .nav-item.active>.nav-link {
  color: var(--gold-light) !important;
  text-shadow: 0 0 20px rgba(200, 144, 16, .3);
}

.main-navbar .nav-item.active>.nav-link::before {
  left: 6px;
  right: 6px;
}

/* Dropdown toggle arrow */
.main-navbar .dropdown-toggle::after {
  border: none;
  content: '\F282';
  font-family: 'bootstrap-icons';
  font-size: .6rem;
  vertical-align: middle;
  margin-left: 2px;
  transition: var(--tr);
}

.main-navbar .dropdown.show>.dropdown-toggle::after {
  content: '\F286';
}

/* Dropdown menus */
.main-navbar .dropdown-menu {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  border: none;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 40px rgba(14, 61, 38, .22), var(--shadow-glow);
  min-width: 240px;
  padding: 8px 0;
  animation: dropFade .25s ease;
  backdrop-filter: blur(10px);
}

@keyframes dropFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-navbar .dropdown-item {
  color: var(--text-dark);
  font-size: .83rem;
  font-weight: 600;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--tr);
  border-left: 3px solid transparent;
  position: relative;
}

.main-navbar .dropdown-item:hover {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-light) 100%);
  color: var(--green-dark);
  border-left-color: var(--gold);
  padding-left: 24px;
  box-shadow: inset 0 0 20px rgba(200, 144, 16, .1);
}

.main-navbar .dropdown-item i {
  color: var(--green-mid);
  font-size: .9rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  transition: var(--tr);
}

.main-navbar .dropdown-item:hover i {
  color: var(--gold);
  transform: scale(1.1);
}

.dropdown-divider {
  margin: 4px 14px;
  border-color: var(--border);
}

/* Level-2 sub-menus */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-item::after {
  content: '\F285';
  font-family: 'bootstrap-icons';
  font-size: .65rem;
  margin-left: auto;
  color: var(--gold-dark);
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: 1px;
  border-top: 3px solid var(--green-mid);
}

@media (min-width: 992px) {
  .dropdown-submenu:hover>.dropdown-menu {
    display: block;
  }
}

/* Level-3 sub-menus */
.dropdown-submenu-lv3 {
  position: relative;
}

.dropdown-submenu-lv3>.dropdown-item::after {
  content: '\F285';
  font-family: 'bootstrap-icons';
  font-size: .65rem;
  margin-left: auto;
  color: var(--gold-dark);
}

.dropdown-submenu-lv3 .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: 1px;
  border-top: 3px solid var(--gold);
}

@media (min-width: 992px) {
  .dropdown-submenu-lv3:hover>.dropdown-menu {
    display: block;
  }
}

/* ─── NEWS TICKER ─── */
.news-ticker {
  background: var(--gold-bg);
  border-bottom: 2px solid var(--gold-light);
  padding: 7px 0;
  font-size: .82rem;
  font-weight: 500;
  color: var(--green-dark);
}

.ticker-label {
  background: var(--green);
  color: var(--gold-light);
  padding: 3px 14px;
  border-radius: 0 20px 20px 0;
  margin-right: 14px;
  flex-shrink: 0;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero-section {
  background: var(--green-dark);
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200, 144, 16, .08);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M26 0L52 26 26 52 0 26z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  /* background: linear-gradient(135deg, var(--green-pale) 0%, rgba(200, 144, 16, .15) 100%); */
  border: 2px solid rgba(200, 144, 16, .6);
  /* color: var(--gold-light); */
  color: white;
  border-radius: 35px;
  padding: 6px 20px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(200, 144, 16, .3);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(200, 144, 16, .3);
  }

  50% {
    box-shadow: 0 0 30px rgba(200, 144, 16, .5);
  }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.hero-title .accent {
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.75;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.btn-hero-primary {
  background: var(--gold);
  color: var(--green-deep);
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 13px 34px;
  font-weight: 800;
  font-size: .95rem;
  transition: var(--tr);
  box-shadow: 0 6px 24px rgba(200, 144, 16, .4), var(--shadow-glow);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--gold) 100%);
  opacity: 0;
  transition: var(--tr);
}

.btn-hero-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(200, 144, 16, .55), var(--shadow-gold);
}

.btn-hero-primary:hover::before {
  opacity: 1;
}

.btn-hero-primary span {
  position: relative;
  z-index: 1;
}

.btn-hero-outline {
  background: transparent;
  color: rgba(255, 255, 255, .95);
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 50px;
  padding: 13px 32px;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--tr);
  text-decoration: none;
  backdrop-filter: blur(5px);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .9);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, .2);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.stat-card {
  /* background: linear-gradient(135deg, var(--green-pale) 0%, rgba(255, 255, 255, .06) 100%); */
  border: 2px solid rgba(200, 144, 16, .4);
  border-radius: 14px;
  padding: 16px 24px;
  text-align: center;
  min-width: 110px;
  backdrop-filter: blur(12px);
  transition: var(--tr);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(200, 144, 16, .3);
}

.stat-card .stat-num {
  font-size: 1.85rem;
  font-weight: 900;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-card .stat-label {
  font-size: .72rem;
  color: rgba(255, 255, 255, .8);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-top: 4px;
  font-weight: 600;
}

/* Hero image card */
.hero-img-card {
  background: linear-gradient(135deg, var(--green-pale) 0%, rgba(255, 255, 255, .05) 100%);
  border: 2px solid rgba(200, 144, 16, .35);
  border-radius: 24px;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2), var(--shadow-glow);
  transition: var(--tr);
}

.hero-img-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(200, 144, 16, .3), var(--shadow-gold);
}

.hero-naac-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--green-deep);
  border-radius: 16px;
  padding: 16px 22px;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 8px 28px rgba(200, 144, 16, .5), var(--shadow-glow);
  animation: naacFloat 4s ease-in-out infinite;
}

@keyframes naacFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ═══════════════════════════════════════════════════════
   STATS BAND
═══════════════════════════════════════════════════════ */
.stats-band {
  background: var(--green);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold-dark);
  box-shadow: 0 4px 20px rgba(14, 61, 38, .2);
}

.counter-card {
  text-align: center;
  padding: 32px 16px;
  position: relative;
  transition: var(--tr);
}

.counter-card:hover {
  background: rgba(200, 144, 16, .1);
}

.counter-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: linear-gradient(135deg, var(--green-pale) 50%, transparent 100%)
}

.counter-card:last-child::after {
  display: none;
}

.count-num {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(200, 144, 16, .2);
}

.count-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .85);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADINGS
═══════════════════════════════════════════════════════ */
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 5px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.2;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 10px 0 22px;
}

.section-divider.center {
  margin: 10px auto 22px;
}

/* ═══════════════════════════════════════════════════════
   NOTICE BOARD
═══════════════════════════════════════════════════════ */
.notice-board {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--tr);
}

.notice-board:hover {
  box-shadow: var(--shadow-xl);
}

.nb-header {
  background: var(--green);
  color: var(--white);
  padding: 16px 20px;
  font-weight: 800;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 3px solid var(--gold);
  letter-spacing: .5px;
}

.nb-header i {
  color: var(--gold-light);
  font-size: 1.1rem;
}

.nb-body {
  height: 340px;
  overflow-y: auto;
}

.nb-body::-webkit-scrollbar {
  width: 4px;
}

.nb-body::-webkit-scrollbar-track {
  background: var(--green-pale);
  border-radius: 2px;
}

.nb-body::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

.notice-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
  cursor: pointer;
  position: relative;
}

.notice-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: var(--tr);
}

.notice-item:hover {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-light) 100%);
  padding-left: 22px;
}

.notice-item:hover::before {
  background: var(--gold);
}

.notice-date {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  border: 2px solid var(--border);
  border-radius: 10px;
  text-align: center;
  padding: 8px 12px;
  min-width: 52px;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  transition: var(--tr);
}

.notice-item:hover .notice-date {
  transform: scale(1.05);
  border-color: var(--gold);
}

.notice-date .day {
  font-size: 1.25rem;
  font-weight: 900;
  background: var(--green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.notice-date .mon {
  font-size: .65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .5px;
}

.notice-text {
  font-size: .85rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 500;
}

.badge-new {
  background: var(--gold);
  color: var(--green-deep);
  font-size: .6rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 800;
  vertical-align: middle;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(200, 144, 16, .3);
  animation: badgePulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════
   QUICK LINKS
═══════════════════════════════════════════════════════ */
.quick-link-card {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid var(--border);
  border-left: 5px solid var(--gold);
  text-decoration: none;
  color: inherit;
  transition: var(--tr);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  opacity: 0;
  transition: var(--tr);
}

.quick-link-card:hover {
  transform: translateX(8px) translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-gold);
  border-left-color: var(--green);
  border-color: var(--gold);
}

.quick-link-card:hover::before {
  opacity: 0.05;
}

.ql-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  color: var(--green);
  border: 2px solid var(--border);
  transition: var(--tr);
  position: relative;
  z-index: 1;
}

.quick-link-card:hover .ql-icon {
  background: var(--gold);
  color: var(--green-deep);
  transform: rotate(10deg) scale(1.1);
  border-color: var(--gold);
}

.ql-text {
  font-size: .88rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.ql-sub {
  font-size: .75rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   FEATURE CARDS
═══════════════════════════════════════════════════════ */
.feature-card {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 2px solid var(--border);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: var(--tr);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green);
  opacity: 0;
  transition: var(--tr);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-top-color: var(--green);
}

.feature-card:hover::before {
  opacity: 0.03;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: var(--green);
  margin-bottom: 18px;
  border: 3px solid var(--green-light);
  transition: var(--tr);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  background: var(--gold);
  color: var(--green-deep);
  transform: rotate(15deg) scale(1.1);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(200, 144, 16, .4);
}

.feature-card h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   DEPARTMENT CARDS
═══════════════════════════════════════════════════════ */
.dept-card {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-pale) 100%);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  border: 2px solid var(--border);
  border-bottom: 5px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: var(--tr);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.dept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  opacity: 0;
  transition: var(--tr);
}

.dept-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-md), var(--shadow-gold);
  border-bottom-color: var(--gold);
  border-color: var(--gold-light);
}

.dept-card:hover::before {
  opacity: 0.05;
}

.dept-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
  transition: var(--tr);
  position: relative;
  z-index: 1;
}

.dept-card:hover .dept-icon {
  transform: scale(1.2) rotate(5deg);
}

.dept-card h6 {
  font-size: .85rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════ */
.gallery-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--green-mid);
  opacity: .55;
  transition: var(--tr);
  cursor: pointer;
}

.gallery-img-wrap:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.main-footer {
  background: var(--green);
  color: rgba(255, 255, 255, .8);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.main-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.footer-logo-icon {
  width: 150px;
  height: 135px;
  /* border-radius: 50%;
  border: 3px solid var(--gold); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  /* color: var(--gold-light);
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--green-pale) 0%, transparent 100%);
  box-shadow: 0 0 20px rgba(200, 144, 16, .3);
  transition: var(--tr); */
}

/* .footer-logo-icon:hover {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 0 30px rgba(200, 144, 16, .5);
} */

.footer-img {
  width: 100%;
  height: 100%;
}

.footer-college-name {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.8;
  margin-top: 12px;
  color: rgba(255, 255, 255, .7);
}

.footer-heading {
  font-size: .88rem;
  font-weight: 900;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid rgba(200, 144, 16, .4);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gold);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--tr);
  font-weight: 500;
}

.footer-links a i {
  color: var(--gold);
  font-size: .7rem;
  transition: var(--tr);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 5px;
  text-shadow: 0 0 10px rgba(200, 144, 16, .3);
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .75);
  font-weight: 500;
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(200, 144, 16, .5);
  color: rgba(255, 255, 255, .7);
  font-size: 1.1rem;
  transition: var(--tr);
  text-decoration: none;
  background: transparent;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 8px 20px rgba(200, 144, 16, .4);
}

.footer-bottom {
  background: rgba(0, 0, 0, .4);
  border-top: 2px solid rgba(200, 144, 16, .3);
  margin-top: 50px;
  padding: 18px 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  transition: var(--tr);
}

.footer-bottom a:hover {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(200, 144, 16, .4);
}

/* ═══════════════════════════════════════════════════════
   PAGE BANNER (for inner pages)
═══════════════════════════════════════════════════════ */
.page-banner {
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}

/* .page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
} */

.page-banner h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════
   INNER PAGE – CONTENT CARDS
═══════════════════════════════════════════════════════ */
.content-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 16px;
}

.content-card p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* Sidebar */
.sidebar-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-header {
  background: var(--green);
  color: #fff;
  padding: 12px 16px;
  font-size: .85rem;
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--green-pale);
  color: var(--green-dark);
  border-left: 3px solid var(--gold);
  padding-left: 13px;
}

.sidebar-nav a i {
  color: var(--green-mid);
  font-size: .8rem;
}

/* ═══════════════════════════════════════════════════════
   TABLE STYLES
═══════════════════════════════════════════════════════ */
.themed-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}

.themed-table thead th {
  background: var(--green-dark);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  border: none;
}

.themed-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.themed-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.themed-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.themed-table tbody tr:nth-child(even) {
  background: var(--green-pale);
}

.themed-table tbody tr:hover {
  background: var(--gold-bg);
}

.themed-table td {
  padding: 9px 14px;
  color: var(--text-mid);
}

/* ═══════════════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════════════ */
#backToTop {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--tr);
  z-index: 9999;
  box-shadow: var(--shadow-md);
}

#backToTop.show {
  opacity: 1;
  pointer-events: all;
}

#backToTop:hover {
  background: var(--gold);
  color: var(--green-deep);
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .header-logo-ring {
    width: 110px;
    height: 120px;
  }

  .header-brand .h-english {
    font-size: 1.2rem;
  }

  .header-brand .h-tamil {
    font-size: 1.05rem;
  }

  .main-navbar .navbar-brand {
    display: block;
  }

  .main-navbar .navbar-collapse {
    max-height: 75vh;
    overflow-y: auto;
  }


  .main-navbar .dropdown-menu {
    border-radius: 0;
    border-top: none;
    border-left: 4px solid var(--gold);
    box-shadow: none;
    margin-left: 14px;
  }

  .dropdown-submenu .dropdown-menu,
  .dropdown-submenu-lv3 .dropdown-menu {
    position: static;
    margin: 0;
    border-left: 4px solid var(--green-mid);
    margin-left: 24px;
    border-top: none;
    box-shadow: none;
  }

  .dropdown-submenu>.dropdown-item::after,
  .dropdown-submenu-lv3>.dropdown-item::after {
    content: '\F282';
  }
}

@media (max-width: 575.98px) {

  /* Restructure header for mobile - vertical stack */
  .college-header .container>.d-flex {
    flex-direction: column !important;
    align-items: center;
    gap: 12px;
  }

  /* Reorder elements: college logo first, then brand text, then government logo */
  #logo-left {
    order: 1;
  }

  .header-brand {
    order: 2;
    text-align: center;
    padding: 0;
    flex: none;
  }

  #logo-right {
    order: 3;
  }

  .header-logo-ring {
    width: 92px;
    height: 100px;
  }

  .header-brand .h-english {
    font-size: .95rem;
  }

  .header-brand .h-tamil {
    font-size: .88rem;
  }

  .header-brand .h-affiliation {
    font-size: .85rem;
  }

  .header-brand .h-location {
    font-size: .80rem;
  }

  .header-brand .h-nirf {
    font-size: .70rem;
  }

  .hero-stats {
    gap: 8px;
  }

  .stat-card {
    min-width: 80px;
    padding: 10px 14px;
  }
}

/* ─── Hero Slider Styles ─── */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 520px;
}

.hero-slide {
  display: none;
  width: 100%;
  min-height: 520px;
  align-items: center;
  animation: slideFade 0.6s ease;
}

.hero-slide.active {
  display: flex;
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-slider .slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 30px rgba(200, 144, 16, 0.4);
}

.hero-slider .slider-btn.prev {
  left: 20px;
}

.hero-slider .slider-btn.next {
  right: 20px;
}

/* Slide Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--tr);
}

.slider-dots .dot.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 30px;
  border-radius: 6px;
}

.slider-dots .dot:hover {
  border-color: var(--gold);
}

/* Slide-specific backgrounds */
.hero-slide-1 {
  background: var(--green-dark);
}

.hero-slide-2 {
  background: linear-gradient(135deg, #0a1f14 0%, var(--green-dark) 100%);
}

.hero-slide-3 {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0d2a1a 100%);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .hero-slider .slider-btn.prev {
    left: 10px;
  }

  .hero-slider .slider-btn.next {
    right: 10px;
  }

  .hero-slide {
    min-height: 480px;
  }
}

@media (max-width: 576px) {
  .hero-slide {
    min-height: 420px;
  }

  .hero-slider .slider-btn {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }
}

/* ─── Hero Section ─── */
.cell-hero {
  background: linear-gradient(135deg, var(--cell-primary) 0%, var(--cell-primary-light) 50%, #0a1f14 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.cell-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200, 144, 16, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.cell-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cell-gold), var(--cell-gold-light), var(--cell-gold));
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(30px, -30px) rotate(180deg);
  }
}

.cell-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cell-gold);
  color: #fff;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(200, 144, 16, 0.3);
  margin-bottom: 24px;
}

.cell-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cell-hero .hero-motto {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--cell-gold-light);
  font-style: italic;
  letter-spacing: 3px;
  margin-bottom: 32px;
}

.cell-hero .breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-flex;
}

.cell-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--cell-transition);
}

.cell-hero .breadcrumb-item a:hover {
  color: var(--cell-gold-light);
}

.cell-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.5);
}

.cell-hero .hero-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 650px;
  line-height: 1.8;
  margin-top: 24px;
}

.cell-hero .hero-icon {
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.05);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.05;
    transform: scale(1);
  }

  50% {
    opacity: 0.1;
    transform: scale(1.05);
  }
}

/* ─── Main Section ─── */
.cell-main {
  padding: 80px 0;
  background: var(--cell-bg-light);
}

/* ─── Section Header ─── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cell-gold-pale);
  color: var(--cell-gold);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--cell-gold-light);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--cell-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: #6b7280;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Officer Profile Card ─── */
.officer-card {
  background: #fff;
  border-radius: var(--cell-radius-lg);
  border: 2px solid var(--cell-border);
  box-shadow: var(--cell-shadow-md);
  padding: 40px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--cell-transition);
}

.officer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--cell-gold), var(--cell-gold-light));
}

.officer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cell-shadow-lg);
  border-color: var(--cell-gold);
}

.officer-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cell-primary), var(--cell-primary-light));
  flex-shrink: 0;
  border: 4px solid var(--cell-gold-light);
  box-shadow: 0 4px 20px rgba(200, 144, 16, 0.2);
}

.officer-card.ncc .avatar {
  background: linear-gradient(135deg, #0e3d26, #1a5c38);
}

.officer-card.yrc .avatar {
  background: linear-gradient(135deg, var(--cell-red), var(--cell-red-light));
}

.officer-card .info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cell-primary);
  margin-bottom: 4px;
}

.officer-card .info .role {
  color: var(--cell-gold);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.officer-card .info .dept {
  color: #6b7280;
  font-size: 0.95rem;
}

/* ─── Info Box ─── */
.info-box {
  background: #fff;
  border-radius: var(--cell-radius-md);
  border: 2px solid var(--cell-border);
  box-shadow: var(--cell-shadow-sm);
  padding: 32px;
  margin-bottom: 48px;
}

.info-box .info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cell-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box .info-title i {
  color: var(--cell-gold);
  font-size: 1.3rem;
}

.info-box .info-description {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.info-box .info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-box .info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cell-border);
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-box .info-list li:last-child {
  border-bottom: none;
}

.info-box .info-list li i {
  color: var(--cell-gold);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ─── Activity Grid ─── */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.activity-card {
  background: #fff;
  border-radius: var(--cell-radius-md);
  border: 2px solid var(--cell-border);
  box-shadow: var(--cell-shadow-sm);
  padding: 32px;
  transition: var(--cell-transition);
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cell-gold), var(--cell-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--cell-transition);
}

.activity-card:hover {
  transform: translateY(-8px);
  border-color: var(--cell-gold);
  box-shadow: var(--cell-shadow-lg), var(--cell-shadow-gold);
}

.activity-card:hover::before {
  transform: scaleX(1);
}

.activity-card .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--cell-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--cell-primary), var(--cell-primary-light));
  transition: var(--cell-transition);
}

.activity-card.ncc .icon-wrapper {
  background: linear-gradient(135deg, #0e3d26, #1a5c38);
}

.activity-card.yrc .icon-wrapper {
  background: linear-gradient(135deg, var(--cell-red), var(--cell-red-light));
}

.activity-card:hover .icon-wrapper {
  background: linear-gradient(135deg, var(--cell-gold), var(--cell-gold-light));
  transform: rotate(-5deg) scale(1.1);
}

.activity-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cell-primary);
  margin-bottom: 12px;
}

.activity-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ─── Stats Pills ─── */
.stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
}

.stat-pill {
  background: #fff;
  border: 2px solid var(--cell-border);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--cell-transition);
}

.stat-pill:hover {
  border-color: var(--cell-gold);
  color: var(--cell-gold);
  transform: translateY(-3px);
  box-shadow: var(--cell-shadow-sm);
}

.stat-pill i {
  color: var(--cell-gold);
  font-size: 1.1rem;
}

/* ─── Responsive Design ─── */
@media (max-width: 992px) {
  .officer-card {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }

  .officer-card::before {
    width: 100%;
    height: 6px;
  }

  .cell-hero {
    padding: 60px 0 40px;
  }

  .cell-main {
    padding: 60px 0;
  }
}

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

  .cell-hero h1 {
    font-size: 2rem;
  }

  .cell-hero .hero-motto {
    font-size: 1.2rem;
  }

  .stats-pills {
    flex-direction: column;
    align-items: center;
  }

  .stat-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ─── Animations ─── */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Page Banner ===== */

.page-banner-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.banner-logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.banner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.banner-logo-placeholder {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
  border-radius: 50%;
  background: #fff;
}

.banner-logo-placeholder i {
  font-size: 2rem;
  color: #c0392b;
}

.page-banner h1 {
  margin: 0;
  font-weight: 800;
  color: var(--green-dark);
}

/* Tablet */
@media (max-width:768px) {

  .page-banner-title {
    gap: 15px;
  }

  .banner-logo {
    width: 60px;
    height: 60px;
  }

  .page-banner h1 {
    font-size: 1.7rem;
  }

}

/* Mobile */
@media (max-width:576px) {

  .page-banner-title {
    flex-direction: column;
    text-align: center;
  }

  .banner-logo {
    width: 70px;
    height: 70px;
  }

  .page-banner h1 {
    font-size: 1.4rem;
  }

}