/* St. Joseph's Career Edge - Custom Styling */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* Design Variables */
:root {
  --primary: #1d4ed8;       /* Medium Blue */
  --primary-hover: #1e40af; /* Darker Blue */
  --primary-light: #eff6ff; /* Soft blue tint */
  --secondary: #0ea5e9;     /* Sky Blue/Cyan */
  --accent: #2563eb;        /* Royal Blue */
  --text-main: #0f172a;     /* Slate 900 */
  --text-muted: #475569;    /* Slate 600 */
  --text-light: #ffffff;
  --bg-main: #ffffff;
  --bg-soft: #f8fafc;
  
  /* Gradients */
  --grad-blue-dark: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  --grad-blue-light: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  --grad-blue-soft: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  --grad-accent: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --grad-white-blue: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  --grad-text: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
  
  /* Card shadows & styling */
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.05), 0 1px 3px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 20px -3px rgba(37, 99, 235, 0.08), 0 4px 6px -2px rgba(37, 99, 235, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(30, 58, 138, 0.1), 0 10px 10px -5px rgba(30, 58, 138, 0.04);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
}

[id] {
  scroll-margin-top: 100px;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

input, textarea, select, [contenteditable="true"] {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
}

/* Typography & Titles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  background: var(--grad-accent);
  color: #ffffff !important; /* Ensure solid white text for contrast on both large & small screens */
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
  transition: var(--transition-fast);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 140px 0 50px;
  background: 
    radial-gradient(circle at 20% 20%, #E0F2FE 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, #DBEAFE 0%, transparent 40%),
    linear-gradient(135deg,#FFFFFF 0%,#F8FAFC 50%,#EFF6FF 100%);
  overflow: hidden;
}



.light-trail-1, .light-trail-2 {
  position: absolute;
  border: 1.5px solid rgba(14, 165, 233, 0.15);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.light-trail-1 {
  width: 800px;
  height: 800px;
  top: -200px;
  left: -100px;
  border-top-color: rgba(37, 99, 235, 0.4);
  border-right-color: transparent;
  filter: blur(2px);
  animation: rotateTrail 30s linear infinite;
}

.light-trail-2 {
  width: 600px;
  height: 600px;
  bottom: -100px;
  right: -50px;
  border-bottom-color: rgba(6, 182, 212, 0.3);
  border-left-color: transparent;
  filter: blur(4px);
  animation: rotateTrailRev 25s linear infinite;
}

@keyframes rotateTrail {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateTrailRev {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* Add mesh background details / particles / trails */
.hero-bg-shapes::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.hero-bg-shapes::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 55% 45%;
  column-gap: 48px;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

.badge-admission {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.05);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #2563EB;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.badge-icon-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 1.05;
  color: #0F172A;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
}

.hero-title .text-gradient {
  background: linear-gradient(90deg, #2563EB, #4F46E5, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.underline-drawn {
  position: relative;
  display: inline-block;
}

.underline-drawn .sketch-line {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 12px;
  pointer-events: none;
}

.underline-drawn .sketch-line path {
  stroke: #2563eb;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-description {
  width: 100%;
  max-width: 100%;
  font-size: 17px;
  font-weight: 400;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-ctas .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-journey {
  height: 56px;
  padding: 0 32px;
  border-radius: 12px;
  background: linear-gradient(90deg, #2563EB, #06B6D4);
  color: #ffffff;
  border: none;
  box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.4);
}

.btn-journey:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.5), 0 0 20px rgba(6, 182, 212, 0.3);
}

.btn-video {
  height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #1E293B;
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.05);
}

.btn-video:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 20px -4px rgba(0, 0, 0, 0.08);
}

.btn-play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  margin-right: 12px;
  flex-shrink: 0;
}

.hero-bottom-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 110px;
  background: linear-gradient(135deg, #07132D, #0B1735);
  border-radius: 20px;
  padding: 14px 24px;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 20px 40px -10px rgba(7, 19, 45, 0.3);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.hero-bottom-banner .banner-program-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-bottom-banner .banner-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  color: #3B82F6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.hero-bottom-banner .banner-program-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #F8FAFC;
}

.hero-bottom-banner .banner-pathway {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-bottom-banner .path-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bottom-banner .path-step:hover {
  transform: translateY(-2px);
  color: #FFFFFF;
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

.hero-bottom-banner .path-arrow {
  color: rgba(37, 99, 235, 0.6);
  font-weight: 700;
  font-size: 14px;
}

/* Right side layouts */
.hero-right-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.hero-right-panel {
  width: 580px;
  height: 620px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.03),
    0 24px 60px rgba(31, 38, 135, 0.08),
    inset 0 0 32px rgba(255, 255, 255, 0.4);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.progress-stepper {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.progress-stepper .stepper-line {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.progress-stepper .stepper-line-active {
  height: 100%;
  width: 25%;
  background: #2563EB;
  transition: width 0.4s ease;
}

.progress-stepper .stepper-nodes {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.progress-stepper .step-node {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  outline: none;
  width: 70px;
  transition: transform 0.2s ease;
}

.progress-stepper .step-node:hover {
  transform: translateY(-2px);
}

.progress-stepper .node-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #64748B;
}

.progress-stepper .node-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  transition: all 0.3s ease;
}

.progress-stepper .node-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  transition: all 0.3s ease;
}

/* Active Node State */
.progress-stepper .step-node.active .node-circle {
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.progress-stepper .step-node.active .node-label {
  color: #2563EB;
  font-weight: 700;
}

/* Completed Node State */
.progress-stepper .step-node.completed .node-circle {
  border-color: #2563EB;
  color: #2563EB;
  background: #EFF6FF;
}

.progress-stepper .step-node.completed .node-label {
  color: #2563EB;
}

.image-area {
  height: 310px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  position: relative;
  background: #F1F5F9;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.image-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.image-area .portal-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.image-area .portal-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  transform: scale(1.05);
}

.image-area .portal-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.image-area .portal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-info-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 10px 0;
}

.journey-label-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #2563EB;
  letter-spacing: 1.5px;
  background: transparent;
}

.journey-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #07132D;
  line-height: 1;
  letter-spacing: -1px;
}

.journey-bottom-card {
  display: flex;
  align-items: center;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0F5BFF, #3B2EFF);
  padding: 0 18px;
  width: 100%;
  gap: 14px;
  box-shadow: 0 12px 24px -6px rgba(15, 91, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-bottom-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -4px rgba(15, 91, 255, 0.4);
}

.journey-bottom-card .card-icon-container {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3B2EFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.journey-bottom-card .card-icon-container svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.journey-bottom-card .card-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.journey-bottom-card .card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.journey-bottom-card .card-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

/* Sections Global Structure */
.section {
  padding: 42px 24px;
}

.section-soft {
  background: var(--bg-soft);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 24px;
}

.section-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Grid Layout for Highlights */
/* Roadmap Container & Timeline */
.roadmap-container {
  width: 100%;
  position: relative;
  margin-top: 30px;
}

.roadmap-timeline-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 150;
  margin-bottom: 40px;
}

.roadmap-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.roadmap-path-bg {
  stroke-dasharray: 8 8;
  transition: stroke 0.3s ease;
}

.roadmap-path-active {
  stroke-dasharray: 1200; /* Will be computed dynamically in script.js */
  stroke-dashoffset: 1200;
}

/* Timeline Nodes */
.roadmap-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
}

.node-outer {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.node-outer::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(37, 99, 235, 0.2);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-inner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-inner svg {
  transition: all 0.4s ease;
}

/* Node Hover & Active States */
.roadmap-node:hover .node-outer {
  transform: scale(1.05) translate(0px, 0px); /* Reset translate to avoid shifting node relative to parent */
  border-color: #2563EB;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.1);
}

.roadmap-node.active .node-outer {
  border-color: #2563EB;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.roadmap-node.active .node-outer::before {
  opacity: 1;
  transform: scale(1);
  animation: rotateDashed 20s linear infinite;
}

@keyframes rotateDashed {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.roadmap-node.active .node-inner {
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Cards Grid */
.roadmap-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  position: relative;
}

.roadmap-progress-bar-vertical {
  display: none;
}

.roadmap-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card-phase-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 8px;
  display: inline-block;
  transition: color 0.4s ease;
}

.card-highlight-title {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.card-divider {
  width: 32px;
  height: 3px;
  background: #2563EB;
  border-radius: 99px;
  margin-bottom: 16px;
  transition: background 0.4s ease;
}

.card-highlight-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
  transition: color 0.4s ease;
}

/* Active Card State */
.roadmap-card.active {
  background: linear-gradient(135deg, #2563EB, #4F46E5, #3B2EFF);
  border-color: transparent;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px -10px rgba(37, 99, 235, 0.3),
    0 0 20px rgba(79, 70, 229, 0.2);
}

.roadmap-card.active .card-phase-label {
  color: rgba(255, 255, 255, 0.8);
}

.roadmap-card.active .card-highlight-title {
  color: #ffffff;
}

.roadmap-card.active .card-divider {
  background: #ffffff;
}

.roadmap-card.active .card-highlight-desc {
  color: rgba(255, 255, 255, 0.9);
}


/* Program Focus Section */
.program-focus-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px 24px;
  align-items: start;
}

.focus-item {
  display: contents;
}

.focus-nav-btn {
  grid-column: 1;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.focus-nav-btn:hover {
  background: var(--bg-soft);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.2);
}

.focus-nav-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-sm);
}

