/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLESHEET - CSE JHANSI WEBSITE
   ========================================================================== */

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


/* CSS Variables */
:root {
  --primary-blue: #0d47a1;       /* Logo blue */
  --primary-dark: #0a2540;       /* Dark background navy */
  --accent-red: #d32f2f;         /* Logo red accent */
  --accent-red-hover: #b71c1c;   /* Accent red hover */
  --secondary-green: #2e7d32;    /* Logo green accent */
  --accent-yellow: #ffb300;      /* Amber yellow for highlighting */
  
  --bg-light: #f4f6f9;           /* Light background */
  --bg-white: #ffffff;           /* Pure white */
  --bg-card: #ffffff;            /* Card background */
  
  --text-dark: #1e293b;          /* Dark body text */
  --text-muted: #64748b;         /* Secondary muted text */
  --text-light: #f8fafc;         /* Light text for dark sections */
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  --container-max: 1400px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

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

/* Top Utility Header */
.top-bar {
  background: linear-gradient(135deg, var(--primary-blue), #082f6b) !important;
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--accent-red);
}


.top-bar-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  gap: 15px;
  align-items: center;
}

.top-bar-left a {
  opacity: 0.85;
}

.top-bar-left a:hover {
  opacity: 1;
  color: var(--accent-yellow);
}

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

.top-bar-link {
  border-right: 1px solid rgba(255,255,255,0.2);
  padding-right: 10px;
}

.top-bar-link:last-child {
  border-right: none;
  padding-right: 0;
}

.top-btn {
  background-color: var(--accent-red);
  color: var(--text-light);
  padding: 3px 10px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.top-btn:hover {
  background-color: var(--accent-red-hover);
  color: var(--text-light);
}

/* Scrolling Announcement Notice Ticker */
.ticker-wrap {
  width: 100%;
  background-color: var(--accent-red);
  color: var(--text-light);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.ticker-title {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 0 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10;
  position: relative;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 40px;
  font-size: 0.9rem;
  font-weight: 500;
}

.ticker-badge {
  background-color: var(--accent-yellow);
  color: var(--primary-dark);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
  animation: pulse 1.5s infinite;
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Main Navbar Header */
.main-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Branding Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-logo-img {
  width: auto;
  height: 75px;
  max-width: 85px;
  object-fit: contain;
  filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.1));
  transition: transform var(--transition-fast);
}

.logo-container:hover .brand-logo-img {
  transform: scale(1.05);
}

.footer-logo-img {
  width: auto;
  height: 88px;
  max-width: 95px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.25);
  transition: transform var(--transition-fast);
}

.logo-svg {
  width: 85px;
  height: 85px;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1));
}

.brand-text h1 {
  font-size: 1.15rem;
  color: var(--primary-blue);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-text h2 {
  font-size: 1.45rem;
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.1;
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Main Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--primary-dark);
  padding: 8px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: var(--transition-smooth);
}

.nav-link i.fa-chevron-down {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--accent-red);
}

/* Premium Underline Slide-in Hover Effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--accent-red);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--accent-red);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
}

.nav-item.active .nav-link {
  color: var(--accent-red);
}

/* ==========================================================================
   ACADEMICS MULTI-LEVEL DROPDOWN & SUB-DROPDOWNS
   ========================================================================== */
.nav-item.nav-has-dropdown {
  position: relative;
}

/* Level 1: Main Dropdown */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  border-top: 3px solid var(--accent-red);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
}

.nav-item.nav-has-dropdown:hover > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 2px 8px;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  gap: 12px;
  white-space: nowrap;
}

.dropdown-link-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-icon {
  font-size: 0.95rem;
  color: var(--primary-blue);
  width: 18px;
  text-align: center;
  transition: all 0.2s ease;
}

.sub-arrow {
  font-size: 0.72rem;
  color: #8c98a4;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item:hover > .nav-dropdown-link {
  background-color: #f0f4ff;
  color: var(--accent-red);
}

.nav-dropdown-item:hover > .nav-dropdown-link .sub-arrow {
  transform: translateX(3px);
  color: var(--accent-red);
}

.nav-dropdown-item:hover > .nav-dropdown-link .dropdown-icon {
  color: var(--accent-red);
  transform: scale(1.15);
}

/* Level 2: Nested Sub-Dropdowns */
.nav-sub-dropdown {
  position: absolute;
  top: -4px;
  left: 100%;
  min-width: 320px;
  background-color: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  border-radius: 8px;
  border-top: 3px solid var(--accent-red);
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
}

/* Invisible bridge so mouse hover does not break between dropdown and sub-dropdown */
.nav-sub-dropdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: -12px;
  width: 14px;
  height: 100%;
}

.nav-dropdown-item.has-submenu:hover > .nav-sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-sub-dropdown li {
  list-style: none;
  margin: 0;
  padding: 2px 0;
}

.nav-sub-dropdown li a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2b354f;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  line-height: 1.35;
}

.nav-sub-dropdown li a i {
  font-size: 0.75rem;
  color: var(--primary-blue);
  opacity: 0.8;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nav-sub-dropdown li a:hover {
  background-color: #f0f4ff;
  color: var(--accent-red);
  padding-left: 14px;
}

.nav-sub-dropdown li a:hover i {
  color: var(--accent-red);
  opacity: 1;
  transform: translateX(2px);
}

/* Level 2 Sub Links & Sub-Item Hover */
.nav-sub-item {
  position: relative;
}

.nav-sub-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: #2b354f;
  text-decoration: none;
  padding: 8px 12px !important;
  border-radius: 5px;
  transition: all 0.2s ease;
  line-height: 1.35;
  white-space: nowrap;
}

.nav-sub-link > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-sub-link > span i {
  font-size: 0.8rem;
  color: var(--primary-blue);
  width: 16px;
  text-align: center;
  transition: all 0.2s ease;
}

.sub-sub-arrow {
  font-size: 0.68rem !important;
  color: #8c98a4 !important;
  margin-left: 10px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-sub-item:hover > .nav-sub-link {
  background-color: #f0f4ff;
  color: var(--accent-red);
}

.nav-sub-item:hover > .nav-sub-link > span i,
.nav-sub-item:hover > .nav-sub-link .sub-sub-arrow {
  color: var(--accent-red) !important;
  transform: translateX(3px);
}

/* Level 3: Nested Sub-Sub-Dropdowns */
.nav-sub-sub-dropdown {
  position: absolute;
  top: -4px;
  left: 100%;
  min-width: 350px;
  background-color: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  border-top: 3px solid var(--accent-red);
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1002;
}

.nav-sub-sub-dropdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: -12px;
  width: 14px;
  height: 100%;
}

.nav-sub-item.has-sub-submenu:hover > .nav-sub-sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-sub-sub-dropdown li {
  list-style: none;
  margin: 0;
  padding: 2px 0;
}

.nav-sub-sub-dropdown li a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2b354f;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  line-height: 1.35;
  white-space: nowrap;
}

.nav-sub-sub-dropdown li a i {
  font-size: 0.75rem;
  color: var(--primary-blue);
  opacity: 0.8;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nav-sub-sub-dropdown li a:hover {
  background-color: #f0f4ff;
  color: var(--accent-red);
  padding-left: 14px;
}

.nav-sub-sub-dropdown li a:hover i {
  color: var(--accent-red);
  opacity: 1;
  transform: translateX(2px);
}

.nav-apply-btn {
  white-space: nowrap;
  background-color: var(--accent-red);
  color: var(--bg-white) !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--border-radius-sm);
  margin-left: 8px;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.28);
  display: inline-block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.nav-apply-btn:hover {
  background-color: var(--accent-red-hover);
  color: var(--bg-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(211, 47, 47, 0.3);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-dark);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* Mobile Nav Drawer & Overlay (Hidden by default on desktop) */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background-color: #0b1e36;
  z-index: 9999;
  overflow-y: auto;
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.4);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 30px;
}

.mobile-nav-drawer.active {
  left: 0;
}

.mobile-nav-drawer .logo-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background-color: #071526;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-drawer .logo-area img {
  height: 42px;
  width: auto;
  background: white;
  border-radius: 4px;
  padding: 2px;
}

.mobile-nav-drawer ul {
  list-style: none;
  padding: 12px 0;
  margin: 0;
}

.mobile-nav-drawer ul li {
  list-style: none;
  margin: 0;
}

.mobile-nav-drawer ul li a {
  display: block;
  padding: 12px 24px;
  color: #e2e8f0;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.mobile-nav-drawer ul li a:hover,
.mobile-nav-drawer ul li a.active {
  background-color: rgba(211, 47, 47, 0.15);
  color: var(--accent-yellow);
  border-left-color: var(--accent-red);
  padding-left: 30px;
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: block;
  }
  .mobile-nav-drawer {
    display: block;
  }
  .nav-menu {
    display: none;
  }
}

@media (min-width: 1025px) {
  .mobile-nav-drawer,
  .mobile-nav-overlay {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Sticky Enquiry Panel Button */
.enquiry-sticky-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right bottom;
  background-color: var(--accent-red);
  color: var(--bg-white);
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
  cursor: pointer;
  z-index: 99;
  box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
}

.enquiry-sticky-btn:hover {
  background-color: var(--primary-blue);
  padding-bottom: 25px;
}

/* Page Views Logic */
.page-view {
  display: none;
  animation: fadeIn 0.5s ease-in-out forwards;
  min-height: calc(100vh - 250px);
}

.page-view.active {
  display: block;
}

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

/* Banner Hero Slider */
.hero-slider {
  position: relative;
  height: 480px;
  background-color: var(--primary-dark);
  overflow: hidden;
}


.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 37, 64, 0.92) 38%, rgba(10, 37, 64, 0.35) 100%);
  z-index: 2;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  position: relative;
  z-index: 3;
  color: var(--text-light);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.8s ease 0.5s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-subtitle {
  color: var(--accent-yellow);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.slide-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--bg-white);
  line-height: 1.22;
}

.slide-desc {
  max-width: 820px;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 12px;
  opacity: 0.92;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slide-actions .btn {
  padding: 8px 18px;
  font-size: 0.86rem;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--bg-white);
  box-shadow: 0 4px 6px rgba(211, 47, 47, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-red);
  color: var(--text-light);
  box-shadow: 0 4px 6px rgba(211, 47, 47, 0.2);
}

.btn-secondary:hover {
  background-color: var(--accent-red-hover);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

.btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background-color: var(--accent-yellow);
  transform: scale(1.2);
}

/* Welcome Block & Notice Grid */
.home-intro {
  padding: 30px 0;
  background-color: var(--bg-white);
}

.intro-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Balanced: 1fr image, 1.2fr text */
  gap: 40px;
  align-items: stretch; /* Stretch children to equal heights */
}

.welcome-box h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  color: #0f172a; /* Black */
  font-weight: 800;
  line-height: 1.25;
}

.welcome-box p {
  color: #0f172a; /* Black */
  margin-bottom: 18px;
  font-size: 0.98rem;
  line-height: 1.75; /* Smooth professional line height */
  font-weight: 450;
  text-align: justify;
  text-justify: inter-word;
  word-break: break-word;
  hyphens: auto;
}



.welcome-box h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--accent-red);
}


/* Notice Board Card */
.notice-board {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  border-top: 4px solid var(--accent-red);
  padding: 25px;
  box-shadow: var(--shadow-md);
}

.notice-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 10px;
}

.notice-list {
  list-style: none;
}

.notice-item {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
}

.notice-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.notice-link:hover {
  color: var(--primary-blue);
}

/* Quick Action Cards */
.quick-actions {
  background-color: var(--bg-light);
  padding: 60px 0;
}

