/* ==========================================================================
   Sunaina Institute of Management & Science (SIMS) - Exact SCP Theme Engine
   Matching Design & Layout from sunainacollegeofpharmacy.com
   Color Palette: Ocean Royale
   - --primary-color: #023E8A (Deep Royal Blue)
   - --secondary-color: #03045E (Dark Navy)
   - --accent-color: #FBB02D (Vibrant Amber / Gold)
   - --highlight-color: #00B4D8 (Bright Cyan / Aqua)
   - --bg-ice: #CAF0F8 (Soft Ice Blue)
   ========================================================================== */

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

:root {
  --primary-color: #023E8A;
  --secondary-color: #03045E;
  --accent-color: #FBB02D;
  --highlight-color: #00B4D8;
  --bg-ice: #CAF0F8;

  --primary-gradient: linear-gradient(135deg, #023E8A 0%, #03045E 100%);
  --accent-gradient: linear-gradient(135deg, #FBB02D 0%, #e59b1f 100%);
  --cyan-glow: 0 0 20px rgba(0, 180, 216, 0.35);

  --text-dark: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Base Reset & Typography */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  background-color: #f8fafc;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
  background-color: #0f172a;
  color: #f8fafc;
}

body.dark-mode .main-nav {
  background-color: #1e293b !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav-link {
  color: #e2e8f0 !important;
}

body.dark-mode .dropdown-menu {
  background-color: #1e293b;
  border-color: var(--highlight-color);
}

body.dark-mode .dropdown-item {
  color: #e2e8f0;
}

body.dark-mode .dropdown-item:hover {
  background-color: #334155;
  color: var(--highlight-color);
}

body.dark-mode .info-card,
body.dark-mode .approval-card {
  background-color: #1e293b;
  border-color: #334155;
}

body.dark-mode .info-card h5,
body.dark-mode .approval-card h5 {
  color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-color);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #ffffff;
}

/* Background Decorative Blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

.bg-blob-3 {
  width: 350px;
  height: 350px;
  background: var(--highlight-color);
  top: -50px;
  right: -50px;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Top Bar Contact Section */
.top-bar {
  background: var(--secondary-color);
  color: #ffffff;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
}

.top-bar a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar a:hover {
  color: var(--highlight-color) !important;
}

.text-warning {
  color: var(--accent-color) !important;
}

/* Main Sticky Navbar */
.main-nav {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.05);
  padding: 0.6rem 0;
  transition: all 0.3s ease;
}

/* Mobile Navbar Toggler Clean Styling (Prevents harsh dark/bold outline on click) */
.navbar-toggler {
  border: 1.5px solid rgba(2, 62, 138, 0.25) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.6rem !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible,
.navbar-toggler[aria-expanded="true"] {
  outline: none !important;
  box-shadow: none !important;
  border-color: var(--primary-color) !important;
  background-color: rgba(2, 62, 138, 0.05) !important;
}

body.dark-mode .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.25) !important;
}

body.dark-mode .navbar-toggler:focus,
body.dark-mode .navbar-toggler:active,
body.dark-mode .navbar-toggler:focus-visible,
body.dark-mode .navbar-toggler[aria-expanded="true"] {
  outline: none !important;
  box-shadow: none !important;
  border-color: var(--highlight-color) !important;
  background-color: rgba(0, 180, 216, 0.1) !important;
}

.navbar-brand {
  text-decoration: none;
}

#navAppDownloadBtn,
#navAppDownloadBtn.nav-link,
.nav-item:has(#navAppDownloadBtn) {
  display: none !important;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary-color) !important;
  padding: 0.6rem 0.9rem !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.12);
  border: none;
  border-top: 3px solid var(--accent-color);
  padding: 0.5rem 0;
}

.dropdown-item {
  font-size: 13.5px;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--bg-ice);
  color: var(--primary-color);
  padding-left: 1.5rem;
}

/* Announcement Ticker Bar */
.announcement-ticker {
  background-color: var(--accent-color) !important;
  color: #0f172a !important;
  border-top: 1px solid rgba(3, 4, 94, 0.1);
  border-bottom: 1px solid rgba(3, 4, 94, 0.1);
}

.announcement-ticker .badge {
  box-shadow: 0 2px 5px rgba(220, 53, 69, 0.2);
}

/* Custom Buttons with Smooth Gradient Overlay Transitions (No White Flash) */
.btn-primary-custom {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(2, 62, 138, 0.25);
  transition: all 0.35s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #03045E 0%, #023E8A 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 12px;
}

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

.btn-primary-custom:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--cyan-glow);
}

.btn-secondary-custom {
  background: var(--accent-gradient);
  color: var(--secondary-color) !important;
  border: none;
  padding: 12px 30px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(251, 176, 45, 0.35);
  transition: all 0.35s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-secondary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e59b1f 0%, #d97706 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 14px;
}

.btn-secondary-custom:hover::before {
  opacity: 1;
}

.btn-secondary-custom:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 176, 45, 0.5);
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--highlight-color);
  color: var(--primary-color) !important;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.35s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-custom:hover {
  background: var(--highlight-color);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.35);
}

/* Hero Carousel Slider */
.hero-slider {
  position: relative;
  background-color: var(--secondary-color);
  min-height: 560px;
}

.hero-slider .carousel-item {
  height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slider .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 4, 94, 0.55) 0%, rgba(2, 62, 138, 0.45) 100%);
}

.slider-caption {
  position: relative;
  z-index: 5;
}

.slider-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.slider-subtitle {
  font-size: 1.15rem;
  color: var(--bg-ice);
  margin-bottom: 2rem;
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slider-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--highlight-color);
  margin: 0 5px;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  width: 34px;
  border-radius: 10px;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 216, 0.3);
  margin: 0 1.5rem;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--accent-color);
  color: var(--secondary-color);
  opacity: 1;
  box-shadow: 0 0 15px rgba(251, 176, 45, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Quick Info Cards Section (Overlapping Slider) */
.info-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.08);
  border: 2px solid transparent;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(3, 4, 94, 0.16);
}

.info-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--bg-ice);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 1.25rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-icon i {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Hover Border & Icon Shadow Matching Icon Color */
.info-card.accent-gold .info-icon {
  background: rgba(251, 176, 45, 0.18);
  color: #d97706;
}

.info-card.accent-gold:hover {
  border-color: #d97706;
  box-shadow: 0 15px 35px rgba(217, 119, 6, 0.25);
}

.info-card.accent-gold:hover .info-icon {
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.45);
  background: rgba(251, 176, 45, 0.3);
}

.info-card.accent-blue .info-icon {
  background: rgba(2, 62, 138, 0.14);
  color: var(--primary-color);
}

.info-card.accent-blue:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 35px rgba(2, 62, 138, 0.25);
}

