/* ====== Intro section ====== */
.intro {
  height: 100%;
  text-align: center;
}
/* ====== END Intro section ====== */

/* ====== Image Carousel ====== */
.carousel {
  max-width: 90%;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Fix: give the container height so it's visible */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.carousel-container img {
  will-change: opacity;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.carousel-container img.current-slide {
  display: block;
  opacity: 1;
  z-index: 2;
}
/* ====== END Image Carousel ====== */

.about-us {
  height: 100%;
  color: #ffffff;
  background-color: #030f21;
  padding: 80px 40px;
}

.about-us-inner {
  max-width: 1000px;
  margin: auto;
}

.about-us .about-us-inner h2 {
  font-size: 3.0em;
  margin-bottom: 10px;
}

.about-us .about-us-inner h3 {
  font-size: 1.6em;
  margin-bottom: 20px;
}

.about-us .about-us-inner p {
  font-size: 18px;
}

/* Services section */
.services {
  height: 100%;
  background: #f0f0f0;
  padding: 60px 20px;
  text-align: center;
}

.services-inner {
  max-width: 1000px;
  margin: auto;
  padding-bottom: 20px;
}

.services .services-inner h2 {
  font-size: 3.0em;
  margin-bottom: 10px;
}

.services .services-inner h3 {
  font-size: 1.6em;
  margin-bottom: 20px;
}

.services .services-inner p {
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px auto;          /* center the grid container */
  max-width: 800px;           /* keeps it centered on large screens */
  justify-content: center;    /* centers grid items in available space */
}

.service-item img {
  width: 100%;
  height: 200px;        /* pick a size that fits your layout */
  object-fit: cover;    /* keeps aspect ratio but crops edges */
  border-radius: 6px;
}


.service-item h4 {
  margin: 10px 0 0 0;
  font-size: 1.1em;
  font-weight: bold;
}