.focus-nav-btn::after {
  content: '→';
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.focus-nav-btn.active::after {
  opacity: 1;
  transform: translateX(0); /* Points right on desktop view */
}

.focus-pane {
  grid-column: 2;
  grid-row: 1 / span 4;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  min-height: 230px;
  display: none;
  flex-direction: column;
  justify-content: center;
}

.focus-pane.active {
  display: flex;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.focus-pane-icon {
  width: 48px;
  height: 48px;
  background: var(--grad-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.focus-pane h3 {
  font-size: 1.75rem;
  color: #1e3a8a;
  margin-bottom: 16px;
}

.focus-pane p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Fee Structure & Scholarship Card */
.pricing-section {
  background: var(--grad-white-blue);
  position: relative;
}

.pricing-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.pricing-info {
  padding: 28px;
}

.pricing-heading {
  font-size: 1.8rem;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.pricing-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(226, 232, 240, 1);
}

.breakdown-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.breakdown-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.breakdown-row.scholarship {
  color: #16a34a;
  border-bottom-color: rgba(22, 163, 74, 0.2);
}

.breakdown-row.scholarship .breakdown-label {
  color: #16a34a;
  font-weight: 600;
}

.breakdown-row.scholarship .breakdown-value {
  color: #16a34a;
}

.scholarship-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -8px;
  font-style: italic;
}

.breakdown-row.total-payable {
  border-bottom: none;
  background: var(--primary-light);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

.breakdown-row.total-payable .breakdown-label {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
}

.breakdown-row.total-payable .breakdown-value {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.pricing-sidebar {
  background: var(--grad-blue-dark);
  color: #ffffff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.pricing-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.06) 0%, transparent 80%);
}

.perks-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 24px;
  align-self: flex-start;
}

.perks-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perks-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.perk-tick {
  width: 22px;
  height: 22px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1e3a8a;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Collaborators Logo Section */
.collab-section {
  padding: 28px 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.collab-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.collab-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 36px;
}

.collab-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.collab-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 320px;
  max-width: 380px;
  flex: 1 1 320px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.collab-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.collab-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.4s ease;
}

.collab-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #1e3a8a;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Card-specific borders, icons, and hover glows */
.collab-bjes {
  border-left: 4px solid #2563eb;
}
.collab-bjes .collab-icon-wrapper {
  background: rgba(37, 99, 235, 0.07);
  color: #2563eb;
}
.collab-bjes:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 12px 30px -8px rgba(37, 99, 235, 0.22);
}
.collab-bjes:hover .collab-icon-wrapper {
  background: #2563eb;
  color: #ffffff;
}

.collab-sjcc {
  border-left: 4px solid #f59e0b;
}
.collab-sjcc .collab-icon-wrapper {
  background: rgba(245, 158, 11, 0.07);
  color: #d97706;
}
.collab-sjcc:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 12px 30px -8px rgba(245, 158, 11, 0.22);
}
.collab-sjcc:hover .collab-icon-wrapper {
  background: #f59e0b;
  color: #ffffff;
}

.collab-industry {
  border-left: 4px solid #0ea5e9;
}
.collab-industry .collab-icon-wrapper {
  background: rgba(14, 165, 233, 0.07);
  color: #0284c7;
}
.collab-industry:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 12px 30px -8px rgba(14, 165, 233, 0.22);
}
.collab-industry:hover .collab-icon-wrapper {
  background: #0ea5e9;
  color: #ffffff;
}

.collab-card:hover .collab-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Admission / Inquiry Form */
.form-section {
  position: relative;
  background: var(--bg-soft);
}

.form-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-info-pane {
  background: var(--grad-blue-dark);
  color: #ffffff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-info-top h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-info-top p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 30px;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--secondary);
}

.contact-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  margin-bottom: 2px;
}

