 .hero-section {
      position: relative;
      background-image: url('../img/service/bgs.png');
      height: 75vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      padding: 40px 0;
    }

    /* Black overlay for readability */
    .hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradient overlay: blue from left fading to transparent */
  background: linear-gradient(to right, rgba(0, 50, 150, 0.6) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
  z-index: 1;
}


    .hero-content {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 85%;
      max-width: 1200px;
      gap: 40px;
    }

    /* Left text styling */
    .hero-text {
      flex: 1;
    }

    .hero-text h1 {
      font-size: 32px;
      font-weight: bold;
      margin-bottom: 10px;
      color: #fff;
      line-height: 1.2;
    }

    .hero-text p {
      font-size: 16px;
      line-height: 1.5;
      margin-bottom: 10px;
      color: #ddd;
    }

    .hero-text strong {
      color: #fff;
      font-size: 18px;
    }

    /* Right form styling (with border and compact look) */
    .hero-form {
      flex: 0 0 400px;
      background: #fff;
      color: #000;
      padding: 20px;
      border-radius: 8px;
      border: 1px solid #e0e0e0;  /* light border */
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .hero-form h2 {
      color: #d10000;
      margin-bottom: 15px;
      font-size: 20px;
      text-align: center;
    }

    .hero-form input,
    .hero-form textarea,
    .hero-form select {
      width: 100%;
      margin-bottom: 12px;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 14px;
    }

    .hero-form textarea {
      resize: vertical;
    }

    /* Submit button */
    .hero-form button {
      background: #001f3f;
      color: #fff;
      padding: 10px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 14px;
      width: 100%;
    }

    .hero-form button:hover {
      background: #004080;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .hero-content {
        flex-direction: column;
        text-align: center;
      }

      .hero-form {
        margin-top: 20px;
        width: 90%;
      }
    }
	/* Breadcrumb styling */
.breadcrumb {
  font-size: 14px;
  color: #FFF;
  margin-bottom: 15px;
}
.breadcrumb a {
  color: #fff;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* Heading & line */
.hero-text h1 {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #fff;
}
.hero-text .line {
  width: 60px;
  height: 2px;
  background: #fff;
  margin: 10px 0 15px;
}

/* Subtitle */
.hero-text .subtitle {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #fff;
}

/* Chat section */
.chat-now {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #fff;
}
.chat-icon {
  background: #00274d;
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}


.controls-assurance-hero {
  background: #fff;
  padding: 50px 0 50px 0;
  width: 100%;
}
.ca-hero-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 60px;
}
.ca-hero-text {
  flex: 1;
  color: #17413b;
}
.ca-hero-text h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.ca-hero-text p {
  font-size: 1.14rem;
  margin-bottom: 16px;
  line-height: 1.6;
  color: #31525b;
  text-align:justify;
}
.ca-hero-image {
  flex: 1.3;
  display: flex;
  justify-content: flex-end;
}
.ca-hero-image img {
  width: 550px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 4px 36px rgba(0, 50, 80, 0.13);
}

/* Responsive styles */
@media (max-width: 1100px) {
  .ca-hero-image img {
    width: 400px;
  }
}
@media (max-width: 900px) {
  .ca-hero-inner {
    flex-direction: column;
    gap: 36px;
    padding: 0 10px;
  }
  .ca-hero-image {
    justify-content: center;
    width: 100%;
  }
  .ca-hero-image img {
    width: 100%;
    max-width: 500px;
  }
  .ca-hero-text h1 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .controls-assurance-hero {
    padding: 24px 0 30px 0;
  }
  .ca-hero-text h1 {
    font-size: 1.3rem;
  }
  .ca-hero-image img {
    max-width: 100%;
    min-width: 0;
  }
  .ca-hero-text p {
    font-size: 0.97rem;
  }
}

  .service-section {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
  }

  .underline {
    width: 60px;
    height: 3px;
    background: #004080; /* Blue underline */
    margin: 0 auto 40px;
  }

  .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center; /* center cards when fewer */
}


  .service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 300px; /* Ensures equal card height */
  }

  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .service-card .icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .service-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #004080; /* Blue title */
    text-align: center;
  }

  .service-card p {
    font-size: 14px;
    color: #555;
    text-align: justify;
    line-height: 1.5;
    flex: 1;
    
  }

  /* Responsive adjustments */
  @media (max-width: 1024px) {
    .service-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    }
  }

  @media (max-width: 600px) {
    .service-grid {
      grid-template-columns: 1fr; /* 1 per row on mobile */
    }
  }




   .services-section {
    text-align: center;
    background-color: #0B243A; /* Background color */
    padding: 50px 20px;
}

