/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: #1e1e1e;
  background: #f8f9fa;
  line-height: 1.6;
  width: 100%;
}

a {
  text-decoration: none;
  color: #005b96;
  transition: color 0.2s;
}
a:hover {
  color: #003f6f;
}

.wrap {
  width: 100%;
  padding: 0;
}

/* Navbar */
.navbar {
  background: #003f6f;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand img {
  height: 50px;
}

.nav_wrap {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav_wrap li a {
  color: white;
  font-weight: 400;
  font-family: "Jost", sans-serif;
}
.nav_wrap .current-menu-item a {
  border-bottom: 2px solid white;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  background: url("img/hero.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero_intro {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 6px;
}

.hero_intro h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero_intro hr {
  width: 60px;
  margin: 10px auto;
  border: 1px solid white;
}

.lead {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* Page Sections */
.page_title {
  background: white;
  padding: 40px 20px;
  margin: 20px 0;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.content_area {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.intro {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.intro h2 {
  font-family: "Jost", sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003f6f;
}

.intro p {
  margin-left: 10%;
  margin-right: 10%;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #333;
}
.intro ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto 20px;
  padding-left: 20px;
  list-style-position: inside;
}

/* Feature Grid */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}

.feature_box {
  flex: 1 1 45%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.feature_box:hover {
  transform: scale(1.02);
}

.feature_content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  text-align: center;
  border-radius: 6px;
  max-width: 90%;
}

.center_box {
  flex: 0 1 60%;
  margin-top: 20px;
}

/* Buttons */
.block_btn {
  display: inline-block;
  margin-top: 15px;
  background: #005b96;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
}
.block_btn:hover {
  background: #003f6f;
}

/* Footer */
.footer {
  padding: 30px 20px;
  background: #003f6f;
  color: white;
  text-align: center;
}
.footer a {
  color: #aad4f0;
}
.footer_logo img {
  height: 40px;
  margin-bottom: 10px;
}

/* Page-specific hero backgrounds */
body.home .hero {
  background-image: url("img/hero_bg.png");
}
body.equipment .hero {
  background-image: url("img/Transfer-pump-PEG.jpg");
}
body.services .hero {
  background-image: url("img/services.jpg");
}
body.contact .hero {
  background-image: url("img/Contact-US-shutterstock_314619557.jpg");
}
body.about .hero {
  background-image: url("img/About-us-SPS-1.jpg");
}

/* Service Cards T-Shape Layout */
.service_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 0 0;
  max-width: 1400px;
  margin: 0 auto;
}

.service_card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.service_card h3 {
  font-family: "Jost", sans-serif;
  font-size: 1.5rem;
  color: #003f6f;
  margin-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 8px;
}

.service_card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 12px;
}

.service_card ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto 12px;
  padding-left: 20px;
  list-style-position: inside;
}

.service_card ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Force last two service cards to span full grid width */
.service_card:nth-child(3),
.service_card:nth-child(4) {
  grid-column: 1 / -1;
}

/* Contact Page Enhancements */
.contact_sidebar {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 40px 20px;
  text-align: center;
}

.contact_sidebar h1 {
  font-family: "Jost", sans-serif;
  font-size: 2rem;
  color: #003f6f;
  margin-bottom: 20px;
}

.contact_sidebar hr {
  width: 60px;
  margin: 0 auto 20px;
  border: 1px solid #003f6f;
}

.contact_sidebar p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #333;
}

.contact_sidebar .contact_details,
.contact_sidebar .social_contact {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact_sidebar .contact_details li,
.contact_sidebar .social_contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact_sidebar img {
  height: 24px;
  width: 24px;
}
.contact_card_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.contact_card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  width: 300px;
  transition: transform 0.2s ease;
}

.contact_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.contact_card img {
  width: 40px;
  height: auto;
  margin-bottom: 20px;
}

.contact_card h3 {
  font-family: "Jost", sans-serif;
  font-size: 1.2rem;
  color: #003f6f;
  margin-bottom: 10px;
}

.contact_card p {
  font-size: 1.05rem;
  color: #333;
}
.bullet_image_row {
  display: flex;
  justify-content: center; /* ✅ Center the row */
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 800px; /* ✅ Limit width */
  margin: 0 auto 16px auto; /* ✅ Center within the card */
}

.bullet_image_row ul {
  list-style: disc;
  list-style-position: inside;
  padding-left: 0;
  margin: 20px 0 0 0; /* ✅ Adds space at the top */
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 300px;
  text-align: left;
}

.orbital_image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: -35px;
}

/* ------------------------------
   Responsive: Tablets & Phones
------------------------------ */

/* For tablets (≤ 1024px) */
@media (max-width: 1024px) {
  .nav_wrap {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature_grid {
    flex-direction: column;
    gap: 30px;
    padding: 40px 10px;
  }

  .feature_box,
  .center_box {
    flex: 1 1 100%;
    min-height: 200px;
  }

  .service_grid {
    grid-template-columns: 1fr;
    padding: 40px 10px;
  }

  .intro {
    padding: 30px 10px;
  }

  .intro p {
    margin-left: 0;
    margin-right: 0;
    font-size: 1rem;
  }

  .hero_intro {
    padding: 20px;
  }

  .hero_intro h1 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1rem;
  }

  .service_card {
    padding: 20px;
  }

  .service_card h3 {
    font-size: 1.3rem;
  }

  .service_card p,
  .service_card li {
    font-size: 1rem;
  }
}

/* For phones (≤ 600px) */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .nav_wrap {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav_wrap li {
    padding: 5px 0;
  }

  .hero {
    height: auto;
    padding: 30px 15px;
    text-align: center;
  }

  .hero_intro {
    padding: 20px 10px;
  }

  .hero_intro h1 {
    font-size: 1.3rem;
  }

  .feature_box {
    min-height: 180px;
  }

  .footer {
    padding: 20px 15px;
  }

  .footer_logo img {
    height: 35px;
  }

  .footer_details p,
  .footer a {
    font-size: 0.95rem;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .service_card img {
    width: 100%;
    margin: 10px 0 0;
  }
}
/* Burger menu styles */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

/* Small screens */
@media (max-width: 768px) {
  .nav_wrapper {
    display: flex;
    align-items: center;
    position: relative; /* ✅ add this */
    width: 100%;
  }

  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .burger {
    display: block;
    z-index: 1000;
  }

  .nav_wrap {
    flex-direction: column;
    background-color: #003f6f;
    width: 100%;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }

  .nav_wrap.active {
    display: flex;
  }

  .nav_wrap li {
    padding: 10px 20px;
  }
}
