﻿/* ==========================================================================
   MIMS SANJEEVANI PARAMEDICAL COLLEGE - MODERN DESIGN SYSTEM & ANIMATIONS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-navy: #0a2540;
  --primary-navy-dark: #06182a;
  --primary-navy-light: #153a66;
  --brand-blue: #0284c7;
  --brand-blue-light: #38bdf8;
  --brand-cyan: #06b6d4;
  --accent-orange: #ea580c;
  --accent-orange-hover: #c2410c;
  --accent-orange-light: #ffedd5;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --bg-slate: #f8fafc;
  --bg-light-blue: #f0f9ff;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-accent: rgba(2, 132, 199, 0.15);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);
  --shadow-orange-glow: 0 0 25px rgba(234, 88, 12, 0.3);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover, a:focus {
  color: var(--accent-orange);
  text-decoration: none;
}

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

/* ==========================================================================
   TOP ANNOUNCEMENT / UTILITY BAR
   ========================================================================== */
.top-bar {
  background: var(--primary-navy-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.top-bar a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--brand-blue-light);
}

.top-bar .badge-rec {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(6, 182, 212, 0.2));
  color: var(--brand-blue-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
}

.portal-login-btn {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  color: #ffffff !important;
  font-size: 0.8rem;
  transition: background var(--transition-fast);
}

.portal-login-btn:hover {
  background: var(--accent-orange) !important;
}

/* ==========================================================================
   MAIN MODERN HEADER & NAVIGATION
   ========================================================================== */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px -5px rgba(10, 37, 64, 0.06);
  transition: all var(--transition-normal);
}

.header-wrapper.scrolled {
  padding: 4px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px -5px rgba(10, 37, 64, 0.1);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-area img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

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

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Desktop Navigation Menu */
.nav-menu-desktop {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-menu-desktop > li {
  position: relative;
}

.nav-menu-desktop > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-navy);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-menu-desktop > li > a:hover {
  color: var(--brand-blue);
  background: var(--bg-light-blue);
}

.nav-menu-desktop > li.active > a {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--accent-orange), #f97316);
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal) !important;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
  background: linear-gradient(135deg, var(--accent-orange-hover), var(--accent-orange)) !important;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 1050;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 25px;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1040;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-list a {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  border-radius: var(--radius-md);
}

.mobile-nav-list a:hover, .mobile-nav-list li.active a {
  background: var(--bg-light-blue);
  color: var(--brand-blue);
}

/* ==========================================================================
   HERO SECTIONS & GRAPHICAL BANNERS
   ========================================================================== */
.modern-hero {
  position: relative;
  background: linear-gradient(135deg, #06182a 0%, #0a2540 50%, #0c3866 100%);
  color: #ffffff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-glow-blob-1 {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.3) 0%, rgba(2, 132, 199, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseBlob 8s ease-in-out infinite alternate;
}

.hero-glow-blob-2 {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.2) 0%, rgba(234, 88, 12, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseBlob 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulseBlob {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.15) translate(30px, -20px); opacity: 0.9; }
}

.hero-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-orange);
  animation: badgeBlink 1.8s infinite;
}

@keyframes badgeBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-headline .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #a5f3fc 50%, #fed7aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline .orange-text {
  color: #fb923c;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-modern-primary {
  background: linear-gradient(135deg, var(--accent-orange), #f97316);
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.5);
}

.btn-modern-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(234, 88, 12, 0.65);
  background: linear-gradient(135deg, #c2410c, var(--accent-orange)) !important;
}

.btn-modern-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-modern-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.btn-modern-outline-brand {
  background: transparent;
  color: var(--brand-blue) !important;
  border: 2px solid var(--brand-blue);
}

.btn-modern-outline-brand:hover {
  background: var(--brand-blue);
  color: #ffffff !important;
}

.hero-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-blue-light);
  flex-shrink: 0;
}

.hero-highlight-txt h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 2px;
  font-weight: 700;
}

.hero-highlight-txt p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

/* Hero Visual Box / Cards */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.hero-main-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.hero-main-img-wrap img {
  width: 100%;
  height: auto;
  transform: scale(1.01);
  transition: transform var(--transition-slow);
}

.hero-main-img-wrap:hover img {
  transform: scale(1.04);
}

.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatStat 5s ease-in-out infinite;
  z-index: 10;
}

