/* ==========================================================================
   DEHRADUN DEFENCE COLLEGE - OFFICIAL STYLESHEET
   Design System: Deep Navy Blue, Pure White, Royal Gold & Tri-Color Accents
   Typography: Outfit & Inter | Responsive, Accessible, High Performance
   ========================================================================== */

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

/* --- 1. CSS VARIABLES & DESIGN TOKENS --- */
:root {
  /* Brand Colors */
  --primary-navy: #0B1B3D;
  --primary-navy-dark: #061127;
  --primary-navy-light: #162B56;
  --accent-gold: #D4AF37;
  --accent-gold-hover: #C5A028;
  --accent-gold-light: #FBF4DE;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  
  /* Tri-Color Patriotic Accents */
  --tricolor-saffron: #FF7722;
  --tricolor-white: #FFFFFF;
  --tricolor-green: #138808;

  /* Neutral Tones */
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-white: #FFFFFF;
  --bg-slate: #F8FAFC;
  --bg-light-blue: #F0F4FA;
  --border-light: #E2E8F0;
  --border-navy: #1E3A73;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 27, 61, 0.06), 0 1px 2px rgba(11, 27, 61, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(11, 27, 61, 0.08), 0 2px 4px -1px rgba(11, 27, 61, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(11, 27, 61, 0.1), 0 4px 6px -2px rgba(11, 27, 61, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(11, 27, 61, 0.12), 0 10px 10px -5px rgba(11, 27, 61, 0.04);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.22);

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

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --container-max: 1300px;
  --header-height: 74px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

/* --- 2. GLOBAL RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

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

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

ul, ol {
  list-style: none;
}

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

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

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.35rem, 1.5vw + 1rem, 1.85rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

/* Utility Section Padding */
.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-padding-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.bg-slate { background-color: var(--bg-slate); }
.bg-navy { background-color: var(--primary-navy); color: #FFFFFF; }
.bg-navy-dark { background-color: var(--primary-navy-dark); color: #FFFFFF; }
.bg-light-blue { background-color: var(--bg-light-blue); }

.section-padding-sm.bg-navy {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 20, 48, 0.88) 0%, rgba(13, 34, 75, 0.84) 100%),
              url('../images/campus-building-main.jpg') center 30% / cover no-repeat !important;
  color: #FFFFFF;
  border-bottom: 3px solid var(--accent-gold);
}

/* --- 3. BADGES, HEADINGS & DECORATIVE ACCENTS --- */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(212, 175, 55, 0.12);
  color: #B5901A;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(11, 27, 61, 0.08);
  color: var(--primary-navy);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-saffron {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 119, 34, 0.12);
  color: #E65A00;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.bg-navy .section-header h2,
.bg-navy-dark .section-header h2 {
  color: #FFFFFF;
}

.bg-navy .section-header p,
.bg-navy-dark .section-header p {
  color: var(--text-light);
}

.gold-divider {
  display: inline-block;
  width: 60px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--accent-gold), #F3C644);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

/* --- 4. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
}

.btn-primary:hover {
  background-color: var(--primary-navy-light);
  border-color: var(--primary-navy-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, #E5B842 0%, #D4AF37 50%, #B89222 100%);
  color: #061127;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 800;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #F3C644 0%, #E5B842 50%, #C5A028 100%);
  color: #061127;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
}

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

.btn-outline-navy {
  background-color: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

.btn-icon-pulse svg {
  animation: pulse-ring 2s infinite;
}

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

/* --- 5. TOP NOTIFICATION BAR & ANNOUNCEMENT TICKER --- */
.top-notice-bar {
  background: linear-gradient(90deg, #061127 0%, #0B1B3D 50%, #061127 100%);
  color: #FFFFFF;
  padding: 0.45rem 0;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.top-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  max-width: 1440px;
}

.top-notice-left {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.top-notice-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.top-notice-item a {
  color: var(--accent-gold);
  font-weight: 600;
}

.top-notice-item a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.top-marquee-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 520px;
  overflow: hidden;
  white-space: nowrap;
}

.top-marquee-tag {
  background-color: var(--tricolor-saffron);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-social-links a {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.top-social-links a:hover {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

.top-visiting-hours {
  color: #FFD700;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-top-schedule-tour {
  background: var(--accent-gold);
  color: #06152D;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid #FFE066;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.btn-top-schedule-tour:hover {
  background: #FFFFFF;
  color: #06152D;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.4);
}

/* --- 5.1 TOP SCHOLARSHIP ANNOUNCEMENT BAR & POPUP MODAL --- */
/* Eye-Catchy Top Scholarship Announcement Bar */
.top-scholarship-bar {
  background: linear-gradient(90deg, #7f1d1d 0%, #b91c1c 18%, #c2410c 38%, #d97706 58%, #b91c1c 80%, #7f1d1d 100%);
  background-size: 250% 100%;
  animation: scholarshipGradientFlow 8s ease infinite;
  color: #FFFFFF;
  padding: 0.45rem 0;
  font-size: 0.82rem;
  border-bottom: 2px solid #FFD700;
  position: relative;
  z-index: 999;
  box-shadow: 0 4px 18px rgba(185, 28, 28, 0.4);
  overflow: hidden;
}

/* Moving Light Beam Gleam across the scholarship bar */
.top-scholarship-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transform: skewX(-25deg);
  animation: scholarshipSweepGleam 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scholarshipGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes scholarshipSweepGleam {
  0% { left: -100%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

.top-scholarship-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  max-width: 1440px;
  position: relative;
  z-index: 2;
}

.top-scholarship-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.top-scholarship-badge {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #0B1B3D;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 0.22rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  border: 1px solid #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.3);
  animation: badgeGlowPulse 2.2s ease-in-out infinite;
}

.top-scholarship-badge svg {
  animation: starTwinkle 1.8s ease-in-out infinite;
}

@keyframes badgeGlowPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.95), 0 0 8px rgba(255, 255, 255, 0.8);
    transform: scale(1.03);
  }
}

@keyframes starTwinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 0.85; filter: drop-shadow(0 0 4px #FFFFFF); }
}

.top-scholarship-text {
  color: #FFFFFF;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.top-scholarship-text strong {
  color: #FEF08A;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.top-scholarship-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-scholarship-apply {
  background: linear-gradient(135deg, #0B1B3D 0%, #162B56 100%);
  color: #FFD700;
  border: 1.5px solid #FFD700;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 8px rgba(255, 215, 0, 0.3);
}

.btn-scholarship-apply::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(25deg);
  transition: all 0.5s ease;
}

.btn-scholarship-apply:hover::after {
  left: 130%;
}

.btn-scholarship-apply:hover {
  background: #FFD700;
  color: #0B1B3D;
  border-color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.btn-scholarship-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.35rem;
  transition: color 0.2s, transform 0.2s;
}

.btn-scholarship-close:hover {
  color: #FFD700;
  transform: scale(1.15);
}

.individual-selection-card {
  position: relative;
  overflow: hidden;
}

/* Scholarship Scheme Grid inside Modal */
.scholarship-scheme-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.scholarship-scheme-item {
  background: rgba(11, 37, 69, 0.04);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.scholarship-scheme-item h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.scholarship-scheme-item p {
  margin: 0;
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- 6. STICKY HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.99);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: clamp(0.5rem, 1vw, 1.25rem);
  max-width: 1440px;
  width: 100%;
}

/* Brand Identity */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-crest {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0B1B3D 0%, #162B56 100%);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-md);
  color: var(--accent-gold);
  box-shadow: 0 4px 10px rgba(11, 27, 61, 0.15);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(11, 27, 61, 0.18));
  transition: transform var(--transition-fast);
}

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

.footer-logo-img {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.1vw, 1.125rem);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.625rem;
  font-weight: 700;
  color: #E65A00;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1px;
  white-space: nowrap;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.72vw, 0.95rem);
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: clamp(0.775rem, 0.81vw, 0.865rem);
  font-weight: 600;
  color: var(--primary-navy);
  padding: 0.35rem 0.12rem;
  position: relative;
  white-space: nowrap !important;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-gold), #F3C644);
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold-hover);
}

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

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  transition: transform var(--transition-fast);
}

