/**
 * Maharashtra Samaj Seva Sangh, Nashik
 * Main Stylesheet - Clean, institutional design
 * Theme: #005A34 (used sparingly for CTAs, links, key accents)
 */

/* ========== CSS Variables ========== */
:root {
  --color-primary: #005A34;
  --color-primary-dark: #004428;
  --color-accent: #0d7a4a;
  --color-text: #2d3748;
  --color-text-light: #4a5568;
  --color-bg: #ffffff;
  --color-bg-soft: #f7fafc;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease;
}

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Urbanist', -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

/* ========== Skip to Content (Accessibility) ========== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========== Navbar - Creative & Accessible ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  box-shadow: 0 1px 0 rgba(0, 90, 52, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.navbar.scrolled::after {
  opacity: 1;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding: 0.25rem 0rem;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0;
}

.nav-logo:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 6px;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (min-width: 480px) {
  .nav-logo-text {
    font-size: 1.05rem;
  }
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-menu a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-menu a:hover {
  color: var(--color-primary) !important;
  background: rgba(0, 90, 52, 0.1) !important;
}

.nav-menu a.active {
  color: var(--color-primary) !important;
  background: rgba(0, 90, 52, 0.12) !important;
  font-weight: 600;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(0, 90, 52, 0.06), rgba(13, 122, 74, 0.08));
  border: 1px solid rgba(0, 90, 52, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-toggle:hover {
  background: rgba(0, 90, 52, 0.12) !important;
  color: var(--color-primary) !important;
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.hamburger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
  border-top: 3px solid var(--color-primary);
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  padding: 0.85rem 1.25rem;
  color: var(--color-text);
  font-weight: 500;
  border-radius: 8px;
  transition: background var(--transition);
}

.nav-mobile a {
  color: var(--color-text) !important;
}

.nav-mobile a:hover,
.nav-mobile a:focus {
  background: rgba(0, 90, 52, 0.08) !important;
  color: var(--color-primary) !important;
}

.nav-mobile a.active {
  color: var(--color-primary) !important;
  font-weight: 600;
}

.nav-mobile .lang-toggle {
  margin: 0.5rem 1.25rem 0;
  align-self: flex-start;
}

/* ========== Hero Slider - Let images shine, minimal overlay ========== */
.hero {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}

.hero .swiper {
  width: 100%;
  height: 85vh;
  min-height: 450px;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a2e;
}

.hero-slide[data-slide="1"],
.hero-slide[data-slide="2"],
.hero-slide[data-slide="3"] {
  background-color: #1a1a2e;
}

.hero-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle dark overlay - keeps images visible, ensures text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

/* Hero content - no glass effect */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 680px;
}

.trust-section {
  background: var(--color-bg-soft);
}

.hero-content h1 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}




@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 2.85rem;
    letter-spacing: -0.02em;
  }

  .nav-logo img {
    height: 74px;
    width: auto;
  }
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 90, 52, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--color-primary);
  color: #fff;
}

