:root {
  /* Colors */
  --primary: #123480;
  /* Deeper Royal Blue for better contrast */
  --secondary: #0088BA;
  /* Deeper Sky Blue */
  --accent: #B8860B;
  /* Darker Gold (DarkGoldenRod) for clarity */
  --bg-color: #FFFFFF;
  /* White */
  --dark-bg: #0D1B4B;
  /* Deep Navy */
  --text-dark: #1a1a1a;
  /* Very Dark Grey for visibility */
  --card-bg: #F0F8FF;
  /* Light Blue */
  --text-light: #F8F9FA;

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
}

html,
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #ffffff;
  /* Solid White for Brightness */
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

/* Watermark Background Theme - Optimized for Performance */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background-theme.avif');
  background-repeat: repeat;
  background-size: 400px;
  opacity: 0.08;
  /* Slightly reduced for better readability */
  z-index: -1;
  pointer-events: none;
}

/* Custom Watermark for About Page */
body.about-page-watermark::before {
  background-image: url('../images/off%281%29.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

/* Typography Utilities */
.text-primary-custom {
  color: var(--primary) !important;
}

.text-secondary-custom {
  color: var(--secondary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-dark-navy {
  color: var(--dark-bg) !important;
}

.text-yellow {
  color: #FFFF00 !important;
}

.text-red {
  color: #FF4D4D !important;
}

/* Backgrounds */
.bg-dark-navy {
  background-color: var(--dark-bg) !important;
  color: var(--text-light);
}

.bg-primary-custom {
  background-color: var(--primary) !important;
  color: var(--text-light);
}

.bg-light-blue {
  background-color: #f1f4f9 !important;
  /* Brighter light blue */
}

/* Buttons */
.btn-gold {
  background-color: var(--accent);
  color: var(--dark-bg);
  font-family: var(--font-accent);
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-gold:hover {
  background-color: #e6c200;
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.btn-royal {
  background-color: var(--primary);
  color: var(--text-light);
  font-family: var(--font-accent);
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(27, 79, 187, 0.3);
}

.btn-royal:hover {
  background-color: #143e96;
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  font-family: var(--font-accent);
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.program-svg-icon {
  display: flex;
  justify-content: flex-start;
}

/* Top Bar */
.top-bar {
  background: linear-gradient(90deg, #0D1B4B, #1B4FBB, #0D1B4B);
  color: var(--text-light);
  font-size: 0.95rem;
  padding: 10px 0;
  letter-spacing: 1px;
}

.top-bar a {
  color: var(--text-light);
}

.top-bar a:hover {
  color: var(--accent);
}

/* Navbar */
.navbar {
  transition: all 0.4s ease;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.sticky-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.navbar-brand img {
  height: 35px;
}

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

.brand-name {
  font-family: 'Cinzel', serif;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-tagline {
  font-family: 'Cinzel', serif;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-link {
  font-family: var(--font-accent);
  font-weight: 500;
  color: var(--text-dark) !important;
  position: relative;
  margin: 0 10px;
  padding: 8px 0 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: calc(100vh - 120px);
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #020617;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.5) 0%, rgba(27, 79, 187, 0.3) 50%, rgba(255, 215, 0, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 215, 0, 0.2);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px 15px;
  border-radius: 20px;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 4.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.hero-strip {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark-bg);
  padding: 10px 30px;
  border-radius: 10px 10px 0 0;
  font-family: var(--font-accent);
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

/* Animated Background for Hero - Earth Lighting Effect */
.animated-bg {
  background: radial-gradient(circle at 50% 120%, #0088ba 0%, #123480 30%, #020617 70%);
  position: relative;
  overflow: hidden;
}

.animated-bg::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150vw;
  height: 150vw;
  background: repeating-radial-gradient(circle, transparent 40%, rgba(0, 136, 186, 0.05) 50%, transparent 60%),
    conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 136, 186, 0.2) 90deg, transparent 180deg);
  transform-origin: center;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: earthRotate 60s linear infinite;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

@keyframes earthRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Floating Moments Particles */
.floating-moments {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  margin: 0;
  padding: 0;
}

.moment {
  position: absolute;
  display: block;
  list-style: none;
  width: 10px;
  height: 10px;
  background: rgba(255, 215, 0, 0.1);
  /* Gold moments */
  animation: float 25s linear infinite;
  bottom: -150px;
  border-radius: 50%;
}

.moment:nth-child(1) {
  left: 25%;
  width: 25px;
  height: 25px;
  animation-delay: 0s;
}

.moment:nth-child(2) {
  left: 10%;
  width: 10px;
  height: 10px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.moment:nth-child(3) {
  left: 70%;
  width: 10px;
  height: 10px;
  animation-delay: 4s;
}

.moment:nth-child(4) {
  left: 40%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.moment:nth-child(5) {
  left: 65%;
  width: 10px;
  height: 10px;
  animation-delay: 0s;
}

.moment:nth-child(6) {
  left: 75%;
  width: 30px;
  height: 30px;
  animation-delay: 3s;
}

.moment:nth-child(7) {
  left: 35%;
  width: 40px;
  height: 40px;
  animation-delay: 7s;
}

.moment:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.moment:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.moment:nth-child(10) {
  left: 85%;
  width: 45px;
  height: 45px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 50%;
  }

  100% {
    transform: translateY(-1200px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

/* Watermark Logo */
.watermark-logo {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  /* Behind the text */
  opacity: 0.85;
  /* Increased opacity as requested */
  pointer-events: none;
  width: 30%;
  /* Made smaller as requested */
  max-width: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform, opacity;
}

.watermark-logo img {
  width: 100%;
  height: auto;
}

/* Stats Section */
.stats-section {
  background-color: var(--dark-bg);
  padding: 60px 0;
  position: relative;
  z-index: 10;
  margin-top: 40px;
  /* Moved downward */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Feature Cards */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent);
}

.section-title p {
  font-size: 1.2rem;
  color: #666;
  margin-top: 15px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--primary);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-top-color: var(--accent);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h4 {
  color: var(--dark-bg);
  margin-bottom: 15px;
}

/* Program Cards */
.program-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.program-header {
  background: var(--card-bg);
  padding: 20px;
  border-bottom: 2px solid var(--accent);
  position: relative;
}

.program-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: var(--dark-bg);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.program-header h3 {
  color: var(--primary);
  margin: 0;
  font-size: 1.5rem;
}

.program-body {
  padding: 20px;
  flex-grow: 1;
}

.program-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.program-body ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
  position: relative;
  padding-left: 25px;
}

.program-body ul li i {
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--secondary);
}

.program-meta {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.program-meta div {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.program-meta i {
  width: 25px;
  color: var(--primary);
}

.program-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* About Snippet */
.about-image-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper img {
  width: 100%;
  display: block;
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--accent);
}

.founder-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-left: 4px solid var(--primary);
}

.founder-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--accent);
}

/* Curriculum Tabs */
/* Premium Pillar Tabs */
.curriculum-tabs .nav-pills {
  background: #f1f4f9;
  padding: 8px;
  border-radius: 100px;
  display: inline-flex;
  gap: 5px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-bottom: 40px !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

.curriculum-tabs .nav-link {
  border: none !important;
  border-radius: 100px !important;
  padding: 12px 28px !important;
  color: #555 !important;
  font-family: var(--font-accent);
  font-weight: 600 !important;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: transparent !important;
  white-space: nowrap;
}

.curriculum-tabs .nav-link svg {
  color: var(--primary);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.curriculum-tabs .nav-link.active {
  background: white !important;
  color: var(--primary) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06) !important;
}

.curriculum-tabs .nav-link.active svg {
  color: var(--primary);
  opacity: 1;
  transform: scale(1.1);
}

.curriculum-tabs .nav-link:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5) !important;
  color: var(--primary) !important;
}

.tab-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  margin-top: 20px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Premium Data Dashboard */
.success-parallax {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #152a6b 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.success-parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(27, 79, 187, 0.1) 0%, transparent 70%);
}

.data-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  height: 100%;
  transition: transform 0.3s ease;
}

.data-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.data-header {
  margin-bottom: 24px;
}

.data-header .badge {
  background: var(--accent);
  color: var(--dark-bg);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: inline-block;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  min-height: 250px;
}

.success-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.success-percentage h2 {
  font-size: 3rem;
  margin: 0;
  color: var(--accent);
}

.success-percentage span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

/* Testimonials */
.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin: 20px 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stars {
  color: #FFD700;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #444;
  flex-grow: 1;
  line-height: 1.8;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.student-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Awards */
.award-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  height: 100%;
}

.award-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.award-icon {
  font-size: 2.5rem;
  color: var(--accent);
}

/* Map List */
.map-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.map-list i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 3px;
}

/* Footer */
.footer {
  background-color: #f8fafc;
  padding: 80px 0 20px 0;
  border-top: 1px solid #eee;
}

.footer-widget h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

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

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

.footer-links a {
  color: var(--text-dark);
  transition: all 0.3s;
}

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

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 5px;
}

.footer-bottom {
  background-color: transparent;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Page Hero (Inner pages) */
.page-hero {
  background: linear-gradient(rgba(13, 27, 75, 0.8), rgba(27, 79, 187, 0.8)), url('../images/image-5.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
}

.page-hero h1 {
  font-weight: 700;
}

.breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: #ddd;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .stats-section {
    margin-top: 30px;
  }

  .about-floating-card {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 1px;
    word-break: break-word;
  }

  .hero-section {
    height: auto;
    padding: 80px 0;
    min-height: 450px;
  }

  .watermark-logo {
    width: 85%;
    opacity: 0.2;
  }

  .page-hero {
    padding: 80px 0 !important;
  }

  .page-hero h1 {
    font-size: 2rem !important;
  }

  /* Optimize fixed backgrounds for mobile performance */
  body::before {
    background-attachment: scroll;
    /* Fixed backgrounds often lag on mobile */
  }

  .navbar-brand img {
    height: 30px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.65rem;
  }

  .stats-section {
    padding: 30px 10px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}

/* Facility Section */
.facility-image-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  height: 450px;
}

.facility-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.facility-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(13, 27, 75, 0.9), transparent);
  color: white;
}

.facility-overlay h5 {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Facility Slider Navigation */
.facility-slider {
  padding-bottom: 40px;
}

.facility-next,
.facility-prev {
  color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.9);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.facility-next:after,
.facility-prev:after {
  font-size: 20px !important;
  font-weight: bold;
}

.facility-next:hover,
.facility-prev:hover {
  background: var(--primary);
  color: white !important;
  transform: scale(1.1);
}

.facility-pagination .swiper-pagination-bullet-active {
  background: var(--accent) !important;
}