.dropdown-item {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.865rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-light-blue);
  color: var(--primary-navy);
  padding-left: 1.45rem;
}

@media (min-width: 1081px) {
  .nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 275px;
    background-color: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid rgba(11, 27, 61, 0.08);
    border-top: 3px solid var(--accent-gold);
    box-shadow: 0 16px 36px -6px rgba(11, 27, 61, 0.18), 0 0 0 1px rgba(11, 27, 61, 0.04);
    padding: 0.55rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 1000;
  }

  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-item {
    white-space: nowrap;
  }
}

/* Header Action CTAs */
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-cta-group .btn-gold {
  padding: 0.45rem 1.05rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.28);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.header-cta-group .btn-gold:hover {
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.42);
  transform: translateY(-1.5px);
}

@media (min-width: 1241px) {
  .nav-link-reg-desktop-hidden {
    display: none !important;
  }
}

.mobile-nav-footer {
  display: none;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-navy);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background-color: rgba(11, 27, 61, 0.05);
}

/* --- 7. HERO SECTION --- */
.hero-section {
  position: relative;
  background-color: var(--primary-navy-dark);
  color: #FFFFFF;
  padding: 5rem 0 4.5rem 0;
  overflow: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(22, 43, 86, 0.7) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 40%);
}

.hero-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content h1 span.gold-highlight {
  color: var(--accent-gold);
  background: linear-gradient(90deg, #F3C644, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-bullets {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-trust-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* Hero Quick Enquiry Card */
.hero-form-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-main);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(212, 175, 55, 0.5);
  position: relative;
}

.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--tricolor-saffron), var(--accent-gold), var(--tricolor-green));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-form-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-form-header h3 {
  font-size: 1.45rem;
  color: var(--primary-navy);
  margin-bottom: 0.3rem;
}

.hero-form-header p {
  font-size: 0.885rem;
  color: var(--text-muted);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.1rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

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

.form-control:focus {
  outline: none;
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(11, 27, 61, 0.12);
}

.form-control.is-invalid {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.form-error-feedback {
  font-size: 0.775rem;
  color: #DC2626;
  margin-top: 0.25rem;
  display: none;
}

.form-control.is-invalid + .form-error-feedback,
.is-invalid ~ .form-error-feedback {
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-check input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--primary-navy);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-status-alert {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.form-status-alert.alert-success {
  background-color: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.form-status-alert.alert-error {
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Honeypot Hidden Container */
.hp-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* --- 8. STATS / ACHIEVEMENTS BAR --- */
.stats-strip {
  background: linear-gradient(135deg, #0B1B3D 0%, #061127 100%);
  color: #FFFFFF;
  padding: 2.5rem 0;
  border-top: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 0.5rem 1rem;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}

.stat-sublabel {
  font-size: 0.775rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* --- 9. ABOUT US SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid #FFFFFF;
}

.about-badge-card {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.about-badge-card .num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.about-badge-card .txt {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

.feature-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
}

.feature-check-item svg {
  color: var(--tricolor-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Director Note Teaser */
.director-quote-box {
  background-color: var(--bg-slate);
  border-left: 4px solid var(--accent-gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 2rem;
}

.director-quote-box p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.director-quote-box .author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 0.9rem;
}

/* --- 10. COURSES GRID & TABS --- */
.course-filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.course-filter-btn {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.course-filter-btn:hover,
.course-filter-btn.active {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

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

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-gold);
}

.course-card-banner {
  height: 210px;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-navy-dark);
}

.course-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--transition-slow);
}

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

.course-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(11, 27, 61, 0.88);
  backdrop-filter: blur(4px);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
}

.course-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-target-tag {
  font-size: 0.775rem;
  color: var(--tricolor-saffron);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.course-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.course-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.course-features-summary {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.course-feature-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.course-feature-line svg {
  color: var(--accent-gold-hover);
  flex-shrink: 0;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

/* --- 11. WHY CHOOSE US / ADVANTAGES --- */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-box {
  background-color: #FFFFFF;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: var(--accent-gold);
  transition: width var(--transition-base);
}

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

.feature-box:hover::after {
  width: 100%;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--bg-light-blue);
  color: var(--primary-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.feature-box:hover .feature-icon-wrapper {
  background-color: var(--primary-navy);
  color: var(--accent-gold);
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.925rem;
}

/* --- 12. CAMPUS & FACILITIES SHOWCASE --- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.facility-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-md);
  group: hover;
}

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

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

.facility-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,27,61,0.1) 0%, rgba(11,27,61,0.85) 70%, rgba(11,27,61,0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #FFFFFF;
}

.facility-card-overlay h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.facility-card-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* --- 13. CADETS DAILY ROUTINE & DISCIPLINE (Fauji Lifestyle) --- */
.routine-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.routine-step {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary-navy);
}

.routine-step.highlight {
  border-top-color: var(--accent-gold);
  background-color: #FFFDF7;
}

.routine-time {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent-gold-hover);
  margin-bottom: 0.4rem;
}

.routine-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
}

.routine-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* --- 14. RESULTS & TESTIMONIALS SLIDER --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: #F59E0B;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--bg-light-blue);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}

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

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-navy);
}

.author-sub {
  font-size: 0.8rem;
  color: var(--tricolor-saffron);
  font-weight: 600;
}

/* Google Reviews Summary Badge */
.google-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background-color: #FFFFFF;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 2.5rem;
}

.google-logo-icon {
  width: 28px;
  height: 28px;
}

/* --- 15. FAQ ACCORDION --- */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-toggle-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-light-blue);
  color: var(--primary-navy);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background-color: var(--primary-navy);
  color: #FFFFFF;
}

.faq-answer {
  padding: 0 1.5rem 1.35rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- 16. GALLERY & LIGHTBOX --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

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

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

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

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 61, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity var(--transition-fast);
  padding: 1rem;
  text-align: center;
}

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 17, 39, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.is-active {
  display: flex;
}

.lightbox-content-wrap {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
}

.lightbox-content-wrap img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.lightbox-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: #FFFFFF;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* --- 17. FOOTER --- */
.site-footer {
  background-color: var(--primary-navy-dark);
  color: #FFFFFF;
  position: relative;
  border-top: 4px solid var(--accent-gold);
}

.footer-top {
  padding: 5rem 0 3.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background-color: var(--accent-gold);
}

.footer-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1.25rem 0;
}

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

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Footer SEO Tag Cloud --- */
.footer-seo-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.15);
}

.footer-seo-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-seo-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.seo-tag-item {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  transition: all var(--transition-fast);
  line-height: 1.4;
  text-decoration: none;
}

.seo-tag-item:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--accent-gold);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* --- FAQ Accordion Component --- */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-gold-hover);
}

.faq-icon,
.faq-toggle-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), background var(--transition-fast);
  color: var(--primary-navy);
}

.faq-item.active .faq-icon,
.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--primary-navy);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0.5rem 1.35rem 1.25rem 1.35rem;
  border-top: 1px solid var(--border-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--text-light);
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
}

/* --- 18. FLOATING WIDGETS & MOBILE BAR --- */
/* Floating Contact Hub: Counselor Callout + WhatsApp */
.floating-contact-hub {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Counselor Callout Pill Above WhatsApp */
.counselor-callout-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #FFFFFF;
  color: var(--primary-navy);
  padding: 8px 16px 8px 12px;
  border-radius: 50px;
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 8px 24px rgba(11, 27, 61, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  animation: counselorFloatBob 3s ease-in-out infinite;
}

.counselor-callout-pill:hover {
  background: #0B1B3D;
  border-color: #D4AF37;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(11, 27, 61, 0.28);
}

.counselor-callout-pill:hover .counselor-callout-subtitle {
  color: #FFD700;
}

.counselor-callout-pill:hover .counselor-callout-phone {
  color: #FFFFFF;
}

.counselor-callout-pill:hover .counselor-callout-pointer {
  border-top-color: #0B1B3D;
}

.counselor-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #25D366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: counselorPulseDot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes counselorPulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes counselorFloatBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.counselor-callout-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.counselor-callout-subtitle {
  font-size: 0.68rem;
  font-weight: 800;
  color: #B8860B;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: color 0.2s ease;
}

