body{
  box-sizing: border-box;
}
.hero-carousel {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-content {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.678);
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
  margin-right: 20PX;
  left: 20px;
  bottom: 50px;
}

.carousel-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #03072c;
}

.carousel-content p {
  font-size: 1rem;
  color: #444;
}

.home-sections {
  padding: 60px 20px;
  background-color: #f8f8fa;
}

.section-intro {
  text-align: center;
  margin-bottom: 40px;
}

.section-intro h2 {
  font-size: 2rem;
  color: #3d3d3d;
}

.section-intro p {
  max-width: 600px;
  margin: auto;
  color: #444;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.cardy {
  background: #fff;
  border-top: 5px solid #007bff;
  border-radius: 8px;
  padding: 20px;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cardy:hover {
  border-top: 5px solid #0056b3;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.cardy h3 {
  color: #007bff;
  margin-bottom: 10px;
}

.cardy p {
  color: #444;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Add this to your existing style.css */
.hero-carousel {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-content {
  background-color: rgba(255, 255, 255, 0.88);
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
}

.carousel-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #03072c;
}

.carousel-content p {
  font-size: 1rem;
  color: #444;
}

.split-section {
  padding: 80px 20px;
  background: #fff;
}

.split-section.alt {
  background-color: #f5f6f8;
}

.split-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

.split-text {
  flex: 1 1 50%;
}

.split-text h2 {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 20px;
}

.split-text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.split-text ul {
  list-style: disc;
  padding-left: 20px;
  color: #444;
  font-size: 0.96rem;
}

.split-image {
  flex: 1 1 45%;
  text-align: center;
}

.split-image img {
  width: 100%;
  max-width: 500px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.image-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;

}

.overlay-banner {
  background: rgba(255, 255, 255, 0.88);
  padding: 40px;
  max-width: 700px;
  text-align: center;
  border-radius: 8px;
}

.overlay-banner h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #03072c;
}

.overlay-banner p {
  font-size: 1.1rem;
  color: #474747;
}

.image-banner.dark .overlay-banner {
  background: rgba(0, 0, 0, 0.6);
}

.image-banner.dark .overlay-banner h2,
.image-banner.dark .overlay-banner p {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .split-content {
    flex-direction: column;
  }
  .split-text,
  .split-image {
    flex: 1 1 100%;
  }
  .split-text {
    order: 2;
  }
  .split-section.alt .split-text {
    order: 1;
  }
  h2{
    font-size: 1.5rem;
  }
  .overlay-banner {
  padding: 20px;
}
}

