/* assets/css/style.css - Master Design System for Indirani College of Nursing */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0c4a6e;
  --primary-dark: #07273d;
  --primary-hover: #0369a1;
  --secondary-color: #0284c7;
  --accent-color: #d97706;
  --accent-light: #f59e0b;
  --accent-gold: #eab308;
  --dark-navy: #0b1528;
  --dark-blue: #1a2b56;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #cbd5e1;
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(12, 74, 110, 0.09), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(11, 21, 40, 0.08), 0 6px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px -8px rgba(11, 21, 40, 0.08);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--light-bg);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-family);
  color: var(--dark-navy);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1, .h1 { font-size: 2.35rem; }
h2, .h2 { font-size: 1.95rem; }
h3, .h3 { font-size: 1.5rem; }
h4, .h4 { font-size: 1.25rem; }
h5, .h5 { font-size: 1.1rem; }

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

a:hover {
  color: var(--primary-hover);
}

.container-custom {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   1. TOP UTILITY BAR
   ========================================================================== */
.top-bar {
  background: var(--dark-navy);
  color: #94a3b8;
  padding: 8px 0;
  font-size: 0.83rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1040;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cbd5e1;
}

.top-bar-item i {
  color: var(--accent-light);
}

.top-bar-item.admission-badge {
  background: rgba(217, 119, 6, 0.22);
  color: #fef08a;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
  letter-spacing: 0.02em;
}

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

.top-bar-actions a {
  color: #e2e8f0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  transition: var(--transition);
}

.top-bar-actions a:hover {
  background: var(--accent-color);
  color: #ffffff;
}

.top-bar-actions .btn-top-apply {
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 800;
  border-radius: 20px;
  padding: 3px 14px;
}

.top-bar-actions .btn-top-apply:hover {
  background: #b45309;
}

.top-bar-actions .top-social-link {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  transition: var(--transition);
}

.top-bar-actions .top-social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.top-bar-actions .top-social-link.social-fb:hover {
  background: #1877f2;
}

.top-bar-actions .top-social-link.social-insta:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.top-bar-actions .top-social-link.social-yt:hover {
  background: #ff0000;
}

/* ==========================================================================
   2. PROMINENT CENTERED LOGO BRANDING BAR
   ========================================================================== */
.header-brand-bar {
  background: #ffffff;
  padding: 14px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.header-brand-bar .site-logo-img {
  max-height: 82px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.03));
}

.header-brand-bar .site-logo-img:hover {
  transform: scale(1.015);
}

/* ==========================================================================
   3. DEDICATED CENTERED STICKY NAVIGATION BAR
   ========================================================================== */
.main-header {
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(12, 74, 110, 0.08);
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 3px solid var(--primary-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 48px;
}

/* Centered Navigation Menu List */
.nav-menu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex-wrap: nowrap;
  width: 100%;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 11px 9px;
  font-size: 0.81rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--dark-navy) !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-item.active > .nav-link {
  color: var(--primary-color) !important;
  background-color: rgba(12, 74, 110, 0.08);
  font-weight: 800;
}

.nav-link i.fa-chevron-down {
  font-size: 0.62rem;
  margin-left: 4px;
  color: #64748b;
  transition: transform 0.2s ease;
}

.nav-item:hover > .nav-link i.fa-chevron-down,
.nav-item.active > .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--primary-color);
}

/* Multi-Level Dropdowns */
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 8px 0;
  margin-top: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease-in-out;
  z-index: 1050;
}

.nav-item.menu-opens-left > .dropdown-menu-custom {
  left: auto;
  right: 0;
}

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

.dropdown-item-custom {
  position: relative;
}

.dropdown-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  border-left: 3px solid transparent;
  white-space: normal;
}

.dropdown-link:hover,
.dropdown-link.active,
.dropdown-item-custom.active > .dropdown-link {
  background: var(--light-bg);
  color: var(--primary-color) !important;
  border-left-color: var(--secondary-color);
  padding-left: 22px;
  font-weight: 700;
}

/* Nested Submenu Level 2 & 3 */
.dropdown-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #ffffff;
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.18s ease-in-out;
  z-index: 1060;
}