.quick-actions-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Dark/colored section overrides for headers */
.courses-offered-section .section-subtitle,
.approvals-section .section-subtitle {
  color: var(--accent-yellow) !important;
}

.courses-offered-section .section-header h2,
.approvals-section .section-header h2 {
  color: var(--bg-white) !important;
}

.courses-offered-section .section-header p {
  color: rgba(255, 255, 255, 0.8) !important;
}

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

.action-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border-bottom: 4px solid var(--primary-blue);
  text-align: center;
}

.action-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-bottom-color: var(--accent-red);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(13, 71, 161, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 700;
}

.action-card:hover .card-icon {
  background-color: var(--accent-red);
  color: var(--bg-white);
}

.action-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.action-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-link::after {
  content: ' →';
}

/* Stats Counter Section */
.stats-section {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent-yellow);
  margin-bottom: 5px;
  font-weight: 800;
}

.stat-item p {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-light);
  opacity: 0.8;
}

/* Departments Section Styles */
.dept-tab-container {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.dept-tabs {
  display: flex;
  background-color: var(--primary-dark);
  overflow-x: auto;
}

.dept-tab-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
  border-bottom: 3px solid transparent;
}

.dept-tab-btn:hover {
  color: var(--text-light);
  background-color: rgba(255,255,255,0.05);
}

.dept-tab-btn.active {
  color: var(--accent-yellow);
  background-color: rgba(255,255,255,0.1);
  border-bottom-color: var(--accent-yellow);
}

.dept-content-panel {
  display: none;
  padding: 40px;
  animation: fadeIn 0.4s ease;
}

.dept-content-panel.active {
  display: block;
}

.dept-header-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 30px;
}

.dept-title-area h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.dept-title-area p {
  color: var(--text-muted);
}

.hod-card {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent-red);
  padding: 20px;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.hod-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.hod-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.hod-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dept-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.dept-list-box h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
  border-left: 3px solid var(--accent-red);
  padding-left: 10px;
}

.dept-list-box ul {
  list-style: none;
}

.dept-list-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.dept-list-box ul li::before {
  content: '✓ ';
  color: var(--secondary-green);
  font-weight: bold;
}

/* Admissions Page Layout */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .grid-2col {
    grid-template-columns: 1fr;
  }
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.fee-table th, .fee-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.fee-table th {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table tbody tr:hover {
  background-color: rgba(13, 71, 161, 0.02);
}

/* Form Styles */
.form-card {
  background-color: var(--bg-white);
  padding: 40px 35px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px -10px rgba(13, 71, 161, 0.1);
  border-top: 4px solid var(--accent-red);
  transition: var(--transition-smooth);
}

.form-card:hover {
  box-shadow: 0 15px 40px -10px rgba(13, 71, 161, 0.15);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 15px;
  color: var(--primary-dark);
  font-weight: 800;
  position: relative;
}

.form-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background-color: var(--accent-red);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  background-color: #f8fafc;
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--primary-blue);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

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

/* Placement Recruiters Grid */
.recruiters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.recruiter-logo {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-sm);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.recruiter-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* Custom Interactive Mock ERP Portal */
.erp-container {
  max-width: 500px;
  margin: 40px auto;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border-top: 5px solid var(--primary-blue);
}

.erp-header {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 30px;
  text-align: center;
}

.erp-header h3 {
  font-size: 1.6rem;
  color: var(--bg-white);
}

.erp-header p {
  font-size: 0.85rem;
  opacity: 0.8;
}

.erp-body {
  padding: 30px;
}

.role-tabs {
  display: flex;
  margin-bottom: 25px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-light);
  padding: 4px;
}

.role-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.role-btn.active {
  background-color: var(--bg-white);
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.erp-dashboard {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  margin-top: 30px;
  animation: fadeIn 0.5s ease;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.db-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  border-left: 4px solid var(--primary-blue);
}

.db-card.accent {
  border-left-color: var(--accent-red);
}

.db-card.success {
  border-left-color: var(--secondary-green);
}

.db-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.db-card p.value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* Modal Popup Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 37, 64, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(4px);
}

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

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  max-width: 550px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.85);
  transition: var(--transition-smooth);
}

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

.modal-header {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--bg-white);
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 25px;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 99;
  transition: var(--transition-smooth);
}

.whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: var(--bg-white);
}

/* Downloads Grid library */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.download-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.05);
}

.download-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.download-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.download-action-btn {
  background-color: rgba(211, 47, 47, 0.08);
  color: var(--accent-red);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
}

.download-card:hover {
  border-color: var(--accent-red);
}

.download-card:hover .download-action-btn {
  background-color: var(--accent-red);
  color: var(--bg-white);
}

/* Contact Grid & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

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

.contact-info-list {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 40px;
  border-radius: var(--border-radius-md);
  height: 100%;
}

.contact-info-list h3 {
  color: var(--bg-white);
  font-size: 1.6rem;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--accent-yellow);
  padding-bottom: 10px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 179, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-weight: bold;
  flex-shrink: 0;
}

.info-text h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 3px;
}

.info-text p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.mock-map {
  width: 100%;
  height: 250px;
  background-color: #cbd5e1;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  position: relative;
  overflow: hidden;
}

.mock-map::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(13, 71, 161, 0.1) 0%, rgba(13, 71, 161, 0.25) 100%);
  z-index: 1;
}

.mock-map-pin {
  width: 16px;
  height: 16px;
  background-color: var(--accent-red);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(211, 47, 47, 0.3);
  animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
  0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(211, 47, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

/* Page Section Content Spacing */
.page-section {
  padding: 60px 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   FOOTER SECTION (Professional, Pure White Text, Clean Logo & High Contrast)
   ========================================================================== */
.main-footer {
  background: linear-gradient(135deg, var(--primary-blue), #082f6b) !important;
  color: #ffffff !important;
  padding: 50px 0 0 0 !important;
  border-top: 4px solid var(--accent-red);
  margin-top: 60px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Force all text inside footer to be 100% pure bright white */
.main-footer,
.main-footer h1,
.main-footer h2,
.main-footer h3,
.main-footer h4,
.main-footer h5,
.main-footer h6,
.main-footer .footer-col-title,
.main-footer .footer-col h4,
.main-footer .footer-acc-item span,
.main-footer .footer-links-list li a,
.main-footer .footer-bottom-bar p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.1fr 1.3fr 1.1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* Single Clean Logo Box */
.footer-logo-only-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 3px #ffd54f;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo-only-box:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 4px #ffd54f;
}

.footer-logo-single-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-col-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: 0.5px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

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

.footer-acc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-acc-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-acc-item span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600;
}

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

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

.footer-links-list li a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  opacity: 1 !important;
  text-decoration: none;
}

.footer-links-list li a:hover {
  color: var(--accent-yellow) !important;
  -webkit-text-fill-color: var(--accent-yellow) !important;
  transform: translateX(4px);
  opacity: 1 !important;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.footer-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-social-icons a:hover {
  background: var(--accent-yellow);
  color: var(--primary-dark) !important;
  -webkit-text-fill-color: var(--primary-dark) !important;
  transform: translateY(-3px);
}

.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.35);
  margin-top: 35px;
  margin-bottom: 0 !important;
  padding: 10px 20px !important;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-bar p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 0.85rem;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  opacity: 1 !important;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  .footer-logo-badge-wrap {
    justify-content: flex-start;
  }
}

/* Toast Notification Styles */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
}

.toast {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 15px 25px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--secondary-green);
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

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

/* ==========================================================================
   RESPONSIVENESS (MOBILE DEVICES AND TABLETS)
   ========================================================================== */

@media (max-width: 1400px) {
  .logo-svg,
  .brand-logo-img {
    width: 70px;
    height: 70px;
  }
  .nav-link {
    font-size: 0.9rem;
    padding: 6px 4px;
  }
  .nav-menu {
    gap: 8px;
  }
  .nav-apply-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
    margin-left: 8px;
  }
  .hero-slider {
    height: 480px;
  }
}


@media (max-width: 1240px) {
  .nav-menu { display: none; } /* Hide default nav for mobile and display hamburger */
  .mobile-toggle { display: block; }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .hero-slider {
    height: 470px;
  }
}



@media (max-width: 768px) {
  .top-bar-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
  }
  
  .slide-title {
    font-size: 1.5rem;
  }
  
  .slide-desc {
    font-size: 0.85rem;
  }
  .hero-slider {
    height: auto;
    min-height: 420px;
    padding: 25px 0;
  }

  
  .dept-details-grid {
    grid-template-columns: 1fr;
  }
  
  .dept-header-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .slide-actions {
    flex-direction: column;
  }
}

/* Mobile Nav Drawer Overlay styles */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background-color: var(--primary-dark);
  color: var(--text-light);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  padding: 30px 20px;
  transition: var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  left: 0;
}

.mobile-nav-drawer .logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 20px;
}

.mobile-nav-drawer .logo-area img {
  height: 38px;
  width: auto;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.mobile-nav-drawer ul {
  list-style: none;
}

.mobile-nav-drawer ul li {
  margin-bottom: 15px;
}

.mobile-nav-drawer ul li a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  display: block;
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
}

.mobile-nav-drawer ul li a:hover {
  background-color: rgba(255,255,255,0.05);
  color: var(--accent-yellow);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

/* ==========================================================================
   PURPLE STATS BAR (6 Key Metrics Strip)
   ========================================================================== */
.purple-stats-bar {
  background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #0d47a1 100%);
  color: var(--text-light);
  padding: 16px 0;
  border-bottom: 3px solid var(--accent-yellow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.purple-stats-container {
  max-width: 100%;
  padding: 0 40px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  text-align: center;
}

.p-stat-item {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 8px;
}

.p-stat-item:last-child {
  border-right: none;
}

.p-stat-icon {
  font-size: 1.3rem;
  color: var(--accent-yellow);
  margin-bottom: 2px;
}

.p-stat-number {
  color: #ffffff;
  font-size: 1.95rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.p-stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ==========================================================================
   WELCOME SECTION TAGLINE & HERO slider features
   ========================================================================== */
.welcome-image-box {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 100%; /* Stretch automatically to match text height */
  min-height: 380px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
}


.cursive-tagline {
  font-family: 'Playball', 'Brush Script MT', cursive;
  font-size: 2.3rem;
  color: var(--primary-blue);
  text-align: right;
  margin-top: 15px;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.slider-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--accent-yellow);
  width: 100%;
  max-width: 820px;
}

.slider-feature-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 1200px) {
  .p-stat-number {
    font-size: 1.4rem;
  }
  .p-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 900px) {
  .purple-stats-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .p-stat-item:nth-child(3) {
    border-right: none;
  }
  .welcome-image-box {
    height: 240px;
  }
}

@media (max-width: 600px) {
  .purple-stats-container {
    grid-template-columns: 1fr 1fr;
  }
  .p-stat-item {
    border-right: none !important;
  }
  .p-stat-number {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   CHAIRMAN'S MESSAGE SECTION
   ========================================================================== */
.chairman-section {
  padding: 30px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.chairman-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(13, 71, 161, 0.03);
  border-radius: 50%;
}

.chairman-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}

.chairman-profile-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 35px 25px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-top: 5px solid var(--primary-blue);
  position: sticky;
  top: 100px;
  z-index: 10;
}

.chairman-image-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  position: relative;
  border-radius: 50%;
  border: 4px solid #f1f5f9;
  box-shadow: var(--shadow-md);
}

.chairman-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.chairman-details h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 5px;
  font-weight: 700;
}