.counselor-callout-phone {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0B1B3D;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.counselor-callout-phone svg {
  color: #25D366;
}

.counselor-callout-pointer {
  position: absolute;
  bottom: -6px;
  right: 22px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #FFFFFF;
  transition: border-top-color 0.2s ease;
}

/* WhatsApp Floating Button */
.floating-whatsapp {
  position: static;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

/* Fallback if rendered outside hub */
body > .floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

/* Scroll To Top Button positioned above contact hub */
.scroll-to-top {
  position: fixed;
  bottom: 165px;
  right: 30px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-gold);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  transform: translateY(-3px);
}

/* Sticky Mobile Bottom CTA Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 995;
  background-color: #0B2545;
  border-top: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.3);
  padding: 0.45rem 0.65rem;
  height: 58px;
  box-sizing: border-box;
}

.mobile-sticky-buttons {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  height: 100%;
}

.mobile-btn-call {
  flex: 1;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.mobile-btn-call:hover {
  background: rgba(255, 255, 255, 0.22);
}

.mobile-btn-whatsapp {
  flex: 1.15;
  height: 40px;
  background: #25D366;
  color: #FFFFFF !important;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
}

.mobile-btn-whatsapp:hover {
  background: #20bd5a;
}

.mobile-btn-enquire {
  flex: 1.25;
  height: 40px;
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #06152D !important;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.mobile-btn-enquire:hover {
  background: linear-gradient(135deg, #e5bf43 0%, #c9930f 100%);
}

/* Modal Popup Window */
.ddc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 17, 39, 0.85);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ddc-modal-overlay.is-open {
  display: flex;
}

.ddc-modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem 2rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--accent-gold);
}

.ddc-modal-box .hero-form-header {
  background: linear-gradient(135deg, #0B1B3D 0%, #162B56 100%);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  text-align: center;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(11, 27, 61, 0.15);
}

.ddc-modal-box .hero-form-header h3 {
  color: #FFD700 !important;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.ddc-modal-box .hero-form-header p {
  color: #FFFFFF !important;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 500;
}

.ddc-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.ddc-modal-close:hover {
  color: var(--primary-navy);
}

/* --- 19. RESPONSIVE BREAKPOINTS --- */

/* Laptop Viewport Optimization (1241px - 1440px) */
@media (min-width: 1241px) and (max-width: 1440px) {
  .top-notice-content,
  .top-scholarship-inner,
  .header-container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }

  .top-marquee-wrap {
    max-width: 360px;
  }

  .brand-logo {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.54rem;
  }

  .nav-menu {
    gap: clamp(0.2rem, 0.5vw, 0.6rem);
  }

  .nav-link {
    font-size: 0.79rem;
    padding: 0.35rem 0.12rem;
  }

  .header-cta-group {
    flex-shrink: 0;
    gap: 0.4rem;
  }

  .header-cta-group .btn-gold {
    padding: 0.42rem 0.88rem;
    font-size: 0.78rem;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

/* Tablet & Mobile Navigation Breakpoint (<= 1240px) */
@media (max-width: 1240px) {
  :root {
    --header-height: 68px;
  }

  /* Compact top notice bar on tablets */
  .btn-top-schedule-tour {
    display: none !important;
  }

  .top-marquee-wrap {
    max-width: 280px;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 3rem 1.25rem;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    display: none;
    gap: 0.25rem;
    border-top: 1px solid var(--border-light);
    z-index: 1000;
  }

  .nav-menu.is-open {
    display: flex;
    animation: navSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

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

  .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    width: 100%;
    border-bottom: 1px solid rgba(11, 27, 61, 0.04);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: rgba(212, 175, 55, 0.1);
    color: #B5901A;
  }

  .nav-dropdown {
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .nav-dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .dropdown-menu {
    position: static !important;
    left: 0 !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.35rem 0.5rem 0.35rem 0.75rem !important;
    background-color: var(--bg-slate) !important;
    border-left: 3px solid var(--accent-gold) !important;
    border-radius: var(--radius-sm) !important;
    margin: 0.35rem 0 0.5rem 0 !important;
    display: none !important;
    float: none !important;
  }

  .nav-dropdown:hover .dropdown-menu {
    transform: none !important;
  }

  .nav-dropdown.is-active .dropdown-menu {
    display: block !important;
    transform: none !important;
  }

  .nav-dropdown.is-active .nav-dropdown-toggle svg {
    transform: rotate(180deg) !important;
  }

  .dropdown-item {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.875rem !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    color: var(--text-main) !important;
    border-radius: var(--radius-sm) !important;
    text-align: left !important;
  }

  .dropdown-item:hover {
    background-color: rgba(212, 175, 55, 0.12) !important;
    color: var(--primary-navy) !important;
    padding-left: 1rem !important;
  }

  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .course-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .course-sidebar-col,
  .course-sidebar-card {
    position: static !important;
    top: auto !important;
  }
}

/* --- Shared Layout Grids (Responsive by default) --- */
.directors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.leadership-pledge-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
}

.pledge-title {
  margin: 0.75rem 0 1.25rem 0;
  font-size: 1.85rem;
  line-height: 1.3;
}

.pledge-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.timetable-dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.course-detail-layout {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

/* --- Course Detail Sidebar & Registration Card --- */
.course-sidebar-col {
  position: relative;
}

@media (min-width: 1081px) {
  .course-sidebar-col {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

.course-sidebar-card {
  background: #FFFFFF;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-xl);
  border: 2px solid var(--accent-gold);
  box-shadow: 0 10px 30px rgba(11, 27, 61, 0.08), 0 4px 12px rgba(212, 175, 55, 0.12);
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}

.course-sidebar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--tricolor-saffron) 0%, var(--accent-gold) 50%, var(--tricolor-green) 100%);
}

.course-sidebar-card .hero-form-header {
  margin-bottom: 1.35rem;
  text-align: center;
}

.course-sidebar-card .hero-form-header h3 {
  font-size: 1.45rem;
  color: var(--primary-navy);
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.course-sidebar-card .hero-form-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.course-sidebar-card .form-group {
  margin-bottom: 1rem;
}

.course-sidebar-card .form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
}

.course-sidebar-card .form-control {
  width: 100%;
  height: 46px;
  padding: 0.6rem 0.95rem;
  font-size: 0.9rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #FAFBFC;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.course-sidebar-card .form-control:focus {
  background-color: #FFFFFF;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
  outline: none;
}

.course-sidebar-card .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem 0;
  font-size: 0.815rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.course-sidebar-card .form-check input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--primary-navy);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.course-sidebar-card .btn-course-submit {
  width: 100%;
  height: 48px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.course-sidebar-help {
  margin-top: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.course-sidebar-help p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.course-sidebar-timetable {
  background: linear-gradient(135deg, #0B1B3D 0%, #162B56 100%);
  color: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.course-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  background-color: var(--bg-slate);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  min-width: 0;
  max-width: 100%;
}

.course-specs-full {
  grid-column: span 2;
}

.course-facilities-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
  min-width: 0;
  max-width: 100%;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  min-width: 0;
  max-width: 100%;
}

.ddc-distinction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  min-width: 0;
  max-width: 100%;
}

.campus-hostels-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  min-width: 0;
  max-width: 100%;
}

.directors-milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  min-width: 0;
  max-width: 100%;
}

.video-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  min-width: 0;
  max-width: 100%;
}

.timetable-banner-card {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #061127 0%, #0B1B3D 50%, #162B56 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-xl);
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.timetable-banner-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 991px) {
  .timetable-banner-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  border-radius: var(--radius-md);
}

