@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@500;600;700;800&family=Poppins:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --primary: #1E3A8A;
  --primary-light: #2563EB;
  --secondary: #0F172A;
  --accent: #F97316;
  --accent-light: #FB923C;
  --success: #22C55E;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-dark: #0F172A;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-light: rgba(226, 232, 240, 0.8);
  
  /* Fonts */
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-buttons: 'Manrope', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(59, 130, 246, 0.05);
  --shadow-md: 0 10px 20px rgba(59, 130, 246, 0.08);
  --shadow-lg: 0 20px 40px rgba(59, 130, 246, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(59, 130, 246, 0.08);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Header Height */
  --header-height: 80px;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #FFF7ED 100%) no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

section:not(.section-dark):not(.cta-section):not(.stats-section):not(.hero-slider) {
  background-color: transparent !important;
  background: transparent !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

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

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

/* Section Spacing */
section {
  padding: 80px 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 8px;
}

/* ==========================================================================
   UTILITY CLASSES & GLASSMORPHISM
   ========================================================================== */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glass);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-glass);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary), #1e3a8a);
}

.bg-gradient-diagonal {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.rounded-card {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.shadow-premium {
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* Flex & Grid layouts */
.grid {
  display: grid;
  gap: 30px;
}

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

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-buttons);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.25);
}

.btn-outline-white {
  background-color: #f97316;
  border-color: var(--white);
  color: var(--white);
}

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

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

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

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-normal);
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-wrapper.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}

.header-wrapper.scrolled .logo-img {
  height: 60px;
}

.logo-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.header-wrapper.scrolled .logo-text {
  color: var(--primary);
}

.logo-text span:last-child {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  font-style: italic;
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1rem;
  }
  .logo-text span:last-child {
    font-size: 0.75rem;
  }
  .logo-img {
    height: 52px;
  }
  .logo-link {
    gap: 2px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .logo-text {
    font-size: 0.95rem;
  }
  .logo-text span:last-child {
    font-size: 0.7rem;
  }
  .logo-img {
    height: 48px;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 12px;
}

.nav-link {
  font-family: var(--font-buttons);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition-fast);
}

.header-wrapper.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
  background-color: rgba(249, 115, 22, 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

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

/* Navigation Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.8rem;
  margin-left: 4px;
  transition: transform var(--transition-fast);
  display: inline-block;
}

/* Desktop Dropdown styles */
@media (min-width: 1025px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    border-top: 3px solid var(--accent);
    z-index: 1000;
  }

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

  .dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu li {
    width: 100%;
    display: block;
  }

  .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    text-align: left;
    background-color: transparent !important;
  }

  .dropdown-menu a::after {
    display: none; /* remove underlines for dropdown links */
  }

  .dropdown-menu a:hover {
    background-color: rgba(30, 58, 138, 0.05) !important;
    color: var(--primary) !important;
    padding-left: 24px;
  }
}

/* Mobile Dropdown styles */
@media (max-width: 1024px) {
  .dropdown-menu {
    display: none;
    list-style: none;
    padding: 5px 0 5px 15px;
    margin: 0;
    border-left: 2px solid rgba(30, 58, 138, 0.1);
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    display: block;
    padding: 8px 0;
    color: var(--text-muted) !important;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
  }

  .dropdown-menu a:hover, .dropdown-menu a.active {
    color: var(--accent) !important;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Header Specific Apply Now Button Style */
.header-wrapper .btn-primary {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--white) !important;
}

.header-wrapper .btn-primary:hover {
  background-color: var(--accent-light) !important;
  border-color: var(--accent-light) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

/* Desktop Full Height Centered Alignments */
@media (min-width: 1025px) {
  .header-container nav {
    height: 100%;
  }
  .nav-menu {
    height: 100%;
    align-items: center;
  }
  .nav-link {
    height: 100%;
	font-weight:700;
    display: flex;
    align-items: center;
    border-radius: 0;
    padding: 0 8px;
  }
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(30, 58, 138, 0.06);
  border: 2px solid rgba(30, 58, 138, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-normal);
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1001;
}

.hamburger:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--accent);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.hamburger span:nth-child(2) {
  width: 14px;
  align-self: flex-end;
}

.hamburger:hover span {
  background-color: var(--accent);
}

.hamburger:hover span:nth-child(2) {
  width: 20px;
}

.header-wrapper.scrolled .hamburger {
  background: rgba(30, 58, 138, 0.06);
  border-color: rgba(30, 58, 138, 0.2);
}

.header-wrapper.scrolled .hamburger span {
  background-color: var(--primary);
}

.header-wrapper.scrolled .hamburger:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: var(--accent);
}