.chairman-details .designation {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.chairman-details .institution {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.chairman-message-content {
  position: relative;
}

.quote-mark {
  position: absolute;
  top: -55px;
  left: -20px;
  font-size: 8rem;
  color: rgba(13, 71, 161, 0.06);
  font-family: serif;
  line-height: 1;
  z-index: 1;
  user-select: none;
}

.chairman-message-content h2,
.director-message-content h2,
.group-director-message-content h2 {
  font-size: 2.2rem;
  color: #0f172a; /* Black */
  margin-bottom: 15px;
  font-weight: 800;
  z-index: 2;
  position: relative;
}


.chairman-message-content h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-red);
  margin-top: 10px;
}

.chairman-message-content .lead-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-blue);
  line-height: 1.6;
  margin-bottom: 25px;
  font-style: italic;
  border-left: 4px solid var(--accent-yellow);
  padding-left: 20px;
  z-index: 2;
  position: relative;
}

.message-body {
  color: #0f172a; /* Black */
  font-size: 0.98rem;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
  word-break: break-word;
  hyphens: auto;
}





.message-body p {
  margin-bottom: 20px;
}

.signature-block {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px dashed rgba(0,0,0,0.1);
}

.signature-block .signoff {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 5px;
}

.signature-block .sig-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.signature-block .sig-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .chairman-container, .director-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .chairman-profile-card, .director-profile-card {
    position: static;
    max-width: 450px;
    margin: 0 auto;
  }
  .director-profile-card {
    order: -1; /* Display profile card first on mobile */
  }
}

/* ==========================================================================
   DIRECTOR'S MESSAGE SECTION
   ========================================================================== */
.director-section {
  padding: 30px 0;
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.director-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(46, 125, 50, 0.03); /* Soft Green Accent */
  border-radius: 50%;
}

.director-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr; /* Text on left, Profile card on right */
  gap: 50px;
  align-items: start;
}

.director-profile-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 35px 25px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-top: 5px solid var(--secondary-green); /* Green Top border to contrast Chairman's Blue */
  position: sticky;
  top: 100px;
  z-index: 10;
}

.director-image-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  position: relative;
  border-radius: 50%;
  border: 4px solid #f1f5f9;
  box-shadow: var(--shadow-md);
}

.director-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-blue) 100%);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.director-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.06);
}

.director-details h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 5px;
  font-weight: 700;
}

.director-details .designation {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.director-details .institution {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.director-message-content {
  position: relative;
}

/* ==========================================================================
   GROUP DIRECTOR'S MESSAGE SECTION
   ========================================================================== */
.group-director-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.group-director-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(229, 115, 115, 0.03); /* Soft Red Accent */
  border-radius: 50%;
}

.group-director-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr; /* Sticky card on left, text on right */
  gap: 50px;
  align-items: start;
}

.group-director-profile-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 35px 25px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-top: 5px solid var(--accent-red); /* Red Top border for Group Director */
  position: sticky;
  top: 100px;
  z-index: 10;
}

.group-director-image-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  position: relative;
  border-radius: 50%;
  border: 4px solid #f1f5f9;
  box-shadow: var(--shadow-md);
}

.group-director-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #e65100 0%, var(--accent-red) 100%); /* Orange-Red Gradient */
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.group-director-details h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 5px;
  font-weight: 700;
}

.group-director-details .designation {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.group-director-details .institution {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.group-director-message-content {
  position: relative;
}

@media (max-width: 900px) {
  .group-director-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .group-director-profile-card {
    position: static;
    max-width: 450px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   WHY CHOOSE SRGI SECTION (Reference Design - 6 Columns)
   ========================================================================== */
.why-choose-section {
  padding: 45px 0 55px;
  background: #ffffff;
  position: relative;
}

.why-choose-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header with Gold/Amber Accents on sides matching screenshot */
.why-ref-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
  text-align: center;
}

.why-ref-line {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 1 70px;
}

.why-ref-line::before {
  content: '';
  height: 2px;
  background: #f59e0b;
  flex: 1;
}

.why-ref-line::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #f59e0b;
  border-radius: 50%;
  flex-shrink: 0;
}

.why-ref-line.right-line::before {
  order: 2;
}

.why-ref-line.right-line::after {
  order: 1;
}

.why-ref-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
  font-family: var(--font-heading);
}

@media (max-width: 768px) {
  .why-ref-header h2 {
    font-size: 1.05rem;
  }
  .why-ref-line {
    flex: 0 1 35px;
  }
}

/* Lead Intro Text */
.why-ref-intro {
  max-width: 980px;
  margin: 0 auto 30px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 16px 24px;
}

.why-ref-intro p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.why-ref-intro p strong {
  color: #0f172a;
}

/* 6-Column Grid */
.why-ref-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 1200px) {
  .why-ref-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .why-ref-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 440px) {
  .why-ref-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Reference Card Styling */
.why-ref-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
}

.why-ref-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

/* Icon box */
.why-ref-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.why-ref-card:hover .why-ref-icon {
  transform: scale(1.1);
}

/* Card Title */
.why-ref-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #0f172a;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Description */
.why-ref-desc {
  font-size: 0.76rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* Color Themes for each of the 6 cards matching reference screenshot */
/* 1. Quality Education (Sky Blue) */
.why-ref-card.card-blue .why-ref-icon {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}
.why-ref-card.card-blue:hover {
  border-color: #0284c7;
}

/* 2. Modern Computing Labs (Green) */
.why-ref-card.card-green .why-ref-icon {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.why-ref-card.card-green:hover {
  border-color: #059669;
}

/* 3. Industry Exposure (Amber / Orange) */
.why-ref-card.card-orange .why-ref-icon {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.2);
}
.why-ref-card.card-orange:hover {
  border-color: #d97706;
}

/* 4. Research & Innovation (Purple) */
.why-ref-card.card-purple .why-ref-icon {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.2);
}
.why-ref-card.card-purple:hover {
  border-color: #7c3aed;
}

/* 5. Placement & Career Support (Royal Blue) */
.why-ref-card.card-royal .why-ref-icon {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.why-ref-card.card-royal:hover {
  border-color: #2563eb;
}

/* 6. Experienced Faculty (Teal / Cyan) */
.why-ref-card.card-teal .why-ref-icon {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
  border: 1px solid rgba(13, 148, 136, 0.2);
}
.why-ref-card.card-teal:hover {
  border-color: #0d9488;
}
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #f1f5f9;
}

.why-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  background: #f8fafc;
  color: #334155;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.why-tag i {
  font-size: 0.7rem;
  color: #10b981;
}



/* ==========================================================================
   COURSES OFFERED SECTION (Grid Cards with dark navy bg matching screenshot)
   ========================================================================== */
.courses-offered-section {
  padding: 30px 0;
  background-color: var(--primary-blue); /* Logo Blue background */
  position: relative;
}

.courses-offered-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.courses-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns on desktop */
  gap: 30px;
}

.course-program-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.course-program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.course-card-image {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-bottom: 4px solid var(--accent-red);
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-program-card:hover .course-card-image img {
  transform: scale(1.05);
}

.course-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.course-program-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-blue); /* Deep Blue matching screenshot and logo */
  margin-bottom: 8px;
  line-height: 1.4;
  font-family: var(--font-heading);
}

.course-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.course-card-buttons {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-know-more {
  flex: 1;
  background-color: var(--accent-red); /* Red background instead of yellow */
  color: var(--text-light); /* White text for contrast */
  text-align: center;
  padding: 11px 15px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn-know-more:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
}

.btn-apply-now {
  flex: 1;
  background-color: var(--primary-blue); /* Navy Blue background */
  color: var(--text-light);
  text-align: center;
  padding: 11px 15px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn-apply-now:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .courses-card-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 600px) {
  .courses-card-grid {
    grid-template-columns: 1fr; /* 1 column on mobiles */
  }
  .courses-offered-container {
    padding: 0 20px;
  }
  .course-program-card {
    padding: 24px;
    min-height: 200px;
  }
}

@media (max-width: 1200px) {
  .why-choose-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
  }
}

@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 15px;
  }
  .why-choose-section .section-header h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

/* ==========================================================================
   ADVANCED LABORATORIES SECTION
   ========================================================================== */
.home-labs-section {
  padding: 30px 0 !important;
  background-color: var(--bg-light);
}

.home-labs-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.section-subtitle {
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-align: center;
  display: block;
}

.section-title-alt {
  font-size: 2.2rem;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 800;
  position: relative;
}

.section-title-alt::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-red);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lab-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
}

.lab-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 71, 161, 0.2);
}

.lab-card-image-box {
  width: 100%;
  height: 195px;
  overflow: hidden;
  position: relative;
  border-bottom: 4px solid var(--accent-red);
}

.lab-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.lab-card:hover .lab-card-image-box img {
  transform: scale(1.05);
}

@media (max-width: 1200px) {
  .labs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .labs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .labs-grid {
    grid-template-columns: 1fr;
  }
  .home-labs-container {
    padding: 0 20px;
  }
}

.lab-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lab-tag {
  align-self: flex-start;
  background-color: rgba(13, 71, 161, 0.08);
  color: var(--primary-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lab-card-content h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.lab-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.lab-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
}

.lab-explore-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
}

.lab-card:hover .lab-explore-btn {
  color: var(--accent-red);
}

/* ==========================================================================
   RESEARCH & INNOVATION SECTION
   ========================================================================== */
.home-research-section {
  padding: 30px 0;
  background-color: var(--primary-blue);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.home-research-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: rgba(13, 71, 161, 0.15);
  border-radius: 50%;
  filter: blur(50px);
}

.home-research-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}

.research-text-block {
  position: relative;
  z-index: 2;
}

.research-text-block h4 {
  color: var(--accent-yellow);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.research-text-block h2 {
  color: var(--bg-white);
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.research-text-block p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.home-research-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0a192f 0%, #0f2744 50%, #0d2137 100%);
  position: relative;
  overflow: hidden;
}

.home-research-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 45px;
  align-items: center;
}

.research-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.research-text-block h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.25;
}

.research-text-block p {
  color: #e2e8f0;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 25px;
}

.research-widget {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

.research-tabs-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.r-tab-btn {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.r-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.r-tab-btn.active {
  color: #ffffff;
  background: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.35);
}

.research-tab-content {
  padding: 0;
  min-height: auto;
  max-height: none;
  overflow: visible;
}

.r-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.r-panel.active {
  display: block;
}

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

/* Items lists in panels */
.panel-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.research-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.research-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 179, 0, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.ri-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.ri-agency {
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
}

.ri-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
}

.ri-badge.completed {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}

.ri-badge.patent-status {
  background: rgba(255, 179, 0, 0.15);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

.ri-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin: 0;
}

.ri-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* Responsiveness for Research and Labs */
@media (max-width: 992px) {
  .home-research-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .home-labs-container, .home-research-container {
    padding: 0 20px;
  }
  .section-title-alt, .research-text-block h2 {
    font-size: 1.8rem;
  }
}






/* ==========================================================================
   OUR STRENGTH IN NUMBERS SECTION (8 Animated Metric Cards)
   ========================================================================== */
.strength-numbers-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0a192f 0%, #0f2744 50%, #0d2137 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.strength-numbers-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.strength-numbers-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.strength-numbers-section .section-subtitle {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 8px;
}

.strength-numbers-section .section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.strength-numbers-section .section-header p {
  color: #cbd5e1;
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1024px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.strength-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 26px 18px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.strength-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 179, 0, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.strength-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 179, 0, 0.12);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.strength-card:hover .strength-icon {
  transform: scale(1.1) rotate(4deg);
  background: var(--accent-red);
  color: #ffffff;
}

.strength-number-box {
  margin-bottom: 6px;
}

.strength-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

