body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  /* font-style: italic; */
  background: #ffffff;
  /* background: #e0e0e0; */
  /* background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #979797 40%,
    #a4d8f7 100%
  ); */
  color: #2f2f2f;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: "Carlito", sans-serif;
  color: #000;
  margin-bottom: 15px;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #0077b6;
  text-decoration: none;
}

/* a:hover {
  color: #8b5e2b;
} */

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #0077b6;
  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;
}

/* Full-width hero image */
.hero-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 35vh; /* shorter height */
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature h3 {
  margin: 12px 0 4px;   /* tighter spacing */
  font-size: 1.3rem;
  /* color: #fff; */
  /* color: #0F257B; */
  color: #000;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  /* color: #0F257B; */
  /* color: #fff; */
  color: #000;
}



/* .hero-text h1{
  font-size: 4rem !important;
} */

.hero-text p{
  font-size: 1.25rem !important;
}

.home-logo {
  max-width: 700px;
}

.det-font {
  font-family: "Carlito", sans-serif;
  font-size: 4rem !important;
}

.lower {
  font-size: 3rem !important;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 60px;
  text-align: center;
}

.features img {
  width: 100%;          /* stretch full width of .feature */
  height: 350px;          /* 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 10px;    /* 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: #0077b6;
  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;
}

.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;
}




/* Features (Neutralized) */
.feature {
  /* background: linear-gradient(135deg, #1f4568, #0f2a44); */
  background: #f2f5f8;
  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 #0077b6;
  margin: 30px 0;
}




/* 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: #0077b6;
}

.category-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.featured-categories hr {
  border: none;
  border-top: 2px solid #0077b6;
  margin: 40px 0;
}




/* 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;
}








/* ===== Modern Why Section ===== */
.why-modern {
  margin-top: 100px;
  padding: 80px 20px;
  background: #f2f5f8;
  border-radius: 20px;
}

.why-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.why-header h2 {
  font-size: 2.4rem;
}

.why-header p {
  color: #555;
  font-size: 1.1rem;
}

.why-header h2 img {
  max-height: 40px;
  vertical-align: middle; /* aligns image vertically with text */
  margin-bottom: 5px; /* optional spacing around the image */
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.why-box {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.why-box h3 {
  margin-bottom: 10px;
  /* color: #1f4568; */
  color: #0077b6;
}

/* ===== Trusted Companies ===== */
.trusted {
  margin-top: 100px;
  text-align: center;
}

.trusted h2 {
  margin-bottom: 40px;
}

/* Trusted Logos */
.trusted-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* ALWAYS 5 per row */
  gap: 30px;
  align-items: center;
}

.logo-box {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  /* opacity: 0.85;
  transition: all 0.3s ease; */
}

/* .logo-box img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
} */




/* ===== Quote Section ===== */
.quote-section {
  margin-top: 120px;
  padding: 90px 20px;
  /* background: linear-gradient(135deg, #1f4568, #0f2a44); */
  background: linear-gradient(135deg, #1f3f68, #0f2044);
  color: #fff;
  border-radius: 24px;
}

.quote-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.quote-text h2 {
  color: #fff;
  font-size: 2.5rem;
}

.quote-text p {
  color: #d0dbe6;
  font-size: 1.1rem;
}

.quote-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  color: #000;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-family: inherit;
}

.quote-form textarea {
  resize: none;
  height: 120px;
}

.quote-form button {
  width: 100%;
  padding: 15px;
  background: #1f4568;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.quote-form button:hover {
  background: #16344f;
}


@media (max-width: 650px) {

  main {
    padding: 0 15px;
    max-width: 100%;
  }

  h1, h2, h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.95rem;
  }

  .hero-text {
    padding: 20px 15px;
  }

  .hero-image {
    width: 100%;
    margin-left: 0;
  }

  .hero-text h1 {
    font-size: 1.8rem !important;
  }

  .hero-text p {
    font-size: 1rem !important;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature img {
    height: auto; 
  }

  .featured-categories .category-row,
  .featured-categories .category-row.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-text h3 {
    font-size: 1.4rem;
  }

  .category-text p {
    font-size: 0.95rem;
  }

  .why-section h2 {
    font-size: 1.8rem;
  }

  .why-item h3 {
    font-size: 1.3rem;
  }

  .why-item p {
    font-size: 0.95rem;
  }

  .why-modern h2 {
    font-size: 1.8rem;
  }

  .why-modern p {
    font-size: 0.95rem;
  }

  .quote-container {
    grid-template-columns: 1fr; 
    gap: 30px;
  }

  .quote-text h2 {
    font-size: 1.8rem;
  }

  .quote-text p {
    font-size: 0.95rem;
  }

  .quote-form {
    padding: 25px;
  }

  .quote-form button {
    padding: 12px;
    font-size: 0.95rem;
  }

  .trusted-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

}