.info-card.accent-blue:hover .info-icon {
  box-shadow: 0 8px 20px rgba(2, 62, 138, 0.45);
  background: rgba(2, 62, 138, 0.25);
}

.info-card.accent-purple .info-icon {
  background: rgba(0, 180, 216, 0.16);
  color: var(--highlight-color);
}

.info-card.accent-purple:hover {
  border-color: var(--highlight-color);
  box-shadow: 0 15px 35px rgba(0, 180, 216, 0.25);
}

.info-card.accent-purple:hover .info-icon {
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.45);
  background: rgba(0, 180, 216, 0.28);
}

.info-card.accent-green .info-icon {
  background: rgba(16, 185, 129, 0.16);
  color: #059669;
}

.info-card.accent-green:hover {
  border-color: #059669;
  box-shadow: 0 15px 35px rgba(5, 150, 105, 0.25);
}

.info-card.accent-green:hover .info-icon {
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.45);
  background: rgba(16, 185, 129, 0.28);
}

.info-card:hover .info-icon {
  transform: scale(1.12);
}

.info-card:hover .info-icon i {
  transform: scale(1.3) rotate(-12deg);
}

.info-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

/* Approval & Affiliation Cards (Bottom-to-Top Fill Animation) */
.approval-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.06);
  border: 2px solid transparent;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.approval-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  z-index: 0;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px;
}

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

.approval-card * {
  position: relative;
  z-index: 2;
  transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.approval-card:hover {
  transform: translateY(-6px);
  border-color: var(--highlight-color);
  box-shadow: 0 15px 35px rgba(3, 4, 94, 0.25);
}

.approval-card:hover h5 {
  color: #ffffff !important;
}

.approval-card:hover p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.approval-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--highlight-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  overflow: hidden;
  font-size: 30px;
  color: var(--primary-color);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.approval-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.approval-icon-wrap i {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.approval-card:hover .approval-icon-wrap {
  border-color: var(--accent-color);
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.approval-card:hover .approval-icon-wrap img {
  transform: scale(1.12);
}

.approval-card:hover .approval-icon-wrap i {
  transform: scale(1.2);
}

/* Floating Badge Up-and-Down Animation */
.floating-badge {
  animation: floatUpDown 3.5s ease-in-out infinite;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0px);
  }

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

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

/* Leadership Card Hover Effects */
.leadership-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.leadership-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(3, 4, 94, 0.12) !important;
  border-color: var(--highlight-color) !important;
}

body.dark-mode .leadership-card {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

body.dark-mode .leadership-card h5 {
  color: #ffffff !important;
}

body.dark-mode .leadership-card .card-text {
  color: #cbd5e1 !important;
}

/* Department / Course Card Styling */
.dept-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dept-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(3, 4, 94, 0.15);
  border-color: var(--highlight-color);
}

.dept-img-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.dept-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.dept-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

body.dark-mode .dept-card {
  background-color: #1e293b;
  border-color: #334155;
}

body.dark-mode .dept-title {
  color: #ffffff;
}

body.dark-mode .dept-card .text-muted {
  color: #cbd5e1 !important;
}

/* Placement Card Styling */
.placement-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid rgba(3, 4, 94, 0.14);
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 14px rgba(3, 4, 94, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.placement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(3, 4, 94, 0.12);
  border-color: rgba(3, 4, 94, 0.25);
  border-left-color: var(--accent-color);
}

body.dark-mode .placement-card {
  background-color: #1e293b;
  border: 1.5px solid #334155;
  border-left: 4px solid var(--accent-color);
}

body.dark-mode .placement-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  border-left-color: #fbb02d;
}

body.dark-mode .placement-card h6 {
  color: #ffffff !important;
}

body.dark-mode .placement-card .text-muted {
  color: #cbd5e1 !important;
}

/* Notice & News Widget Board */
.notice-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1.5px solid rgba(3, 4, 94, 0.15);
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .notice-card {
  background-color: #1e293b;
  border: 1.5px solid #334155;
  border-top: 4px solid var(--accent-color);
}

.notice-item-styled {
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
  background: rgba(3, 4, 94, 0.02);
  border: 1px solid rgba(3, 4, 94, 0.1);
  border-left: 4px solid var(--primary-color);
  border-radius: 12px;
  transition: all 0.25s ease-in-out;
}

body.dark-mode .notice-item-styled {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent-color);
}

.notice-item-styled:last-child {
  margin-bottom: 0;
}

.notice-item-styled:hover {
  background: #ffffff;
  border-color: rgba(3, 4, 94, 0.25);
  border-left-color: var(--accent-color);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(3, 4, 94, 0.08);
}

body.dark-mode .notice-item-styled:hover {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.2);
  border-left-color: #fbb02d;
}

.notice-title-link {
  color: var(--secondary-color);
  font-weight: 600;
  transition: color 0.2s ease;
}

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

body.dark-mode .notice-title-link {
  color: #ffffff;
}

body.dark-mode .notice-title-link:hover {
  color: var(--highlight-color);
}

/* Campus Events Section Styling */
.event-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid rgba(3, 4, 94, 0.14);
  border-top: 4px solid var(--primary-color);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(3, 4, 94, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(3, 4, 94, 0.12);
  border-color: rgba(3, 4, 94, 0.25);
  border-top-color: var(--accent-color);
}

.event-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.event-card:hover .event-img {
  transform: scale(1.06);
}

.event-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(3, 4, 94, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-date-day {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-color, #00b4d8);
}

.event-date-month {
  font-size: 10px;
  text-uppercase: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.event-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-meta i {
  color: var(--highlight-color, #fbb02d);
}

.event-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.event-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Dark Mode Event Card */
body.dark-mode .event-card {
  background-color: #1e293b;
  border: 1.5px solid #334155;
  border-top: 4px solid var(--accent-color);
}

body.dark-mode .event-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  border-top-color: #fbb02d;
}

body.dark-mode .event-title {
  color: #ffffff;
}

body.dark-mode .event-desc,
body.dark-mode .event-meta {
  color: #cbd5e1 !important;
}

/* Superset-Style Corporate Recruiters Section */
.superset-recruiter-section {
  padding: 4.5rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

body.dark-mode .superset-recruiter-section {
  background-color: #0f172a;
}

.logo-marquee-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0.75rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
}

.logo-marquee-left {
  animation: logoMarqueeLeft 28s linear infinite;
}

.logo-marquee-right {
  animation: logoMarqueeRight 28s linear infinite;
}

.logo-marquee-container:hover .logo-marquee-track {
  animation-play-state: paused;
}

@keyframes logoMarqueeLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

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

  100% {
    transform: translateX(0);
  }
}

.superset-company-card {
  width: 180px;
  height: 76px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.superset-company-card img {
  max-height: 42px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

.superset-company-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(3, 4, 94, 0.12);
}

.superset-company-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.06);
}