.strength-label {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

/* ==========================================================================
   APPROVALS & AFFILIATIONS SECTION
   ========================================================================== */
.approvals-section {
  padding: 30px 0 !important;
  background-color: var(--primary-blue); /* Logo Blue background */
  position: relative;
}

.approvals-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.approvals-strip {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}

.approval-card {
  flex: 1;
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 25px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.approval-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 71, 161, 0.15);
}

.approval-logo-box {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.approval-logo-box img, .approval-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.approval-details h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.approval-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 992px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .approvals-strip {
    flex-direction: column;
    gap: 20px;
  }
}

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

/* ==========================================================================
   CAMPUS LIFE SECTION
   ========================================================================== */
.campus-life-section {
  padding: 30px 0 !important;
  background-color: var(--bg-white); /* White background */
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.campus-life-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.campus-life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.campus-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.campus-card-img-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.campus-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.campus-card-info {
  padding: 15px;
  background-color: var(--bg-white);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.campus-card-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  transition: var(--transition-smooth);
}

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

.campus-card:hover .campus-card-img-container img {
  transform: scale(1.05);
}

.campus-card:hover .campus-card-info h3 {
  color: var(--accent-red); /* Color shifts to red on hover */
}

@media (max-width: 992px) {
  .campus-life-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .campus-life-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .campus-life-container {
    padding: 0 20px;
  }
}

/* ==========================================================================
   TRAINING & PLACEMENT SECTION
   ========================================================================== */
.placement-section {
  padding: 30px 0;
  background-color: var(--bg-white); /* White background as requested */
  color: var(--primary-dark);
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.placement-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* Stats Styling */
.placement-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 50px;
}

.placement-stat-card {
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--border-radius-md);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.placement-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 71, 161, 0.15);
}

.placement-stat-val {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 5px;
  font-family: var(--font-heading);
}

.placement-stat-lbl {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Pillars Grid Styling */
.placement-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.placement-pillar-card {
  background: var(--bg-white);
  border: 1px solid rgba(13, 71, 161, 0.08);
  border-radius: var(--border-radius-md);
  padding: 30px 25px;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.placement-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-red);
  border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
  transition: var(--transition-smooth);
}

.placement-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 71, 161, 0.15);
}

.placement-pillar-card:hover::before {
  height: 100%;
}

.placement-pillar-icon {
  font-size: 2rem;
  color: var(--accent-red);
  margin-bottom: 15px;
}

.placement-pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.placement-pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Recruiters Strip Styling */
.recruiters-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.recruiters-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.recruiter-badge {
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--border-radius-sm);
  padding: 15px;
  width: 100%;
  max-width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.recruiter-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 71, 161, 0.1);
  background: var(--bg-white);
}

.recruiter-svg {
  max-height: 45px;
  max-width: 110px;
}

/* Custom Split Layout for Recruiters & Placement Stats */
.recruiters-split-layout {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

/* Left side: stats display box */
.placement-display-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.giant-placement-count {
  font-size: 5.2rem;
  font-weight: 900;
  color: var(--primary-blue);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.placement-badge-banner {
  background-color: var(--accent-yellow);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 8px 30px;
  font-size: 1.1rem;
  border-radius: 4px;
  margin-top: 10px;
  margin-bottom: 25px;
  display: inline-block;
}

.placement-metrics-dark-box {
  background-color: var(--primary-dark);
  border-radius: var(--border-radius-md);
  padding: 25px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.placement-metric-item {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 15px 10px;
  text-align: center;
  transition: var(--transition-smooth);
}

.placement-metric-item:hover {
  border-color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.03);
}

.placement-metric-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
  display: block;
}

.placement-metric-lbl {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-top: 5px;
  display: block;
}

/* Right side: recruiters grid */
.recruiters-dashed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.recruiter-dashed-badge {
  background: var(--bg-white);
  border: 1.5px dashed var(--accent-yellow); /* Dashed yellow border as in screenshot */
  border-radius: 6px;
  padding: 10px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 85px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.recruiter-dashed-badge img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.recruiter-dashed-badge:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
  background: var(--bg-light);
}

@media (max-width: 992px) {
  .placement-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .placement-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recruiters-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .recruiters-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .placement-stats-grid {
    grid-template-columns: 1fr;
  }
  .placement-pillars-grid {
    grid-template-columns: 1fr;
  }
  .recruiters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recruiters-dashed-grid {
    grid-template-columns: 1fr;
  }
  .placement-container {
    padding: 0 20px;
  }
}

/* ==========================================================================
   NEWS & EVENTS SECTION
   ========================================================================== */
.news-events-section {
  padding: 30px 0 !important;
  background-color: var(--primary-blue); /* Same background color as topbar */
  color: var(--text-light);
  position: relative;
}

.news-events-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.news-events-grid {
  display: grid;
  grid-template-columns: 5fr 7fr; /* Standard split screen distribution */
  gap: 40px;
}

.news-events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.news-events-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
}

.nav-arrows {
  display: flex;
  gap: 10px;
}

.nav-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-arrow-btn:hover {
  background-color: var(--accent-red); /* Red accent color on hover */
  border-color: var(--accent-red);
}

/* News Slider */
.news-slider-container {
  position: relative;
  height: 380px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.news-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.news-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}


.news-slide.active {
  opacity: 1;
  visibility: visible;
}

.news-slide-content {
  position: relative;
  z-index: 2;
  max-width: 95%;
}

.news-tag {
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  display: inline-block;
}

.news-slide-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-slide-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

/* Events Vertical List */
.events-vertical-container {
  height: 380px;
  overflow: hidden;
  position: relative;
  border-radius: var(--border-radius-md);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px;
}

.events-vertical-wrapper {
  position: relative;
  transition: transform 0.5s ease-in-out;
}

.event-row-card {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  height: 105px; /* Fixed height for scroller calculations */
  transition: var(--transition-smooth);
}

.event-row-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.event-thumb {
  width: 100px;
  height: 100%;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.event-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-info p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 992px) {
  .news-events-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .news-events-container {
    padding: 0 20px;
  }
}

/* ==========================================================================
   GALLERY SECTION (Photo Gallery & Video Gallery Masonry)
   ========================================================================== */
.gallery-section {
  padding: 30px 0 !important;
  background-color: #f8fafc; /* Light Gray background for contrast */
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* Tab buttons switcher */
.gallery-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.gallery-tab-btn {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--primary-dark);
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-tab-btn i {
  font-size: 0.9rem;
}

.gallery-tab-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.gallery-tab-btn.active {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
}

/* Masonry System */
.gallery-tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-tab-content.active {
  display: block;
  opacity: 1;
}

.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
  margin-top: 30px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-img-box {
  position: relative;
  width: 100%;
  height: 220px; /* Fixed height for all images to ensure uniform card size */
  overflow: hidden;
}

.gallery-img-box img {
  width: 100%;
  height: 100%; /* Fill the container height completely */
  display: block;
  object-fit: cover; /* Crop and center the image perfectly */
  transition: transform 0.4s ease;
}

.gallery-caption {
  padding: 15px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.gallery-caption h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.3;
  transition: var(--transition-smooth);
}

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

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

.gallery-item:hover .gallery-caption h4 {
  color: var(--accent-red);
}

/* Play button overlay for video items */
.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
}

.play-btn-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
  transition: var(--transition-smooth);
}

.gallery-item:hover .video-play-overlay {
  background: rgba(10, 37, 64, 0.5);
}

.gallery-item:hover .play-btn-circle {
  transform: scale(1.15);
  background-color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
}

/* Video Lightbox Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 12;
  transition: transform 0.2s ease;
  line-height: 1;
}

.video-modal-close:hover {
  transform: scale(1.1);
  color: var(--accent-red);
}

.video-modal-iframe-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-modal-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
  .gallery-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-masonry-grid {
    grid-template-columns: 1fr;
  }
  .gallery-container {
    padding: 0 20px;
  }
}

/* ==========================================================================
   GLOBAL MOBILE & TABLET OPTIMIZATIONS AUDIT
   ========================================================================== */
@media (max-width: 992px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .approvals-strip {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .approval-card {
    width: 100% !important;
    padding: 20px !important;
  }
  .news-events-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .gallery-masonry-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .strength-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  .strength-card {
    padding: 15px !important;
  }
  .strength-number {
    font-size: 2rem !important;
  }
  
  .news-slider-container {
    height: 280px !important;
  }
  .events-vertical-container {
    height: 380px !important; /* Keep height for scrolling elements */
  }
  .event-row-card {
    height: 110px !important; /* Fixed height for scrolling math */
  }
  .event-info h3 {
    font-size: 0.95rem !important;
  }
  .event-info p {
    font-size: 0.75rem !important;
  }
  .event-thumb {
    width: 80px !important;
  }
  
  .giant-placement-count {
    font-size: 3.5rem !important;
  }
  .placement-badge-banner {
    font-size: 0.95rem !important;
    padding: 6px 20px !important;
  }
  .placement-metrics-dark-box {
    padding: 15px !important;
    gap: 12px !important;
  }
  .placement-metric-num {
    font-size: 1.4rem !important;
  }
  .placement-metric-lbl {
    font-size: 0.75rem !important;
  }
  
  .gallery-masonry-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-img-box {
    height: 180px !important; /* Slightly shorter height on small mobiles */
  }
  
  .section-header h2, .section-title-alt {
    font-size: 1.6rem !important;
  }
}

/* ==========================================================================
   HOME CONTACT SECTION WITH GOOGLE MAP
   ========================================================================== */
.home-contact-section {
  padding: 20px 0;
  background-color: var(--bg-white); /* Clean white background */
  position: relative;
}

.home-contact-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.home-contact-info-block {
  display: flex;
  flex-direction: column;
}

.home-contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.home-contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--border-radius-md);
  padding: 15px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.home-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 71, 161, 0.1);
}

.hc-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(211, 47, 47, 0.08);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hc-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.hc-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.home-contact-map-block {
  width: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

@media (max-width: 992px) {
  .home-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .home-contact-container {
    padding: 0 20px;
  }
}


/* ==========================================================================
   MAIN FOOTER STYLING (MATCHING SCREENSHOT)
   ========================================================================== */
.main-footer {
  background-color: #f4f7fa !important; /* Soft light gray-blue background */
  color: #334155 !important;
  padding: 10px 0 20px 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top:0px !important;
}

.main-footer a {
  color: #334155 !important;
  transition: var(--transition-smooth);
}

.main-footer a:hover {
  color: var(--primary-blue) !important;
  padding-left: 3px;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2.2fr 1.8fr 1.4fr 2.2fr 1.6fr 1.2fr; /* 6 Columns in a single row matching screenshot */
  gap: 25px;
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark) !important;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
  font-family: var(--font-heading);
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-yellow); /* Yellow underline matching screenshot */
}

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

