body {
  margin: 0;
  font-family: "Carlito", sans-serif;
  background: #ffffff;
  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: #0F257B;
  margin-bottom: 15px;
  font-style: italic;
  text-transform: uppercase;
}

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);
}



/* Full-width hero image */
.hero-image {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-image .hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 900px;
}

.hero-image .hero-content h1,
.hero-image .hero-content p {
  color: #fff;
}


.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: #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;
}

.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: 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: 1px solid #ddd;
  margin: 30px 0;
}

/* 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: 1px solid #ddd;
  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;
  }
}


/* ===== 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-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: #0F257B;
}

/* ===== 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);
}

@media (max-width: 1100px) {
  .trusted-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 650px) {
  .trusted-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* ===== Quote Section ===== */
.quote-section {
  margin-top: 120px;
  padding: 90px 20px;
  background: linear-gradient(135deg, #1f3f68, #0f2044);
  color: #fff;
  border-radius: 24px;

  display: flex;              /* center content */
  justify-content: center;    /* horizontally center */
  align-items: center;        /* vertically center if needed */
  text-align: center;         /* center all text */
}

.quote-container {
  max-width: 800px;           /* narrower for centered content */
  width: 100%;
}

.quote-text h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;  /* optional uppercase styling */
}

.quote-text p {
  color: #d0dbe6;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: #1f4568;
  color: #fff;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #16344f;
}


/* Responsive */
@media (max-width: 900px) {
  .quote-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
