@layer sections {

/* =========================================
   SLIDER (OVERLAP HEADER)
========================================= */
.home-slider {
  position: relative;
  padding: 0;
  margin-top: -80px;
  z-index: 0;
}

.home-slider .swiper {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================
   OVERLAY
========================================= */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.45)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   CONTENT
========================================= */
.slide-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 20px;
  margin-top: 80px;

  text-shadow:
    0 2px 8px rgba(0,0,0,0.7),
    0 4px 20px rgba(0,0,0,0.5);

  animation: fadeUp 1s ease;
}

.slide-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffcc00;
}

.slide-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 25px;
}

/* BUTTON */
.slide-content .btn {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.slide-content .btn:hover {
  transform: translateY(-2px);
}

/* NAV */
.swiper-button-prev,
.swiper-button-next {
  color: #fff;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   HERO
========================================= */
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.hero-text {
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius-md);
}

/* =========================================
   ABOUT
========================================= */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-content p {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.about-media img {
  width: 100%;
  border-radius: var(--radius-md);
}

/* =========================================
   PAGE HERO
========================================= */
.page-hero {
  padding: 80px 0;
  background: #111;
  color: #fff;
  text-align: center;
}

/* =========================================
   VISION & MISSION
========================================= */
.vision-mission {
  padding: var(--space-xxl) 0;
  background-color: #008080;
  color: rgba(255,255,255,0.9);
  }

.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.vision-card {
  background: var(--bg-surface);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #ffcc00;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--elevation-2);
}

.vision-card h3 {
  margin-bottom: var(--space-3);
  color: #ffcc00;
}

.vision-card p {
  color: var(--text-muted);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
  .slide-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {

  .home-slider .swiper {
    height: 75vh;
  }

  .slide-content {
    margin-top: 60px;
  }

  .slide-content h2 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .hero-inner,
  .about-inner,
  .vision-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

}

}
.lead-text {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.services img {
  max-width: 100%;
  border-radius: var(--radius-md);
}
/* =========================================
   CONTACT SECTION
========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.contact-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--elevation-1);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--elevation-2);
}

/* FORM */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}