.footer-links-list li {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-links-list li::before {
  content: "•";
  color: var(--primary-dark);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Accreditations List */
.footer-acc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.footer-acc-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-acc-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-acc-item span {
  font-size: 0.85rem;
  color: #475569;
  font-weight: 600;
}

/* Social Icons */
.footer-social-icons {
  display: flex;
  gap: 18px;
  margin-top: 15px;
}

.footer-social-icons a {
  font-size: 1.25rem;
  color: var(--primary-dark) !important;
  transition: var(--transition-smooth);
}

.footer-social-icons a:hover {
  color: var(--accent-red) !important;
  transform: translateY(-2px);
}

/* Footer Bottom Copyright */
.footer-bottom-bar {
  max-width: var(--container-max);
  margin: 40px auto 0 auto;
  padding: 20px 40px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.footer-bottom-bar p {
  font-size: 0.88rem;
  color: #475569;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .footer-bottom-bar {
    padding: 20px 20px 0 20px;
  }
}

/* Custom Added Styles for Image Integration */
.chairman-avatar img,
.director-avatar img,
.group-director-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.facility-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: 15px;
}

/* ==========================================================================
   PAGE BANNER STYLING (FOR ABOUT US AND OTHER SUBPAGES)
   ========================================================================== */
.page-banner {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(135deg, #0d47a1 15%, #082f6b 50%, #d32f2f 100%);
  color: var(--bg-white);
  border-bottom: 5px solid var(--accent-red);
  overflow: hidden;
  margin-bottom: 40px;
}

.page-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.page-banner::before {
  content: '';
  position: absolute;
  right: 150px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 25px solid rgba(255, 255, 255, 0.025);
  z-index: 1;
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.banner-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.banner-breadcrumb a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.banner-breadcrumb a:hover {
  color: var(--accent-yellow) !important;
}

.banner-breadcrumb i {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.banner-breadcrumb span {
  color: var(--accent-yellow);
}

.banner-subtitle {
  display: block;
  color: var(--accent-yellow);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.banner-title {
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--bg-white);
  margin: 0;
  font-family: var(--font-heading);
  text-transform: capitalize;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 45px 0;
  }
  .page-banner .container {
    padding: 0 20px;
  }
  .banner-title {
    font-size: 2.2rem;
  }
  .banner-breadcrumb {
    padding: 5px 14px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   DARK IMAGE CONTAINER BACKDROPS (No placeholder / dummy background glitches)
   ========================================================================== */
.course-card-image,
.welcome-image-box,
.lab-card-image-box,
.campus-card-img-container,
.gallery-img-box,
.event-thumb,
.director-image-wrapper,
.chairman-image-wrapper,
.group-director-avatar,
.chairman-avatar,
.news-slide {
  background-color: #0b1329 !important;
}

.course-card-image img,
.welcome-image-box img,
.lab-card-image-box img,
.campus-card-img-container img,
.gallery-img-box img,
.director-avatar-img,
.chairman-avatar img,
.group-director-avatar img {
  object-fit: cover;
  display: block;
  background-color: #0b1329;
}

.approval-logo-box {
  background-color: #ffffff !important;
}

.approval-logo-box img {
  object-fit: contain;
}

/* ==========================================================================
   SUPER ATTRACTIVE & MODERN TRAINING & PLACEMENT SECTION (TOPBAR BLUE BG)
   ========================================================================== */
.placement-section {
  padding: 75px 0 65px 0;
  background: linear-gradient(135deg, var(--primary-blue), #082f6b) !important;
  color: #ffffff;
  position: relative;
}

.placement-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.placement-section .section-header h2 {
  color: #ffffff !important;
}

.placement-section .section-header p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.placement-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffd54f;
  border: 1px solid rgba(255, 213, 79, 0.4);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* 4 Key Highlight Glass Metric Cards */
.placement-metrics-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 35px 0 45px 0;
}

.placement-metric-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.placement-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffd54f, var(--accent-red));
}

.placement-metric-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  border-color: #ffd54f;
}

.placement-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 12px auto;
  background: rgba(255, 255, 255, 0.15);
}

.placement-metric-val {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #ffffff !important;
  line-height: 1.1;
  display: block;
  margin-bottom: 4px;
}

.placement-metric-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffd54f !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

/* Master Recruiter Showcase Box (Crisp White Card Container) */
.placement-recruiters-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  padding: 40px;
  margin-bottom: 45px;
  color: var(--text-dark);
}

.recruiters-box-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.recruiters-box-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.recruiters-box-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* 10-12 Crisp White Recruiter Logo Cards */
.recruiters-grid-clean {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 25px;
}

.recruiter-badge-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.recruiter-badge-item img {
  max-width: 90%;
  max-height: 48px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.recruiter-badge-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(13, 71, 161, 0.15);
}

.recruiter-badge-item:hover img {
  transform: scale(1.08);
}

/* Smooth Infinite Marquee Strip */
.recruiters-strip-marquee {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 10px 20px;
  overflow: hidden;
  position: relative;
}

.recruiters-strip-track {
  display: flex;
  gap: 25px;
  width: max-content;
  align-items: center;
  animation: marqueeStrip 24s linear infinite;
}

.recruiters-strip-marquee:hover .recruiters-strip-track {
  animation-play-state: paused;
}

.marquee-brand-item {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marquee-brand-item i {
  color: var(--secondary-green);
  font-size: 0.8rem;
}

@keyframes marqueeStrip {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 6 Dedicated Training Pillars Grid */
.placement-pillars-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==========================================================================
   PREMIUM ABOUT US PAGE STYLES (Standardized Typography, Colors & Hierarchy)
   ========================================================================== */
.about-hero-tagline {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  max-width: 850px;
  margin: 14px 0 0 0;
  display: inline-block;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  padding: 8px 22px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-red);
  letter-spacing: 0.3px;
}

/* 1. Large Showcase Layout for Overview Section */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: stretch;
  margin-bottom: 55px;
}

.about-story-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(13, 71, 161, 0.08);
  border-top: 4px solid var(--primary-blue);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-story-card p {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 16px;
  text-align: justify;
  text-justify: inter-word;
}

.about-story-card p:last-child {
  margin-bottom: 0;
}

/* Large Featured Image 1: Main Campus Showcase Card */
.about-showcase-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(10, 37, 64, 0.18);
  border: 4px solid #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  background: #0a2540;
}

.about-showcase-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-showcase-box:hover .about-showcase-img {
  transform: scale(1.04);
}

.about-showcase-overlay {
  position: relative;
  z-index: 2;
  padding: 34px 28px;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.98) 0%, rgba(10, 37, 64, 0.8) 60%, transparent 100%);
  color: #ffffff;
}

.about-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 213, 79, 0.2);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-showcase-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.about-showcase-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* Approvals Accreditation Strip */
.about-approvals-box {
  background: linear-gradient(135deg, #0d2352 0%, #0d47a1 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 26px 28px;
  margin-bottom: 55px;
  box-shadow: 0 8px 25px rgba(13, 71, 161, 0.18);
  border-left: 5px solid var(--accent-yellow);
}

.about-approvals-box h3 {
  font-size: 1.3rem;
  color: var(--accent-yellow);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-approvals-box p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* Dual Heritage & Campus Block */
.about-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 55px;
}

.about-feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 34px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.about-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.about-feature-card.heritage {
  border-top: 4px solid var(--primary-blue);
}

.about-feature-card.campus {
  border-top: 4px solid var(--secondary-green);
}

.about-card-icon-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.about-card-icon-header .icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.about-feature-card.heritage .icon-circle {
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary-blue);
}

.about-feature-card.campus .icon-circle {
  background: rgba(46, 125, 50, 0.1);
  color: var(--secondary-green);
}

.about-card-icon-header h3 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-feature-card p {
  font-size: 0.94rem;
  line-height: 1.8;
  color: #4b5563;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* Infrastructure 6-card Grid (Visual Image Cards) */
.about-infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 55px;
}

.about-infra-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.about-infra-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 36px rgba(13, 71, 161, 0.14);
  border-color: rgba(13, 71, 161, 0.2);
}

.about-infra-img-box {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  background: #0a2540;
}

.about-infra-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-infra-card:hover .about-infra-img-box img {
  transform: scale(1.08);
}

.about-infra-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 71, 161, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.about-infra-body {
  padding: 22px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.about-infra-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 12px 0;
  line-height: 1.4;
  border-left: 3.5px solid var(--primary-blue);
  padding-left: 10px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.about-infra-card:hover h4 {
  border-left-color: var(--accent-red);
  color: var(--primary-blue);
}

.about-infra-card p {
  font-size: 0.91rem;
  color: #556270;
  line-height: 1.75;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* Educational Philosophy Block */
.about-philosophy-banner {
  background: linear-gradient(135deg, #091a3e 0%, #102a6b 50%, #0d47a1 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 45px 40px;
  margin-bottom: 55px;
  box-shadow: 0 12px 35px rgba(9, 26, 62, 0.3);
  position: relative;
  overflow: hidden;
  border-left: 6px solid var(--accent-yellow);
}

.about-philosophy-banner .quote-icon {
  font-size: 2.8rem;
  color: var(--accent-yellow);
  opacity: 0.4;
  margin-bottom: 14px;
}

.about-philosophy-banner h3 {
  font-size: 1.65rem;
  color: var(--accent-yellow);
  margin-bottom: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.about-philosophy-banner p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 14px;
  text-align: justify;
  text-justify: inter-word;
}

.about-philosophy-banner p:last-child {
  margin-bottom: 0;
}

/* 2. Large Showcase Layout for Student Life Section */
.about-studentlife-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 32px;
  align-items: stretch;
  background: #ffffff;
  border-radius: 14px;
  padding: 34px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--accent-red);
  margin-bottom: 55px;
}

.about-studentlife-info h3 {
  font-size: 1.65rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-studentlife-lead {
  font-size: 0.96rem;
  color: #4b5563;
  margin-bottom: 22px;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}

.about-studentlife-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.about-studentlife-item {
  background: #f8faff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.about-studentlife-item:hover {
  background: #ffffff;
  border-color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 47, 47, 0.12);
}

.about-studentlife-item i {
  font-size: 1rem;
  color: var(--accent-red);
  flex-shrink: 0;
}

.about-studentlife-item span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

/* Large Featured Image 2: Student Life Showcase Card */
.about-studentlife-showcase {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(10, 37, 64, 0.15);
  border: 3px solid #ffffff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #0a2540;
}

.about-studentlife-showcase img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-studentlife-showcase:hover img {
  transform: scale(1.04);
}

.about-studentlife-overlay {
  position: relative;
  z-index: 2;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.7) 60%, transparent 100%);
  color: #ffffff;
}

.about-studentlife-overlay h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
  font-weight: 800;
}

.about-studentlife-overlay p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
  text-align: justify;
  text-justify: inter-word;
}

/* Why Choose 12-item Grid */
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 55px;
}

.about-why-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
}

.about-why-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-blue);
  box-shadow: 0 8px 22px rgba(13, 71, 161, 0.12);
}

.about-why-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.about-why-item:hover .about-why-num {
  background: var(--primary-blue);
  color: #ffffff;
}

.about-why-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.35;
}

/* Hero Tagline Banner */
.about-hero-tagline {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Approvals & Highlights Box */
.about-approvals-box {
  border-radius: var(--border-radius-md);
  padding: 35px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--accent-yellow);
}

.about-approvals-box h3 {
  color: #ffffff;
}

.about-approvals-box p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

/* Shaping the Future Vision Card */
.about-vision-card {
  background: linear-gradient(135deg, #091a42 0%, #0d2b6b 60%, #0d47a1 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(9, 26, 66, 0.35);
  border-top: 5px solid var(--accent-red);
  margin-bottom: 50px;
}

.about-vision-card h3 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.about-vision-card p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.94);
  max-width: 950px;
  margin: 0 auto 28px auto;
  text-align: justify;
  text-justify: inter-word;
}

.about-vision-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive adjustments for About Us */
@media (max-width: 1024px) {
  .about-overview-grid {
    grid-template-columns: 1fr;
  }
  .about-studentlife-layout {
    grid-template-columns: 1fr;
  }
  .about-infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-dual-grid {
    grid-template-columns: 1fr;
  }
  .about-infra-grid {
    grid-template-columns: 1fr;
  }
  .about-studentlife-grid {
    grid-template-columns: 1fr;
  }
  .about-why-grid {
    grid-template-columns: 1fr;
  }
  .about-story-card, .about-philosophy-banner, .about-studentlife-layout, .about-vision-card {
    padding: 26px 20px;
  }
  .about-showcase-box {
    min-height: 360px;
  }
}