@media (max-width: 1100px) {
  .directors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 1240px) {
  /* Universal Grid Shrink & Overflow Safety */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .course-detail-layout,
  .registration-layout-grid,
  .contact-layout-grid,
  .hero-grid,
  .about-grid,
  .fee-table-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 991px) {
  .top-notice-bar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* 0. Viewport & Universal Grid Shrink Safety */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .course-detail-layout,
  .registration-layout-grid,
  .contact-layout-grid,
  .directors-grid,
  .about-grid,
  .hero-grid,
  .stats-grid,
  .courses-grid,
  .facilities-grid,
  .footer-grid,
  .timetable-dl-grid,
  .contact-cards-grid,
  .ddc-distinction-grid,
  .campus-hostels-showcase-grid,
  .directors-milestones-grid,
  .course-facilities-preview-grid,
  .why-choose-grid,
  .testimonials-grid,
  .gallery-grid,
  .video-features-grid,
  .hostel-pillars-grid,
  .fee-table-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .course-detail-layout > *,
  .registration-layout-grid > *,
  .contact-layout-grid > *,
  .course-main-content,
  .course-sidebar-col,
  .registration-form-card,
  .registration-sidebar-box {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Top Scholarship Bar Mobile Responsiveness */
  .top-scholarship-bar {
    padding: 0.5rem 0 !important;
  }

  .top-scholarship-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }

  .top-scholarship-left {
    width: 100% !important;
    gap: 0.4rem !important;
  }

  .top-scholarship-text {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
  }

  .top-scholarship-actions {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
  }

  .btn-scholarship-apply {
    flex: 1 !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.4rem 0.65rem !important;
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }

  .btn-scholarship-close {
    flex-shrink: 0 !important;
    width: 28px !important;
    height: 28px !important;
  }

  /* Course Cards Mobile Photo Optimization (Prevent heads/faces from cutting off) */
  .course-card-banner {
    height: clamp(210px, 58vw, 240px) !important;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-navy-dark);
  }

  .course-card-banner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
  }

  /* 1. Global Spacing & Typography */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-padding-sm {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* 2. Prevent Button Width Overflow */
  .btn {
    white-space: normal;
    word-break: break-word;
    text-align: center;
    max-width: 100%;
  }

  /* 3. Leadership & Pledge Card on Mobile */
  .leadership-pledge-card {
    padding: 1.5rem 1.15rem !important;
    border-radius: var(--radius-md);
  }

  .pledge-title {
    font-size: 1.35rem !important;
    line-height: 1.35;
    margin: 0.5rem 0 1rem 0 !important;
  }

  .leadership-pledge-card p {
    font-size: 0.925rem;
    line-height: 1.65;
  }

  .pledge-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .pledge-cta-group .btn {
    width: 100% !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* 4. Grids Reset on Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

  .courses-grid,
  .facilities-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* 5. Course Detail & Content Cards */
  .course-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .course-sidebar-col {
    margin-top: 1.5rem !important;
  }

  .course-sidebar-card {
    padding: 1.35rem 1rem !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: 1.25rem !important;
  }

  .course-sidebar-card .hero-form-header {
    margin-bottom: 1.15rem !important;
  }

  .course-sidebar-card .hero-form-header h3 {
    font-size: 1.3rem !important;
  }

  .course-sidebar-card .hero-form-header p {
    font-size: 0.825rem !important;
  }

  .course-sidebar-card .form-group {
    margin-bottom: 0.75rem !important;
  }

  .course-sidebar-card .form-control {
    height: 42px !important;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.85rem !important;
  }

  .course-sidebar-card .btn-course-submit {
    height: 46px !important;
    font-size: 0.9rem !important;
  }

  .course-sidebar-help {
    margin-top: 1.15rem !important;
    padding-top: 1rem !important;
  }

  .course-sidebar-timetable {
    padding: 1.25rem 1rem !important;
  }

  #course-timetable-section,
  .course-overview-box,
  .course-content-block {
    padding: 1.35rem 1rem !important;
    border-radius: var(--radius-md);
  }

  .course-specs-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
  }

  .course-specs-full {
    grid-column: span 1 !important;
  }

  .course-facilities-preview-grid,
  .contact-cards-grid,
  .ddc-distinction-grid,
  .campus-hostels-showcase-grid,
  .directors-milestones-grid,
  .why-choose-grid,
  .testimonials-grid,
  .gallery-grid,
  .video-features-grid,
  .hostel-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* 6. Responsive Tables */
  .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
  }

  .table-responsive table.fee-table,
  .table-responsive table.table-comparison,
  .table-responsive table.table-wide {
    min-width: 520px;
  }

  .table-responsive table.course-routine-table {
    min-width: 0 !important;
    width: 100% !important;
  }

  .course-routine-table th,
  .course-routine-table td {
    padding: 0.75rem 0.65rem !important;
    font-size: 0.825rem !important;
  }

  .table-responsive th,
  .table-responsive td {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.85rem !important;
  }

  /* 7. Footer & Top Notice */
  .top-notice-bar {
    display: none;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* 8. Floating Widgets Optimization on Mobile */
  /* Hide scroll-to-top on mobile so it never obscures reading text */
  .scroll-to-top {
    display: none !important;
  }

  /* On mobile: Hide redundant circular WhatsApp icon because WhatsApp button is directly in the mobile sticky bar */
  .floating-contact-hub .floating-whatsapp,
  .floating-whatsapp {
    display: none !important;
  }

  .floating-contact-hub {
    bottom: 74px !important;
    right: 12px !important;
  }

  .counselor-callout-pill {
    padding: 6px 12px 6px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .counselor-callout-subtitle {
    font-size: 0.62rem;
  }

  .counselor-callout-phone {
    font-size: 0.82rem;
  }

  .counselor-callout-pointer {
    display: none;
  }

  /* Scroll to top button cleanly positioned above the sticky bar */
  .scroll-to-top {
    bottom: 125px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    z-index: 994 !important;
  }

  .mobile-sticky-bar {
    display: flex !important;
    align-items: center;
  }

  body {
    padding-bottom: 66px; /* Offset for sticky mobile bottom bar */
  }
}

@media (max-width: 576px) {
  .header-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    gap: 0.4rem !important;
  }

  .brand-logo {
    gap: 0.45rem;
    max-width: calc(100% - 130px);
  }

  .brand-logo-img {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 0.825rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  .brand-subtitle {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }

  .header-cta-group .btn-gold {
    display: inline-flex !important;
    padding: 0.35rem 0.55rem !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    border-radius: var(--radius-sm) !important;
  }

  .section-header h2 {
    font-size: 1.45rem;
  }

  .directors-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .directors-grid .leader-card > div:first-child {
    height: 300px;
  }

  .timetable-dl-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .timetable-banner-card {
    padding: 1.5rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  .timetable-banner-links {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .video-features-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .ddc-modal-overlay {
    padding: 0.75rem !important;
  }

  .ddc-modal-box {
    padding: 1.5rem 1.15rem !important;
  }
}

/* ============================================================
   22. HERO SPLIT CAROUSEL & PERSISTENT ENQUIRE FORM
   ============================================================ */
.hero-split-section {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 20, 48, 0.78) 0%, rgba(13, 34, 75, 0.74) 100%),
              url('../images/campus-building-main.jpg') center 22% / cover no-repeat;
  padding: 2.25rem 0 3.5rem 0;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-gold);
}

.hero-split-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-split-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 2.25rem;
  align-items: stretch;
}

/* Slider Wrap on Left */
.hero-slider-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.55), 0 0 20px rgba(212, 175, 55, 0.2);
  background: #0B1B3D;
  display: flex;
  flex-direction: column;
}

.hero-slider {
  position: relative;
  min-height: 590px;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

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

/* Balanced Slide Overlay: Dark on left for readability, crystal clear on right for campus & student visibility */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 21, 45, 0.88) 0%, rgba(6, 21, 45, 0.68) 50%, rgba(6, 21, 45, 0.30) 100%);
  z-index: 1;
}