.header-wrapper.scrolled .hamburger:hover span {
  background-color: var(--accent);
}

.hamburger.active {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--accent);
}

.hamburger.active span {
  background-color: var(--accent) !important;
}

/* Mobile Nav Styles */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 100px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    display: block;
    padding: 4px 0;
    color: var(--text-dark) !important;
  }
  
  .header-actions {
    margin-right: 20px;
  }
  
  .header-actions .btn-login {
    display: none;
  }
}

@media (max-width: 576px) {
  .header-actions {
    display: none;
  }
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  overflow: hidden;
  margin-top: var(--header-height);
  background-color: var(--secondary);
}

.slider-container {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
  background-color: var(--secondary);
}

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

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay for premium dark filter to pop text */
.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(249, 115, 22, 0.2) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 700px;
  padding: 0 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  transition-delay: 0.3s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4), 0 4px 30px rgba(30, 58, 138, 0.25);
  position: relative;
  display: inline-block;
}

.slide-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin-top: 15px;
  animation: expandLine 0.8s ease forwards;
  animation-delay: 0.6s;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes expandLine {
  to { transform: scaleX(1); }
}

.slide-desc {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 25px;
  opacity: 0.92;
  color: #fff;
  line-height: 1.7;
  letter-spacing: 0.2px;
  max-width: 600px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.slide-actions {
  display: flex;
  gap: 15px;
}

@media (max-width: 1024px) {
  .slide-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .slide-title {
    font-size: 2.4rem;
    letter-spacing: -0.3px;
  }
  .slide-title::after {
    width: 60px;
    height: 3px;
    margin-top: 12px;
  }
  .slide-desc {
    font-size: 1rem;
    line-height: 1.4;
  }
  .slide-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .slide-title {
    font-size: 1.65rem;
    line-height: 1.2;
  }
  .slide-desc {
    font-size: 0.92rem;
  }
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  width: 32px;
  background-color: var(--accent);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.slider-arrow-prev { left: 30px; }
.slider-arrow-next { right: 30px; }

@media (max-width: 576px) {
  .slider-arrow { display: none; }
}

/* ==========================================================================
   PAGE HERO BANNER
   ========================================================================== */
.page-hero {
  position: relative;
  height: 300px;
  margin-top: var(--header-height);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(15, 23, 42, 0.9) 60%, rgba(249, 115, 22, 0.35) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.page-hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.2rem;
  }
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
}

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

.breadcrumbs span {
  opacity: 0.6;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-buttons);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  background-color: rgba(59, 130, 246, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 15px;
}

.section-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1.1rem;
}

/* ==========================================================================
   CARDS & GRIDS STYLES
   ========================================================================== */
/* Welcome Section */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.welcome-img-wrapper {
  position: relative;
}

.welcome-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.welcome-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--accent);
  color: var(--text-dark);
  padding: 20px 30px;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  line-height: 1.2;
}

.welcome-img-badge span {
  font-size: 2rem;
  display: block;
  color: var(--primary);
}