/* ==========================================================================
   ADVANCED LABORATORIES SECTION (Home Page - High Contrast Black/Dark Text)
   ========================================================================== */
.home-labs-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.home-labs-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-labs-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.home-labs-section .section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  background: rgba(211, 47, 47, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
}

.home-labs-section .section-header h2 {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0a1e3f !important;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.home-labs-section .section-header p {
  font-size: 1.02rem;
  color: #334155 !important;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.lab-card {
  background: #ffffff !important;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.lab-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(13, 71, 161, 0.14);
  border-color: #cbd5e1;
}

.lab-card-image-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: #e2e8f0;
}

.lab-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lab-card:hover .lab-card-image-box img {
  transform: scale(1.06);
}

.lab-card-content {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff !important;
}

.lab-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0d47a1 !important;
  background: rgba(13, 71, 161, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.lab-card-content h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0a1e3f !important;
  line-height: 1.35;
  margin-bottom: 10px;
}

.lab-card-content p {
  font-size: 0.92rem;
  color: #1e293b !important;
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
}

.lab-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.lab-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #d32f2f !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lab-card:hover .lab-explore-btn {
  color: #b71c1c !important;
  gap: 12px;
}



/* ==========================================================================
   COURSES OFFERED CARDS (High Contrast Dark/Black Text)
   ========================================================================== */
.courses-offered-section {
  padding: 10px 0;
  background-color: #f8fafc;
}

.courses-offered-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.courses-offered-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.courses-offered-section .section-header h2 {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0a1e3f !important;
  margin-bottom: 8px;
}

.courses-offered-section .section-header p {
  font-size: 1.02rem;
  color: #475569 !important;
}

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

.course-program-card {
  background: #ffffff !important;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.14);
}

.course-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-program-card:hover .course-card-image img {
  transform: scale(1.05);
}

.course-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff !important;
}

.course-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a1e3f !important;
  line-height: 1.35;
  margin-bottom: 8px;
}

.course-card-body .course-duration {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b !important;
  margin-bottom: 18px;
}

.course-card-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-know-more, .btn-apply-now {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
}

.btn-know-more {
  background: #f1f5f9;
  color: #0d47a1 !important;
  border: 1px solid #cbd5e1;
}

.btn-know-more:hover {
  background: #0d47a1;
  color: #ffffff !important;
}

.btn-apply-now {
  background: #d32f2f;
  color: #ffffff !important;
  border: 1px solid #d32f2f;
}

.btn-apply-now:hover {
  background: #b71c1c;
  color: #ffffff !important;
}

/* ==========================================================================
   APPROVALS STRIP (High Contrast Dark/Black Text)
   ========================================================================== */
.approvals-section {
  padding: 70px 0;
  background: #ffffff;
}

.approvals-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.approvals-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.approval-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.approval-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(13, 71, 161, 0.1);
  border-color: #cbd5e1;
}

.approval-logo-box {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.approval-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.approval-details h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0a1e3f !important;
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   CHAIRMAN & DIRECTOR MESSAGE SECTIONS (Compact Padding & Clean Typography)
   ========================================================================== */
.chairman-section {
  padding: 42px 0;
  background-color: #ffffff;
}

.chairman-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
}

.chairman-profile-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.chairman-image-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-red);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
}

.chairman-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chairman-details h3 {
  font-size: 1.25rem;
  color: #0a1e3f !important;
  font-weight: 800;
  margin-bottom: 4px;
}

.chairman-details .designation {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 6px;
}

.chairman-details .institution {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}

.chairman-message-content {
  position: relative;
}

.chairman-message-content .quote-mark,
.director-message-content .quote-mark {
  font-size: 4.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(13, 71, 161, 0.12);
  position: absolute;
  top: -20px;
  left: -15px;
  z-index: 0;
}

.chairman-message-content h2,
.director-message-content h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0a1e3f !important;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.message-body {
  position: relative;
  z-index: 1;
}

.message-body p {
  font-size: 0.94rem;
  color: #1e293b !important;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  text-justify: inter-word;
}

.signature-block {
  margin-top: 18px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.signature-block .signoff {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.signature-block .sig-name {
  font-size: 1.15rem;
  color: #0d47a1 !important;
  font-weight: 800;
  margin: 2px 0;
}

.signature-block .sig-title {
  font-size: 0.82rem;
  color: #475569;
  margin: 0;
}

/* Director Section */
.director-section {
  padding: 42px 0;
  background-color: #f8fafc;
}

.director-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: center;
}

.director-profile-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.director-image-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-blue);
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.2);
}

.director-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-details h3 {
  font-size: 1.25rem;
  color: #0a1e3f !important;
  font-weight: 800;
  margin-bottom: 4px;
}

.director-details .designation {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 6px;
}

.director-details .institution {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   TRAINING & PLACEMENT SECTION (High-Contrast White & Gold on Deep Blue)
   ========================================================================== */
.placement-section {
  padding: 48px 0;
  background: linear-gradient(135deg, #071739 0%, #0c255c 50%, #0d3b82 100%);
  color: #ffffff;
}

.placement-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.placement-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 18px;
  border-radius: 25px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-yellow) !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.placement-section .section-header h2 {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.placement-section .section-header p {
  font-size: 1.02rem;
  color: #e2e8f0 !important;
  max-width: 780px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

/* 4 Metrics Cards */
.placement-metrics-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.placement-metric-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.placement-metric-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: var(--accent-yellow);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.placement-metric-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.placement-metric-val {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.1;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.placement-metric-lbl {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #cbd5e1 !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Master Corporate Recruiters Box (Pure Crisp White for Contrast) */
.placement-recruiters-box {
  background: #ffffff !important;
  border-radius: 14px;
  padding: 30px 28px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 34px;
}

.recruiters-box-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0a1e3f !important;
  text-align: center;
  margin-bottom: 8px;
}

.recruiters-box-header p {
  font-size: 0.94rem;
  color: #475569 !important;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.recruiters-grid-clean {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.recruiter-badge-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.recruiter-badge-item:hover {
  background: #ffffff;
  border-color: #0d47a1;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(13, 71, 161, 0.15);
}

.recruiter-badge-item img {
  max-width: 85%;
  max-height: 46px;
  object-fit: contain;
}

.recruiters-strip-marquee {
  background: #0a2540;
  border-radius: 8px;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.recruiters-strip-track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeTrack 28s linear infinite;
}

@keyframes marqueeTrack {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-brand-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0 24px;
}

.marquee-brand-item i {
  color: var(--accent-yellow);
}

/* 6 Training Pillars */
.placement-pillars-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-clean-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 24px 22px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.pillar-clean-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: var(--accent-yellow);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pillar-clean-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 179, 0, 0.18);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.pillar-clean-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 10px;
  line-height: 1.35;
}

.pillar-clean-card p {
  font-size: 0.9rem;
  color: #e2e8f0 !important;
  line-height: 1.65;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 1024px) {
  .chairman-container, .director-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .chairman-message-content .quote-mark, .director-message-content .quote-mark {
    display: none;
  }
  .placement-metrics-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .recruiters-grid-clean {
    grid-template-columns: repeat(3, 1fr);
  }
  .placement-pillars-clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .placement-metrics-banner {
    grid-template-columns: 1fr;
  }
  .recruiters-grid-clean {
    grid-template-columns: repeat(2, 1fr);
  }
  .placement-pillars-clean-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   RESEARCH & INNOVATION SECTION (Home Page)
   ========================================================================== */
.home-research-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #071526 0%, #0d233a 100%);
  color: #ffffff;
  position: relative;
}

.home-research-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
}

.research-text-block h2 {
  color: #ffffff !important;
}

.research-text-block p {
  color: #e2e8f0 !important;
  text-align: justify;
  text-justify: inter-word;
}

.research-widget {
  background: rgba(10, 25, 47, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.research-tabs-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}

.r-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.r-tab-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.r-tab-btn.active {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.4);
  transform: translateY(-1px);
}

.research-tab-content {
  padding: 0;
  min-height: auto;
  max-height: none;
  overflow: visible;
}

.r-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.r-panel.active {
  display: block;
}

.panel-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.research-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 18px 22px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.research-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 179, 0, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.ri-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #94a3b8;
}

.ri-agency {
  color: var(--accent-yellow) !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.ri-badge {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

.ri-badge.completed {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}

.ri-badge.patent-status {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

.ri-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.4;
  margin: 0;
}

.ri-desc {
  font-size: 0.86rem;
  color: #cbd5e1 !important;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   CAMPUS LIFE SECTION (Home Page)
   ========================================================================== */
.campus-life-section {
  padding: 45px 0;
  background: #ffffff;
}

.campus-life-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.campus-life-section .section-header {
  text-align: center;
  margin-bottom: 32px;
}

.campus-life-section .section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0a1e3f !important;
  margin-bottom: 8px;
}

.campus-life-section .section-header p {
  font-size: 1rem;
  color: #475569 !important;
}

.campus-life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.campus-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
}

.campus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(13, 71, 161, 0.15);
}

.campus-card-img-container {
  height: 200px;
  overflow: hidden;
}

.campus-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.campus-card:hover .campus-card-img-container img {
  transform: scale(1.06);
}

.campus-card-info {
  padding: 16px 18px;
  text-align: center;
  background: #ffffff;
}

.campus-card-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a1e3f !important;
  margin: 0;
}

/* ==========================================================================
   NEWS & EVENTS SECTION (Home Page)
   ========================================================================== */
.news-events-section {
  padding: 45px 0;
  background: #f8fafc;
}

.news-events-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.news-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.news-events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.news-events-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0a1e3f !important;
  margin: 0;
}

.nav-arrow-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0a1e3f;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-arrow-btn:hover {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
}

.news-slider-container {
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.news-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.news-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.news-slide.active {
  opacity: 1;
}

.events-vertical-container {
  height: 340px;
  overflow-y: auto;
}

.events-vertical-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-row-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.event-row-card:hover {
  border-color: #0d47a1;
  transform: translateX(4px);
}

.event-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.event-info h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0a1e3f !important;
  margin-bottom: 4px;
  line-height: 1.35;
}

.event-info p {
  font-size: 0.84rem;
  color: #475569 !important;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   GALLERY SECTION (Home Page)
   ========================================================================== */
.gallery-section {
  padding: 45px 0;
  background: #ffffff;
}

.gallery-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-section .section-header {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-section .section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0a1e3f !important;
  margin-bottom: 8px;
}

.gallery-section .section-header p {
  font-size: 1rem;
  color: #475569 !important;
}

.gallery-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.gallery-tab-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0a1e3f;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-tab-btn.active, .gallery-tab-btn:hover {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
}

.gallery-tab-content {
  display: none;
}

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

.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  background: #ffffff;
}

.gallery-img-box {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.gallery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-caption {
  padding: 12px 16px;
  background: #ffffff;
}

.gallery-caption h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a1e3f !important;
  margin: 0;
}

/* ==========================================================================
   CONTACT SECTION (Home Page)
   ========================================================================== */
.home-contact-section {
  padding: 45px 0;
  background: #f8fafc;
}

.home-contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.home-contact-section .section-header {
  text-align: center;
  margin-bottom: 32px;
}

.home-contact-section .section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0a1e3f !important;
  margin-bottom: 8px;
}

.home-contact-section .section-header p {
  font-size: 1rem;
  color: #475569 !important;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.home-contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.hc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hc-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a1e3f !important;
  margin-bottom: 2px;
}

.hc-details p {
  font-size: 0.88rem;
  color: #475569 !important;
  margin: 0;
}