.hero-selection-overlay {
  background: linear-gradient(90deg, rgba(6, 21, 45, 0.92) 0%, rgba(6, 21, 45, 0.74) 54%, rgba(6, 21, 45, 0.24) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  padding: 2.75rem 2.25rem 3.5rem 2.25rem;
  color: #FFFFFF;
  width: 100%;
}

.hero-badge-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.badge-campus-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 40, 90, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: #FFD700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-slide-content h1,
.hero-slide-content h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  line-height: 1.22;
  margin: 0.65rem 0 0.85rem 0;
  color: #FFFFFF;
  font-family: var(--font-heading);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
}

.hero-slide-subtext {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 620px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

/* Split Layout for Slide 2 Selection Showcase (Crystal Clear Visuals) */
.slide-selection-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 1.75rem;
  align-items: center;
  width: 100%;
}

.slide-selection-text {
  display: flex;
  flex-direction: column;
}

.slide-selection-poster-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.4);
  background: #06152d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.slide-selection-poster-box:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.6);
}

.slide-selection-poster-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #06152d;
  text-decoration: none;
}

.slide-selection-poster-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: #06152d;
}

.slide-selection-poster-bar {
  background: rgba(11, 27, 61, 0.95);
  padding: 0.55rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(212, 175, 55, 0.4);
}

.slide-selection-poster-bar span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
}

.slide-selection-poster-bar a {
  font-size: 0.72rem;
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.slide-selection-poster-bar a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Cadet Selection Avatars Grid Inside Slide 2 */
.hero-cadet-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 0.85rem 0 1.25rem 0;
}

.hero-cadet-photo-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(11, 27, 61, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.35rem 0.55rem 0.35rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.hero-cadet-photo-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  background: rgba(15, 38, 85, 0.95);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

/* Floating Pill Badges on Cadet Avatars */
.hero-cadet-pill-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF9933 0%, #D4AF37 100%);
  color: #0B1B3D;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 153, 51, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 3;
}

.hero-cadet-pill-badge.pill-officer {
  background: linear-gradient(135deg, #0077b6 0%, #0096c7 100%);
  color: #FFFFFF;
  border-color: rgba(255, 215, 0, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-cadet-pill-badge.pill-nda {
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
  color: #FFFFFF;
  border-color: rgba(255, 215, 0, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Featured Latest 2026 Cadet Card in Hero */
.hero-cadet-photo-item.is-latest-highlight {
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.28) 0%, rgba(11, 27, 61, 0.95) 80%);
  border: 2px solid #FFD700;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.55), inset 0 0 10px rgba(255, 215, 0, 0.2);
  animation: heroCadetGlow 3s ease-in-out infinite;
}

@keyframes heroCadetGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.45), inset 0 0 8px rgba(255, 215, 0, 0.15);
    border-color: #FFD700;
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.85), 0 0 30px rgba(255, 153, 51, 0.4), inset 0 0 14px rgba(255, 215, 0, 0.3);
    border-color: #FFA500;
  }
}

.hero-cadet-photo-item.is-latest-highlight .hero-cadet-photo-thumb {
  border: 2.5px solid #FFD700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.75);
}

.hero-cadet-photo-item.is-latest-highlight .hero-cadet-photo-name {
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-cadet-photo-item.is-latest-highlight .hero-cadet-photo-sub {
  color: #FFD700;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

.pulse-badge {
  box-shadow: 0 0 12px rgba(255, 153, 51, 0.6) !important;
  animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 153, 51, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 153, 51, 0.9), 0 0 25px rgba(212, 175, 55, 0.6);
    transform: scale(1.02);
  }
}

.pulsing-dot-white {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #FFFFFF;
  margin-right: 4px;
  animation: dotFlash 1.4s infinite ease-in-out;
}

@keyframes dotFlash {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.25); }
}

.hero-cadet-photo-thumb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.4rem;
}

.hero-cadet-photo-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.hero-cadet-photo-sub {
  font-size: 0.65rem;
  color: var(--accent-gold);
  font-weight: 600;
  line-height: 1.15;
}

/* Individual Selection Cards Grid on Wall of Fame */
.individual-selections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 2.5rem 0;
}

.individual-selection-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.individual-selection-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(212, 175, 55, 0.35);
}

/* Latest 2026 Selection Card Ultra Highlight */
.individual-selection-card.is-latest-selection {
  position: relative;
  border: 2.5px solid #D4AF37;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
}

.individual-selection-card.is-latest-selection:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.5);
  border-color: #FFD700;
}

.selection-ribbon-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #FF4500 0%, #FF9933 60%, #D4AF37 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 12px rgba(255, 153, 51, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.7);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.individual-selection-card.is-latest-selection .individual-selection-meta {
  background: linear-gradient(180deg, #0B1B3D 0%, #06152d 100%);
  border-top: 2px solid #D4AF37;
}

.individual-selection-card.is-latest-selection .individual-selection-meta h4 {
  color: #FFD700;
  font-size: 1.12rem;
}

.selection-exam-tag {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 3px 8px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: var(--radius-sm);
  color: #FFD700;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.individual-selection-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #0B1B3D;
}

.individual-selection-meta {
  padding: 1rem 0.85rem;
  text-align: center;
  background: #0B1B3D;
  color: #FFFFFF;
}

.individual-selection-meta h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.05rem;
  color: var(--accent-gold);
}

.individual-selection-meta p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 992px) {
  .individual-selections-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .selection-banner-2col {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 576px) {
  .individual-selections-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Persistent Side Enquire Form Card on Right */
.hero-persistent-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eye-catchy-form-card {
  background: rgba(11, 37, 69, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(212, 175, 55, 0.25);
  position: relative;
  overflow: hidden;
}

.eye-catchy-form-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.pulse-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230, 90, 0, 0.2);
  border: 1px solid var(--tricolor-saffron);
  color: #FF9E58;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.live-pulse-dot,
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulseGreen 1.6s infinite;
  display: inline-block;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.form-card-title {
  font-size: 1.45rem;
  color: #FFFFFF;
  margin: 0 0 0.25rem 0;
  font-family: var(--font-heading);
}

.form-card-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}

.form-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(11, 37, 69, 0.82);
  border: 2px solid var(--accent-gold);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.slider-btn-prev { left: 1rem; }
.slider-btn-next { right: 1rem; }

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--accent-gold);
  z-index: 11;
  width: 0%;
  transition: width linear;
}

/* ============================================================
   23. LIVE RECENT ENROLLMENT POPUP NOTIFICATION ("Side Enroll Popups")
   ============================================================ */
.live-enroll-popup {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 9995;
  pointer-events: none;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.live-enroll-popup.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.live-enroll-card {
  background: rgba(6, 21, 45, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.25);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 360px;
  position: relative;
}

.live-enroll-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 5px;
  transition: color 0.2s;
}

.live-enroll-close:hover {
  color: #FFFFFF;
}

.live-enroll-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.live-enroll-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B2545 0%, #163E70 100%);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.live-pulse-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  border: 2px solid #06152D;
}

.live-enroll-info {
  flex-grow: 1;
  min-width: 0;
}

.live-enroll-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}

.live-enroll-status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #22C55E;
}

.live-enroll-time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  margin-right: 14px;
}

.live-enroll-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-enroll-action {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  margin-top: 0.1rem;
}

/* WhatsApp pulse ring */
.whatsapp-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pingRing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes pingRing {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ============================================================
   24. WALL OF FAME & 2025-2026 SELECTIONS SHOWCASE
   ============================================================ */
.selection-poster-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  background: #0B2545;
  transition: transform var(--transition-normal);
}

.selection-poster-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(11, 37, 69, 0.35);
}