.has-submenu.menu-opens-left > .dropdown-submenu {
  left: auto;
  right: 100%;
}

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

.has-submenu > .dropdown-link i {
  font-size: 0.68rem;
  color: #94a3b8;
}

.has-submenu:hover > .dropdown-link i {
  color: var(--primary-color);
}

/* Sticky Scroll Brand & Apply Now Elements (Hidden by default / desktop) */
.nav-sticky-brand {
  display: none;
}
.nav-sticky-brand .nav-sticky-logo {
  display: block;
  height: auto;
  max-height: 32px;
  object-fit: contain;
}
.nav-sticky-apply {
  display: none;
}
.mobile-menu-header-item {
  display: none;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--dark-navy);
  cursor: pointer;
  padding: 10px 14px;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.mobile-menu-toggle .toggle-text-short {
  display: none;
}
.mobile-menu-toggle .toggle-text-full {
  display: inline;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: url('/media/2026/10/571a7952-scaled-1-ef422c4c.jpg') center center/cover no-repeat;
  min-height: 780px;
  display: flex;
  align-items: center;
  padding: 105px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 43, 86, 0.92) 0%, rgba(12, 74, 110, 0.88) 100%);
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-left-content {
  color: #ffffff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  color: #fef08a;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.hero-title-highlight {
  color: #ffffff;
  display: block;
}

.hero-description {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 26px;
  max-width: 580px;
}

.course-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.course-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-pill:hover {
  background: #ffffff;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.hero-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-hero-primary {
  background: var(--accent-color);
  color: #ffffff !important;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  background: #b45309;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
}

/* Hero Form Container */
.hero-form-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  min-width: 0;
  max-width: 640px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.hero-form-header {
  margin-bottom: 22px;
  text-align: center;
}

.hero-form-header h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 6px;
}

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

.form-group-custom {
  margin-bottom: 14px;
}

.form-group-custom label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control-custom {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  font-family: var(--font-family);
}

.form-control-custom:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-submit-enquiry {
  width: 100%;
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 13px;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(12, 74, 110, 0.25);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.btn-submit-enquiry:hover {
  background: linear-gradient(135deg, #07273d 0%, #0c4a6e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 74, 110, 0.35);
}

/* ==========================================================================
   5. STATS BAND
   ========================================================================== */
.stats-section {
  background: var(--dark-navy);
  color: #ffffff;
  padding: 22px 0;
  position: relative;
  border-bottom: 3px solid var(--accent-color);
}

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

.stat-card {
  padding: 4px 12px;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-icon {
  display: none !important;
}

.stat-number {
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* ==========================================================================
   6. ABOUT SECTION (50/50 Split)
   ========================================================================== */
.about-section {
  padding: 95px 0;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

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

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

.about-badge-floating {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: linear-gradient(135deg, #0c4a6e 0%, #0f172a 100%);
  color: #ffffff;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 3px solid #ffffff;
  max-width: 240px;
}

.about-badge-floating .big-year {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  display: block;
}

.about-badge-floating .badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 4px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--accent-color);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 20px;
  line-height: 1.22;
}

.about-text-content p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.about-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-navy);
}

.about-highlight-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* ==========================================================================
   7. "WHY CHOOSE" STICKY-STACK SECTION
   ========================================================================== */
.sticky-stack-section {
  padding: 95px 0 120px;
  background: var(--light-bg);
  position: relative;
}

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

.section-header-center .section-eyebrow::before {
  display: none;
}

.section-header-center p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.sticky-stack-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stack-panel {
  position: sticky;
  top: calc(90px + var(--panel-index) * 24px);
  z-index: calc(10 + var(--panel-index));
  transition: transform 0.3s ease;
}

.panel-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px -6px rgba(11, 21, 40, 0.08);
  border: 1px solid var(--border-light);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.panel-card:hover {
  box-shadow: 0 20px 40px -6px rgba(11, 21, 40, 0.08);
}

.panel-text-side {
  display: flex;
  flex-direction: column;
}

.panel-number-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.panel-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 14px;
  line-height: 1.3;
}

.panel-paragraph {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--light-bg);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.feature-arrow {
  color: var(--secondary-color);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-content h6 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 2px;
}

.feature-content p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.panel-image-wrapper img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   8. PROGRAMS GRID
   ========================================================================== */
.programs-section {
  padding: 95px 0;
  background: #ffffff;
}

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

.program-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-size: cover;
  background-position: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(11, 21, 40, 0.2) 0%, rgba(11, 21, 40, 0.9) 80%);
  transition: var(--transition);
  z-index: 1;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.program-card:hover::before {
  background: linear-gradient(180deg, rgba(12, 74, 110, 0.4) 0%, rgba(7, 39, 61, 0.95) 80%);
}