@media (max-width: 1024px) {
  .home-research-container, .news-events-grid, .home-contact-grid {
    grid-template-columns: 1fr;
  }
  .campus-life-grid, .gallery-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .campus-life-grid, .gallery-masonry-grid {
    grid-template-columns: 1fr;
  }
}








/* ==========================================================================
   CSE STUDENT CLUBS PORTAL & DIRECTORY STYLES
   ========================================================================== */

.clubs-hero-banner {
  background: linear-gradient(135deg, #091a2b 0%, #0f2338 55%, #183554 85%, #0d47a1 100%);
  color: #ffffff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent-yellow);
}

.clubs-hero-banner::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.18) 0%, rgba(13, 71, 161, 0.08) 60%, transparent 80%);
  pointer-events: none;
}

.clubs-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.45);
  color: var(--accent-yellow);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

.clubs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.club-stat-box {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  border-top: 4px solid var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.club-stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(10, 37, 64, 0.14);
}

.club-stat-box.highlight {
  border-top-color: var(--accent-red);
}

.club-stat-box.gold {
  border-top-color: var(--accent-yellow);
}

.club-stat-box.green {
  border-top-color: var(--secondary-green);
}

.stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.club-stat-box.highlight .stat-icon-wrap {
  background: rgba(211, 47, 47, 0.08);
  color: var(--accent-red);
}

.club-stat-box.gold .stat-icon-wrap {
  background: rgba(255, 179, 0, 0.12);
  color: #b45309;
}

.club-stat-box.green .stat-icon-wrap {
  background: rgba(46, 125, 50, 0.1);
  color: var(--secondary-green);
}

.stat-content h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  margin: 0;
}

.stat-content p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}

/* Filter Controls & Search */
.clubs-controls-wrapper {
  background: #ffffff;
  padding: 20px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.clubs-search-row {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.clubs-search-bar {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.clubs-search-bar input {
  width: 100%;
  padding: 12px 16px 12px 45px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  background: #f8fafc;
}

.clubs-search-bar input:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

.clubs-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.05rem;
}

.clubs-filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.club-filter-pill {
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.club-filter-pill:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.club-filter-pill.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.25);
}

.club-filter-count {
  background: rgba(0, 0, 0, 0.1);
  padding: 1px 7px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
}

.club-filter-pill.active .club-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Clubs Cards Grid (Clean Gallery Showcase) */
.clubs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.club-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.club-item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(13, 71, 161, 0.16);
  border-color: #93c5fd;
}

.club-card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: #091a2b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.club-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.club-item-card:hover .club-emblem-img {
  transform: scale(1.05);
}

.club-card-footer-clean {
  padding: 16px 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #f1f5f9;
}

.btn-clean-view-club {
  width: 100%;
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 10px;
  border: none;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.22);
}

.club-item-card:hover .btn-clean-view-club,
.btn-clean-view-club:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  box-shadow: 0 6px 18px rgba(211, 47, 47, 0.35);
  color: #ffffff !important;
}

/* Modal for Detailed Club Info */
.club-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 26, 43, 0.78);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.club-modal-backdrop.active {
  display: flex;
}

.club-modal-container {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.club-modal-header {
  background: linear-gradient(135deg, #091a2b 0%, #0f2338 60%, #183554 100%);
  color: #ffffff;
  padding: 30px;
  position: relative;
  border-bottom: 3px solid var(--accent-yellow);
}

.club-modal-close-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.club-modal-close-btn:hover {
  background: var(--accent-red);
  transform: rotate(90deg);
}

.club-modal-body {
  padding: 30px;
}

.club-modal-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.club-pillar-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 16px;
}

.club-pillar-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 6px;
}

.club-pillar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.club-pillar-card li {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.45;
}

/* Responsiveness */
@media (max-width: 1080px) {
  .clubs-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clubs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .clubs-cards-grid {
    grid-template-columns: 1fr;
  }
  .clubs-stats-grid {
    grid-template-columns: 1fr;
  }
  .clubs-controls-wrapper {
    padding: 15px;
  }
  .club-modal-header, .club-modal-body {
    padding: 20px;
  }
}

/* ==========================================================================
   STUDENT CLUB DETAILS PAGES & SHARED GRID UTILITIES (NO BOOTSTRAP NEEDED)
   ========================================================================== */
.srgi-page-banner .row,
.content-section .row,
.activities-section .row,
.benefits-section .row,
.objectives-section .row,
.structure-section .row,
.feature-strip-section .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.srgi-page-banner [class*="col-"],
.content-section [class*="col-"],
.activities-section [class*="col-"],
.benefits-section [class*="col-"],
.objectives-section [class*="col-"],
.structure-section [class*="col-"],
.feature-strip-section [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

.row.align-items-center { align-items: center; }
.row.justify-content-between { justify-content: space-between; }
.row.justify-content-end { justify-content: flex-end; }
.row.g-4 { row-gap: 24px; }

.col-12 { width: 100%; flex: 0 0 100%; max-width: 100%; }

@media (min-width: 768px) {
  .col-md-3 { width: 25%; flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { width: 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6 { width: 50%; flex: 0 0 50%; max-width: 50%; }
  .col-md-9 { width: 75%; flex: 0 0 75%; max-width: 75%; }
  .col-md-12 { width: 100%; flex: 0 0 100%; max-width: 100%; }
  .d-md-flex { display: flex !important; }
}

@media (min-width: 992px) {
  .col-lg-3 { width: 25%; flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { width: 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-6 { width: 50%; flex: 0 0 50%; max-width: 50%; }
  .col-lg-8 { width: 66.666667%; flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media (max-width: 767.98px) {
  .d-none { display: none !important; }
  .col-sm-6 { width: 50%; flex: 0 0 50%; }
}

/* ==========================================================================
   ULTRA-PREMIUM STUDENT CLUB HERO BANNER & SUBPAGE SYSTEM
   ========================================================================== */
.club-hero-banner {
  position: relative;
  background: linear-gradient(135deg, #07192f 0%, #0d325e 50%, #082142 100%);
  border-bottom: 4px solid var(--accent-red);
  padding: 55px 0 65px;
  color: #ffffff;
  overflow: hidden;
}

.club-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 90% 20%, rgba(13, 71, 161, 0.4) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(211, 47, 47, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.club-banner-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.club-banner-left {
  flex: 1;
  max-width: 820px;
}

.club-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  flex-wrap: nowrap;
}

.club-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.club-breadcrumb a:hover {
  color: var(--accent-yellow);
}

.breadcrumb-sep {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-current {
  color: var(--accent-yellow);
  font-weight: 700;
}

.club-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.club-sac-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 179, 0, 0.18);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 179, 0, 0.4);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.club-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.club-banner-heading {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px 0;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.club-banner-desc {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
  max-width: 780px;
  text-align: left;
}

/* Right Emblem Card */
.club-banner-right {
  flex-shrink: 0;
}

.club-emblem-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.club-emblem-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 179, 0, 0.5);
}

.club-emblem-inner {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: #091a2b;
  border: 2px solid rgba(255, 179, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.club-emblem-graphic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.club-official-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 991px) {
  .club-banner-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 25px;
  }
  .club-banner-heading {
    font-size: 2.25rem;
  }
  .club-banner-right {
    margin-top: 15px;
  }
  .club-emblem-inner {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 600px) {
  .club-hero-banner {
    padding: 35px 0 45px;
  }
  .club-banner-heading {
    font-size: 1.85rem;
  }
  .club-banner-desc {
    font-size: 0.95rem;
  }
  .club-breadcrumb {
    font-size: 0.78rem;
    padding: 5px 14px;
    overflow-x: auto;
    max-width: 100%;
  }
}

/* ==========================================================================
   CLUB OVERVIEW & PILLARS SECTIONS
   ========================================================================== */
.club-overview-section {
  padding: 50px 0 40px;
  background: #ffffff;
}

.club-overview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.club-overview-text-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.club-sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-blue);
  background: rgba(13, 71, 161, 0.08);
  border: 1px solid rgba(13, 71, 161, 0.2);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
}

.club-sec-heading {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.club-heading-divider {
  width: 50px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 2px;
  margin-bottom: 20px;
}

.club-overview-p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 18px;
  text-align: justify;
}

.club-highlight-card {
  background: linear-gradient(135deg, #0a2540 0%, #0d47a1 100%);
  border-radius: 18px;
  padding: 32px 28px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.club-highlight-card::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.club-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 179, 0, 0.2);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 179, 0, 0.4);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
  width: fit-content;
}

.club-highlight-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.club-highlight-desc {
  font-size: 0.96rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 22px;
}

.club-highlight-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.club-meta-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.club-meta-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-yellow);
}

.club-activities-section {
  padding: 50px 0 70px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.club-section-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px auto;
}

.club-section-header-center .club-heading-divider {
  margin: 12px auto 0 auto;
}

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

.club-pillar-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.club-pillar-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(13, 71, 161, 0.1);
  border-color: #bfdbfe;
}

.club-pillar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.club-pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.club-pillar-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.club-pillar-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.club-pillar-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.55;
}

.club-bullet-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  margin-top: 3px;
  flex-shrink: 0;
  font-weight: 800;
}

@media (max-width: 900px) {
  .club-overview-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   MASTER UNIFIED RESPONSIVE ENGINE (ALL MOBILES, TABLETS, LAPTOPS & DESKTOPS)
   ========================================================================== */

/* 1. Global Touch, Fluid Box Sizing & Overflows */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

img, video, iframe, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Prevent iOS Mobile Safari auto-zooming on focus */
@media (max-width: 768px) {
  input, select, textarea, button {
    font-size: 16px !important;
  }
}

/* 2. Fluid Container System */
.container,
.top-bar-container,
.header-container,
.home-contact-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 768px) {
  .container,
  .top-bar-container,
  .header-container,
  .home-contact-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .container,
  .top-bar-container,
  .header-container,
  .home-contact-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* 3. Universal Responsive Grid Classes */
.grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

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

@media (max-width: 1100px) {
  .grid-4col {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
  .grid-3col {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .grid-4col,
  .grid-3col,
  .grid-2col {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* 4. Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: var(--border-radius-md);
}

.fee-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

@media (max-width: 600px) {
  .fee-table {
    min-width: 460px;
    font-size: 0.85rem;
  }
  .fee-table th, .fee-table td {
    padding: 10px 12px;
  }
}

/* 5. Responsive Top Bar */
@media (max-width: 1024px) {
  .top-bar {
    padding: 6px 0;
  }
  .top-bar-container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }
  .top-bar-contact {
    font-size: 0.8rem;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .top-bar-contact span:nth-child(n+3),
  .top-bar-contact .top-bar-timing {
    display: none !important;
  }
  .top-bar-links {
    display: none !important;
  }
}

/* 6. Responsive Header & Navigation */
@media (max-width: 1024px) {
  .main-header {
    padding: 10px 0;
  }
  .nav-menu {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(13, 71, 161, 0.08);
    border-radius: 8px;
    color: var(--primary-dark);
    font-size: 1.4rem;
  }
  .header-actions .btn-apply-header {
    display: none !important;
  }
}

@media (max-width: 500px) {
  .logo-svg,
  .brand-logo-img {
    width: 46px !important;
    height: 46px !important;
  }
  .college-title-main {
    font-size: 1.02rem !important;
  }
  .college-title-sub {
    font-size: 0.72rem !important;
  }
}

/* 7. Responsive Hero Banner & Fluid Typography */
.slide-title,
.hero-title {
  font-size: clamp(1.55rem, 4.2vw, 3.2rem) !important;
  line-height: 1.25 !important;
  word-break: break-word;
}

.slide-subtitle,
.hero-subtitle {
  font-size: clamp(0.92rem, 1.5vw, 1.15rem) !important;
  line-height: 1.6 !important;
}

.hero-actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

@media (max-width: 640px) {
  .hero-actions-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100%;
  }
  .hero-actions-grid .btn {
    width: 100% !important;
    padding: 11px 12px !important;
    font-size: 0.85rem !important;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .hero-actions-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Hero Stats Counter Grid */
.purple-stats-container,
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  width: 100%;
}

@media (max-width: 1100px) {
  .purple-stats-container,
  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 600px) {
  .purple-stats-container,
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .p-stat-number {
    font-size: 1.35rem !important;
  }
  .p-stat-label {
    font-size: 0.72rem !important;
  }
}

/* 8. Responsive Page Banners (Inner Pages) */
.page-banner {
  padding: clamp(40px, 6vw, 70px) 0 !important;
}

.banner-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem) !important;
  line-height: 1.25 !important;
}

.banner-subtitle {
  font-size: clamp(0.75rem, 1.2vw, 0.9rem) !important;
  letter-spacing: 1.5px;
}

/* 9. Responsive Cards & Sections */
@media (max-width: 768px) {
  .about-overview-card {
    padding: 24px 18px !important;
  }
  .feature-card,
  .course-card,
  .hod-card,
  .form-card {
    padding: 20px 16px !important;
  }
  .home-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  .home-contact-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .home-contact-map-block iframe {
    height: 320px !important;
  }
}

/* 10. Responsive Canonical 6-Column Footer */
.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 1.2fr 1.1fr 1.4fr;
  gap: 30px;
  padding-top: 50px;
  padding-bottom: 40px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
  }
}