.selection-poster-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.selection-cadets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.cadet-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cadet-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.cadet-card-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0.35rem auto 0.65rem auto;
  border: 2.5px solid var(--accent-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  display: block;
  background: #0B1B3D;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cadet-card:hover .cadet-card-photo {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.cadet-card-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.cadet-badge-iaf {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.cadet-badge-nda {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.cadet-badge-ota {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.cadet-badge-girls {
  background: #FCE7F3;
  color: #9D174D;
  border: 1px solid #FBCFE8;
}

.cadet-badge-jee {
  background: #EDE9FE;
  color: #5B21B6;
  border: 1px solid #DDD6FE;
}

.cadet-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0.25rem 0;
}

.cadet-role {
  font-size: 0.85rem;
  color: var(--accent-gold-hover);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cadet-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ============================================================
   25. SEPARATE IN-HOUSE HOSTEL SHOWCASE (USP)
   ============================================================ */
.hostel-banner-box {
  background: linear-gradient(135deg, rgba(11, 27, 61, 0.88) 0%, rgba(6, 25, 48, 0.84) 100%),
              url('../images/campus-hostel.jpg') center center / cover no-repeat;
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.hostel-banner-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hostel-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.hostel-pillar-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.hostel-pillar-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.hostel-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ============================================================
   26. TRANSPARENT FEE STRUCTURE TABLE & SCHOLARSHIP
   ============================================================ */
.fee-table-wrap {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  margin-top: 2rem;
  -webkit-overflow-scrolling: touch;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.fee-table th {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

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

.fee-table td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.fee-table tr:nth-child(even) {
  background: #F8FAFC;
}

.fee-table tr:hover {
  background: #FFFBEB;
}

.fee-subtag {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.fee-price-tag {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  white-space: nowrap;
}

.fee-hostel-tag {
  font-size: 0.95rem;
  color: #D97706;
  font-weight: 600;
  white-space: nowrap;
}

.fee-total-tag {
  font-size: 1.05rem;
  font-weight: 800;
  color: #B45309;
  line-height: 1.35;
}

/* ============================================================
   27. CAMPUS ACTIVITIES & DRILL GALLERY
   ============================================================ */
.activities-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.activity-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 260px;
  cursor: pointer;
}

.activity-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.activity-tile:hover img {
  transform: scale(1.08);
}

.activity-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 17, 39, 0.96) 0%, rgba(6, 17, 39, 0.65) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #FFFFFF !important;
  transition: all var(--transition-normal);
}

.activity-tile-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFD700 !important;
  letter-spacing: 0.6px;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.activity-tile-title,
.activity-tile-overlay h4,
.activity-tile-overlay .activity-tile-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: #FFFFFF !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

/* ============================================================
   28. ADVANCED MOBILE RESPONSIVE ENGINE (320px - 992px)
   ============================================================ */
@media (max-width: 992px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-slider {
    min-height: 520px;
  }

  .hero-slide-content {
    padding: 2.5rem 1.75rem 3.5rem 1.75rem;
  }

  .eye-catchy-form-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

  .director-detail-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 1.5rem !important;
  }

  .director-detail-grid img {
    margin: 0 auto;
  }

  .selection-poster-frame {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-split-section {
    padding: 1rem 0 2.25rem 0;
  }

  .hero-slider-wrap {
    border-radius: var(--radius-md);
  }

  .hero-slider {
    min-height: 520px;
    height: auto;
    position: relative;
    overflow: hidden;
  }

  .hero-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    overflow: visible;
  }

  .hero-slide-overlay,
  .hero-selection-overlay {
    background: linear-gradient(180deg, rgba(6, 21, 45, 0.96) 0%, rgba(6, 21, 45, 0.84) 48%, rgba(6, 21, 45, 0.96) 100%) !important;
  }

  .hero-slide-content {
    padding: 1.25rem 1rem 3.25rem 1rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }

  .hero-badge-wrap {
    gap: 0.35rem !important;
    margin-bottom: 0.35rem !important;
  }

  .hero-badge-wrap .badge-gold,
  .hero-badge-wrap .badge-saffron,
  .hero-badge-wrap .badge-campus-tag {
    font-size: 0.72rem !important;
    padding: 0.22rem 0.55rem !important;
    line-height: 1.2 !important;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    font-size: clamp(1.28rem, 4.2vw, 1.6rem) !important;
    line-height: 1.24 !important;
    margin: 0.3rem 0 0.45rem 0 !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  }

  .hero-slide-subtext {
    font-size: 0.825rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.75rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  }

  /* Slide 2: Dedicated Mobile Layout for Selection Showcase */
  .slide-selection-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    width: 100% !important;
  }

  .slide-selection-text {
    display: contents !important;
  }

  .slide-selection-text .hero-badge-wrap {
    order: 1 !important;
    margin-bottom: 0.15rem !important;
    gap: 0.35rem !important;
  }

  .slide-selection-text h2 {
    order: 2 !important;
    font-size: 1.25rem !important;
    line-height: 1.22 !important;
    margin: 0.15rem 0 0.35rem 0 !important;
  }

  .slide-selection-text .hero-slide-subtext {
    order: 3 !important;
    display: none !important;
  }

  /* Centerpiece Official Poster: High resolution, gold framed, zero cropping */
  .slide-selection-poster-box {
    order: 4 !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0.2rem auto 0.35rem auto !important;
    border-radius: var(--radius-sm) !important;
    border: 1.5px solid var(--accent-gold) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 12px rgba(212, 175, 55, 0.35) !important;
    background: #06152d !important;
  }

  .slide-selection-poster-link {
    display: block !important;
    width: 100% !important;
    background: #06152d !important;
  }

  .slide-selection-poster-img {
    width: 100% !important;
    height: 140px !important;
    max-height: 150px !important;
    object-fit: contain !important;
    display: block !important;
    background: #06152d !important;
  }

  .slide-selection-poster-bar {
    padding: 0.25rem 0.6rem !important;
    background: rgba(11, 27, 61, 0.98) !important;
  }

  .slide-selection-poster-bar span {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
  }

  .slide-selection-poster-bar a {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: var(--accent-gold) !important;
  }

  /* 4 Real Cadet Selection Photos in 1 Single Sleek Row */
  .hero-cadet-photos-grid {
    order: 5 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.35rem !important;
    margin: 0.25rem 0 0.45rem 0 !important;
  }

  .hero-cadet-photo-item {
    padding: 0.45rem 0.15rem 0.25rem 0.15rem !important;
    border-radius: var(--radius-sm) !important;
  }

  .hero-cadet-pill-badge {
    top: -6px !important;
    font-size: 0.48rem !important;
    padding: 1px 4px !important;
    line-height: 1 !important;
  }

  .hero-cadet-photo-thumb {
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 0.2rem !important;
    border-width: 1.5px !important;
  }

  .hero-cadet-photo-name {
    font-size: 0.64rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  .hero-cadet-photo-sub {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
  }

  /* Action CTA Buttons: Sleek balanced row */
  .hero-actions,
  .slide-selection-layout .hero-actions {
    order: 6 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
    margin-top: 0.35rem !important;
    width: 100% !important;
  }

  .hero-actions .btn,
  .slide-selection-layout .hero-actions .btn {
    flex: 1 !important;
    width: auto !important;
    padding: 0.58rem 0.45rem !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    border-radius: var(--radius-md) !important;
  }

  /* Trust Bullets: Sleek Military Badge Wrap */
  .hero-trust-bullets {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem 0.55rem !important;
    margin-top: 0.75rem !important;
    padding-top: 0.65rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .hero-trust-item {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.94) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    background: rgba(6, 21, 45, 0.65) !important;
    padding: 0.2rem 0.55rem !important;
    border-radius: 50px !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
  }

  .hero-trust-item svg {
    width: 13px !important;
    height: 13px !important;
    color: var(--accent-gold) !important;
    flex-shrink: 0 !important;
  }

  /* Slider Controls */
  .slider-btn {
    width: 34px;
    height: 34px;
    top: 40%;
    background: rgba(11, 37, 69, 0.9);
    border-width: 1.5px;
  }
  .slider-btn-prev { left: 0.25rem; }
  .slider-btn-next { right: 0.25rem; }

  .slider-dots {
    bottom: 0.75rem !important;
    gap: 0.45rem !important;
  }

  .slider-dot {
    width: 9px !important;
    height: 9px !important;
  }

  .slider-dot.active {
    width: 22px !important;
  }

  .hero-persistent-form-wrap {
    width: 100%;
    margin-top: 0.75rem;
  }

  .eye-catchy-form-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .form-card-title {
    font-size: 1.35rem;
  }

  .form-card-sub {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  /* Live Enroll Popup placement on mobile: positioned cleanly above counselor callout pill with zero overlap */
  .live-enroll-popup {
    bottom: 124px !important;
    left: 10px !important;
    right: 10px !important;
    max-width: calc(100% - 20px) !important;
    width: auto !important;
    z-index: 1001 !important;
  }

  .live-enroll-card {
    max-width: 100% !important;
    padding: 0.65rem 0.85rem !important;
    background: rgba(11, 37, 69, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1.5px solid var(--accent-gold) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    gap: 0.75rem !important;
  }

  .live-enroll-avatar {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.15rem !important;
  }

  .live-enroll-name {
    font-size: 0.85rem !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  .live-enroll-action {
    font-size: 0.74rem !important;
    line-height: 1.3 !important;
  }

  /* Wall of Fame Selections on Mobile */
  .selection-cadets-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
  }

  .cadet-card {
    padding: 1rem 0.75rem;
  }

  .cadet-card-photo {
    width: 68px;
    height: 68px;
    margin: 0.35rem auto 0.5rem auto;
  }

  .cadet-name {
    font-size: 0.925rem;
  }

  .cadet-role {
    font-size: 0.775rem;
  }

  /* Hostels on Mobile */
  .hostel-banner-box {
    padding: 2rem 1.15rem;
  }

  .hostel-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Course Filter Nav Horizontal Swipe */
  .course-filter-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    justify-content: flex-start;
  }

  .course-filter-btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }

  /* Fee Table Horizontal Scroll Container */
  .fee-table-wrap {
    margin-top: 1.25rem;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .fee-table {
    min-width: 640px;
    font-size: 0.825rem;
  }

  .fee-table th,
  .fee-table td {
    padding: 0.75rem 0.65rem !important;
  }

  .fee-price-tag,
  .fee-total-tag {
    font-size: 0.925rem;
  }

  /* Activities Gallery on Mobile */
  .activities-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .activity-tile {
    height: 190px;
  }

  .activity-tile-title {
    font-size: 0.9rem;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  }

  /* Routine Timeline on Mobile */
  .routine-timeline {
    padding: 0 0.5rem;
  }
}

@media (max-width: 576px) {
  .slider-btn {
    display: none !important; /* Hide side arrows on phones to guarantee zero text obstruction; touch swipe active */
  }
}

@media (max-width: 480px) {
  .hero-slider {
    min-height: 490px; /* Ample height to completely prevent any content clipping */
  }

  .hero-slide-content {
    padding: 1.15rem 0.85rem 3.25rem 0.85rem !important;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    font-size: 1.32rem !important;
    line-height: 1.25 !important;
  }

  .hero-actions .btn,
  .slide-selection-layout .hero-actions .btn {
    padding: 0.52rem 0.35rem !important;
    font-size: 0.76rem !important;
  }

  .activities-masonry-grid {
    grid-template-columns: 1fr;
  }

  .activity-tile {
    height: 220px;
  }

  .eye-catchy-form-card {
    padding: 1.35rem 1rem;
  }

  .brand-title {
    font-size: 0.825rem;
  }

  .top-notice-bar {
    display: none;
  }
}

@media (max-width: 360px) {
  .hero-slider {
    min-height: 520px;
  }

  .hero-actions,
  .slide-selection-layout .hero-actions {
    flex-direction: column !important;
    gap: 0.35rem !important;
  }

  .hero-actions .btn,
  .slide-selection-layout .hero-actions .btn {
    width: 100% !important;
  }
}

/* ============================================================
   29. UNIVERSAL MULTI-PAGE MOBILE RESPONSIVE ENGINE
   ============================================================ */

/* Contact Page Grid */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: start;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Blog Single Article Grid */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Facility Showcase Rows */
.facility-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

/* Results Selection Spotlight */
.results-poster-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}

/* Selection Feature Grid with Generous Whitespace */
.selection-feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4.5rem;
}

