body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #2f2f2f;
  line-height: 1.6;
}

main {
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: "Agdasima", sans-serif;
  color: #000;
  margin-bottom: 15px;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #2a5d8f;
  text-decoration: none;
}

/* a:hover {
  color: #8b5e2b;
} */

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #2a5d8f;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background: #1f4568;
  transform: translateY(-2px);
}

.hero {
  background: url("../images/banner.jpg") center/cover no-repeat;
  min-height: 50vh;   /* was 85vh */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin: 0;          /* ensure no extra spacing */
  padding: 40px 20px; /* keeps balance but less empty space */
}

.hero-text {
  background: rgba(0,0,0,0.55);
  padding: 40px 30px;
  border-radius: 12px;
  max-width: 1000px;
  animation: fadeIn 1s ease-in-out;
}

/* .hero-text h1{
  font-size: 4rem !important;
} */

.hero-text p{
  font-size: 1.25rem !important;
}

/* Hero Band (Below Slideshow) */
.hero-band {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: url("../images/home-image.png") center / cover no-repeat;
  min-height: 240px;   /* shorter than image-facts */
  position: relative;
}
.hero-band-overlay {
  background: rgba(30, 70, 120, 0.7);
  /* background: rgba(173, 216, 230, 0.7); */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-band-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
  color: #fff;
}

.hero-band-content h1 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  color: #fff;
}

.hero-band-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #e6edf4;
}
@media (max-width: 650px) {
  .hero-band {
    min-height: auto;
  }

  .hero-band-content {
    padding: 35px 15px;
  }

  .hero-band-content h1 {
    font-size: 2rem;
  }

  .hero-band-content p {
    font-size: 1rem;
  }
}


.home-logo {
  max-width: 700px;
}

.det-font {
  font-family: "Inter", sans-serif;
  font-size: 4rem !important;
}

.lower {
  font-size: 3rem !important;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
  text-align: center;
}

.features img {
  width: 100%;          /* stretch full width of .feature */
  height: auto;         /* keep aspect ratio */
  display: block;       /* removes inline gaps */
  margin: 0;            /* no extra spacing */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  object-fit: cover;    /* makes sure the image fills neatly */
}

.feature {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;     /* ensures img corners align with container */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  padding: 0 0 25px;    /* remove padding at top so image sits flush */
}

.feature:hover {
  transform: translateY(-5px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}


/* Why Choose Us */
.why-us {
  margin-top: 80px;
  text-align: center;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.why-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.why-card i {
  font-size: 40px;
  color: #2a5d8f;
  margin-bottom: 15px;
}
.why-card:hover {
  transform: translateY(-5px);
}

/* Testimonials */
.testimonials {
  margin-top: 80px;
  text-align: center;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.testimonial {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  font-style: italic;
}
.testimonial span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-style: normal;
  color: #555;
}

/* CTA Section */
.cta {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  margin-top: 80px;
  border-radius: 12px;
}
.cta h2 {
  margin-bottom: 15px;
  color: #fff !important;
}
.cta p {
  margin-bottom: 25px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  height: 60vh;
  overflow: hidden;
  margin-bottom: 40px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.slides {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Hero Content (Below Slideshow) */
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 30px;
}

@media (max-width: 650px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}


/* Features (Neutralized) */
.feature {
  background: #f4f6f8;
  box-shadow: none;
  border: 1px solid #e0e0e0;
}

/* Why Section - Clean Industrial Style */
.why-section {
  margin-top: 90px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.why-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
}

.why-item {
  padding: 10px 0 30px;
}

.why-item h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #222;
}

.why-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  max-width: 700px;
}

.why-section hr {
  border: none;
  border-top: 2px solid #2a5d8f;
  margin: 30px 0;
}

/* Image Facts Section */
.image-facts {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: url("../images/home-image.png") center / cover no-repeat;
  min-height: 280px;   /* keeps it from being tall */
  position: relative;
}

.image-facts-overlay {
  background: rgba(30, 70, 120, 0.75); /* industrial blue overlay */
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.image-facts-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
/* Fact Cards */
.fact-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.fact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #1f4568;
}

.fact-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .image-facts-content {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .image-facts {
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .why-section h2 {
    font-size: 1.9rem;
  }

  .why-item h3 {
    font-size: 1.4rem;
  }
}


/* Featured Categories (Editorial Style) */
.featured-categories {
  margin-top: 70px;
}

.featured-categories h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 50px;
}

.category-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
  margin: 50px 0;
}

.category-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.category-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.category-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  max-width: 520px;
}

.category-text a {
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
  color: #2a5d8f;
}

.category-image img {
  max-width: 200px;
  border-radius: 12px;
  object-fit: cover;
}

.featured-categories hr {
  border: none;
  border-top: 2px solid #2a5d8f;
  margin: 40px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .category-row,
  .category-row.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .category-text p {
    margin: 0 auto;
  }
}


/* Testimonials */
.testimonials {
  margin-top: 60px;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.testimonial {
  background: #fafafa;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-style: italic;
}





/* Mobile Styles: 650px and below */
@media (max-width: 650px) {
  main {
    padding: 15px 10px;
  }

  .hero-text {
    padding: 25px 15px;
  }

  .hero-text p{
    font-size: .8rem !important;
  }

  .btn-primary{
    font-size: .8rem !important;
  }

  .det-font {
    font-size: 3rem !important;
  }

  .home-logo {
    max-width: 300px;
  }

  .lower {
    font-size: 1.8rem !important;
  }

  .features {
    gap: 20px;
  }

  .why-grid, .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta {
    padding: 40px 15px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}