.program-card-overlay {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: #ffffff;
}

.program-card-icon {
  width: 46px;
  height: 46px;
  background: var(--accent-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.program-card:hover .program-card-icon {
  transform: scale(1.1);
  background: var(--accent-light);
}

.program-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.program-card-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   9. LOGO SLIDER (Infinite Marquee)
   ========================================================================== */
.logo-slider-section {
  padding: 70px 0;
  background: var(--light-bg);
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: marqueeScroll 28s linear infinite;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark-navy);
  white-space: nowrap;
}

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

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

/* ==========================================================================
   10. FAQ SECTION (Accordion)
   ========================================================================== */
.faq-section {
  padding: 95px 0;
  background: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}

.faq-image-side {
  position: sticky;
  top: 110px;
}

.faq-image-side img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  height: 420px;
  object-fit: cover;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--secondary-color);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-navy);
  user-select: none;
  transition: var(--transition);
}

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

.faq-chevron {
  font-size: 0.85rem;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.3s ease;
  padding: 0 22px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 22px 20px;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.main-footer {
  background: var(--dark-navy);
  color: #94a3b8;
  padding: 80px 0 40px;
  border-top: 4px solid var(--accent-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-color);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #94a3b8;
}

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

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--accent-light);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

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

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social-icon:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-3px);
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS (Centered & Fluid across all viewports)
   ========================================================================== */