/* Selection Highlight Grid & Cards for Top Selections */
.selection-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
  .selection-highlight-grid {
    grid-template-columns: 1fr;
  }
}

.selection-highlight-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.15rem 0.85rem;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.selection-highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.22);
}

.selection-highlight-card .cadet-card-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--accent-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  display: block;
  margin: 0.2rem auto 0.55rem auto;
}

/* Director Profile Box */
.director-profile-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
  margin-bottom: 3.5rem;
}

/* Media Overrides for Tablet (<= 992px) */
@media (max-width: 992px) {
  .contact-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .blog-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .facility-showcase-row {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    margin-bottom: 2.5rem !important;
  }

  .results-poster-grid {
    grid-template-columns: 1fr !important;
  }

  .selection-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    margin-bottom: 2.5rem !important;
  }

  .director-profile-box {
    padding: 2.25rem 1.75rem !important;
    margin-bottom: 2.5rem !important;
  }
}

/* Media Overrides for Mobile (<= 768px) */
@media (max-width: 768px) {
  .contact-layout-grid,
  .form-row-2col,
  .blog-detail-layout,
  .facility-showcase-row,
  .results-poster-grid,
  .director-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .selection-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
    margin-bottom: 3.5rem !important;
  }

  .facility-showcase-row > div:first-child {
    order: 1 !important;
  }
  .facility-showcase-row > div:last-child {
    order: 2 !important;
  }

  .director-detail-grid {
    text-align: center !important;
  }

  .director-detail-grid img {
    margin: 0 auto !important;
  }

  .director-profile-box {
    padding: 1.5rem 1.15rem !important;
    margin-bottom: 2rem !important;
  }

  /* General Form Inputs on Mobile: Prevent auto-zoom and ensure 100% width */
  .form-control {
    font-size: 16px !important;
    width: 100% !important;
  }
}

/* Media Overrides for Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .director-profile-box {
    padding: 1.25rem 0.85rem !important;
  }
  
  .contact-info-panel h2 {
    font-size: 1.6rem !important;
  }

  .table-responsive {
    margin: 0 0 1.25rem 0 !important;
    border-radius: var(--radius-sm);
  }
}

/* --- Online Registration Form Page Styles --- */
.registration-hero-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 16px 40px rgba(11, 27, 61, 0.16);
  margin-bottom: 2.5rem;
  background-color: #0B1B3D;
  position: relative;
}

.registration-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.registration-hero-banner:hover img {
  transform: scale(1.015);
}

.registration-layout-grid {
  display: grid;
  grid-template-columns: 1.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.registration-form-card {
  background: #FFFFFF;
  padding: 2.75rem 2.5rem;
  border-radius: var(--radius-xl);
  border: 2px solid var(--accent-gold);
  box-shadow: 0 16px 40px rgba(11, 27, 61, 0.1);
  position: relative;
  overflow: hidden;
}

.registration-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--tricolor-saffron) 0%, var(--accent-gold) 50%, var(--tricolor-green) 100%);
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}

.registration-sidebar-box {
  background: #FFFFFF;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.admission-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.admission-step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.admission-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #162B56 100%);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 2px solid var(--accent-gold);
}