@media (max-width: 820px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
}

@media (max-width: 520px) {
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    text-align: left;
  }
  .footer-logo-only-box {
    justify-content: flex-start !important;
    margin-bottom: 10px;
  }
  .footer-bottom-bar {
    padding: 15px 10px;
    font-size: 0.8rem;
    text-align: center;
  }
}

/* 11. Responsive Club Detail Pages */
.club-detail-hero {
  padding: clamp(40px, 6vw, 75px) 0;
}

.club-tab-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.club-tab-nav::-webkit-scrollbar {
  display: none;
}

.club-tab-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .club-stats-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* 12. Responsive Modal Dialogs */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(5px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  padding: clamp(20px, 4vw, 35px);
  position: relative;
}


/* ==========================================================================
   B.TECH COURSES PAGE STYLES (MATCHING OFFICIAL SCREENSHOT LAYOUT)
   ========================================================================== */
.btech-overview-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 45px;
  align-items: start;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .btech-overview-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.btech-overview-left {
  padding-right: 15px;
}

.btech-overview-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.btech-overview-desc {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 18px;
}

.btech-curriculum-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}

.btech-curriculum-list li {
  font-size: 0.98rem;
  color: #1e293b;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btech-curriculum-list li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Right Column Apply Now Card */
.btech-apply-card {
  background: #081a36;
  border-radius: 8px;
  padding: 28px 24px;
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(8, 26, 54, 0.25);
}

.btech-apply-card h3 {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.btech-form-group {
  margin-bottom: 12px;
}

.btech-form-input, .btech-form-select {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #1e293b;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.btech-form-input:focus, .btech-form-select:focus {
  border-color: var(--accent-yellow);
}

.btech-phone-row {
  display: flex;
  gap: 8px;
}

.btech-country-code {
  width: 75px;
  flex-shrink: 0;
  height: 42px;
  padding: 8px 10px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #1e293b;
  font-weight: 600;
}

.btech-captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btech-captcha-badge {
  background: #ffffff;
  color: #111827;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 2px;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  user-select: none;
}

.btech-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px 0;
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.btech-consent input {
  margin-top: 3px;
  cursor: pointer;
}

.btech-submit-btn {
  width: 100%;
  height: 44px;
  background: var(--accent-red);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  font-family: var(--font-heading);
}

.btech-submit-btn:hover {
  background: var(--accent-red-hover);
}

/* ==========================================================================
   OUR PROGRAM SECTION (YELLOW HEADER BAR + 2-COL DETAILS GRID)
   ========================================================================== */
.our-program-container {
  margin-top: 50px;
  margin-bottom: 60px;
}

.our-program-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0a2540;
  font-family: var(--font-heading);
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.program-card-block {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 35px;
  overflow: hidden;
}

.program-banner-header,
.program-gold-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 14px 24px;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  border-left: 5px solid var(--accent-red);
}

.program-banner-header.header-red {
  background: linear-gradient(135deg, var(--accent-red), #991b1b);
  border-left: 5px solid var(--primary-blue);
}

.program-details-body {
  padding: 24px 30px;
}

.program-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 50px;
}

@media (max-width: 768px) {
  .program-details-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .program-details-body {
    padding: 18px 20px;
  }
}

.program-info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: baseline;
  padding: 5px 0;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .program-info-row {
    grid-template-columns: 130px 1fr;
    font-size: 0.88rem;
  }
}

.program-info-row .program-label {
  font-weight: 700;
  color: #0a2540;
}

.program-info-row .program-val {
  color: #334155;
  font-weight: 500;
}

.program-info-row .program-val a {
  color: #0284c7;
  text-decoration: none;
}

.program-info-row .program-val a:hover {
  text-decoration: underline;
}

.program-specializations-row {
  border-top: 1px solid #f1f5f9;
  margin-top: 18px;
  padding-top: 16px;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: baseline;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .program-specializations-row {
    grid-template-columns: 130px 1fr;
    font-size: 0.88rem;
  }
}

.program-specializations-row .program-label {
  font-weight: 700;
  color: #0a2540;
}

.program-specializations-row .program-specialization-text {
  color: #475569;
  line-height: 1.6;
}

/* ==========================================================================
   FACULTY & STAFF DIRECTORY & PROFILE MODAL STYLES
   ========================================================================== */
.faculty-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.faculty-filter-btn {
  padding: 10px 22px;
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.faculty-filter-btn:hover,
.faculty-filter-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.25);
  transform: translateY(-2px);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 55px;
}

.faculty-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 71, 161, 0.25);
}

.faculty-card-img-box {
  height: 260px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faculty-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-card-img-box img {
  transform: scale(1.04);
}

.faculty-placeholder-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  border: 3px solid #cbd5e1;
}

.faculty-role-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-blue);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  z-index: 2;
}

.faculty-role-badge.leadership {
  background: var(--accent-red);
}

.faculty-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.faculty-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.faculty-card-desig {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-red);
  margin-bottom: 6px;
}

.faculty-card-dept {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.faculty-card-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  padding-top: 12px;
  font-size: 0.82rem;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faculty-card-details-list li {
  display: flex;
  justify-content: space-between;
}

.faculty-card-details-list .f-label {
  font-weight: 600;
  color: var(--primary-dark);
}

.faculty-card-btn {
  margin-top: auto;
  width: 100%;
  padding: 10px 16px;
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.faculty-card-btn:hover {
  background: #09347a;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}

/* Faculty Profile Modal */
.faculty-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.faculty-modal-backdrop.active {
  display: flex !important;
}

.faculty-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: facultyModalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes facultyModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.faculty-modal-header {
  background: linear-gradient(135deg, var(--primary-dark), #091a42);
  color: #ffffff;
  padding: 28px;
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.faculty-modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.faculty-modal-close-btn:hover {
  background: var(--accent-red);
}

.faculty-modal-img {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  background: #ffffff;
  flex-shrink: 0;
}

.faculty-modal-body {
  padding: 28px;
}

.faculty-detail-section {
  margin-bottom: 22px;
}

.faculty-detail-section h4 {
  font-size: 1.05rem;
  color: var(--primary-blue);
  border-bottom: 2px solid rgba(13, 71, 161, 0.1);
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faculty-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.faculty-specs-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.faculty-specs-table th {
  text-align: left;
  padding: 10px 14px;
  width: 36%;
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 700;
  background: #f8fafc;
}

.faculty-specs-table td {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #334155;
}

/* ==========================================================================
   DEDICATED FACULTY DETAILS PAGE (.faculty-detail-page)
   ========================================================================== */
.faculty-detail-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 35px;
  align-items: start;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .faculty-detail-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Sidebar Profile Card */
.faculty-detail-sidebar {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.faculty-sidebar-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0c2356 100%);
  padding: 35px 25px 25px;
  text-align: center;
  position: relative;
  color: #ffffff;
}

.faculty-sidebar-img-wrapper {
  width: 170px;
  height: 170px;
  margin: 0 auto 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faculty-sidebar-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.faculty-sidebar-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #64748b;
  background: #e2e8f0;
}

.faculty-sidebar-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.25;
}

.faculty-sidebar-desig {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.faculty-sidebar-dept {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 14px;
  border-radius: 20px;
}

.faculty-sidebar-body {
  padding: 24px;
}

.faculty-sidebar-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faculty-sidebar-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
}

.faculty-sidebar-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faculty-sidebar-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.faculty-sidebar-info-content {
  flex: 1;
}

.faculty-sidebar-info-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.faculty-sidebar-info-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  word-break: break-word;
}

.faculty-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faculty-sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.faculty-sidebar-btn.primary {
  background: var(--primary-blue);
  color: #ffffff;
}

.faculty-sidebar-btn.primary:hover {
  background: #09347a;
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.3);
}

.faculty-sidebar-btn.outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.faculty-sidebar-btn.outline:hover {
  background: #f8fafc;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

/* Right Main Content Area */
.faculty-detail-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faculty-info-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faculty-info-card:hover {
  box-shadow: var(--shadow-md);
}

.faculty-info-card-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 16px 24px;
  border-bottom: 2px solid rgba(13, 71, 161, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faculty-info-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faculty-info-card-header h3 i {
  color: var(--accent-red);
}

.faculty-info-card-body {
  padding: 24px;
}

.faculty-info-card-body p {
  color: var(--text-dark);
  font-size: 0.94rem;
  line-height: 1.75;
  margin: 0;
}

/* Qualification & Experience Table */
.faculty-styled-table {
  width: 100%;
  border-collapse: collapse;
}

.faculty-styled-table th {
  background: #f8fafc;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
}

.faculty-styled-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  color: #334155;
}

.faculty-styled-table tr:last-child td {
  border-bottom: none;
}

/* Tags & Badges */
.faculty-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faculty-tag-pill {
  background: #f1f5f9;
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faculty-tag-pill i {
  color: var(--primary-blue);
  font-size: 0.78rem;
}

/* Structured List for Responsibilities and Publications */
.faculty-itemized-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faculty-itemized-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
}

.faculty-itemized-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-red);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Research Identifiers (Google Scholar & ORCID) */
.faculty-research-ids-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 15px;
}

@media (max-width: 600px) {
  .faculty-research-ids-grid {
    grid-template-columns: 1fr;
  }
}

.research-id-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.research-id-card:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.12);
  transform: translateY(-2px);
}

.research-id-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.research-id-icon.scholar {
  background: #4285F4;
  color: #ffffff;
}

.research-id-icon.orcid {
  background: #A6CE39;
  color: #ffffff;
}

.research-id-details {
  display: flex;
  flex-direction: column;
}

.research-id-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.research-id-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* ==========================================================================
   HOME PAGE: DISTINGUISHED FACULTY SHOWCASE SECTION
   ========================================================================== */
.distinguished-faculty-section {
  padding: 60px 0 50px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  border-top: 1px solid #f1f5f9;
}

.distinguished-faculty-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.distinguished-faculty-header {
  text-align: center;
  margin-bottom: 40px;
}

.distinguished-faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 35px;
}

.distinguished-faculty-cta {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}