@media (max-width: 992px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Why Choose Us Cards */
.feature-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: rgba(59, 130, 246, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.feature-info h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}

/* About Preview */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-preview-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-bullets {
  list-style: none;
  margin-bottom: 30px;
}

.about-bullets li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

.about-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: rgba(34, 197, 90, 0.1);
  color: var(--success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

@media (max-width: 992px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Academic Excellence Page/Cards */
.academic-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--primary);
  text-align: center;
}

.academic-card:nth-child(2n) { border-top-color: var(--secondary); }
.academic-card:nth-child(3n) { border-top-color: var(--accent); }

.academic-card .grade-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background-color: rgba(59, 130, 246, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 25px;
}

.academic-card:nth-child(2n) .grade-icon { background-color: rgba(59, 130, 246, 0.05); color: var(--secondary); }
.academic-card:nth-child(3n) .grade-icon { background-color: rgba(251, 191, 36, 0.05); color: var(--accent); }

.academic-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.curriculum-list {
  list-style: none;
  margin: 20px 0 30px;
  font-size: 0.9rem;
  text-align: left;
}

.curriculum-list li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
  color: var(--text-muted);
}

/* Facilities Preview / Grid */
.facility-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.facility-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.facility-card-content {
  padding: 25px;
}

.facility-card-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Admission Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.process-step h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.process-grid::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-grid::after {
    display: none;
  }
}

/* School Achievements Counters */
.stats-section {
  color: var(--white);
  text-align: center;
}

.stat-card {
  padding: 40px 20px;
}

.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 10px;
}

.stat-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Testimonials Carousel */
.testimonials-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* News & Events */
.news-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-img-wrapper {
  height: 180px;
  overflow: hidden;
  position: relative;
}

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

.news-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-content h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.news-link {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-link:hover {
  color: var(--primary);
}

/* CTA Call to Action */
.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 576px) {
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */
/* Management Cards */
.management-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 992px) {
  .management-grid {
    grid-template-columns: 1fr;
  }
}

.management-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
}

.management-img-wrapper {
  height: 320px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-light);
}

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

.management-content {
  padding: 30px;
}

.management-content h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.management-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* ==========================================================================
   ADMISSIONS PAGE STYLES (FAQ Accordion, Registration Form)
   ========================================================================== */
/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--secondary);
  transition: var(--transition-normal);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
  border-top: 1px solid var(--border-light);
}

/* Form Styles */
.form-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background-color: var(--bg-light);
  transition: var(--transition-fast);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Step Form Indicators */
.form-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.form-steps::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

.form-step-indicator {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}