@media (min-width: 1400px) {
  .nav-link {
    padding: 12px 11px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1399.98px) and (min-width: 1100px) {
  .nav-link {
    padding: 10px 7px;
    font-size: 0.74rem;
  }
  .nav-link i.fa-chevron-down {
    margin-left: 2px;
  }
}

@media (max-width: 1099.98px) {
  /* 1. Mobile View: Remove Ariyur location */
  .top-bar-location {
    display: none !important;
  }

  .top-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    position: relative;
    width: 100%;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px auto;
    border: 2px solid var(--dark-navy);
    border-radius: 6px;
    background: #ffffff;
    color: var(--dark-navy);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-menu-toggle:hover {
    background: #f8fafc;
  }

  /* When NOT scrolled: keep sticky logo & apply now hidden, center menu button */
  .main-header:not(.is-scrolled) .nav-sticky-brand,
  .main-header:not(.is-scrolled) .nav-sticky-apply {
    display: none !important;
  }
  .main-header:not(.is-scrolled) .mobile-menu-toggle .toggle-menu-text {
    display: inline;
  }

  /* When SCROLLED (Sticky Menu Active): Logo 60%, Apply Now 25%, Sandwich Menu 15% (No text menu) */
  .main-header.is-scrolled {
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
    border-bottom: 3px solid var(--primary-color);
  }
  .main-header.is-scrolled .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    gap: 6px;
    min-height: 58px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 1. Logo: 60% Width - LARGER & CLEARER */
  .main-header.is-scrolled .nav-sticky-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 60%;
    max-width: 60%;
    height: 100%;
    text-decoration: none;
    overflow: hidden;
  }
  .main-header.is-scrolled .nav-sticky-brand .nav-sticky-logo {
    max-height: 50px;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
    transition: transform 0.2s ease;
  }

  /* 2. Apply Now: 25% Width */
  .main-header.is-scrolled .nav-sticky-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 25%;
    max-width: 26%;
    background: var(--accent-color);
    color: #ffffff !important;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 8px 4px;
    border-radius: 20px;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
  }
  .main-header.is-scrolled .nav-sticky-apply:hover {
    background: #b45309;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.45);
  }
  .main-header.is-scrolled .nav-sticky-apply i {
    font-size: 0.70rem;
  }

  /* 3. Sandwich Menu: 15% Width (Icon only, no text menu) */
  .main-header.is-scrolled .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 13%;
    max-width: 14%;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--dark-navy);
    border-radius: 6px;
    background: #ffffff;
    color: var(--dark-navy);
    font-size: 1.25rem;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
  }
  .main-header.is-scrolled .mobile-menu-toggle:hover,
  .mobile-menu-toggle.is-active {
    background: #f1f5f9;
    border-color: var(--primary-color);
    color: var(--primary-color);
  }
  .main-header.is-scrolled .mobile-menu-toggle .toggle-menu-text {
    display: none !important;
  }

  /* Mobile Menu Header with Close X Option */
  .mobile-menu-header-item {
    display: block !important;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6px 10px 6px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 8px;
  }
  .mobile-menu-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--dark-navy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .mobile-menu-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-menu-close-btn:hover,
  .mobile-menu-close-btn:active {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
  }
  .mobile-menu-close-btn i {
    font-size: 0.95rem;
  }

  /* Smooth Dropdown Menu */
  .nav-menu-list {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 4px 16px 24px 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
    max-height: 80vh;
    overflow-y: auto;
    border-top: 1px solid var(--border-light);
    border-bottom: 4px solid var(--primary-color);
    
    /* Smooth slide-down & fade-in */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s ease;
    pointer-events: none;
    z-index: 1050;
  }
  .nav-menu-list.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    font-size: 0.92rem !important;
    padding: 11px 12px;
    border-bottom: 1px solid var(--border-light);
    justify-content: space-between;
    width: 100%;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .nav-link:hover {
    background: #f8fafc;
  }

  /* Smooth Submenu Accordion */
  .dropdown-menu-custom,
  .dropdown-submenu {
    position: static;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-left: 3px solid var(--primary-color);
    margin: 4px 0 6px 10px;
    border-radius: 0 8px 8px 0;
    list-style: none;
    
    /* Smooth sliding accordion */
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    padding: 0 0 0 14px;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.28s ease,
                padding 0.38s ease,
                visibility 0.38s ease;
  }
  .nav-item.open > .dropdown-menu-custom,
  .has-submenu.open > .dropdown-submenu {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
    padding: 8px 0 8px 14px;
  }
  .nav-link i.fa-chevron-down,
  .dropdown-link i.fa-chevron-right {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  }
  .nav-item.open > .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary-color);
  }
  .has-submenu.open > .dropdown-link i.fa-chevron-right {
    transform: rotate(90deg);
    color: var(--primary-color);
  }
  .hero-grid,
  .about-grid,
  .panel-card,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(2)::after {
    display: none;
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .panel-image-wrapper img {
    height: 280px;
  }
  .about-badge-floating {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .stats-grid,
  .programs-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stat-card::after {
    display: none !important;
  }
  .header-brand-bar .site-logo-img {
    max-height: 65px;
  }
  .main-header.is-scrolled .nav-container {
    padding: 4px 6px;
    gap: 5px;
    min-height: 54px;
  }
  .main-header.is-scrolled .nav-sticky-brand {
    flex: 0 0 60%;
    max-width: 60%;
  }
  .main-header.is-scrolled .nav-sticky-brand .nav-sticky-logo {
    max-height: 48px;
  }
  .main-header.is-scrolled .nav-sticky-apply {
    flex: 0 0 25%;
    max-width: 26%;
    padding: 7px 3px;
    font-size: 0.70rem;
  }
  .main-header.is-scrolled .nav-sticky-apply i {
    font-size: 0.65rem;
  }
  .main-header.is-scrolled .mobile-menu-toggle {
    flex: 0 0 13%;
    max-width: 14%;
    height: 38px;
    font-size: 1.25rem;
  }
  .main-header.is-scrolled .mobile-menu-toggle .toggle-menu-text {
    display: none !important;
  }
}