.floating-stat-card.card-top-right {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.floating-stat-card.card-bottom-left {
  bottom: -25px;
  left: -20px;
  animation-delay: 2.5s;
}

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

.stat-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-icon-circle.orange-bg {
  background: var(--accent-orange-light);
  color: var(--accent-orange);
}

.stat-icon-circle.blue-bg {
  background: var(--bg-light-blue);
  color: var(--brand-blue);
}

.stat-content h3 {
  font-size: 1.3rem;
  color: var(--primary-navy);
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
}

.stat-content p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

/* ==========================================================================
   STATISTICS STRIP / COUNTERS
   ========================================================================== */
.stats-strip-area {
  background: #ffffff;
  padding: 40px 0;
  position: relative;
  z-index: 20;
  margin-top: -40px;
}

.stats-card-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.single-stat-block {
  text-align: center;
  padding: 10px 15px;
  border-right: 1px solid var(--border-light);
}

.single-stat-block:last-child {
  border-right: none;
}

.single-stat-block .stat-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
  margin-bottom: 6px;
}

.single-stat-block .stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.single-stat-block .stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION HEADINGS & COMMON SECTION PADDING
   ========================================================================== */
.section-padding-lg {
  padding: 90px 0;
}

.section-padding-md {
  padding: 60px 0;
}

.bg-slate-soft {
  background-color: var(--bg-slate);
}

.bg-gradient-soft {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
}

.modern-section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

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

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light-blue);
  color: var(--brand-blue);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.modern-section-heading h2 {
  font-size: 2.4rem;
  color: var(--primary-navy);
  margin-bottom: 14px;
  font-weight: 800;
}

.modern-section-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   MODERN COURSE CARDS (HOME & COURSES PAGE)
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.course-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(10, 37, 64, 0.15);
  border-color: rgba(2, 132, 199, 0.3);
}

.course-thumb-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--primary-navy);
}

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

.course-card-modern:hover .course-thumb-wrap img {
  transform: scale(1.08);
}

.course-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-category-badge.badge-degree {
  background: linear-gradient(135deg, var(--accent-orange), #f97316);
}

.course-duration-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--primary-navy);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.course-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card-title {
  font-size: 1.25rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.course-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.course-apply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-orange);
}

.course-apply-link:hover {
  color: var(--accent-orange-hover);
  gap: 10px;
}

/* ==========================================================================
   WHY CHOOSE US / FEATURES GRID
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-box-modern {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.feature-box-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.feature-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--bg-light-blue), #e0f2fe);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-box-modern h3 {
  font-size: 1.25rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-box-modern p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   ADMISSION TIMELINE / ROADMAP
   ========================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline-step-card {
  background: #ffffff;
  padding: 25px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.timeline-step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.timeline-step-card h4 {
  font-size: 1.1rem;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.timeline-step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   LEAD GENERATION / ENQUIRY FORM SECTION
   ========================================================================== */
.enquiry-section-modern {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}

.enquiry-container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.enquiry-info-side h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 800;
}

.enquiry-info-side p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-quick-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-quick-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.contact-quick-list li i {
  width: 36px;
  height: 36px;
  background: rgba(2, 132, 199, 0.2);
  color: var(--brand-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-quick-list li a {
  color: #e2e8f0;
}

.contact-quick-list li a:hover {
  color: var(--brand-blue-light);
}

.enquiry-card-wrap {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  color: var(--text-dark);
}

.enquiry-card-wrap h3 {
  font-size: 1.5rem;
  color: var(--primary-navy);
  margin-bottom: 6px;
  font-weight: 800;
}

.enquiry-card-wrap .sub-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.modern-form-group {
  margin-bottom: 16px;
}

.modern-form-input, .modern-form-select, .modern-form-textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-slate);
  color: var(--text-dark);
  transition: all var(--transition-fast);
  outline: none;
}

.modern-form-input:focus, .modern-form-select:focus, .modern-form-textarea:focus {
  border-color: var(--brand-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.modern-form-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-orange), #f97316);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 15px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(234, 88, 12, 0.4);
  transition: all var(--transition-normal);
}

.modern-form-btn:hover {
  background: linear-gradient(135deg, var(--accent-orange-hover), var(--accent-orange));
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -5px rgba(234, 88, 12, 0.55);
}

/* ==========================================================================
   PARTNERS / CLINICAL TIE-UPS STRIP
   ========================================================================== */