.form-step-indicator.active {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-step-indicator.complete {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.form-step-panel {
  display: none;
}

.form-step-panel.active {
  display: block;
}

/* ==========================================================================
   DOCUMENTS PAGE STYLES
   ========================================================================== */
.doc-card {
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.doc-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: rgba(239, 68, 68, 0.08);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.doc-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.doc-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   GALLERY PAGE STYLES (Masonry & Lightbox)
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--white);
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 240px;
  gap: 20px;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(59, 130, 246, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  color: var(--white);
  transition: opacity var(--transition-normal);
  padding: 20px;
}

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

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

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.gallery-overlay span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  color: var(--white);
  text-align: center;
  font-size: 1rem;
}

.lightbox-close, .lightbox-arrow {
  position: absolute;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close {
  top: -40px;
  right: 0;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-arrow:hover {
  background-color: rgba(255,255,255,0.2);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ==========================================================================
   CONTACT PAGE STYLES (Split Form and Map Info)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

.contact-info-list {
  list-style: none;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: rgba(59, 130, 246, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-text h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.contact-info-text p {
  margin: 0;
}

.map-wrapper {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.map-frame {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 50px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 25px;
  position: relative;
}

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

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

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

.footer-links a {
  transition: var(--transition-fast);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo h2 {
  color: var(--white);
  font-size: 1.4rem;
  margin: 0;
}

.newsletter-form {
  margin-top: 15px;
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  background-color: rgba(255,255,255,0.05);
  color: var(--white);
  outline: none;
}

.newsletter-form button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background-color: var(--primary);
  border: none;
  color: var(--white);
  padding: 0 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--secondary);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.float-btn {
  position: fixed;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.float-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.float-whatsapp {
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--success);
  color: var(--white);
  font-size: 1.8rem;
}

.float-apply {
  bottom: 30px;
  right: 30px;
  background-color: var(--accent);
  color: var(--text-dark);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-buttons);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  gap: 8px;
}

.float-apply span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
      background-color: rgb(255 255 255);
}

@media (max-width: 576px) {
  .float-whatsapp {
    bottom: 20px;
    left: 20px;
  }
  .float-apply {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   ADMISSION ENQUIRY POPUP MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  position: relative;
  animation: modalEnter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 25px 30px;
  position: relative;
}

.modal-header h2 {
  font-size: 1.5rem;
  margin: 0 0 5px 0;
}

.modal-header p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px;
}

@keyframes modalEnter {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Alert Messages styling */
.alert-popup {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 2100;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--success);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.alert-popup.show {
  transform: translateX(0);
}

.alert-icon {
  color: var(--success);
  font-size: 1.5rem;
}

/* ==========================================================================
   ALTERNATING DARK SECTIONS
   ========================================================================== */
.section-dark {
  background-color: var(--bg-dark) !important;
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .section-title {
  color: var(--white) !important;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.6) !important;
}

.section-dark .section-tag {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--accent) !important;
}

/* Feature Cards inside Dark Section */
.section-dark .feature-card {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.section-dark .feature-card:hover {
  border-color: rgba(251, 191, 36, 0.3) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.section-dark .feature-info h3 {
  color: var(--white) !important;
}

.section-dark .feature-info p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.section-dark .feature-icon-wrapper {
  background-color: rgba(251, 191, 36, 0.1) !important;
  color: var(--accent) !important;
}

/* Academic Cards inside Dark Section */
.section-dark .academic-card {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.section-dark .academic-card h3 {
  color: var(--white) !important;
}

.section-dark .academic-card p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.section-dark .curriculum-list li {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.section-dark .academic-card .grade-icon {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.section-dark .academic-card:nth-child(1) .grade-icon {
  color: #60A5FA !important;
}

.section-dark .academic-card:nth-child(2) .grade-icon {
  color: #38BDF8 !important;
}

.section-dark .academic-card:nth-child(3) .grade-icon {
  color: var(--accent) !important;
}

.section-dark .btn-outline-primary {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background-color: transparent !important;
}

.section-dark .btn-outline-primary:hover {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--white) !important;
}

/* Facility Cards inside Dark Section */
.section-dark .facility-card {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.section-dark .facility-card-content h3 {
  color: var(--white) !important;
}

.section-dark .facility-card-content p {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Process Steps inside Dark Section */
.section-dark .process-step h3 {
  color: var(--white) !important;
}

.section-dark .process-step p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.section-dark .process-grid::after {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* News Cards inside Dark Section */
.section-dark .news-card {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.section-dark .news-content h3 {
  color: var(--white) !important;
}

.section-dark .news-content p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.section-dark .news-date {
  color: rgba(255, 255, 255, 0.5) !important;
}

.section-dark .news-link {
  color: var(--accent) !important;
}

.section-dark .news-link:hover {
  color: var(--white) !important;
}

/* Testimonial Cards inside Dark Section */
.section-dark .testimonial-card {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.section-dark .testimonial-quote {
  color: var(--white) !important;
}

.section-dark .author-name {
  color: var(--accent) !important;
}

.section-dark .author-role {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Welcome Section specifics when dark */
.section-dark .welcome-info p {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* About Preview specifics when dark */
.section-dark .about-preview-info p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.section-dark .about-bullets li {
  color: var(--white) !important;
}

.section-dark .about-bullets li::before {
  background-color: rgba(34, 197, 90, 0.2) !important;
}

/* ==========================================================================
   MOBILE VIEW TYPOGRAPHY
   ========================================================================== */
@media (max-width: 768px) {
  p {
    text-align: justify;
    text-justify: inter-word;
  }
}

/* Document Actions styling */
.doc-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .doc-card {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .doc-actions {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   POLICY PAGES STYLING
   ========================================================================== */
.policy-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.policy-content-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary);
}

.policy-content-card h2 {
  font-family: var(--font-headings);
  color: var(--primary);
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(249, 115, 22, 0.1);
  padding-bottom: 8px;
}

.policy-content-card h2:first-of-type {
  margin-top: 0;
}

.policy-content-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.policy-content-card ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.policy-content-card li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .policy-content-card {
    padding: 25px;
  }
  .policy-content-card h2 {
    font-size: 1.5rem;
  }
}

/* Trustees and Staff Directory Layouts */
.directory-section {
  padding: 80px 0;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.profile-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 40px 30px;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.profile-card.accent-border {
  border-top-color: var(--accent);
}

.profile-img-wrapper {
  position: relative;
     width: 220px;
    height: 220px;
  margin: 0 auto 20px auto;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.profile-card.accent-border .profile-img {
  border-color: var(--accent);
}

.profile-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.profile-card.accent-border .profile-initials {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-color: var(--accent);
}

.profile-info h3 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.profile-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: block;
}

.profile-qual {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 15px;
  display: block;
}

.profile-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.directory-category-title {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 50px 0 20px 0;
  text-align: left;
  border-left: 5px solid var(--accent);
  padding-left: 15px;
}

.directory-category-title:first-of-type {
  margin-top: 20px;
}

/* Facilities Page Styles */
.facilities-section {
  padding: 80px 0;
}

.facility-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.facility-full-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.facility-full-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.facility-full-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(30, 58, 138, 0.08); /* light primary blue */
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.facility-full-card:hover .facility-full-icon {
  background-color: var(--accent); /* brand orange */
  color: var(--white);
}

.facility-full-header h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin: 0;
  font-weight: 700;
}

.facility-full-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* ==========================================================================
   MANAGEMENT MESSAGE SECTIONS
   ========================================================================== */
.message-section {
  padding: 80px 0;
}

.message-section.message-alt {
  padding: 60px 0;
}

.message-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border-top: 4px solid var(--primary);
}

.message-header {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 35px 40px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.04) 0%, rgba(249, 115, 22, 0.04) 100%);
  border-bottom: 1px solid var(--border-light);
}

.message-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-author-info h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 700;
}

.message-author-name {
  display: block;
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 2px;
}

.message-author-role {
  display: block;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

.message-body {
  padding: 35px 40px 40px;
}

.message-body p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.message-greeting {
  font-weight: 600;
  color: var(--secondary) !important;
  font-size: 1.05rem !important;
}

.message-closing {
  margin-top: 25px !important;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  color: var(--secondary) !important;
  line-height: 1.7 !important;
}

/* Quote Cards */
.quote-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 40px;
  margin-bottom: 30px;
  border-left: 5px solid var(--accent);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 15px;
}

.quote-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--secondary);
  font-style: italic;
  margin: 0 0 25px 0;
  padding: 0;
  border: none;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.quote-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.quote-author strong {
  display: block;
  color: var(--secondary);
  font-size: 1rem;
}

.quote-author span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .message-header {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }
  .message-body {
    padding: 25px 20px 30px;
  }
  .message-author-info h2 {
    font-size: 1.3rem;
  }
  .quote-card {
    padding: 25px;
  }
  .quote-text {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   CONTENT WITH IMAGE LAYOUT
   ========================================================================== */
.content-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.content-image-row.reverse {
  direction: rtl;
}

.content-image-row.reverse > * {
  direction: ltr;
}

.content-image-block h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.content-image-block p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 1rem;
}

.content-image-block ul {
  margin-top: 10px;
}

.content-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.content-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.content-image-wrapper:hover img {
  transform: scale(1.04);
}

.content-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(30, 58, 138, 0.15), transparent);
  pointer-events: none;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

/* Image Gallery Strip */
.image-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.gallery-strip-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
}

.gallery-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

@media (max-width: 768px) {
  .content-image-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .content-image-row.reverse {
    direction: ltr;
  }
  .content-image-block h3 {
    font-size: 1.35rem;
  }
  .image-gallery-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .image-gallery-strip {
    grid-template-columns: 1fr;
  }
}