body.dark-mode .superset-company-card {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.dark-mode .superset-company-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .superset-company-card img {
  filter: brightness(1.1) contrast(1.1);
}

/* Superset-style Stat Items */
.superset-stat-divider {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark-mode .superset-stat-divider {
  border-right-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767.98px) {
  .superset-stat-divider {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }
}

/* FAQ & Callback Form Section Styling */
.faq-callback-section {
  padding: 4.5rem 0;
  background: #ffffff;
  position: relative;
}

body.dark-mode .faq-callback-section {
  background-color: #0f172a;
}

/* FAQ Accordion Styling */
.faq-accordion .accordion-item {
  border: 1.5px solid rgba(3, 4, 94, 0.12);
  border-radius: 14px !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(3, 4, 94, 0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-color);
  background: #ffffff;
  padding: 1.1rem 1.25rem;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background: rgba(3, 4, 94, 0.03);
  border-bottom: 1px solid rgba(3, 4, 94, 0.08);
}

.faq-accordion .accordion-button::after {
  background-size: 1.1rem;
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-body {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  padding: 1.1rem 1.25rem;
}

body.dark-mode .faq-accordion .accordion-item {
  background-color: #1e293b;
  border-color: #334155;
}

body.dark-mode .faq-accordion .accordion-button {
  background-color: #1e293b;
  color: #ffffff;
}

body.dark-mode .faq-accordion .accordion-button:not(.collapsed) {
  background-color: #334155;
  color: var(--accent-color);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .faq-accordion .accordion-body {
  color: #cbd5e1;
}

/* Callback Card & Form Styling */
.callback-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  border: 1.5px solid rgba(3, 4, 94, 0.15);
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.08);
}

body.dark-mode .callback-card {
  background-color: #1e293b;
  border: 1.5px solid #334155;
  border-top: 4px solid var(--accent-color);
}

.callback-card .form-control,
.callback-card .form-select {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 14px;
  transition: all 0.25s ease;
}

.callback-card .form-control:focus,
.callback-card .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(3, 4, 94, 0.12);
}

body.dark-mode .callback-card .form-control,
body.dark-mode .callback-card .form-select {
  background-color: #0f172a;
  border-color: #334155;
  color: #ffffff;
}

body.dark-mode .callback-card .form-control:focus,
body.dark-mode .callback-card .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

body.dark-mode .callback-card label {
  color: #cbd5e1;
}

/* ==========================================================================
   Why Choose Us Section Styling
   ========================================================================== */
.why-choose-us-section {
  padding: 5rem 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

body.dark-mode .why-choose-us-section {
  background-color: #0b1120;
}

.why-card {
  background: #ffffff;
  border: 1.5px solid rgba(3, 4, 94, 0.1);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.why-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1.5rem;
  transition: all 0.35s ease;
}

.why-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  transition: color 0.35s ease;
}

.why-card-text {
  font-size: 14.2px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 0;
}

.why-card:hover {
  transform: translateY(-8px);
}

.why-card:hover .why-icon-box {
  transform: scale(1.12) rotate(-4deg);
}

/* Individual Card Color Themes (Vibrant Icon Boxes & Accents) */

/* Card 1: Royal Blue (AICTE & University Approved) */
.why-card-1 {
  border-top: 4px solid #3b82f6;
}

.why-card-1 .why-icon-box {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.why-card-1:hover {
  border-color: #3b82f6;
  box-shadow: 0 20px 42px rgba(59, 130, 246, 0.2);
}

.why-card-1:hover .why-icon-box {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.45);
}

/* Card 2: Emerald Green (100% BSCC Support) */
.why-card-2 {
  border-top: 4px solid #10b981;
}

.why-card-2 .why-icon-box {
  background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.why-card-2:hover {
  border-color: #10b981;
  box-shadow: 0 20px 42px rgba(16, 185, 129, 0.2);
}

.why-card-2:hover .why-icon-box {
  background: linear-gradient(135deg, #059669 0%, #34d399 100%);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.45);
}

/* Card 3: Electric Purple (Modern Computer Labs) */
.why-card-3 {
  border-top: 4px solid #8b5cf6;
}

.why-card-3 .why-icon-box {
  background: linear-gradient(135deg, #5b21b6 0%, #8b5cf6 100%);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35);
}

.why-card-3:hover {
  border-color: #8b5cf6;
  box-shadow: 0 20px 42px rgba(139, 92, 246, 0.2);
}

.why-card-3:hover .why-icon-box {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  box-shadow: 0 14px 28px rgba(139, 92, 246, 0.45);
}

/* Card 4: Vibrant Amber/Gold (50+ Corporate Recruiters) */
.why-card-4 {
  border-top: 4px solid #f59e0b;
}

.why-card-4 .why-icon-box {
  background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.why-card-4:hover {
  border-color: #f59e0b;
  box-shadow: 0 20px 42px rgba(245, 158, 11, 0.2);
}

.why-card-4:hover .why-icon-box {
  background: linear-gradient(135deg, #b45309 0%, #fde047 100%);
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.45);
}

/* Card 5: Crimson Rose (Industry-Focused Pedagogy) */
.why-card-5 {
  border-top: 4px solid #f43f5e;
}

.why-card-5 .why-icon-box {
  background: linear-gradient(135deg, #be123c 0%, #f43f5e 100%);
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.35);
}

.why-card-5:hover {
  border-color: #f43f5e;
  box-shadow: 0 20px 42px rgba(244, 63, 94, 0.2);
}

.why-card-5:hover .why-icon-box {
  background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%);
  box-shadow: 0 14px 28px rgba(244, 63, 94, 0.45);
}

/* Card 6: Ocean Cyan (Safe & Modern Campus) */
.why-card-6 {
  border-top: 4px solid #06b6d4;
}

.why-card-6 .why-icon-box {
  background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.35);
}

.why-card-6:hover {
  border-color: #06b6d4;
  box-shadow: 0 20px 42px rgba(6, 182, 212, 0.2);
}

.why-card-6:hover .why-icon-box {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  box-shadow: 0 14px 28px rgba(6, 182, 212, 0.45);
}

/* Dark Mode Styles for Why Choose Us */
body.dark-mode .why-card {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .why-icon-box {
  color: #ffffff;
}

body.dark-mode .why-card-title {
  color: #ffffff;
}

body.dark-mode .why-card-text {
  color: #cbd5e1;
}

body.dark-mode .why-card:hover {
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Student Testimonials Section Styling
   ========================================================================== */
.testimonial-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

body.dark-mode .testimonial-section {
  background-color: #0f172a;
}

.testimonial-card {
  background: #ffffff;
  border: 1.5px solid rgba(3, 4, 94, 0.14);
  border-top: 4px solid var(--primary-color);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.05);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-quote-icon {
  font-size: 1.8rem;
  color: var(--accent-color);
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.testimonial-stars {
  color: #ffc107;
  font-size: 13px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--accent-color);
  box-shadow: 0 4px 12px rgba(3, 4, 94, 0.15);
  flex-shrink: 0;
}

.testimonial-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.15rem;
}

.testimonial-author-role {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.testimonial-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  background: rgba(3, 4, 94, 0.08);
  color: var(--primary-color);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  border-top-color: var(--accent-color);
  box-shadow: 0 20px 42px rgba(3, 4, 94, 0.13);
}

/* Dark Mode Styles for Testimonials */
body.dark-mode .testimonial-card {
  background-color: #1e293b;
  border: 1.5px solid #334155;
  border-top: 4px solid var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .testimonial-text {
  color: #cbd5e1;
}

body.dark-mode .testimonial-user {
  border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .testimonial-author-name {
  color: #ffffff;
}

body.dark-mode .testimonial-author-role {
  color: #94a3b8;
}

body.dark-mode .testimonial-badge {
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent-color);
}

body.dark-mode .testimonial-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Call to Action (CTA) Section Styling
   ========================================================================== */
.cta-banner-section {
  padding: 5rem 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

body.dark-mode .cta-banner-section {
  background-color: #0b1120;
}

.cta-banner-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 60%, #001233 100%);
  border-radius: 28px;
  padding: 3.75rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(3, 4, 94, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.cta-banner-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, rgba(0, 180, 216, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.cta-banner-card::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 176, 45, 0.2) 0%, rgba(251, 176, 45, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.cta-tagline {
  display: block;
  color: var(--highlight-color);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.cta-title {
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 2rem auto;
}

.cta-badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-badge-item {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Dark mode overrides for CTA */
body.dark-mode .cta-banner-card {
  background: transparent !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .cta-banner-card::before,
body.dark-mode .cta-banner-card::after {
  display: none !important;
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries (Mobile & Tablet Optimization)
   ========================================================================== */

/* Tablet & Mobile Drawer Navigation (991.98px and below) */
@media (max-width: 991.98px) {
  .main-nav {
    padding: 0.5rem 0;
  }

  .navbar-collapse {
    background: #ffffff;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 15px 35px rgba(3, 4, 94, 0.12);
    margin-top: 0.75rem;
    border-top: 3px solid var(--accent-color);
  }

  body.dark-mode .navbar-collapse {
    background: #1e293b;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }

  .nav-link {
    padding: 0.65rem 0.5rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  body.dark-mode .nav-link {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .dropdown-menu {
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: none;
  }

  .hero-slider,
  .hero-slider .carousel-item {
    height: 480px;
    min-height: 480px;
  }

  .slider-title {
    font-size: 2.3rem;
  }

  .slider-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .info-card-container {
    margin-top: -50px !important;
  }
}

/* Medium Mobile & Small Tablet (767.98px and below) */
@media (max-width: 767.98px) {

  .hero-slider,
  .hero-slider .carousel-item {
    height: 420px;
    min-height: 420px;
  }

  .slider-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .slider-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 0.5rem;
  }

  .info-card-container {
    margin-top: 20px !important;
  }

  .info-card {
    padding: 1.25rem !important;
  }

  .approval-card {
    padding: 1.25rem !important;
  }
}

/* Extra Small Mobile Devices (575.98px and below) */
@media (max-width: 575.98px) {
  .navbar-brand div:first-child {
    width: 46px !important;
    height: 46px !important;
    font-size: 17px !important;
    margin-right: 5px !important;
  }

  .navbar-brand {
    margin-right: 0 !important;
  }

  .navbar-brand span {
    font-size: 17px !important;
  }

  .navbar-brand small {
    font-size: 9.5px !important;
  }

  .announcement-ticker {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }

  .announcement-ticker .badge {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }

  .announcement-ticker marquee {
    font-size: 12.5px !important;
  }

  .hero-slider,
  .hero-slider .carousel-item {
    height: 380px;
    min-height: 380px;
  }

  .slider-title {
    font-size: 1.55rem;
  }

  .btn-secondary-custom,
  .btn-primary-custom {
    padding: 10px 22px;
    font-size: 13.5px;
  }

  .approval-icon-wrap {
    width: 70px;
    height: 70px;
  }

  .affiliation-section h3 {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   Footer Section Styling
   ========================================================================== */
.site-footer {
  background: var(--secondary-color);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
  font-size: 14px;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--highlight-color), var(--accent-color)) 1;
}

.site-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.25s ease;
}

.site-footer a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-newsletter-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  margin-bottom: 3.5rem;
}

.footer-newsletter-box h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
}

.footer-newsletter-box p {
  color: #94a3b8;
  margin-bottom: 0;
}

.footer-newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50px 0 0 50px;
  padding: 0.75rem 1.25rem;
  font-size: 14px;
}

.footer-newsletter-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--highlight-color);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.footer-newsletter-input::placeholder {
  color: #94a3b8;
}

.footer-newsletter-btn {
  background: var(--accent-gradient);
  color: var(--secondary-color);
  font-weight: 700;
  border-radius: 0 50px 50px 0;
  padding: 0.75rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
}

.footer-newsletter-btn:hover {
  background: var(--highlight-color);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.5);
}

.footer-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

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

.footer-desc {
  color: #94a3b8;
  line-height: 1.65;
  font-size: 13.5px;
  margin-bottom: 1.25rem;
}

.footer-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.footer-badge-tag {
  background: rgba(0, 180, 216, 0.12);
  color: var(--highlight-color);
  border: 1px solid rgba(0, 180, 216, 0.25);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.site-footer .social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 0 !important;
}

.site-footer .social-icon-btn:hover {
  background: var(--accent-color);
  color: var(--secondary-color) !important;
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(251, 176, 45, 0.4);
  padding-left: 0 !important;
}

.site-footer .social-icon-btn i {
  color: inherit;
}

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

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.footer-links-list a i {
  font-size: 10px;
  color: var(--highlight-color);
  transition: transform 0.2s ease;
}

.footer-links-list a:hover i {
  transform: translateX(4px);
  color: var(--accent-color);
}

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

.footer-contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 1.1rem;
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-contact-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--highlight-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.footer-whatsapp-btn {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.5rem;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.footer-whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  padding-left: 16px !important;
}

.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  margin-top: 3.5rem;
  font-size: 13px;
  color: #94a3b8;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.footer-bottom-links a {
  color: #94a3b8;
  font-size: 12.5px;
}

.footer-bottom-links a:hover {
  color: var(--highlight-color);
  padding-left: 0;
}

/* Unique Developer Credit Styling */
.developer-credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.developer-credit-pill:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 12px rgba(251, 176, 45, 0.35);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
}

.developer-credit-pill .dev-text {
  font-weight: 400;
  color: #94a3b8;
}

.developer-credit-pill .dev-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: var(--accent-gradient);
  color: var(--secondary-color);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

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

.back-to-top-btn:hover {
  transform: translateY(-5px);
  background: var(--highlight-color);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4);
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.floating-whatsapp-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  z-index: -1;
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.floating-whatsapp-btn .whatsapp-tooltip {
  position: absolute;
  right: 60px;
  background: #128C7E;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 64px;
}

/* Dark Mode Footer & Text Visibility Fixes (Scoped strictly to body.dark-mode) */
body.dark-mode {
  --secondary-color: #ffffff;
  color: #f1f5f9 !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .display-1,
body.dark-mode .display-2,
body.dark-mode .display-3,
body.dark-mode .display-4,
body.dark-mode .display-5,
body.dark-mode .display-6,
body.dark-mode [style*="color: var(--secondary-color"],
body.dark-mode [style*="color:var(--secondary-color"],
body.dark-mode [style*="color: #03045E"],
body.dark-mode [style*="color:#03045E"],
body.dark-mode [style*="color: #023E8A"],
body.dark-mode [style*="color:#023E8A"] {
  color: #ffffff !important;
}

body.dark-mode .text-dark,
body.dark-mode strong.text-dark,
body.dark-mode h1.text-dark,
body.dark-mode h2.text-dark,
body.dark-mode h3.text-dark,
body.dark-mode h4.text-dark,
body.dark-mode h5.text-dark,
body.dark-mode h6.text-dark,
body.dark-mode span.text-dark,
body.dark-mode p.text-dark,
body.dark-mode a.text-dark,
body.dark-mode div.text-dark,
body.dark-mode small.text-dark,
body.dark-mode td.text-dark,
body.dark-mode th.text-dark,
body.dark-mode li.text-dark,
body.dark-mode label.text-dark {
  color: #f8fafc !important;
}

body.dark-mode .text-muted,
body.dark-mode small.text-muted,
body.dark-mode span.text-muted,
body.dark-mode p.text-muted,
body.dark-mode div.text-muted,
body.dark-mode li.text-muted {
  color: #94a3b8 !important;
}

body.dark-mode .text-secondary,
body.dark-mode p.text-secondary,
body.dark-mode span.text-secondary,
body.dark-mode div.text-secondary,
body.dark-mode small.text-secondary {
  color: #cbd5e1 !important;
}

body.dark-mode .text-white-50 {
  color: rgba(248, 250, 252, 0.75) !important;
}

/* Mobile & Tablet Specific Dark Mode Text & Navbar Visibility Rules */
@media (max-width: 991.98px) {
  body.dark-mode .navbar-collapse {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
  }

  body.dark-mode .nav-link {
    color: #f8fafc !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }

  body.dark-mode .nav-link:hover,
  body.dark-mode .nav-link.active {
    color: var(--highlight-color, #00B4D8) !important;
  }

  body.dark-mode .dropdown-menu {
    background: #0f172a !important;
    border-color: #334155 !important;
  }

  body.dark-mode .dropdown-item {
    color: #e2e8f0 !important;
  }

  body.dark-mode .dropdown-item:hover {
    color: var(--accent-color, #FBB02D) !important;
    background: #1e293b !important;
  }

  body.dark-mode .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
  }

  body.dark-mode .navbar-toggler-icon {
    filter: invert(1) brightness(200%) !important;
  }

  body.dark-mode .offcanvas,
  body.dark-mode .offcanvas-header,
  body.dark-mode .offcanvas-body {
    background-color: #1e293b !important;
    color: #f8fafc !important;
  }

  body.dark-mode .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
  }
}

@media (max-width: 767.98px) {
  body.dark-mode .stat-box-clean,
  body.dark-mode .stat-counter-card,
  body.dark-mode .info-card,
  body.dark-mode .approval-card,
  body.dark-mode .recognition-card,
  body.dark-mode .pillar-card,
  body.dark-mode .about-card,
  body.dark-mode .dept-card,
  body.dark-mode .notice-card,
  body.dark-mode .event-card,
  body.dark-mode .faculty-card,
  body.dark-mode .course-card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
  }

  body.dark-mode .stat-box-clean .text-dark,
  body.dark-mode .stat-counter-card .text-dark,
  body.dark-mode .info-card .text-dark,
  body.dark-mode .approval-card .text-dark,
  body.dark-mode .recognition-card .text-dark,
  body.dark-mode .pillar-card .text-dark,
  body.dark-mode .about-card .text-dark,
  body.dark-mode .dept-card .text-dark,
  body.dark-mode .notice-card .text-dark,
  body.dark-mode .event-card .text-dark {
    color: #f8fafc !important;
  }
}

body.dark-mode .site-footer {
  background: #090d16 !important;
  color: #e2e8f0 !important;
  border-top-color: var(--highlight-color);
}

body.dark-mode .site-footer a {
  color: #cbd5e1 !important;
}

body.dark-mode .site-footer a:hover {
  color: var(--accent-color, #FBB02D) !important;
}

body.dark-mode .footer-title {
  color: #ffffff !important;
}

body.dark-mode .footer-desc {
  color: #cbd5e1 !important;
}

body.dark-mode .footer-contact-info li {
  color: #cbd5e1 !important;
}

body.dark-mode .footer-contact-info strong {
  color: #ffffff !important;
}

body.dark-mode .footer-links-list a {
  color: #cbd5e1 !important;
}

body.dark-mode .footer-links-list a:hover {
  color: var(--highlight-color, #00B4D8) !important;
}

body.dark-mode .footer-bottom-bar {
  background: #060911 !important;
  color: #cbd5e1 !important;
  border-top-color: #1e293b !important;
}

body.dark-mode .footer-bottom-links a {
  color: #cbd5e1 !important;
}

body.dark-mode .footer-bottom-links a:hover {
  color: var(--highlight-color, #00B4D8) !important;
}

body.dark-mode .dev-text {
  color: #cbd5e1 !important;
}

body.dark-mode .dev-name {
  color: #ffffff !important;
}

body.dark-mode .bg-white,
body.dark-mode .bg-light,
body.dark-mode .card,
body.dark-mode .modal-content,
body.dark-mode .dropdown-menu {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

body.dark-mode .table,
body.dark-mode .table th,
body.dark-mode .table td {
  color: #f8fafc !important;
  border-color: #334155 !important;
  background-color: transparent !important;
}

body.dark-mode .table-light,
body.dark-mode .table-light th,
body.dark-mode .table-light td {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

body.dark-mode .form-control::placeholder {
  color: #64748b !important;
}

body.dark-mode .form-label {
  color: #e2e8f0 !important;
}

body.dark-mode .accordion-item {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

body.dark-mode .accordion-button {
  background-color: #1e293b !important;
  color: #f8fafc !important;
}

body.dark-mode .accordion-button:not(.collapsed) {
  background-color: #0f172a !important;
  color: var(--highlight-color, #00B4D8) !important;
}

body.dark-mode .footer-newsletter-box {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Inner Pages Hero & Card Styles
   ========================================================================== */
.inner-page-hero {
  background: var(--primary-gradient);
  padding: 3rem 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.inner-page-hero-clean {
  background: linear-gradient(135deg, var(--secondary-color, #03045E) 0%, var(--primary-color, #023E8A) 100%);
  padding: 3rem 0;
  color: #ffffff;
  position: relative;
}

.inner-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
}

.inner-page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.inner-page-hero .breadcrumb-item a {
  color: var(--highlight-color);
  text-decoration: none;
}

.inner-page-hero .breadcrumb-item.active {
  color: #cbd5e1;
}

.feature-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.12);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(3, 4, 94, 0.12);
  border-color: var(--highlight-color);
}

.icon-box-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--highlight-color));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 1.25rem;
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.stat-counter-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(0, 180, 216, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.stat-counter-card:hover {
  transform: translateY(-5px);
}

.stat-counter-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.4rem;
}

body.dark-mode .feature-box,
body.dark-mode .stat-counter-card {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

body.dark-mode .feature-box h4,
body.dark-mode .stat-counter-card .stat-number {
  color: #ffffff;
}

/* ==========================================================================
   Director Profile & Responsive Page Adjustments
   ========================================================================== */
.director-profile-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 15px 35px rgba(3, 4, 94, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.director-img-wrapper {
  width: 170px;
  height: 170px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--highlight-color), var(--accent-color));
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.25);
  overflow: hidden;
}

.director-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.quote-highlight-box {
  background: linear-gradient(135deg, rgba(2, 62, 138, 0.04), rgba(0, 180, 216, 0.06));
  border-left: 4px solid var(--primary-color);
  border-radius: 0 16px 16px 0;
  padding: 1.5rem 1.75rem;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--secondary-color);
  margin-bottom: 1.75rem;
  position: relative;
}

.quote-highlight-box i.quote-icon {
  font-size: 2rem;
  color: var(--highlight-color);
  opacity: 0.4;
  margin-right: 0.5rem;
}

.director-signature-block {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.25rem;
  margin-top: 2rem;
}

body.dark-mode .director-profile-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .quote-highlight-box {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-left-color: var(--accent-color);
}

body.dark-mode .director-signature-block {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Mobile & Tablet Responsive Tweaks */
@media (max-width: 991.98px) {
  .inner-page-hero {
    padding: 3rem 0 2.25rem;
    text-align: center;
  }

  .inner-page-hero .breadcrumb {
    justify-content: center;
    margin-top: 0.75rem;
  }

  /* BBA & BCA Page Hero Banner Buttons - Small in Mobile View */
  .bba-hero-btns .btn,
  .bca-hero-btns .btn {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
  }

  .bba-hero-btns .btn i,
  .bca-hero-btns .btn i {
    font-size: 0.8rem !important;
  }

  /* BBA, BCA, Downloads, Disclosures & Facilities Page Breadcrumb - Match About Page Design in Mobile View */
  .bba-breadcrumb,
  .bca-breadcrumb,
  .downloads-breadcrumb,
  .disclosures-breadcrumb,
  .facilities-breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    justify-content: center !important;
    margin-top: 0.75rem !important;
  }

  .bba-breadcrumb .breadcrumb-item a,
  .bca-breadcrumb .breadcrumb-item a,
  .downloads-breadcrumb .breadcrumb-item a,
  .disclosures-breadcrumb .breadcrumb-item a,
  .facilities-breadcrumb .breadcrumb-item a {
    color: var(--highlight-color) !important;
    text-decoration: none !important;
  }

  .bba-breadcrumb .breadcrumb-item.active,
  .bca-breadcrumb .breadcrumb-item.active,
  .downloads-breadcrumb .breadcrumb-item.active,
  .disclosures-breadcrumb .breadcrumb-item.active,
  .facilities-breadcrumb .breadcrumb-item.active {
    color: #cbd5e1 !important;
  }

  .director-profile-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .bba-hero-btns .btn,
  .bca-hero-btns .btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8rem !important;
  }

  .director-img-wrapper {
    width: 140px;
    height: 140px;
  }

  .quote-highlight-box {
    padding: 1.25rem;
    font-size: 0.95rem;
  }

  .stat-counter-card {
    padding: 1.25rem 0.75rem;
  }

  .stat-counter-card .stat-number {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   Faculty & Staff Details Page Styling
   ========================================================================== */
.faculty-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 180, 216, 0.15);
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.05);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(3, 4, 94, 0.12);
  border-color: var(--highlight-color);
}

.faculty-header-bg {
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
}

.faculty-avatar-wrapper {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: -55px auto 1rem;
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 2;
}

.faculty-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.faculty-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 3;
}

.faculty-body {
  padding: 0 1.5rem 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.faculty-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.faculty-qualification {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.faculty-designation {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.faculty-dept {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 0.85rem;
}

.faculty-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 1.25rem;
}

.faculty-tag {
  font-size: 11px;
  background: #f1f5f9;
  color: #334155;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.faculty-footer {
  margin-top: auto;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Filter tabs mobile responsiveness */
.filter-tabs-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.filter-tabs-wrapper::-webkit-scrollbar {
  height: 4px;
}

.filter-tabs-wrapper::-webkit-scrollbar-thumb {
  background: var(--highlight-color);
  border-radius: 4px;
}

.faculty-filter-btn {
  white-space: nowrap;
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  transition: all 0.25s ease;
  cursor: pointer;
}

.faculty-filter-btn:hover,
.faculty-filter-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(2, 62, 138, 0.25);
}

/* Dark Mode Support for Faculty */
body.dark-mode .faculty-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .faculty-avatar-wrapper {
  background: #1e293b;
}

body.dark-mode .faculty-name {
  color: #ffffff;
}

body.dark-mode .faculty-designation {
  color: var(--highlight-color);
}

body.dark-mode .faculty-qualification,
body.dark-mode .faculty-dept {
  color: #94a3b8;
}

body.dark-mode .faculty-tag {
  background: #334155;
  color: #cbd5e1;
}

body.dark-mode .faculty-footer {
  border-top-color: #334155;
}

body.dark-mode .faculty-filter-btn {
  background: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

body.dark-mode .faculty-filter-btn:hover,
body.dark-mode .faculty-filter-btn.active {
  background: var(--highlight-color);
  color: #0f172a;
  border-color: var(--highlight-color);
}

/* Responsive tweaks for faculty grid */
@media (max-width: 575.98px) {
  .faculty-body {
    padding: 0 1rem 1.25rem;
  }

  .faculty-name {
    font-size: 1.1rem;
  }

  .faculty-avatar-wrapper {
    width: 95px;
    height: 95px;
    margin-top: -48px;
  }

  .faculty-header-bg {
    height: 75px;
  }
}

/* ==========================================================================
   All Courses & Departments Page Styling
   ========================================================================== */
.course-card-main {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid rgba(3, 4, 94, 0.1);
  box-shadow: 0 12px 35px rgba(3, 4, 94, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card-main:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(3, 4, 94, 0.14);
}

.course-card-bba {
  border-top: 4px solid #f59e0b;
}

.course-card-bba:hover {
  border-color: #f59e0b;
}

.course-card-bca {
  border-top: 4px solid #0284c7;
}

.course-card-bca:hover {
  border-color: #0284c7;
}

.course-card-header {
  padding: 2rem 2rem 1.25rem;
  position: relative;
}

.course-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.bba-icon-bg {
  background: linear-gradient(135deg, #d97706, #fbbf24);
}

.bca-icon-bg {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
}

.course-meta-pill {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.bba-meta-pill {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.bca-meta-pill {
  background: rgba(2, 132, 199, 0.12);
  color: #0369a1;
}

.course-main-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary-color);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.course-short-desc {
  font-size: 14.2px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.course-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.course-spec-list li {
  font-size: 13.5px;
  color: #334155;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
}

.course-spec-list li i {
  color: var(--highlight-color);
  margin-right: 8px;
  font-size: 14px;
}

.course-card-footer {
  margin-top: auto;
  padding: 1.25rem 2rem 2rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Comparison Table Styling */
.comparison-table-wrapper {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 180, 216, 0.15);
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.05);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  margin-bottom: 0;
}

.comparison-table th {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  padding: 1.25rem 1.5rem;
  vertical-align: middle;
}

.comparison-table td {
  padding: 1.1rem 1.5rem;
  font-size: 14px;
  color: #334155;
  vertical-align: middle;
}

/* Certification Card Styling */
.cert-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  height: 100%;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--highlight-color);
}

.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Dark Mode Styles for Courses Page */
body.dark-mode .course-card-main,
body.dark-mode .comparison-table-wrapper,
body.dark-mode .cert-card {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

body.dark-mode .course-main-title {
  color: #ffffff;
}

body.dark-mode .course-short-desc {
  color: #cbd5e1;
}

body.dark-mode .course-spec-list li {
  color: #e2e8f0;
}

body.dark-mode .course-card-footer {
  border-top-color: #334155;
}

body.dark-mode .comparison-table td {
  color: #cbd5e1;
  border-color: #334155;
}

body.dark-mode .bba-meta-pill {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

body.dark-mode .bca-meta-pill {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
}

/* Mobile & Tablet adjustments */
@media (max-width: 767.98px) {
  .course-card-header {
    padding: 1.5rem 1.25rem 1rem;
  }

  .course-card-footer {
    padding: 1rem 1.25rem 1.5rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.85rem 1rem;
    font-size: 13px;
  }
}

/* ==========================================================================
   Single Course Detail Page Styling (BBA & BCA)
   ========================================================================== */
.program-feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 180, 216, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.program-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.semester-accordion .accordion-item {
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.semester-accordion .accordion-button {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary-color);
  background: #f8fafc;
  padding: 1.15rem 1.5rem;
}

.semester-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(2, 62, 138, 0.06), rgba(0, 180, 216, 0.08));
  color: var(--primary-color);
  box-shadow: none;
}

.career-role-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.career-role-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
}

.career-icon-wrapper {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #d97706, #fbbf24);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

/* Dark Mode Styles for Single Course Page */
body.dark-mode .program-feature-card,
body.dark-mode .career-role-box,
body.dark-mode .semester-accordion .accordion-item {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

body.dark-mode .semester-accordion .accordion-button {
  background: #1e293b;
  color: #ffffff;
}

body.dark-mode .semester-accordion .accordion-button:not(.collapsed) {
  background: #334155;
  color: var(--highlight-color);
}

/* ==========================================================================
   Step-by-Step Admission Process Card Styling
   ========================================================================== */
.step-process-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.85rem 1.6rem;
  border: 1px solid rgba(0, 180, 216, 0.14);
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.05);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.step-process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(3, 4, 94, 0.12);
}

.step-process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--card-accent, var(--primary-gradient));
}

.step-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 30px;
  color: #ffffff;
  background: var(--card-accent, var(--primary-gradient));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.step-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--icon-bg, rgba(2, 62, 138, 0.08));
  color: var(--icon-color, var(--primary-color));
  transition: all 0.3s ease;
}

.step-process-card:hover .step-icon-box {
  transform: scale(1.1) rotate(5deg);
}

body.dark-mode .step-process-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .step-process-card h5 {
  color: #ffffff !important;
}

body.dark-mode .step-process-card p {
  color: #94a3b8 !important;
}

/* ==========================================================================
   Required Documents Checklist Card Hover Styling
   ========================================================================== */
.doc-checklist-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.doc-checklist-card:hover {
  transform: translateY(-6px);
  border-color: var(--doc-accent, var(--highlight-color));
  box-shadow: 0 16px 32px rgba(3, 4, 94, 0.1);
  background: #ffffff;
}

.doc-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--doc-bg, rgba(2, 62, 138, 0.08));
  color: var(--doc-color, var(--primary-color));
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.doc-checklist-card:hover .doc-icon-box {
  transform: scale(1.15) rotate(6deg);
  background: var(--doc-accent, var(--primary-color));
  color: #ffffff;
}

body.dark-mode .doc-checklist-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

body.dark-mode .doc-checklist-card:hover {
  background: #1e293b;
  border-color: var(--highlight-color);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

body.dark-mode .doc-checklist-card h6 {
  color: #ffffff !important;
}

body.dark-mode .doc-checklist-card small {
  color: #cbd5e1 !important;
}

/* ==========================================================================
   Distinguished Faculty Showcase Section (Index Page Upgrade)
   Ocean Royale Theme: #03045E, #023E8A, #00B4D8, #CAF0F8, #FBB02D
   ========================================================================== */
.faculty-section-wrap {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, #ffffff 100%);
  overflow: hidden;
}

body.dark-mode .faculty-section-wrap {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.faculty-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(2, 62, 138, 0.08);
  color: var(--primary-color, #023E8A);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 180, 216, 0.1);
  margin-bottom: 12px;
}

body.dark-mode .faculty-section-badge {
  background: rgba(0, 180, 216, 0.15);
  color: var(--highlight-color);
  border-color: rgba(0, 180, 216, 0.4);
}

.faculty-title-underline {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #00B4D8, #FBB02D);
  border-radius: 4px;
  margin: 14px auto 0;
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.4);
}

.faculty-card-modern {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(2, 62, 138, 0.08);
  box-shadow: 0 10px 30px rgba(3, 4, 94, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.faculty-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #023E8A, #00B4D8, #FBB02D);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 2;
}

.faculty-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(2, 62, 138, 0.12), 0 0 25px rgba(0, 180, 216, 0.18);
  border-color: rgba(0, 180, 216, 0.3);
}

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

body.dark-mode .faculty-card-modern {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .faculty-card-modern:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 180, 216, 0.25);
  border-color: var(--highlight-color);
}

.faculty-card-top {
  position: relative;
  padding-top: 24px;
  padding-bottom: 12px;
  text-align: center;
  background: linear-gradient(180deg, rgba(202, 240, 248, 0.25) 0%, rgba(255,255,255,0) 100%);
}

body.dark-mode .faculty-card-top {
  background: linear-gradient(180deg, rgba(0, 180, 216, 0.08) 0%, rgba(30, 41, 59, 0) 100%);
}

.faculty-avatar-container {
  position: relative;
  display: inline-block;
  padding: 4px;
  background: linear-gradient(135deg, #023E8A 0%, #00B4D8 50%, #FBB02D 100%);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.faculty-card-modern:hover .faculty-avatar-container {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 180, 216, 0.4);
}

.faculty-avatar-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ffffff;
  display: block;
}

body.dark-mode .faculty-avatar-img {
  border-color: #1e293b;
}

.faculty-avatar-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(135deg, #FBB02D 0%, #e59b1f 100%);
  color: #03045E;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1.5px solid #ffffff;
}

body.dark-mode .faculty-avatar-badge {
  border-color: #1e293b;
}

.faculty-card-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color, #03045E);
  margin-bottom: 3px;
  transition: color 0.3s ease;
}

.faculty-card-modern:hover .faculty-card-name {
  color: var(--highlight-color, #00B4D8);
}

body.dark-mode .faculty-card-name {
  color: #ffffff;
}

.faculty-card-designation {
  font-size: 0.8rem;
  font-weight: 600;
  color: #00B4D8;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.faculty-dept-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(2, 62, 138, 0.06);
  color: #023E8A;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

body.dark-mode .faculty-dept-tag {
  background: rgba(0, 180, 216, 0.15);
  color: #93c5fd;
}

.faculty-qual-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #f0fdf4;
  color: #166534;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(22, 101, 52, 0.15);
}

body.dark-mode .faculty-qual-tag {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.3);
}

.faculty-bio-snippet {
  position: relative;
  background: rgba(248, 250, 252, 0.8);
  border-left: 3px solid var(--highlight-color, #00B4D8);
  border-radius: 0 10px 10px 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
  color: #475569;
  font-style: italic;
  margin: 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.dark-mode .faculty-bio-snippet {
  background: rgba(15, 23, 42, 0.6);
  color: #cbd5e1;
}

.faculty-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.dark-mode .faculty-card-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.faculty-exp-badge {
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fffbeb;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #fef3c7;
}

body.dark-mode .faculty-exp-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.3);
}

.faculty-view-bio-btn {
  font-size: 11.5px;
  font-weight: 700;
  color: #023E8A;
  background: rgba(2, 62, 138, 0.08);
  border: none;
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.faculty-view-bio-btn:hover {
  background: var(--primary-color, #023E8A);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 62, 138, 0.3);
}

body.dark-mode .faculty-view-bio-btn {
  background: rgba(0, 180, 216, 0.2);
  color: var(--highlight-color);
}

body.dark-mode .faculty-view-bio-btn:hover {
  background: var(--highlight-color);
  color: #0f172a;
}

/* ==========================================================================
   SIMS Campus Photo Gallery (Index Page Upgrade)
   Ocean Royale Theme: #03045E, #023E8A, #00B4D8, #CAF0F8, #FBB02D
   ========================================================================== */
.index-gallery-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 50%, #f8fafc 100%);
  overflow: hidden;
}

body.dark-mode .index-gallery-section {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.index-gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(2, 62, 138, 0.1);
  box-shadow: 0 6px 20px rgba(3, 4, 94, 0.05);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

body.dark-mode .index-gallery-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.index-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(2, 62, 138, 0.14), 0 0 20px rgba(0, 180, 216, 0.15);
  border-color: rgba(0, 180, 216, 0.35);
}

.index-gallery-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #e2e8f0;
  cursor: pointer;
}

.index-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.index-gallery-card:hover .index-gallery-img {
  transform: scale(1.06);
}

.index-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 4, 94, 0.82) 0%, rgba(3, 4, 94, 0.15) 65%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.index-gallery-card:hover .index-gallery-overlay {
  opacity: 1;
}

.index-gallery-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #023E8A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: scale(0.75);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
}

.index-gallery-card:hover .index-gallery-zoom-icon {
  transform: scale(1);
}

.index-gallery-zoom-icon:hover {
  background: #FBB02D;
  color: #03045E;
}

.index-gallery-badge-top-left {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(3, 4, 94, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.index-gallery-badge-top-right {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: linear-gradient(135deg, #FBB02D 0%, #e59b1f 100%);
  color: #03045E;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.5px;
}

.index-gallery-info {
  padding: 11px 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.dark-mode .index-gallery-info {
  background: #1e293b;
}

.index-gallery-title {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #03045E;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

body.dark-mode .index-gallery-title {
  color: #ffffff;
}

.index-gallery-card:hover .index-gallery-title {
  color: #00B4D8;
}

.index-gallery-link-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: rgba(2, 62, 138, 0.08);
  color: #023E8A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.index-gallery-link-btn:hover {
  background: #023E8A;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 62, 138, 0.3);
}

body.dark-mode .index-gallery-link-btn {
  background: rgba(0, 180, 216, 0.2);
  color: #00B4D8;
}

body.dark-mode .index-gallery-link-btn:hover {
  background: #00B4D8;
  color: #0f172a;
}

/* Download Toast Notification */
.download-toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  background: linear-gradient(135deg, #03045E, #023E8A);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 180, 216, 0.4);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.download-toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.download-toast-notice .toast-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-toast-notice .toast-icon {
  font-size: 24px;
  color: #00B4D8;
  animation: bounceDown 1s ease infinite alternate;
}

@keyframes bounceDown {
  0% { transform: translateY(-3px); }
  100% { transform: translateY(3px); }
}