.partners-strip {
  padding: 45px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.partners-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.partners-logos-row img {
  max-height: 48px;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all var(--transition-fast);
}

.partners-logos-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ==========================================================================
   MODERN COURSE DETAIL PAGE SPECIFICS (SYLLABUS, SALARY, ELIGIBILITY)
   ========================================================================== */
.course-hero-header {
  background: linear-gradient(135deg, #0a2540 0%, #0f3d6d 100%);
  color: #ffffff;
  padding: 65px 0;
}

.course-badge-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
}

.course-meta-chips {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.meta-chip-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.syllabus-year-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all var(--transition-normal);
}

.syllabus-year-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.syllabus-year-card .year-badge {
  background: var(--bg-light-blue);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
}

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

.syllabus-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-body);
}

.syllabus-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-size: 1.3rem;
  line-height: 1;
}

/* Modern Salary Table */
.modern-table-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin: 25px 0;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
}

.modern-table th {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
}

.modern-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text-body);
}

.modern-table tr:nth-child(even) {
  background-color: var(--bg-slate);
}

.modern-table tr:hover {
  background-color: #f0f9ff;
}

.salary-tag {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */
.modern-footer {
  background: var(--primary-navy-dark);
  color: #94a3b8;
  padding: 70px 0 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.8fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-about img {
  height: 52px;
  margin-bottom: 20px;
}

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

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

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

.footer-social-links a:hover {
  background: var(--brand-blue);
  transform: translateY(-3px);
}

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

.footer-col h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: var(--radius-full);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--brand-blue-light);
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #94a3b8;
}

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

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.85rem;
}

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

.footer-bottom-flex a {
  color: var(--brand-blue-light);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & BACK TO TOP)
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.floating-whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  animation: pulseWhatsApp 2s infinite;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.12);
  color: #ffffff;
}

@keyframes pulseWhatsApp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-back-top {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.floating-back-top.visible {
  opacity: 1;
  visibility: visible;
}

.floating-back-top:hover {
  background: var(--brand-blue);
  transform: translateY(-3px);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS & UTILITIES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Delay helpers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-headline { font-size: 2.7rem; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .top-bar { display: none; }
  .nav-menu-desktop { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-headline { font-size: 2.3rem; }
  .enquiry-container-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-card-container { grid-template-columns: repeat(2, 1fr); }
  .single-stat-block:nth-child(2) { border-right: none; }
  .hero-visual-card { margin-top: 40px; }
}

@media (max-width: 767px) {
  .hero-headline { font-size: 1.9rem; }
  .hero-subtitle { font-size: 1rem; }
  .courses-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-card-container { grid-template-columns: 1fr; }
  .single-stat-block { border-right: none; border-bottom: 1px solid var(--border-light); }
  .single-stat-block:last-child { border-bottom: none; }
  .timeline-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-stat-card { position: static; margin-top: 15px; width: 100%; }
}

.page-header-banner {
  background: linear-gradient(135deg, #0a2540 0%, #0f3d6d 100%);
  color: #ffffff;
  padding: 65px 0;
}
/* ==========================================================================
   SYLLABUS CSS GRID (FLAWLESS 2-COLUMN BALANCED ALIGNMENT)
   ========================================================================== */
.syllabus-grid-container {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  margin-bottom: 30px !important;
}

@media (max-width: 768px) {
  .syllabus-grid-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.syllabus-year-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  border-top: 4px solid var(--brand-blue);
}

.syllabus-year-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12);
  transform: translateY(-3px);
}

.syllabus-year-card .year-badge {
  background: var(--bg-light-blue);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}
/* ==========================================================================
   KEY FACTS 2-COLUMN CSS GRID
   ========================================================================== */
.facts-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 650px) {
  .facts-grid-2col {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   MODERN FAQ ACCORDION COMPONENT
   ========================================================================== */
.modern-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 15px;
}

.faq-item-modern {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-normal);
}

.faq-item-modern.active {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.1);
}

.faq-item-modern .accordion-header {
  padding: 18px 20px;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  transition: background var(--transition-fast);
}

.faq-item-modern .accordion-header:hover {
  background: #f8fafc;
}

.faq-item-modern.active .accordion-header {
  background: var(--bg-light-blue);
  border-bottom: 1px solid rgba(2, 132, 199, 0.15);
}

.faq-item-modern .accordion-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
  line-height: 1.4;
}

.faq-item-modern.active .accordion-header h4 {
  color: var(--brand-blue);
}

.faq-item-modern .accordion-header .faq-icon {
  font-size: 0.9rem;
  color: var(--brand-blue);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item-modern.active .accordion-header .faq-icon {
  transform: rotate(180deg);
}

.faq-item-modern .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: #ffffff;
}

.faq-item-modern .faq-body {
  padding: 18px 20px;
  color: #334155;
  line-height: 1.75;
  font-size: 0.98rem;
}