.btn-accent:hover {
  background: var(--color-primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ========== Section Titles ========== */
.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ========== Cards ========== */
.card {
  background: var(--color-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* Trust & Registration Cards */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem;
  transition: border-color var(--transition);
}

.trust-card:hover {
  border-color: var(--color-accent);
}

.trust-card strong {
  display: block;
  font-size: 0.8rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.trust-card span {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ========== Schools Grid ========== */
.schools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .schools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .schools-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.school-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
}

.school-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.school-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.school-type {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
 
}
.visit-website-btn{
  float: right;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.comming-soon{
  float: right;
  font-weight: 500;
  margin-bottom: 10px;
  color: #999999;
}
.school-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.school-card .btn {
  width: 100%;
}

.school-card .badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--color-bg-soft);
  color: var(--color-text-light);
  border-radius: 6px;
}

/* ========== Timeline ========== */
.timeline {
  position: relative;
  padding-left: 2rem;
}

@media (min-width: 768px) {
  .timeline {
    padding-left: 3rem;
  }
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 12px;
  }
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-bg);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .timeline-dot {
    left: -3rem;
    width: 18px;
    height: 18px;
  }
}

.timeline-year {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.timeline-content {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ========== Gallery Grid - Creative, user-friendly ========== */
.gallery-section {
  padding: 3rem 0 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 90, 52, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  z-index: 2;
  transition: transform 0.3s ease;
}

.gallery-item:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Lightbox - High visibility, user-friendly ========== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.active {
  display: flex;
  flex-direction: column;
}

.lightbox-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 95vw;
  max-height: calc(100vh - 80px);
}

.lightbox-content img {
  max-width: 100%;
  max-height: calc(100vh - 100px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-content video {
  max-width: 100%;
  max-height: calc(100vh - 100px);
  width: auto;
  height: auto;
  border-radius: 4px;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

.lightbox-hint {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  z-index: 2001;
}

/* ========== Contact Page ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card {
  background: var(--color-bg-soft);
  border-radius: 8px;
  padding: 1.5rem;
}

.contact-info-card h3 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail strong {
  min-width: 90px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  flex-shrink: 0;
}

.contact-detail strong i {
  color: var(--color-primary);
  margin-top: 0.15em;
}

/* Contact Form */
.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--color-bg-soft);
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-top: 2rem;
}

/* ========== Stats Section - White background, theme color text ========== */
.stats-section {
  background: #fff;
  padding: 3rem 0;
  margin: -152px auto 0 auto;
  box-shadow: var(--shadow-md);
  border-radius: 20px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.45rem;


}

.stat-icon {
  font-size: 1.5rem;
  padding: 0.75rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #0d8d5830;
  color: var(--color-primary-dark);
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
  color: var(--color-primary-dark);
}

.stat-number-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 1.8rem;
  }
}

.stat-label {
  font-size: 1rem;
  color: var(--color-primary-dark);
  font-weight: 500;
  opacity: 0.9;
}

/* ========== About with Image Section ========== */
.about-with-image {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-with-image {
    grid-template-columns: 1fr 1fr;
  }
}

.about-with-image.reverse {
  direction: rtl;
}

.about-with-image.reverse>* {
  direction: ltr;
}

.about-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about-image-wrap img {
    height: 320px;
  }
}

.about-image-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 90, 52, 0.9);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ========== Schools Preview on Home ========== */
.schools-preview {
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.school-card-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.shcool-img {
  width: 100%;
  height: 160px;
  margin-bottom: 1.5rem;
}

.shcool-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 600px) {
  .schools-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .schools-preview {
    grid-template-columns: repeat(4, 1fr);
  }
}

.school-preview-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.school-preview-card {
  color: inherit;
}

.school-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.school-preview-card:hover .school-preview-body h3,
.school-preview-card:hover .school-preview-body .school-type {
  color: var(--color-primary) !important;
}

.school-preview-card .school-preview-body .school-type {
  color: var(--color-text-light);
}

.school-preview-img {
  height: 140px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 2.5rem;
}

.school-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school-preview-body {
  padding: 1.25rem;
}

.school-preview-body h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--color-primary);
}

.school-preview-body .school-type {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ========== Section Accent ========== */
.section-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-accent-line {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.section-accent-icon {
  font-size: 1.1rem;
  color: var(--color-primary);
}

/* ========== Footer - Creative Multi-column ========== */
.footer {
  background: linear-gradient(180deg, #003d24 0%, #002d1a 100%);
  color: #fff;
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #86efac !important;
}

.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.95) !important;
}

.footer-contact a:hover {
  color: #86efac !important;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ========== Page Header ========== */
.page-header  {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  height: 100%;
  position: relative;
}


.page-header .container{
  z-index: 2;
  position: relative;
}
.page-header{
  background-image: url(../images/hero-bg/about-bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-header h1 {
  color: var(--color-bg);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 800;
}

.page-header p {
  opacity: 0.9;
  font-size: 0.9rem;
}

/* ========== Hero Slider UI ========== */
.hero-slider-ui {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.hero-pagination {
  position: static !important;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.hero .hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero .hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.hero .swiper-button-prev,
.hero .swiper-button-next {
  color: #fff;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

.hero .swiper-button-prev:hover,
.hero .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero .swiper-button-prev::after,
.hero .swiper-button-next::after {
  font-size: 1rem;
  font-weight: 700;
}

/* ========== Utility Classes ========== */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mb-2 {
  margin-bottom: 1rem;
}