.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.contact-text a:hover {
  text-decoration: underline;
  color: var(--secondary);
}

.form-info-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 36px;
}

.tagline-mini {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.8;
}

.form-pane {
  padding: 28px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-fast);
  color: var(--text-main);
  background-color: var(--bg-soft);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Custom Form Validation Styles */
.form-control.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

.error-message {
  display: block;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 4px;
  min-height: 18px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.2s ease-in-out;
  text-align: left;
}

.error-message.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--grad-accent);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
  transition: var(--transition-fast);
}

.form-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.success-message {
  display: none;
  text-align: center;
  padding: 30px;
  animation: fadeIn 0.4s ease-out;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.success-message h3 {
  font-size: 1.5rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.success-message p {
  color: var(--text-muted);
}

/* Footer styling */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 36px 24px 20px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 24px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: transparent;
}

.footer-brand h2 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 0;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-links-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

/* Campus Gallery Section */
.gallery-columns {
  column-count: 3;
  column-gap: 16px;
  margin-top: 40px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--bg-soft);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.gallery-icon {
  color: #ffffff;
  background: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transform: scale(0.8);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-icon {
  transform: scale(1);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 140px 0 60px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    row-gap: 48px;
    justify-content: center;
    padding: 0 24px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-bottom-banner {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-right-container {
    justify-content: center;
  }
  .hero-right-panel {
    width: 100%;
    max-width: 580px;
    height: 620px;
  }
  .image-area {
    height: 310px;
  }
  
  /* Roadmap Mobile Styles */
  .roadmap-timeline-wrapper {
    display: none;
  }
  
  .roadmap-cards-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    padding-left: 48px;
  }
  
  /* Vertical Track Line */
  .roadmap-cards-grid::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: #E2E8F0;
    border-radius: 99px;
  }
  
  /* Vertical Progress Bar */
  .roadmap-progress-bar-vertical {
    display: block;
    position: absolute;
    left: 16px;
    top: 20px;
    width: 4px;
    height: 0%; /* Dynamic */
    background: linear-gradient(to bottom, #2563EB, #4F46E5, #06B6D4);
    border-radius: 99px;
    z-index: 1;
  }
  
  /* Bullet Dots on Cards */
  .roadmap-card {
    position: relative;
    overflow: visible;
    z-index: 2;
  }

  .roadmap-card.active {
    transform: translateY(-6px);
    z-index: 3;
  }
  
  .roadmap-card::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 22px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
  }

  .roadmap-card[data-index="0"]::before { content: "1"; }
  .roadmap-card[data-index="1"]::before { content: "2"; }
  .roadmap-card[data-index="2"]::before { content: "3"; }
  .roadmap-card[data-index="3"]::before { content: "4"; }
  
  .roadmap-card.active::before {
    border-color: #2563EB;
    background: #2563EB;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), 0 4px 10px rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
  }

  .program-focus-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .focus-item {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .focus-nav-btn {
    grid-column: auto;
    width: 100%;
    margin-bottom: 0;
  }

  .focus-nav-btn.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
  }

  .focus-nav-btn.active::after {
    transform: rotate(90deg); /* Rotates to point down on mobile view */
  }

  .focus-pane {
    grid-column: auto;
    grid-row: auto;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
    padding: 20px;
    min-height: auto;
    box-shadow: var(--shadow-sm);
  }
  
  .pricing-card {
    grid-template-columns: 1fr;
  }
  
  .form-wrapper {
    grid-template-columns: 1fr;
  }
  .gallery-columns {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 0 16px;
  }
  .nav-container {
    padding: 16px 16px;
  }

  /* Make buttons sleeker on mobile */
  .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  .hero-ctas {
    gap: 12px;
  }
  .hero-right-panel {
    max-width: 540px;
    height: 600px;
    padding: 20px;
  }
  .image-area {
    height: 300px;
  }

  /* Reduce navbar font size on mobile */
  .logo-title {
    font-size: 0.95rem;
  }
  
  .logo-subtitle {
    font-size: 0.55rem;
  }
  
  /* General mobile typography reduction */
  body {
    font-size: 0.9rem;
  }
  
  .hero-title {
    font-size: 44px;
    line-height: 1.05;
  }
  
  .hero-description {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-description {
    font-size: 0.9rem;
  }
  
  .highlight-card h3 {
    font-size: 1.1rem;
  }
  
  .highlight-card p {
    font-size: 0.85rem;
  }
  
  .vm-title {
    font-size: 1.2rem;
  }
  
  .vm-text {
    font-size: 0.9rem;
  }
  
  .focus-nav-btn {
    font-size: 0.95rem;
  }
  
  .focus-pane h3 {
    font-size: 1.3rem;
  }
  
  .focus-pane p {
    font-size: 0.9rem;
  }
  
  .pricing-heading {
    font-size: 1.4rem;
  }
  
  .pricing-description {
    font-size: 0.9rem;
  }
  
  .breakdown-row.total-payable .breakdown-value {
    font-size: 1.25rem;
  }
  
  .perks-title {
    font-size: 1.2rem;
  }
  
  .form-info-pane h3 {
    font-size: 1.4rem;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align to top to support scrolling without clipping */
    position: fixed;
    top: 70px; /* Align right below the header */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px); /* Full remaining screen height */
    overflow-y: auto; /* Enable vertical scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    background: #ffffff !important; /* Solid white background to block background content entirely */
    padding: 40px 24px;
    gap: 24px; /* Balanced spacing for mobile viewports */
    border-bottom: none;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    z-index: 9999;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main) !important; /* Force readable dark text color */
    transition: var(--transition-fast);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-links .nav-cta-btn {
    width: 80%;
    max-width: 300px;
    padding: 16px 32px;
    font-size: 1.1rem;
    text-align: center;
    background: var(--grad-accent);
    color: #ffffff !important; /* Force high contrast white text */
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    margin-top: 12px;
    white-space: nowrap; /* Prevent "Apply Now" text wrapping */
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .menu-toggle span {
    transition: var(--transition-normal);
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    background-color: var(--primary);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background-color: var(--primary);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .collab-grid {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
  }

  .collab-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    flex: 0 1 auto;
  }

  .form-info-pane {
    padding: 24px;
    justify-content: flex-start; /* Stack elements tightly on mobile */
    gap: 12px;
  }

  .form-info-top p {
    margin-bottom: 12px; /* Tighten space under description */
  }

  .contact-details-list {
    gap: 12px; /* Tighten space between contact items */
  }

  .form-info-bottom {
    margin-top: 16px; /* Tighten space above footer tagline */
    padding-top: 12px;
  }
  .gallery-columns {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 120px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-description {
    font-size: 14px;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-ctas .btn {
    width: 100%;
    height: 60px;
    font-size: 16px;
  }
  
  .hero-bottom-banner {
    height: auto;
    padding: 16px;
    border-radius: 20px;
    gap: 12px;
    align-items: center;
  }
  
  .hero-bottom-banner .banner-program-info {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .hero-bottom-banner .banner-pathway {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .hero-bottom-banner .path-step {
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .hero-bottom-banner .path-arrow {
    display: none;
  }
  
  .hero-right-panel {
    height: auto;
    border-radius: 24px;
    padding: 16px;
    gap: 16px;
  }
  
  .progress-stepper .step-node {
    width: auto;
    flex: 1;
  }
  
  .progress-stepper .node-circle {
    width: 36px;
    height: 36px;
  }
  
  .progress-stepper .node-svg {
    width: 16px;
    height: 16px;
  }
  
  .progress-stepper .node-label {
    display: none;
  }
  
  .progress-stepper .stepper-line {
    top: 18px;
    left: 18px;
    right: 18px;
  }
  
  .image-area {
    height: 240px;
    border-radius: 16px;
  }
  
  .journey-heading {
    font-size: 36px;
  }
  
  .journey-bottom-card {
    height: 90px;
    border-radius: 45px;
    padding: 0 16px;
    gap: 12px;
  }
  
  .journey-bottom-card .card-icon-container {
    width: 48px;
    height: 48px;
  }
  
  .journey-bottom-card .card-icon-container svg {
    width: 18px;
    height: 18px;
  }
  
  .journey-bottom-card .card-title {
    font-size: 16px;
  }
  
  .journey-bottom-card .card-subtitle {
    font-size: 12px;
  }
  
  .section {
    padding: 28px 16px;
  }
  
  .pricing-info, .pricing-sidebar, .form-pane, .form-info-pane {
    padding: 16px;
  }
  

  .focus-display-box {
    padding: 16px;
  }
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 200010;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

body.lightbox-open {
  overflow: hidden;
}

/* Modern Preloader Styling */
body.loading {
  overflow: hidden;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #f8fafc; /* Premium Light Blue/Grey */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  overflow: hidden;
}

#preloader.fade-out {
  opacity: 0;
  transform: scale(1.08) translateY(-10px); /* Smooth floating lift on exit */
  visibility: hidden;
  pointer-events: none;
}

/* Floating background particles */
.loader-bg-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle linear infinite;
}

.particle:nth-child(odd) {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
}

.particle:nth-child(even) {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

.particle:nth-child(1) {
  width: 320px;
  height: 320px;
  left: -8%;
  top: -8%;
  animation-duration: 18s;
}

.particle:nth-child(2) {
  width: 220px;
  height: 220px;
  right: -5%;
  top: 15%;
  animation-duration: 22s;
  animation-delay: -4s;
}

.particle:nth-child(3) {
  width: 420px;
  height: 420px;
  left: 28%;
  bottom: -15%;
  animation-duration: 26s;
  animation-delay: -8s;
}

.particle:nth-child(4) {
  width: 170px;
  height: 170px;
  right: 12%;
  bottom: 8%;
  animation-duration: 14s;
  animation-delay: -2s;
}

.particle:nth-child(5) {
  width: 270px;
  height: 270px;
  left: 58%;
  top: -5%;
  animation-duration: 20s;
  animation-delay: -12s;
}

.particle:nth-child(6) {
  width: 190px;
  height: 190px;
  left: 8%;
  top: 48%;
  animation-duration: 16s;
  animation-delay: -6s;
}

@keyframes floatParticle {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  33% {
    transform: translate(30px, -40px) scale(1.1);
    opacity: 0.7;
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
    opacity: 0.3;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
}

/* Central content */
.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* Ring animations */
.loader-rings {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: spinRing linear infinite;
}

.ring-1 {
  width: 260px;
  height: 260px;
  border-top-color: #2563eb; /* brand blue */
  border-right-color: rgba(37, 99, 235, 0.2);
  animation-duration: 2.4s;
}

.ring-2 {
  width: 220px;
  height: 220px;
  border-top-color: rgba(14, 165, 233, 0.4);
  border-left-color: #0ea5e9; /* brand sky blue */
  animation-duration: 1.8s;
  animation-direction: reverse;
}

.ring-3 {
  width: 180px;
  height: 180px;
  border-top-color: rgba(14, 165, 233, 0.3);
  border-bottom-color: #0ea5e9; /* brand sky blue */
  animation-duration: 3s;
}

@keyframes spinRing {
  to {
    transform: rotate(360deg);
  }
}

/* Crest in center */
.loader-crest {
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseCrest 2.5s ease-in-out infinite;
}

#loader-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 6px 15px rgba(37, 99, 235, 0.15));
}

@keyframes pulseCrest {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 6px 15px rgba(37, 99, 235, 0.15));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 8px 25px rgba(37, 99, 235, 0.25));
  }
}

/* School name & motto */
.loader-text {
  text-align: center;
  animation: fadeSlideUp 0.8s 0.3s both;
}

.loader-school-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-motto {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  color: #2563eb; /* brand royal blue */
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.motto-dash {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: #2563eb;
  opacity: 0.5;
}

.motto-words {
  animation: mottoShimmer 2.5s ease-in-out infinite;
}

@keyframes mottoShimmer {
  0%, 100% {
    color: #2563eb;
  }
  50% {
    color: #0ea5e9;
    text-shadow: 0 0 8px rgba(37, 99, 235, 0.2);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress bar */
.loader-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: fadeSlideUp 0.8s 0.5s both;
  width: 280px;
}

.loader-bar {
  width: 100%;
  height: 3px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #0ea5e9, #2563eb);
  background-size: 200% 100%;
  border-radius: 99px;
  transition: width 0.1s linear;
  animation: barShimmer 2s linear infinite;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.2);
}

@keyframes barShimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.loader-percent {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: #1d4ed8;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ── About Subpages & Dropdown Navigation Styles ──────────────────────────────
   ───────────────────────────────────────────────────────────────────────────── */

/* Desktop Navigation Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-trigger svg {
  transition: transform var(--transition-fast);
}

.dropdown:hover .dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #ffffff;
  min-width: 220px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  list-style: none;
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  width: 100%;
  display: block;
}

.dropdown-menu a {
  display: block !important;
  padding: 10px 20px !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: all var(--transition-fast) !important;
  white-space: nowrap;
  position: relative;
  text-align: left;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  padding-left: 26px !important;
}

/* Mobile Dropdown styles */
@media (max-width: 1024px) {
  .dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    left: auto !important;
    min-width: 0 !important;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: auto;
  }

  .dropdown.active .dropdown-menu {
    max-height: 250px;
    padding: 8px 0 0 0;
  }

  .dropdown-menu li {
    display: block !important;
    width: 100% !important;
  }

  .dropdown-menu a {
    display: block !important;
    width: 100% !important;
    font-size: 1.15rem !important;
    text-align: center !important;
    padding: 6px 0 !important;
    color: var(--text-muted) !important;
  }

  .dropdown-menu a:hover {
    padding-left: 0 !important;
    background: transparent !important;
    color: var(--primary) !important;
  }

  .dropdown-trigger svg {
    width: 12px;
    height: 12px;
  }

  .dropdown.active .dropdown-trigger svg {
    transform: rotate(180deg);
  }
}

/* Subpage Header Band (Breadcrumbs Banner) */
.page-header-band {
  padding: 30px 0 12px;
  margin-top: 80px; /* Offset navbar height */
  background: 
    radial-gradient(circle at 10% 20%, #E0F2FE 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, #DBEAFE 0%, transparent 40%),
    linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 50%, #faf5ff 100%);
  text-align: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.page-header-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
  pointer-events: none;
}

.band-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.breadcrumb .divider {
  color: #94a3b8;
}

.breadcrumb .active {
  color: #16a34a; /* Green accent */
  font-weight: 600;
}

/* Subpage Card Layout (Director & History) */
.subpage-content {
  padding-top: 15px;
  padding-bottom: 60px;
  background-color: var(--bg-main);
}

.subpage-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 40px;
  border-radius: var(--radius-md);
  background: var(--grad-blue-soft); /* light blue/lavender tint */
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-lg);
  align-items: start;
}

.subpage-card-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.profile-photo-wrapper {
  width: 100%;
  aspect-ratio: 0.85; /* Portrait aspect ratio to fit profile photos and increase vertical height */
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}

.profile-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 4px;
  line-height: 1.3;
}

.profile-designation {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

.subpage-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
}

.subpage-card-body .quote {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  border-left: 4px solid var(--secondary);
  padding-left: 18px;
  margin-bottom: 12px;
  font-style: italic;
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
}

.subpage-card-body p {
  color: var(--text-muted);
}

.subpage-card-body strong {
  color: var(--text-main);
}

.subpage-card-body .sign-off {
  margin-top: 16px;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
  padding-top: 16px;
  font-family: 'Poppins', sans-serif;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Leadership Team Styling */
.leadership-intro {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.leadership-card {
  background: #f0fdf4; /* very light green background similar to SJPUC */
  border: 1px solid #bbf7d0; /* light green border */
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #86efac;
}

.leadership-photo-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-sm);
  background: #f1f5f9;
}

.leadership-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadership-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3a8a; /* deep blue */
  margin-bottom: 8px;
  line-height: 1.3;
}

.leadership-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: #15803d; /* green similar to SJPUC */
  line-height: 1.3;
}

/* Father Profile Placeholder Slots */
.leadership-card.placeholder {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  box-shadow: none;
  cursor: default;
}

.leadership-card.placeholder:hover {
  transform: none;
  box-shadow: none;
  border-color: #cbd5e1;
}

.leadership-card.placeholder .leadership-photo-circle {
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border: 3px dashed #cbd5e1;
}

.leadership-card.placeholder .leadership-photo-circle svg {
  width: 48px;
  height: 48px;
}

.leadership-card.placeholder .leadership-name {
  color: var(--text-muted);
}

.leadership-card.placeholder .leadership-role {
  color: #94a3b8;
}

/* Guidelines & Rules Page Custom Styles */
.subpage-card.full-width {
  grid-template-columns: 1fr;
  padding: 40px 48px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 20px;
}

.category-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.category-title svg {
  color: var(--primary);
  flex-shrink: 0;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rules-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rules-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.rules-text {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.rules-text strong {
  color: var(--text-main);
}

/* Steps Grid for Admission Guidelines */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.step-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a8a;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Info Callout */
.info-alert {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-alert-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.info-alert-content {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.info-alert-content strong {
  color: var(--text-main);
}

/* Responsive updates for full-width subpage-cards */
@media (max-width: 768px) {
  .subpage-card.full-width {
    padding: 24px;
  }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .subpage-card {
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 30px;
  }
  
  .page-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .subpage-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  
  .subpage-card-sidebar {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

  /* Preloader mobile view styling overrides */
  .loader-content {
    gap: 1.5rem;
  }

  .loader-rings {
    width: 160px;
    height: 160px;
  }

  .ring-1 {
    width: 160px;
    height: 160px;
  }

  .ring-2 {
    width: 130px;
    height: 130px;
  }

  .ring-3 {
    width: 100px;
    height: 100px;
  }

  .loader-crest {
    width: 80px;
    height: 80px;
  }

  #loader-logo {
    width: 55px;
    height: 55px;
  }

  .loader-school-name {
    font-size: 1.15rem;
    letter-spacing: 1.5px;
  }

  .loader-motto {
    font-size: 0.55rem;
    letter-spacing: 2px;
  }

  .motto-dash {
    width: 15px;
  }

  .loader-bar-wrapper {
    width: 200px;
  }
}


