/* MIT – Made in Tamilnadu Premium Institutional Corporate Styling */
:root {
  /* Exact Corporate Dark Green Palette */
  --mit-dark-green: #0D3B3A;        /* Dark Green #0D3B3A requested by user */
  --mit-dark-green-deep: #072221;   /* Deeper contrast for footers & gradients */
  --mit-white: #FFFFFF;             /* 50% - Main background, cards */
  --mit-soft-white: #F8FAFC;        /* Subtle section alternating background */
  --mit-light-green: #22ad1e;       /* Fresh leaf green matching logo leaf */
  --mit-light-green-subtle: #eaf6ee;
  --mit-blue: #1D4ED8;              /* 8%  - CTA buttons, links, active elements */
  --mit-blue-hover: #1e40af;
  --mit-red: #F87171;               /* 2%  - Error, failed payment, warning strictly */
  --mit-red-subtle: #fef2f2;
  
  /* Neutral Typography & Borders */
  --mit-text-dark: #172033;
  --mit-text-muted: #64748b;
  --mit-border-light: #e2e8f0;
  --mit-border-dark-green: rgba(13, 59, 58, 0.2);
  
  /* Shadows & Radius */
  --mit-radius-sm: 8px;
  --mit-radius-md: 12px;
  --mit-radius-lg: 16px;
  --mit-radius-xl: 24px;
  --mit-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --mit-shadow-md: 0 10px 25px -5px rgba(13, 59, 58, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --mit-shadow-lg: 0 20px 35px -5px rgba(23, 32, 51, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--mit-text-dark);
  background-color: #f7faf8;
  line-height: 1.65;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  min-height: 100vh;
}

/* Persistent Official MIT Circular Logo Watermark across the entire website */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 680px);
  height: min(80vw, 680px);
  background-image: url('../images/mit-logo-round.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--mit-dark-green);
  letter-spacing: -0.02em;
}

a {
  color: var(--mit-blue);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--mit-dark-green);
}

/* Tier 1: Top Utility & Announcement Ribbon (WASME / ICSB Benchmark) */
.top-utility-bar {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  z-index: 1031;
  color: #475569;
}

.top-utility-bar .hover-white:hover,
.top-utility-bar a:hover {
  color: #15803d !important;
  text-decoration: underline !important;
}

.utility-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 173, 30, 0.18);
  color: #22ad1e;
  border: 1px solid rgba(34, 173, 30, 0.4);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #22ad1e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 173, 30, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 173, 30, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 173, 30, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 173, 30, 0);
  }
}

.utility-divider {
  width: 1px;
  height: 14px;
  background: #cbd5e1;
}

.utility-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.utility-link:hover {
  color: #0D3B3A;
}

.utility-admin {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #93c5fd !important;
}

.utility-admin:hover {
  background: rgba(29, 78, 216, 0.25);
  color: #ffffff !important;
}

/* Tier 2: Navbar */
.navbar-mit {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.navbar-mit .navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar-mit .brand-text-container {
  min-width: 0;
}

.navbar-mit .navbar-brand .navbar-logo-img,
.navbar-mit .navbar-brand img {
  height: 64px;
  width: 64px;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(13, 59, 58, 0.12);
  transition: transform 0.3s ease;
}

.navbar-mit .navbar-brand:hover .navbar-logo-img,
.navbar-mit .navbar-brand:hover img {
  transform: scale(1.06);
}

.navbar-mit .brand-text {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.32em;
}

.brand-text-mit,
.text-mit-brand,
.brand-mit-title,
.brand-mit-color {
  color: #0D3B3A !important;
  font-weight: 900;
}

.brand-text-dash {
  color: #8B4513 !important;
  font-weight: 800;
  opacity: 0.85;
}

.brand-text-madein {
  color: #8B4513 !important; /* Brown color matching ad poster */
  font-weight: 800;
}

.brand-text-tn {
  color: #1ea824 !important; /* Light green color matching ad poster */
  font-weight: 800;
}

.brand-text-in{
  color: red !important;
  font-weight: 800; 
}

.navbar-mit .brand-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: #15803d !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.navbar-mit .nav-link {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--mit-radius-sm);
  transition: all 0.2s ease;
}

.navbar-mit .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.navbar-mit .nav-link.active {
  color: #ffffff !important;
  background-color: #22ad1e !important;
  box-shadow: 0 2px 8px rgba(34, 173, 30, 0.35);
}