.admission-step-content h4 {
  font-size: 1rem;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.admission-step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.bank-details-card {
  background: linear-gradient(135deg, #0B1B3D 0%, #162B56 100%);
  color: #FFFFFF;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

@media (max-width: 1240px) {
  .registration-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 991px) {
  .form-grid-3col {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

@media (max-width: 768px) {
  .form-grid-2col,
  .form-grid-3col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .registration-form-card {
    padding: 1.75rem 1.35rem !important;
  }
  .registration-hero-banner {
    margin-bottom: 1.75rem;
  }
}

@media (max-width: 576px) {
  .registration-form-card {
    padding: 1.35rem 1rem !important;
    border-radius: var(--radius-lg) !important;
  }
  .registration-sidebar-box {
    padding: 1.35rem 1rem !important;
  }
}

/* --- FACULTY SHOWCASE CARDS --- */
.faculty-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.faculty-member-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.faculty-member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.faculty-member-sidebar {
  background: linear-gradient(180deg, #0B1B3D 0%, #162B56 100%);
  padding: 2.25rem 2rem;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faculty-member-photo-frame {
  position: relative;
  width: 220px;
  height: 270px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.faculty-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.faculty-badge-role {
  display: inline-block;
  background: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%);
  color: #0B1B3D;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.faculty-member-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin: 0.25rem 0;
  font-weight: 800;
}

.faculty-member-qual {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.faculty-exp-badge {
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faculty-member-content {
  padding: 2.5rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faculty-quote-banner {
  background: var(--bg-slate);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.faculty-quote-banner p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary-navy);
  line-height: 1.65;
  margin: 0;
  font-weight: 600;
}

.faculty-bio-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.faculty-exams-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faculty-exam-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.faculty-exam-pill {
  background: var(--bg-light-blue);
  color: var(--primary-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11, 27, 61, 0.08);
  transition: all var(--transition-fast);
}

.faculty-exam-pill:hover {
  background: var(--primary-navy);
  color: var(--accent-gold);
}

@media (max-width: 900px) {
  .faculty-member-card {
    grid-template-columns: 1fr;
  }
  .faculty-member-sidebar {
    padding: 2rem 1.5rem;
  }
  .faculty-member-photo-frame {
    width: 200px;
    height: 240px;
  }
  .faculty-member-content {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   ONLINE FEE PAYMENT & CANDIDATE PHOTO UPLOAD SYSTEM
   ========================================================================== */

.ddc-form-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.75rem 0 1rem 0;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(11, 27, 61, 0.08);
}

.ddc-form-section-title .section-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ddc-form-section-title h3 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Candidate Photo Upload Component */
.candidate-photo-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.candidate-photo-box:hover,
.candidate-photo-box.dragover {
  border-color: var(--primary-navy);
  background: #f1f5f9;
}

.candidate-photo-box .upload-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.candidate-photo-box .upload-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(11,27,61,0.08) 0%, rgba(212,175,55,0.15) 100%);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.candidate-photo-preview-wrap {
  display: none;
  align-items: center;
  gap: 1.25rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12);
  text-align: left;
}

.candidate-photo-preview-wrap.has-file {
  display: flex;
}

.candidate-photo-preview-wrap img {
  width: 85px;
  height: 105px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background: #f1f5f9;
}

/* Payment Mode Selector Pills */
.payment-mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.payment-mode-pill {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.payment-mode-pill:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.payment-mode-pill.active {
  border-color: #16a34a;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.15);
}

.payment-mode-pill input[type="radio"] {
  margin-top: 3px;
  accent-color: #16a34a;
  transform: scale(1.15);
}

.payment-mode-pill .mode-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--primary-navy);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.payment-mode-pill .mode-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.mode-badge-rec {
  background: #16a34a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

/* Official Payment Standee Card */
.ddc-payment-standee-card {
  background: linear-gradient(145deg, #07142b 0%, #0b1b3d 60%, #162b56 100%);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 35px rgba(11, 27, 61, 0.35);
  position: relative;
  overflow: hidden;
}

.ddc-payment-standee-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.payment-standee-inner-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.75rem;
  align-items: center;
}

.standee-qr-frame {
  background: #ffffff;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  text-align: center;
  border: 2px solid var(--accent-gold);
}

.standee-qr-frame img {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.standee-qr-frame .scan-badge {
  background: #0b1b3d;
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 8px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.bank-details-wrapper {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
}

.bank-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
}

.bank-details-header h4 {
  margin: 0;
  color: var(--accent-gold);
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-row .bank-lbl {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.bank-row .bank-val {
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
}

.bank-row .bank-val.mono {
  font-family: monospace;
  font-size: 1.02rem;
  letter-spacing: 0.5px;
  color: #fef08a;
}

.copy-badge-btn {
  background: rgba(212, 175, 55, 0.2);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.copy-badge-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

.copy-badge-btn.copied {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

/* Proof of Deposit Upload Zone */
.pod-upload-zone {
  background: #ffffff;
  border: 2px dashed #16a34a;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.pod-upload-zone:hover,
.pod-upload-zone.dragover {
  background: #f0fdf4;
}

.pod-preview-wrap {
  display: none;
  align-items: center;
  gap: 1.25rem;
  background: #f0fdf4;
  border: 2px solid #22c55e;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: left;
}

.pod-preview-wrap.has-file {
  display: flex;
}

.pod-preview-wrap img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
  border: 1.5px solid #16a34a;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background: #ffffff;
}

/* ==========================================================================
   Payment & Proof of Deposit (POD) Portal Responsive Grid
   Desktop: Form on Left, Large QR Standee on Right (Sticky)
   Mobile: Responsive Stack, Standee First with Direct Jump to Form
   ========================================================================== */
.payment-portal-grid {
  display: grid;
  grid-template-columns: 1.45fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
}

.payment-portal-grid .payment-form-col {
  order: 1;
  min-width: 0;
}

.payment-portal-grid .payment-standee-col {
  order: 2;
  min-width: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
}

/* Standee Box & Bigger QR in Payment Portal */
.payment-portal-grid .ddc-payment-standee-card {
  padding: 2rem 1.75rem;
  margin-bottom: 1.5rem;
}

.payment-portal-grid .standee-qr-frame {
  max-width: 330px;
  margin: 0 auto 1.5rem auto;
  padding: 14px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.payment-portal-grid .standee-qr-frame img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.25s ease;
}

.payment-portal-grid .standee-qr-frame:hover img {
  transform: scale(1.02);
}

.payment-portal-grid .scan-badge {
  background: #0b1b3d;
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 4px;
  margin-top: 10px;
  display: inline-block;
  letter-spacing: 0.5px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.payment-portal-jump-btn {
  display: none !important;
}

@media (max-width: 991px) {
  .payment-portal-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .payment-portal-grid .payment-standee-col {
    order: 1 !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .payment-portal-grid .payment-form-col {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .payment-portal-grid .ddc-payment-standee-card {
    padding: 1.5rem 1.15rem !important;
  }

  .payment-portal-grid .standee-qr-frame {
    max-width: 280px !important;
    padding: 10px !important;
    margin: 0 auto 1.25rem auto !important;
  }

  .payment-portal-grid .standee-qr-frame img {
    max-width: 255px !important;
    width: 100% !important;
  }

  .payment-portal-jump-btn {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .payment-standee-inner-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }
  .payment-mode-selector {
    grid-template-columns: 1fr;
  }
  .bank-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .pod-upload-zone {
    padding: 1rem;
  }
  .pod-preview-wrap,
  .candidate-photo-preview-wrap {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
    padding: 0.85rem !important;
  }
  .pod-preview-wrap img {
    width: 100px !important;
    height: 120px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border-radius: 6px !important;
  }
  .candidate-photo-preview-wrap img {
    width: 90px !important;
    height: 110px !important;
    object-fit: contain !important;
    background: #f8fafc !important;
    border-radius: 6px !important;
  }
  .registration-hero-banner {
    border-radius: var(--radius-md) !important;
    margin-bottom: 1.5rem !important;
  }
  .registration-hero-banner img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

@media (max-width: 480px) {
  .payment-portal-grid .standee-qr-frame {
    max-width: 250px !important;
    padding: 8px !important;
  }

  .payment-portal-grid .standee-qr-frame img {
    max-width: 230px !important;
  }

  .payment-portal-grid .bank-details-wrapper {
    padding: 1rem !important;
  }
}