.services-title {
    font-size: 32px;
    margin-bottom: 40px;
	color: white;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    justify-items: center;
}

.service-item {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.service-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.service-item:hover .service-image {
    transform: scale(1.05); /* Zoom effect on hover */
}

.text-container {
    position: absolute;
    bottom: -30px; /* Move the text container slightly down */
    left: 50%;
    transform: translateX(-50%); /* Center the text container horizontally */
    width: 80%; /* Adjust the width to fit your desired size */
    background-color: white; /* Default white background */
    color: black; /* Default text color */
    padding: 15px;
    border-radius: 8px 8px 8px 8px; /* Slightly curved top corners */
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box; /* Ensures padding is included in the width calculation */
}

.service-item:hover .text-container {
    background-color: #006d60; /* Change to teal on hover */
    transition: background 0.2s;
}
.service-item:hover .service-title {
    color: #fff; /* Title turns white */
    transition: color 0.2s;
}


.service-title {
    font-size: 18px;
    font-weight: bold;
	color: black;
	
}

/* Expert Box Styles */
.expert-box {
    position: relative;
    width: 100%;
    max-width: 300px;
    background-color: #C41E1E; /* Red background */
    border-radius: 8px;
    text-align: center;
    padding: 30px 20px;
    color: white;
}

.expert-title {
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
}

.expert-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: white;
    color: #006d60; /* Our background blue color */
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: 2px solid #006d60;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.expert-btn:hover {
    background-color: #006d60; /* Background turns blue */
    color: white; /* Text turns white */
    border-color: #006d60; /* Border matches */
}



/* ================================
   Sub-Services Section Styles
   ================================ */
.services-section {
  text-align: center !important;
  background-color: #0B243A !important; /* Dark background */
  padding: 50px 20px !important;
}

.services-title {
  font-size: 32px !important;
  margin-bottom: 40px !important;
  color: #fff !important;
}

.services-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Each card */
.service-item {
  flex: 0 0 calc(33.333% - 24px) !important; /* 3 per row */
  margin: 12px !important;
  position: relative !important;
  max-width: 360px !important;
}

.image-wrapper {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
}

.service-image {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transition: transform 0.3s ease !important;
  border-radius: 8px !important;
}

.service-item:hover .service-image {
  transform: scale(1.05) !important; /* Zoom effect */
}

/* White box under image */
.text-container {
  position: absolute !important;
  bottom: -30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 80% !important;
  background-color: #fff !important;
  color: #000 !important;
  padding: 15px !important;
  border-radius: 8px !important;
  text-align: center !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
  box-sizing: border-box !important;
}

.service-item:hover .text-container {
  background-color: #006d60 !important; /* teal hover */
}

.service-item:hover .service-title {
  color: #fff !important;
}

.service-title {
  font-size: 18px !important;
  font-weight: bold !important;
  color: #000 !important;
  margin: 0 !important;
}

/* -------- Responsive -------- */
@media (min-width: 1025px) {
  /* Push left & right cards inward */
  .services-container .service-item:nth-child(3n+1) {
    margin-left: 36px !important;
  }
  .services-container .service-item:nth-child(3n) {
    margin-right: 36px !important;
  }
}

@media (max-width: 1024px) {
  .service-item {
    flex: 0 0 calc(50% - 24px) !important; /* 2 per row */
  }
  .services-container .service-item {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
}

@media (max-width: 600px) {
  .service-item {
    flex: 0 0 100% !important; /* 1 per row */
  }
}