.navbar-mit .nav-link:focus:not(:hover):not(.active) {
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Executive Dropdown Menus (WASME / ICSB Benchmark) */
.dropdown-menu-mit {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16), 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 0.6rem;
  min-width: 270px;
  animation: dropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dropdown-menu-mit .dropdown-item {
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  color: #172033;
  transition: all 0.2s ease;
}

.dropdown-menu-mit .dropdown-item:hover {
  background-color: #f0f7f6;
  color: #0D3B3A;
  transform: translateX(4px);
}

.dropdown-menu-mit .dropdown-item .fw-bold {
  color: #0D3B3A;
  font-size: 0.92rem;
}

.dropdown-menu-mit .dropdown-item .small {
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Header Action Buttons */
.btn-mit-header-cta {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  color: #ffffff !important;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  box-shadow: 0 3px 12px rgba(29, 78, 216, 0.4);
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-mit-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(29, 78, 216, 0.55);
  color: #ffffff !important;
}

.btn-mit-header-pass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-mit-header-pass:hover {
  background: #ffffff;
  color: #0D3B3A !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Button System */
.btn-mit-primary,
.btn-mit-blue {
  background-color: var(--mit-blue);
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: var(--mit-radius-md);
  padding: 0.7rem 1.6rem;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-mit-primary:hover,
.btn-mit-blue:hover {
  background-color: var(--mit-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.35);
}

.btn-mit-dark-green {
  background-color: var(--mit-dark-green);
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: var(--mit-radius-md);
  padding: 0.7rem 1.6rem;
  box-shadow: 0 4px 14px rgba(13, 59, 58, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-mit-dark-green:hover {
  background-color: var(--mit-dark-green-deep);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 59, 58, 0.35);
}

.btn-mit-outline {
  background-color: transparent;
  color: var(--mit-dark-green);
  font-weight: 600;
  border: 1.5px solid var(--mit-dark-green);
  border-radius: var(--mit-radius-md);
  padding: 0.65rem 1.4rem;
  transition: all 0.25s ease;
}

.btn-mit-outline:hover {
  background-color: var(--mit-dark-green);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-mit-outline-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--mit-radius-md);
  padding: 0.65rem 1.4rem;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}

.btn-mit-outline-white:hover {
  background-color: #ffffff;
  color: var(--mit-dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Card System */
.mit-card {
  background: var(--mit-white);
  border: 1px solid var(--mit-border-light);
  border-radius: var(--mit-radius-lg);
  box-shadow: var(--mit-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mit-shadow-md);
  border-color: var(--mit-light-green);
}

/* Top Accent Border */
.border-top-accent {
  border-top: 4px solid var(--mit-dark-green);
}

/* Hero Carousel */
.hero-slider-container {
  position: relative;
  background-color: #061d1c;
  overflow: hidden;
  color: #ffffff;
}

.hero-slider-item {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

/* Clear Slide Images: Removed heavy green overlay, replaced with clean vignette */
.hero-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.38) 55%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.hero-slider-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-slider-content h1,
.hero-slider-content .hero-title,
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.18 !important;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.85);
}

.hero-slider-content p,
.hero-slider-content .hero-subtitle,
.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem) !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  margin-bottom: 2rem;
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 1rem;
  background: rgba(13, 59, 58, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

/* Hero Slide Brand Logo */
.hero-slide-brand {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.hero-slide-logo,
.hero-mini-logo {
  height: 52px;
  width: 52px;
  object-fit: cover;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-slide-logo:hover,
.hero-mini-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

/* Section Backgrounds with Vivid Image Visibility & Watermark */
.section-dark-green {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.20) 100%),
              url('../images/hero/editorial_tn_bg.jpg') center/cover no-repeat;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-dark-green::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 550px);
  height: min(70vw, 550px);
  background-image: url('../images/mit-logo-round.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.section-dark-green > .container {
  position: relative;
  z-index: 1;
}

/* Clear Banner Header Image (Removed heavy green overlay so image is vividly visible) */
.section-dark-green-pattern {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.42) 60%, rgba(0, 0, 0, 0.16) 100%),
              url('../images/hero/editorial_tn_bg.jpg') center/cover no-repeat;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-dark-green-pattern::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  background-image: url('../images/mit-logo-round.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
}

.section-dark-green-pattern > .container {
  position: relative;
  z-index: 1;
}

/* Clean Section Background (No greenish tint over text, logo watermark visible) */
.section-subtle-green {
  background-color: rgba(255, 255, 255, 0.88);
  color: var(--mit-text-dark);
  position: relative;
  overflow: hidden;
}

.section-subtle-green::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(75vw, 620px);
  height: min(75vw, 620px);
  background-image: url('../images/mit-logo-round.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.section-subtle-green > .container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   CONFIRMED CHENNAI EVENT MINI POPUP MODAL (COMPACT / EASY VIEW / EASY CLOSE)
   ========================================================================== */
#mitPosterModal .modal-content,
.modal-event-mini .modal-content,
#mitPosterModal .modal-body {
  background-color: #ffffff !important;
  background: #ffffff !important;
  opacity: 1 !important;
}

#mitPosterModal .modal-content,
.modal-event-mini .modal-content {
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(13, 59, 58, 0.15) !important;
  border: 1px solid rgba(13, 59, 58, 0.15) !important;
}

#mitPosterModal ~ .modal-backdrop.show,
.modal-backdrop.show {
  opacity: 0.72 !important;
  background-color: #072221 !important;
}

.modal-event-mini {
  max-width: 440px !important;
  margin: 1.5rem auto !important;
}

/* Compact, Sleek & Professional WhatsApp Popup Modal */
.modal-whatsapp-compact {
  max-width: 330px !important;
  margin: 1.2rem auto !important;
}

.modal-whatsapp-compact .modal-content {
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(37, 211, 102, 0.25) !important;
  border: 1px solid rgba(37, 211, 102, 0.25) !important;
}

.modal-whatsapp-compact .btn-close-wa-mini {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1085;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.modal-whatsapp-compact .btn-close-wa-mini:hover {
  background: #dc2626;
  border-color: #ffffff;
  transform: scale(1.1);
}

.modal-whatsapp-compact .wa-qr-img {
  max-width: 155px !important;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.btn-join-wa-mini {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
}

.btn-join-wa-mini:hover {
  background: linear-gradient(135deg, #2bf577 0%, #075E54 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
}

@media (max-width: 575.98px) {
  .modal-whatsapp-compact {
    max-width: min(320px, calc(100vw - 32px)) !important;
    margin: 1rem auto !important;
  }
}

.event-mini-banner {
  height: 135px;
  overflow: hidden;
  background: #0D3B3A;
  position: relative;
}

.event-mini-img {
  width: 100%;
  height: 135px !important;
  object-fit: cover;
  display: block;
}

.event-mini-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 12px;
  background: linear-gradient(to bottom, rgba(13, 59, 58, 0.55) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.event-mini-badge-confirmed {
  background: rgba(13, 59, 58, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.74rem !important;
}

.event-mini-badge-date {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.74rem !important;
  margin-right: 42px; /* Leaves clear space for circular close button */
}

/* Super Prominent & Easy to Click/Tap Close Button */
.btn-close-event-mini,
.btn-close-event-modal,
.btn-close-poster {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0D3B3A;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1085;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.btn-close-event-mini:hover,
.btn-close-event-modal:hover,
.btn-close-poster:hover {
  background: #22ad1e;
  color: #ffffff;
  transform: scale(1.1);
}

.event-mini-title {
  font-size: 1.15rem !important;
  color: #0D3B3A;
  line-height: 1.3;
}

.event-mini-desc {
  font-size: 0.83rem !important;
  line-height: 1.45;
}

.event-mini-btn-reg {
  font-size: 0.96rem !important;
  min-height: 42px;
}

/* Mobile Responsiveness for Mini Modal */
@media (max-width: 575.98px) {
  .modal-event-mini {
    max-width: calc(100vw - 28px) !important;
    margin: 12px auto !important;
  }
  .event-mini-banner {
    height: 115px;
  }
  .event-mini-img {
    height: 115px !important;
  }
  .btn-close-event-mini,
  .btn-close-event-modal,
  .btn-close-poster {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
  .event-mini-title {
    font-size: 1.05rem !important;
  }
}

/* Elevated White Cards on Dark Green Sections */
.card-elevated-white {
  background: #ffffff;
  border-radius: var(--mit-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  color: var(--mit-text-dark);
}

.card-elevated-white:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  border-color: var(--mit-light-green);
}

/* Clickable Event Card */
.event-card-clickable {
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.event-card-clickable:hover {
  color: inherit;
}

/* Feature & Opportunity Box */
.opportunity-box {
  background: var(--mit-white);
  border: 1px solid var(--mit-border-light);
  border-radius: var(--mit-radius-md);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.opportunity-box:hover {
  transform: translateY(-5px);
  border-color: var(--mit-dark-green);
  box-shadow: var(--mit-shadow-md);
}

.opportunity-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--mit-light-green-subtle);
  color: var(--mit-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

/* How MIT Works (5 Steps) */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.how-step-card {
  background: var(--mit-white);
  border: 1px solid var(--mit-border-light);
  border-radius: var(--mit-radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.how-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--mit-dark-green);
  box-shadow: var(--mit-shadow-sm);
}

.how-step-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--mit-dark-green);
  color: #ffffff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Event Cards */
.event-card {
  background: var(--mit-white);
  border: 1px solid var(--mit-border-light);
  border-radius: var(--mit-radius-md);
  overflow: hidden;
  box-shadow: var(--mit-shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mit-shadow-md);
  border-color: var(--mit-dark-green);
}

.event-card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

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

/* Chapter Card */
.chapter-card {
  background: var(--mit-white);
  border: 1px solid var(--mit-border-light);
  border-radius: var(--mit-radius-md);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.chapter-card:hover {
  border-color: var(--mit-dark-green);
  box-shadow: var(--mit-shadow-sm);
}

/* Modern Unique Footer */
.footer-mit {
  background: linear-gradient(180deg, #0D3B3A 0%, #061a1a 100%);
  color: #ffffff;
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--mit-light-green);
  position: relative;
  overflow: hidden;
}

.footer-mit::before {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 6%;
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  background-image: url('../images/mit-logo-round.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.footer-mit > .container,
.footer-mit > .footer-top-bar {
  position: relative;
  z-index: 1;
}

.footer-top-bar .badge {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  word-break: keep-all !important;
}

@media (max-width: 575.98px) {
  .footer-top-bar {
    padding-bottom: 1.25rem !important;
    margin-bottom: 2rem !important;
  }
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  letter-spacing: 0.02em;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 24px;
  height: 2px;
  background: #22ad1e;
  border-radius: 2px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #22ad1e;
  transform: translateX(4px);
}

.footer-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-tag:hover {
  border-color: #22ad1e;
  color: #ffffff;
  background: rgba(34, 173, 30, 0.2);
}

.footer-desk-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-admin-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--mit-radius-sm);
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.btn-admin-portal:hover {
  background: #22ad1e;
  border-color: #22ad1e;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(34, 173, 30, 0.4);
}

/* Fouz Digital Brand Badge */
.fouz-brand-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.fouz-badge {
  background: linear-gradient(135deg, rgba(34, 173, 30, 0.22) 0%, rgba(29, 78, 216, 0.28) 100%);
  border: 1px solid rgba(34, 173, 30, 0.55);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(34, 173, 30, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fouz-brand-link:hover .fouz-badge {
  background: linear-gradient(135deg, #22ad1e 0%, #1D4ED8 100%);
  color: #ffffff !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 173, 30, 0.5);
}

.fouz-arrow {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.fouz-brand-link:hover .fouz-arrow {
  transform: translate(2px, -2px);
}

/* Digital Pass & Forms */
.digital-pass-card {
  max-width: 580px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--mit-radius-xl);
  box-shadow: var(--mit-shadow-lg);
  border: 2px solid var(--mit-dark-green);
  overflow: hidden;
}

.pass-header {
  background: var(--mit-dark-green);
  color: #ffffff;
  padding: 2rem 2rem 1.75rem;
  text-align: center;
}

.pass-header .logo-badge {
  background: #ffffff;
  padding: 6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pass-header .logo-badge img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.pass-body {
  padding: 2rem;
  background: #ffffff;
}

.pass-qr-box {
  background: var(--mit-soft-white);
  border: 2px dashed rgba(13, 59, 58, 0.3);
  border-radius: var(--mit-radius-md);
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.pass-qr-box img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}

.pass-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--mit-border-light);
  font-size: 0.95rem;
}

.pass-detail-label {
  color: var(--mit-text-muted);
  font-weight: 500;
}

.pass-detail-value {
  color: var(--mit-text-dark);
  font-weight: 700;
  text-align: right;
}

/* Forms */
.form-control-mit {
  border-radius: var(--mit-radius-md);
  border: 1.5px solid var(--mit-border-light);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control-mit:focus {
  border-color: var(--mit-dark-green);
  box-shadow: 0 0 0 4px rgba(13, 59, 58, 0.12);
}

/* Status Badges */
.badge-status {
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.badge-paid { background: #dcfce7; color: #15803d; }
.badge-pending { background: #fef3c7; color: #b45309; }
.badge-checked-in { background: #e0e7ff; color: #4338ca; }
.badge-not-checked { background: #f1f5f9; color: #475569; }

/* Light Red for error strictly */
.text-error-red {
  color: var(--mit-red) !important;
}

.bg-error-red {
  background-color: var(--mit-red) !important;
  color: #ffffff !important;
}

.alert-error-red {
  background-color: var(--mit-red-subtle);
  border: 1px solid var(--mit-red);
  color: #991b1b;
}

/* ==========================================================================
   International Apex Components (WASME / ICSB Benchmark)
   ========================================================================== */

/* 1. Statewide Impact Metrics Ribbon (Pure White with Clear Logo Watermark) */
.mit-impact-ribbon {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.impact-ribbon-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vw, 400px);
  height: min(85vw, 400px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.24; /* Clearly visible logo in background */
}

.impact-watermark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.06));
}

.impact-metric-box {
  position: relative;
  z-index: 1;
  padding: 1.1rem 0.75rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.impact-metric-box:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(13, 59, 58, 0.08);
  border-color: rgba(34, 173, 30, 0.35);
}

.impact-metric-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0D3B3A;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.impact-metric-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.impact-metric-sub {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 500;
}

/* 2. Strategic Apex Pillars (WASME Inspired) */
.pillar-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0D3B3A;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(13, 59, 58, 0.12);
  border-color: #60948D;
  border-top-color: #22ad1e;
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #edf5f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1);
  background: #e0f2f0;
}

.pillar-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0D3B3A;
  background: rgba(13, 59, 58, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

/* 3. Tamil Nadu Industrial Corridors */
.corridor-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

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

.corridor-hub-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1D4ED8;
  background: rgba(29, 78, 216, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

/* 4. Institutional Alliances & Ecosystem Marquee (Continuous Infinite Scroll) */
.alliances-marquee {
  width: 100%;
  overflow: hidden;
  padding: 1.25rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.alliances-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.alliances-track:hover {
  animation-play-state: paused;
}

.alliance-item {
  padding: 0.6rem 1.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #334155 !important;
  font-size: 0.95rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.alliance-item:hover {
  color: #0D3B3A !important;
  border-color: #0D3B3A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 59, 58, 0.12);
}

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

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness
   ========================================================================== */
/* Carousel Indicators Base */
.carousel-indicators {
  position: absolute;
  bottom: 12px !important;
  margin-bottom: 0 !important;
  z-index: 5 !important;
}

.carousel-indicators [data-bs-target] {
  width: 24px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background-color: rgba(255, 255, 255, 0.55) !important;
  border: none !important;
  margin: 0 4px !important;
  transition: all 0.3s ease !important;
}

.carousel-indicators .active {
  background-color: #22ad1e !important;
  width: 32px !important;
}

/* Executive Desktop & Laptop Navbar Layout Optimization */
@media (min-width: 992px) {
  .navbar-mit .navbar-collapse {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
  }
  .navbar-mit .navbar-nav {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    flex-shrink: 1 !important;
    margin-bottom: 0 !important;
  }
  .mit-nav-search {
    flex-shrink: 0 !important;
  }
}

/* Laptop Responsive Specifics (992px to 1340px) */
@media (min-width: 992px) and (max-width: 1339.98px) {
  .navbar-mit {
    padding: 0.55rem 0 !important;
  }
  .navbar-mit .navbar-brand {
    gap: 8px !important;
    margin-right: 0.4rem !important;
  }
  .navbar-mit .navbar-brand .navbar-logo-img,
  .navbar-mit .navbar-brand img {
    height: 50px !important;
    width: 50px !important;
  }
  .navbar-mit .brand-text {
    font-size: 1.22rem !important;
    white-space: nowrap !important;
    gap: 0.28em !important;
  }
  .navbar-mit .brand-sub {
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap !important;
    color: #15803d !important;
  }
  .navbar-mit .navbar-nav {
    gap: 2px !important;
  }
  .navbar-mit .nav-link {
    padding: 0.42rem 0.52rem !important;
    font-size: 0.84rem !important;
    white-space: nowrap !important;
  }
  .mit-nav-search {
    margin-left: 0.4rem !important;
    flex-shrink: 0 !important;
  }
  .mit-nav-search .mit-search-input {
    width: 145px !important;
    height: 35px !important;
    font-size: 0.78rem !important;
    padding: 0.3rem 2.7rem 0.3rem 1.9rem !important;
  }
  .mit-nav-search .mit-search-input:focus {
    width: 200px !important;
  }
  .mit-nav-search .search-kbd-hint {
    font-size: 0.58rem !important;
    padding: 1px 4px !important;
    right: 8px !important;
  }
  .mit-nav-search .search-icon {
    left: 10px !important;
    width: 13px !important;
    height: 13px !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-mit {
    padding: 0.85rem 0 !important;
    min-height: 74px !important;
  }
  .navbar-mit > .container,
  .navbar-mit > .container-fluid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .navbar-mit .navbar-brand {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 108px) !important;
    margin-right: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
    white-space: normal !important;
  }
  .navbar-mit .brand-text-container {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  .navbar-mit .brand-text {
    font-size: clamp(1.05rem, 3.2vw, 1.35rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.28em !important;
  }
  .navbar-mit .brand-sub {
    font-size: 0.80rem !important;
    font-weight: 600 !important;
    color: #15803d !important;
    letter-spacing: 0.025em !important;
    line-height: 1.25 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .navbar-mit .mobile-nav-controls {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .btn-nav-search-toggle {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
  }
  .btn-nav-search-toggle svg {
    width: 20px !important;
    height: 20px !important;
  }
  .navbar-mit .navbar-toggler {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
  }
  .navbar-mit .navbar-toggler-icon {
    width: 1.45em !important;
    height: 1.45em !important;
  }
  .navbar-mit .navbar-brand .navbar-logo-img,
  .navbar-mit .navbar-brand img {
    height: 56px !important;
    width: 56px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    padding: 2.5px !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    flex-shrink: 0 !important;
  }
  .navbar-mit .navbar-collapse {
    width: 100% !important;
    flex-basis: 100% !important;
    background: #0D3B3A !important;
    padding: 1rem 1.25rem !important;
    border-radius: var(--mit-radius-md) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5) !important;
    margin-top: 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  .navbar-mit .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border-radius: var(--mit-radius-sm) !important;
    margin-bottom: 0.25rem !important;
  }
  .navbar-mit .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
  }
  .navbar-mit .nav-link.active {
    background-color: #22ad1e !important;
    color: #ffffff !important;
  }
  .dropdown-menu-mit {
    background: rgba(7, 37, 36, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
    padding: 0.4rem !important;
    margin: 0.35rem 0 0.6rem 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--mit-radius-sm) !important;
  }
  .dropdown-menu-mit .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.55rem 0.75rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    border-radius: 6px !important;
    margin-bottom: 2px !important;
  }
  .dropdown-menu-mit .dropdown-item:hover,
  .dropdown-menu-mit .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
  }
  .dropdown-menu-mit .dropdown-item .fw-bold {
    color: #ffffff !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
    font-size: 0.90rem !important;
    margin-bottom: 2px !important;
  }
  .dropdown-menu-mit .dropdown-item .small {
    color: rgba(255, 255, 255, 0.75) !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
    font-size: 0.76rem !important;
    display: block !important;
  }
  .dropdown-menu-mit .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.12) !important;
    margin: 0.35rem 0 !important;
  }
  .hero-slider-item {
    min-height: 520px;
  }
  .hero-slider-content {
    padding: 2.5rem 0 3.5rem 0;
  }
  .how-steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
  }
  .impact-metric-number {
    font-size: 1.85rem !important;
  }
}

@media (max-width: 767.98px) {
  /* Headings & Responsive Typography for All Mobile Devices */
  h1, .display-5 {
    font-size: clamp(1.4rem, 5.5vw, 2.2rem) !important;
    line-height: 1.25 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  h2, .display-6 {
    font-size: clamp(1.22rem, 4.5vw, 1.75rem) !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  h3 {
    font-size: clamp(1.1rem, 3.8vw, 1.35rem) !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  p, .lead {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .lead {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }

  /* Hero Carousel - Perfect Mobile Layout (No overlapping indicators) */
  .hero-slider-item {
    min-height: 490px !important;
    display: flex !important;
    align-items: center !important;
  }
  .hero-slider-content {
    padding-top: 1.5rem !important;
    padding-bottom: 4.5rem !important; /* Critical: reserves ample room for carousel indicators */
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .hero-slide-logo,
  .hero-mini-logo {
    height: 42px !important;
    width: 42px !important;
    padding: 2px !important;
  }
  .hero-eyebrow {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  .hero-slider-content h1,
  .hero-slider-content .hero-title,
  .hero-title {
    font-size: clamp(1.3rem, 5.2vw, 1.75rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.75rem !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero-slider-content p,
  .hero-slider-content .hero-subtitle,
  .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1.25rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero-slider-content .d-flex {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .hero-slider-content .btn {
    width: 100% !important;
    padding: 0.65rem 1.25rem !important;
    font-size: 0.95rem !important;
    min-height: 44px;
    margin-bottom: 0 !important;
    touch-action: manipulation;
  }

  /* Carousel Indicators Positioned Safely */
  .carousel-indicators {
    bottom: 8px !important;
  }

  /* Grids & Cards */
  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .opportunity-box,
  .how-step-card,
  .chapter-card,
  .event-card,
  .card-elevated-white {
    margin-bottom: 1rem;
    padding: 1.25rem !important;
    border-radius: 12px;
  }
  .event-card-img {
    height: 170px !important;
  }
  .event-card-body {
    padding: 1.15rem !important;
  }
  .digital-pass-card {
    border-radius: var(--mit-radius-lg);
    margin: 0 auto;
    max-width: 100% !important;
  }
  .pass-header {
    padding: 1.5rem 1rem !important;
  }
  .pass-body {
    padding: 1.25rem 1rem !important;
  }
  .pass-detail-row {
    flex-direction: column;
    gap: 4px;
  }
  .pass-detail-value {
    text-align: left;
  }

  /* Forms on Mobile */
  .form-control,
  .form-select {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    min-height: 44px;
  }

  /* Responsive Watermark sizing for mobile */
  body::before,
  .section-subtle-green::before,
  .section-dark-green::before {
    width: 85vw;
    height: 85vw;
  }
  .section-dark-green-pattern::after {
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    width: 70vw;
    height: 70vw;
    opacity: 0.12;
  }
}

@media (max-width: 575.98px) {
  .navbar-mit {
    padding: 0.65rem 0 !important;
    min-height: 64px !important;
  }
  .navbar-mit > .container,
  .navbar-mit > .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .navbar-mit .navbar-brand {
    max-width: calc(100% - 84px) !important;
    gap: 8px !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  .navbar-mit .brand-text-container {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: visible !important;
  }
  .navbar-mit .navbar-brand .navbar-logo-img,
  .navbar-mit .navbar-brand img {
    height: 46px !important;
    width: 46px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    padding: 2px !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
    flex-shrink: 0 !important;
  }
  .navbar-mit .brand-text {
    font-size: clamp(0.82rem, 3.7vw, 1.05rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.18 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.22em !important;
  }
  .navbar-mit .brand-sub {
    font-size: clamp(0.55rem, 2.2vw, 0.65rem) !important;
    font-weight: 600 !important;
    color: #15803d !important;
    letter-spacing: 0.01em !important;
    line-height: 1.2 !important;
    margin-top: 1px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .navbar-mit .mobile-nav-controls {
    gap: 6px !important;
  }
  .btn-nav-search-toggle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
  }
  .btn-nav-search-toggle svg {
    width: 17px !important;
    height: 17px !important;
  }
  .navbar-mit .navbar-toggler {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .navbar-mit .navbar-toggler-icon {
    width: 1.25em !important;
    height: 1.25em !important;
  }
  .navbar-mit .navbar-collapse {
    padding: 0.75rem 0.85rem !important;
  }
  .navbar-mit .nav-link {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.95rem !important;
  }
  .dropdown-menu-mit {
    padding: 0.25rem !important;
  }
  .dropdown-menu-mit .dropdown-item {
    padding: 0.45rem 0.6rem !important;
  }
  .dropdown-menu-mit .dropdown-item .fw-bold {
    font-size: 0.86rem !important;
  }
  .dropdown-menu-mit .dropdown-item .small {
    font-size: 0.73rem !important;
    line-height: 1.35 !important;
  }
  .hero-slider-item {
    min-height: 470px !important;
  }
  .hero-slider-content {
    padding-top: 1.25rem !important;
    padding-bottom: 4rem !important;
    padding-left: 1.35rem !important;
    padding-right: 1.35rem !important;
  }
  .hero-slide-logo,
  .hero-mini-logo {
    height: 38px !important;
    width: 38px !important;
    padding: 2px !important;
  }
  .hero-eyebrow {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.65rem !important;
    margin-bottom: 0.6rem !important;
  }
  .hero-slider-content h1,
  .hero-slider-content .hero-title,
  .hero-title {
    font-size: 1.35rem !important;
  }
  .opportunity-box {
    padding: 1.15rem !important;
  }
  .pass-body {
    padding: 1.15rem !important;
  }
  .pass-header {
    padding: 1.25rem 1rem !important;
  }
  .footer-mit {
    padding: 2.5rem 0 1.5rem !important;
  }
  .btn-scroll-to-top {
    bottom: 16px !important;
    right: 16px !important;
    width: 42px !important;
    height: 42px !important;
  }
}

@media (max-width: 360px) {
  .navbar-mit {
    padding: 0.55rem 0 !important;
    min-height: 58px !important;
  }
  .navbar-mit > .container,
  .navbar-mit > .container-fluid {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .navbar-mit .navbar-brand {
    max-width: calc(100% - 76px) !important;
    gap: 6px !important;
  }
  .navbar-mit .navbar-brand .navbar-logo-img,
  .navbar-mit .navbar-brand img {
    height: 42px !important;
    width: 42px !important;
  }
  .navbar-mit .brand-text {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.18em !important;
  }
  .navbar-mit .brand-sub {
    font-size: 0.52rem !important;
    font-weight: 600 !important;
    color: #15803d !important;
    letter-spacing: 0 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .btn-nav-search-toggle {
    width: 33px !important;
    height: 33px !important;
    border-radius: 7px !important;
  }
  .btn-nav-search-toggle svg {
    width: 15px !important;
    height: 15px !important;
  }
  .navbar-mit .navbar-toggler {
    width: 33px !important;
    height: 33px !important;
    border-radius: 7px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .navbar-mit .navbar-toggler-icon {
    width: 1.15em !important;
    height: 1.15em !important;
  }
  .navbar-mit .navbar-collapse {
    padding: 0.75rem 0.85rem !important;
  }
  .dropdown-menu-mit .dropdown-item {
    padding: 0.4rem 0.55rem !important;
  }
  .dropdown-menu-mit .dropdown-item .fw-bold {
    font-size: 0.84rem !important;
  }
  .dropdown-menu-mit .dropdown-item .small {
    font-size: 0.70rem !important;
    line-height: 1.3 !important;
  }
  .hero-slider-content {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
  .hero-slider-content h1,
  .hero-slider-content .hero-title,
  .hero-title {
    font-size: 1.22rem !important;
  }
  .hero-slide-logo,
  .hero-mini-logo {
    height: 34px !important;
    width: 34px !important;
  }
}

/* Touch Action Accessibility */
button,
.btn,
.nav-link,
.event-card,
.chapter-card,
.opportunity-box {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Floating Scroll To Top Button */
.btn-scroll-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #0D3B3A;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
}

.btn-scroll-to-top:hover {
  background-color: #22ad1e;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(34, 173, 30, 0.45);
}

.btn-scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-scroll-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.btn-scroll-to-top:hover svg {
  transform: translateY(-2px);
}

/* ==========================================================================
   Apex Corporate & International Organization Standards (WASME / ICSB Benchmark)
   ========================================================================== */

/* Corporate SVG Line Icons */
.corporate-svg-icon {
  stroke: #0D3B3A;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.opportunity-box:hover .corporate-svg-icon,
.pillar-card:hover .corporate-svg-icon {
  stroke: #1D4ED8;
  transform: scale(1.1);
}

/* President's Desk & Executive Communique */
.presidents-portrait-wrapper {
  position: relative;
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  border: 5px solid #ffffff;
  box-shadow: 0 20px 40px rgba(13, 59, 58, 0.16);
  background: #0D3B3A;
}

.presidents-portrait-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.presidents-portrait-wrapper:hover .presidents-portrait-img {
  transform: scale(1.03);
}

.presidents-seal-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.presidents-quote-box {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* MSME Strategic Pillars Cards */
.pillar-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(13, 59, 58, 0.12) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: #60948D !important;
  box-shadow: 0 16px 36px rgba(13, 59, 58, 0.12);
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(13, 59, 58, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease;
}

.pillar-card:hover .pillar-icon-box {
  background: rgba(29, 78, 216, 0.1);
}

.pillar-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0D3B3A;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Key Industrial Focus Sectors */
.sector-corporate-card {
  background: #ffffff;
  border: 1px solid rgba(13, 59, 58, 0.1) !important;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-corporate-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(13, 59, 58, 0.14);
  border-color: #60948D !important;
}

.sector-img-box {
  height: 200px;
  overflow: hidden;
  background: #0D3B3A;
}

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

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

.sector-badge {
  background: #0D3B3A;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Industrial Corridors of Tamil Nadu */
.corridor-card {
  background: #ffffff;
  border: 1px solid rgba(13, 59, 58, 0.1) !important;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.corridor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(13, 59, 58, 0.1);
  border-color: #0D3B3A !important;
}

.corridor-hub-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0D3B3A;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Policy Advocacy & Knowledge Hub */
.publication-card {
  background: #ffffff;
  border: 1px solid rgba(13, 59, 58, 0.12) !important;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(13, 59, 58, 0.12);
  border-color: #22ad1e !important;
}

.pub-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1D4ED8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(29, 78, 216, 0.08);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

/* Institutional Alliances Marquee (WASME / ICSB Benchmark) */
.alliances-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.alliances-track {
  display: flex;
  width: max-content;
  animation: marqueeSlide 30s linear infinite;
}

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

.alliance-item {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #64748b;
  white-space: nowrap;
  padding: 0 1.25rem;
  border-right: 2px solid rgba(0, 0, 0, 0.08);
  transition: color 0.2s ease;
}

.alliance-item:hover {
  color: #0D3B3A;
}

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

@media (max-width: 768px) {
  .presidents-portrait-img {
    height: 340px;
  }
  .sector-img-box {
    height: 170px;
  }
}

/* ==========================================================================
   EXECUTIVE NAVBAR SEARCH & MOBILE SEARCH SYSTEM
   ========================================================================== */

/* Mobile Search Icon Toggle Button */
.btn-nav-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #0D3B3A;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.btn-nav-search-toggle svg {
  stroke: #0D3B3A;
  transition: stroke 0.2s ease;
}

.btn-nav-search-toggle:hover,
.btn-nav-search-toggle:focus,
.btn-nav-search-toggle.active {
  background: rgba(34, 173, 30, 0.12);
  border-color: #22ad1e;
  color: #22ad1e;
  box-shadow: 0 0 10px rgba(34, 173, 30, 0.25);
  transform: scale(1.05);
}

.btn-nav-search-toggle:hover svg,
.btn-nav-search-toggle:focus svg,
.btn-nav-search-toggle.active svg {
  stroke: #22ad1e;
}

/* Navbar Toggler Button (Custom Dark Green Hamburger) */
.navbar-mit .navbar-toggler {
  border: 1.5px solid #cbd5e1 !important;
  background: #f8fafc !important;
  color: #0D3B3A !important;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.navbar-mit .navbar-toggler:hover,
.navbar-mit .navbar-toggler:focus {
  background: #f1f5f9 !important;
  border-color: #22ad1e !important;
}

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

/* Desktop Search Box Wrapper */
.mit-nav-search {
  position: relative;
  width: auto;
  flex-shrink: 0;
}

.mit-nav-search .search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.mit-nav-search .search-icon {
  position: absolute;
  left: 13px;
  color: #0D3B3A;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.mit-nav-search .mit-search-input {
  width: 280px;
  height: 38px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.38rem 3.4rem 0.38rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0D3B3A;
  outline: none;
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mit-nav-search .mit-search-input::placeholder {
  color: #94a3b8;
  font-size: 0.82rem;
}

.mit-nav-search .mit-search-input:focus {
  width: 350px;
  background: #ffffff;
  border-color: #22ad1e;
  color: #0D3B3A;
  box-shadow: 0 0 0 3px rgba(34, 173, 30, 0.2), 0 6px 20px rgba(0, 0, 0, 0.08);
}

.mit-nav-search .mit-search-input:focus + .search-icon,
.mit-nav-search .search-input-wrapper:focus-within .search-icon {
  color: #22ad1e;
}

/* Keyboard hint chip */
.mit-nav-search .search-kbd-hint {
  position: absolute;
  right: 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  font-family: inherit;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}

.mit-nav-search .mit-search-input:focus ~ .search-kbd-hint {
  opacity: 0;
}

/* Clear Button */
.mit-nav-search .btn-search-clear,
.mit-mobile-search-bar .btn-search-clear {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 3;
}

.mit-nav-search .btn-search-clear:hover,
.mit-mobile-search-bar .btn-search-clear:hover {
  color: #0D3B3A;
}

/* Desktop Search Dropdown */
.mit-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-height: 480px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22), 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 1060;
  animation: searchFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.5rem 0;
}

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

/* Mobile Slide-Down Search Bar */
.mit-mobile-search-bar {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 2px solid #22ad1e;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: mobileSearchSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mit-mobile-search-bar .mobile-search-inner {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.35rem 0.75rem;
  position: relative;
}

.mit-mobile-search-bar .mobile-search-inner:focus-within {
  background: #ffffff;
  border-color: #22ad1e;
  box-shadow: 0 0 0 2px rgba(34, 173, 30, 0.25);
}

.mit-mobile-search-bar .mit-mobile-input {
  background: transparent;
  border: none;
  color: #0D3B3A;
  font-size: 0.95rem;
  padding: 0.4rem 0.25rem;
  outline: none;
  box-shadow: none;
  width: 100%;
}

.mit-mobile-search-bar .mit-mobile-input::placeholder {
  color: #94a3b8;
}

.mit-mobile-search-bar .btn-mobile-search-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 6px;
  cursor: pointer;
  transition: color 0.2s;
}

.mit-mobile-search-bar .btn-mobile-search-close:hover {
  color: #dc2626;
}

/* Mobile Suggestions Dropdown */
.mit-mobile-dropdown {
  margin-top: 0.6rem;
  max-height: 380px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Shared Search Results Styling (Desktop & Mobile) */
.search-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 0.45rem 1rem 0.2rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  color: #1e293b;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}

.search-item-link:hover,
.search-item-link.selected {
  background: #f0fdf4;
  border-left-color: #22ad1e;
  color: #0D3B3A;
  text-decoration: none;
}

.search-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.search-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(13, 59, 58, 0.08);
  color: #0D3B3A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.search-item-link:hover .search-item-icon,
.search-item-link.selected .search-item-icon {
  background: rgba(34, 173, 30, 0.2);
  color: #15803d;
}

.search-item-text {
  min-width: 0;
  flex: 1;
}

.search-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #172033;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.search-badge-events {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.search-badge-summit {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.search-badge-chapters {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.search-badge-portal {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.search-badge-page {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* Highlighted matching keywords */
.search-highlight {
  background: rgba(34, 173, 30, 0.22);
  color: #047857;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 700;
}

/* Quick Suggestion Chips (when empty or typing) */
.search-quick-tags {
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.search-quick-tags-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-tag-chip {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: #0D3B3A;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin: 2px 3px 2px 0;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.search-tag-chip:hover {
  background: #22ad1e;
  border-color: #22ad1e;
  color: #ffffff;
  text-decoration: none;
}

/* No results state */
.search-empty-state {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #64748b;
}

.search-empty-state .search-empty-icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  opacity: 0.7;
}

.search-empty-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.search-empty-sub {
  font-size: 0.78rem;
  color: #64748b;
}

/* Scrollbar polish for dropdown */
.mit-search-dropdown::-webkit-scrollbar,
.mit-mobile-dropdown::-webkit-scrollbar {
  width: 6px;
}

.mit-search-dropdown::-webkit-scrollbar-thumb,
.mit-mobile-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

/* ==========================================================================
   TIER 3: DEDICATED MEGA SECTION NAVIGATION BAR (6 EXACT TABS)
   ========================================================================== */

.navbar-mega-section {
  background: #072524;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid rgba(34, 173, 30, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  position: relative;
  z-index: 1025;
}

.mega-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.68rem 1.15rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
}

.mega-nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.12);
}

.mega-nav-link.active {
  color: #ffffff !important;
  background-color: #22ad1e !important;
  box-shadow: 0 2px 8px rgba(34, 173, 30, 0.38);
  font-weight: 700;
}

/* Custom Dropdown Arrow */
.mega-nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.35em;
  vertical-align: 0.15em;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.dropdown-mega:hover .mega-nav-link.dropdown-toggle::after,
.dropdown-mega.show .mega-nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown Mega Item Container */
.dropdown-mega {
  position: relative;
}

/* Mega Menu Dropdown Panel (Desktop) */
@media (min-width: 992px) {
  .dropdown-mega .mega-menu-panel {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(8px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 3px solid #22ad1e;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.2), 0 8px 18px rgba(0, 0, 0, 0.08);
    padding: 1.15rem;
    z-index: 1060;
    min-width: 680px;
    max-width: min(720px, calc(100vw - 32px));
  }

  /* Right-align chapters or panels that might go off-screen */
  .mega-nav-list > li:nth-last-child(-n+2) .mega-menu-panel {
    left: auto;
    right: 0;
  }

  /* Gap bridge for hover stability */
  .dropdown-mega .mega-menu-panel::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
  }

  /* Open on hover or Bootstrap show */
  .dropdown-mega:hover .mega-menu-panel,
  .dropdown-mega .mega-menu-panel.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Mega Menu Card Item */
.mega-menu-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.mega-menu-card:hover {
  background: #f0fdf4;
  border-color: #86efac;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 173, 30, 0.14);
  text-decoration: none;
}

.mega-card-icon {
  font-size: 1.35rem;
  line-height: 1;
  padding: 7px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mega-menu-card:hover .mega-card-icon {
  transform: scale(1.1);
  border-color: #bbf7d0;
}

.mega-card-content {
  flex: 1;
  min-width: 0;
}

.mega-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0D3B3A;
  line-height: 1.3;
  margin-bottom: 3px;
  transition: color 0.15s ease;
}

.mega-menu-card:hover .mega-card-title {
  color: #15803d;
}

.mega-card-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Mobile & Tablet Drawer (< 992px) */
@media (max-width: 991.98px) {
  .navbar-mega-section {
    border-top: none;
    border-bottom: none;
  }

  .navbar-mega-section .collapse.navbar-collapse {
    background: #06201f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid #22ad1e;
    padding: 1.15rem 0.85rem 2rem;
    max-height: 82vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  }

  .mega-nav-list {
    flex-direction: column;
    align-items: stretch !important;
    gap: 6px;
    width: 100%;
  }

  .mega-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 1.25rem !important;
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    width: 100%;
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
  }

  .dropdown-mega .mega-menu-panel {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 2.5px solid #22ad1e !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border-radius: 14px;
    margin: 0.5rem 0 1rem 0;
    padding: 0.85rem !important;
    min-width: 100% !important;
    width: 100% !important;
  }

  .mega-menu-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.95rem 1.1rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.5rem;
    gap: 14px;
  }

  .mega-menu-card:hover {
    background: rgba(34, 173, 30, 0.2);
    border-color: #22ad1e;
    transform: none;
  }

  .mega-card-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 1.55rem;
    padding: 9px;
    border-radius: 9px;
  }

  .mega-card-title {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 4px;
  }

  .mega-card-desc {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
  }
}

/* Polished touch response for mobile navbar */
@media (max-width: 420px) {
  .navbar-mit .navbar-brand {
    gap: 9px !important;
  }
}

/* ==========================================================================
   FLOATING OFFICIAL WHATSAPP BUTTON (OPPOSITE SIDE OF SCROLL-TO-TOP: ICON ONLY)
   ========================================================================== */

.btn-floating-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1055;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 3px 10px rgba(0, 0, 0, 0.18);
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: waPopPulse 2.8s infinite;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-floating-whatsapp:hover {
  background: linear-gradient(135deg, #2bf577 0%, #075E54 100%);
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6), 0 6px 16px rgba(0, 0, 0, 0.22);
}

.btn-floating-whatsapp .wa-icon-svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: transform 0.2s ease;
}

.btn-floating-whatsapp:hover .wa-icon-svg {
  transform: scale(1.1);
}

/* Original WhatsApp Pop & Pulse Animation */
@keyframes waPopPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1);
  }
  30% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 8px 26px rgba(0, 0, 0, 0.26);
    transform: scale(1.06);
  }
  45% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1);
  }
}

/* Mobile Responsiveness (< 576px) */
@media (max-width: 575.98px) {
  .btn-floating-whatsapp {
    bottom: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
  }

  .btn-floating-whatsapp .wa-icon-svg {
    width: 24px;
    height: 24px;
  }
}

/* ==========================================================================
   UNIVERSAL MULTI-DEVICE MOBILE RESPONSIVENESS SUITE (320px - 1024px)
   ========================================================================== */

/* Strict Horizontal Overflow Guard for All Devices */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, svg, video, canvas, iframe {
  max-width: 100%;
}

/* Tablets & Mobile Devices (< 992px) */
@media (max-width: 991.98px) {
  /* Prevent sticky sidebars from locking over content on tablet/mobile */
  .sticky-top {
    position: static !important;
    top: auto !important;
  }

  /* Featured Event & Conclave Cards Stack Gracefully */
  .card-elevated-white.overflow-hidden .row.g-0 > div:first-child img {
    min-height: 200px !important;
    max-height: 260px !important;
    height: 220px !important;
    width: 100%;
    object-fit: cover;
  }
}

/* Standard Mobile Devices (< 768px: All Smartphones in Portrait) */
@media (max-width: 767.98px) {
  /* Fluid Scalable Typography */
  .display-5 {
    font-size: clamp(1.45rem, 6.2vw, 2.1rem) !important;
    line-height: 1.22 !important;
    word-break: break-word;
  }
  .display-6 {
    font-size: clamp(1.25rem, 5.2vw, 1.7rem) !important;
    line-height: 1.25 !important;
    word-break: break-word;
  }
  h1 { font-size: clamp(1.35rem, 5.6vw, 1.95rem) !important; word-break: break-word; }
  h2 { font-size: clamp(1.2rem, 4.8vw, 1.65rem) !important; word-break: break-word; }
  h3 { font-size: clamp(1.1rem, 4.2vw, 1.38rem) !important; word-break: break-word; }
  h4 { font-size: clamp(1.02rem, 3.6vw, 1.22rem) !important; word-break: break-word; }
  h5 { font-size: clamp(0.95rem, 3.2vw, 1.1rem) !important; word-break: break-word; }

  /* Balanced Section Spacing on Mobile */
  .py-5 {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }
  .section-dark-green-pattern.py-5,
  .section-subtle-green.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* Container Gutters */
  .container, .container-fluid {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Card Padding Scale Down - Prevents wasted screen space */
  .card-elevated-white {
    padding: 1.25rem !important;
    border-radius: 14px !important;
  }
  .card-elevated-white.p-md-5,
  .p-4.p-md-5 {
    padding: 1.25rem 1rem !important;
  }

  /* Badges & Pills - Auto-wrap without breaking container */
  .badge {
    white-space: normal !important;
    word-break: break-word;
    display: inline-block;
    max-width: 100%;
    line-height: 1.35;
    text-align: left;
  }
  .badge.rounded-pill {
    border-radius: 12px !important;
  }

  /* Core Value / Mantra Strips on Mobile */
  .rounded-pill.bg-white.shadow-sm.border,
  div[style*="rounded-pill"] {
    border-radius: 16px !important;
    padding: 0.75rem 1rem !important;
    gap: 0.5rem !important;
    max-width: 100%;
  }

  /* Touch-Friendly Buttons (Apple HIG & Google Material >= 44px) */
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }
  .btn-lg {
    min-height: 48px;
    font-size: 1rem !important;
    padding: 0.75rem 1.25rem !important;
  }

  /* In-card Action Button Groups - Stack vertically for effortless thumb access */
  .card-elevated-white .d-flex.flex-wrap.gap-3,
  .card .d-flex.flex-wrap.gap-3 {
    flex-direction: column !important;
    gap: 0.65rem !important;
  }
  .card-elevated-white .d-flex.flex-wrap.gap-3 .btn,
  .card .d-flex.flex-wrap.gap-3 .btn {
    width: 100% !important;
  }

  /* Event Card Image & Body */
  .event-card {
    border-radius: 14px !important;
    overflow: hidden;
  }
  .event-card-img {
    height: 180px !important;
  }
  .event-card-body {
    padding: 1.15rem 1rem !important;
  }

  /* Table Smooth Scrolling */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow-x: auto;
  }
  .table-responsive table {
    min-width: 500px;
  }

  /* Forms on Mobile (Prevent iOS auto-zoom) */
  .form-control,
  .form-select {
    font-size: 16px !important;
    min-height: 46px;
    border-radius: 10px;
  }
  .form-label {
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
  }

  /* How MIT Works (5-Step) Vertical Flow on Mobile */
  .how-steps-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .how-step-card {
    padding: 1.25rem 1rem !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    text-align: left !important;
  }
  .how-step-card .how-step-badge {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }
  .how-step-card .how-step-body {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .how-step-card .how-step-body h5 {
    white-space: normal !important;
    word-break: normal !important;
    margin-bottom: 0.35rem !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.04em !important;
  }

  /* President's Desk / Executive Communique on Mobile */
  .presidents-portrait-wrapper {
    max-width: 280px !important;
    margin: 0 auto 1.5rem auto !important;
    border-width: 4px !important;
    border-radius: 18px !important;
  }
  .presidents-portrait-img {
    height: 300px !important;
  }
  .presidents-quote-box {
    padding: 1.25rem 1rem !important;
  }

  /* Digital Pass Card on Mobile */
  .digital-pass-card {
    margin: 0 auto 1.5rem auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px !important;
  }
  .pass-header {
    padding: 1.25rem 1rem !important;
  }
  .pass-body {
    padding: 1.25rem 1rem !important;
  }
  .pass-qr-box {
    padding: 1rem !important;
  }
  .pass-qr-box img {
    max-width: 180px !important;
  }
  .pass-detail-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 0.5rem 0 !important;
  }
  .pass-detail-value {
    max-width: 100% !important;
    text-align: left !important;
    word-break: break-word;
  }

  /* Footer on Mobile */
  .footer-mit {
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
  }
  .footer-bottom {
    padding: 1.25rem 0 !important;
    text-align: center;
  }
  .footer-bottom .d-flex {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
}

/* Compact Smartphones (< 420px: iPhone SE, Galaxy A/S compact, Fold cover screen) */
@media (max-width: 420px) {
  .container, .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .navbar-mit .navbar-brand {
    gap: 6px !important;
    max-width: calc(100% - 90px) !important;
  }
  .navbar-mit .navbar-logo-img,
  .navbar-mit .navbar-brand img {
    width: 38px !important;
    height: 38px !important;
  }
  .navbar-mit .brand-text {
    font-size: 0.82rem !important;
  }
  .navbar-mit .brand-sub {
    font-size: 0.65rem !important;
  }
  .btn-nav-search-toggle,
  .navbar-mit .navbar-toggler {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }
  .card-elevated-white {
    padding: 1rem 0.85rem !important;
  }
}

/* Premium District Chapter Objectives & Coordinators Styling */
.chapter-objective-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(13, 59, 58, 0.04);
}

.chapter-objective-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 173, 30, 0.45);
  box-shadow: 0 14px 28px rgba(13, 59, 58, 0.09), 0 0 0 1px rgba(34, 173, 30, 0.2);
}

.chapter-objective-icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #edf5f4 0%, #e0ecea 100%);
  color: #0D3B3A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 59, 58, 0.12);
  transition: all 0.3s ease;
}

.chapter-objective-card:hover .chapter-objective-icon-wrap {
  background: linear-gradient(135deg, #0D3B3A 0%, #15803d 100%);
  color: #ffffff;
  transform: scale(1.05);
}

.chapter-objective-number {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.chapter-objective-card:hover .chapter-objective-number {
  background: rgba(34, 173, 30, 0.15);
  color: #15803d;
  border-color: rgba(34, 173, 30, 0.35);
}

.chapter-objective-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0D3B3A;
  background: #edf5f4;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(13, 59, 58, 0.08);
}

.chapter-role-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.chapter-role-card:hover {
  transform: translateY(-3px);
  border-color: #0D3B3A;
  box-shadow: 0 10px 20px rgba(13, 59, 58, 0.08);
}

/* ==========================================================================
   Dr. C. R. Tamilvanan Executive Profile & Founder Showcase Styles
   ========================================================================== */
.executive-portrait-wrapper {
  position: relative;
  display: block;
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(13, 59, 58, 0.22);
  border: 3px solid #ffffff;
  background: #ffffff;
  transition: all 0.35s ease;
  margin-left: auto;
  margin-right: auto;
}

.executive-portrait-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(13, 59, 58, 0.3);
}

.executive-portrait-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 15px;
}

.founder-showcase-frame {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.founder-showcase-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.founder-showcase-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.founder-metric-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.founder-metric-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Dedicated Modern IT Park Background with MIT Logo Watermark */
/* Dedicated Pure White Section for CRT IT Park with MIT Logo Watermark */
.section-founder-itpark-bg {
  background-color: #ffffff;
  color: var(--mit-text-dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.section-founder-itpark-bg::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(40vw, 400px);
  height: min(40vw, 400px);
  background-image: url('../images/mit-logo-round.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.section-founder-itpark-bg > .container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Unique Executive Leadership Profile UI Card Styling
   ========================================================================== */
.executive-info-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 35px -10px rgba(13, 59, 58, 0.09);
  position: relative;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .executive-info-panel {
    padding: 1.5rem 1.15rem;
    border-radius: 16px;
  }
}

.executive-info-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0D3B3A 0%, #22ad1e 50%, #1D4ED8 100%);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.executive-name-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #0D3B3A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.executive-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #15803d;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.executive-role-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.executive-role-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
}

.executive-role-item .role-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-badge-primary {
  background: #0D3B3A;
  color: #ffffff;
}

.role-badge-accent {
  background: #1D4ED8;
  color: #ffffff;
}

.executive-bio-lead {
  font-size: clamp(0.96rem, 1.2vw, 1.06rem);
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.25rem;
}

.executive-bio-lead strong {
  color: #0D3B3A;
  font-weight: 700;
}

.executive-quote-callout {
  background: #f0fdf4;
  border-left: 4px solid #22ad1e;
  border-radius: 0 12px 12px 0;
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.25rem;
}

.executive-quote-tamil {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: #0D3B3A;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.executive-quote-sub {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.executive-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

@media (max-width: 575.98px) {
  .executive-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.executive-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.7rem 0.5rem;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.executive-pillar-card:hover {
  border-color: #0D3B3A;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(13, 59, 58, 0.08);
}

.executive-pillar-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0D3B3A;
  margin-bottom: 0.1rem;
}

.executive-pillar-sub {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}







