  /* Hero Banner */
 .biharweb{
    background-image: url(/bihar/image/bhagalpur.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
 }
 .box-hero {
    max-width: 500px;
    margin: 5em auto;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff, #f2f2f2);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease-in-out;
    color: #222;
  }

  .box-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }

  .box-hero span {
    display: inline-block;
    font-size: 14px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color: #d52327;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .box-hero h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: "Lato", sans-serif;
    color: #2a5eef;
    line-height: 1.3;
  }

  .box-hero p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-family: "Lato", sans-serif;
    line-height: 1.5;
  }

  .box-hero .cta-btn {
    display: inline-block;
    padding: 10px 22px;
    font-size: 15px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color: #fff;
    background-color: #d52327;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px #a31b1e;
    transition: background-color 0.3s;
  }

  .box-hero .cta-btn:hover {
    background-color: #bb1e21;
  }

  @media (max-width: 576px) {
    .box-hero {
      margin: 2em 1em;
      padding: 20px;
    }

    .box-hero h1 {
      font-size: 22px;
      font-family: "Lato", sans-serif;
    }

    .box-hero p {
      font-size: 14px;
    }
  }
 .box-hero-form{ 
  margin: 60px;
 }
  .callback-form {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .callback-form h4 {
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
    font-family: "Lato", sans-serif;
  }

  .underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, transparent, #f7b731, transparent);
    margin: 0 auto 20px;
    border-radius: 2px;
  }

  .callback-form .form-control {
    background-color: #fff;
    border: none;
    border-radius: 4px;
    margin-bottom: 15px;
    height: 38px;
  }

  #quoteForm textarea.form-control {
    height: 32px;
    resize: none;
    overflow: hidden;
    white-space: nowrap;
    padding-top: 6px; /* optional: align text vertically */
  }

  .callback-form .btn {
    background-color: #d52327;
    border: none;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 4px #a31b1e;
    transition: all 0.2s;
  }

  .callback-form .btn:hover {
    background-color: #bb1e21;
  }

  .d-grid {
    display: grid;
  }
/* hero-breadcumb */
.hero-breadcumb {
    background-color: #EDEDED;
    padding: 15px 0;
    color: #000;
  }

  .hero-breadcumb .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
  }

  .hero-breadcumb .breadcrumb a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-family: "Lato", sans-serif;
  }

  .hero-breadcumb .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #000;
    opacity: 0.6;
    font-family: "Lato", sans-serif;
  }

  .hero-breadcumb .breadcrumb-item.active {
    color: #208105ff;
    font-weight: 600;
    font-family: "Lato", sans-serif;
  }

  .hero-breadcumb .right-link {
    text-align: right;
    display: flex;
    justify-content: end;
    font-family: "Lato", sans-serif;
    align-items: center;
    height: 100%;
  }

  .hero-breadcumb .right-link a {
    color: #000;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
  }

  .hero-breadcumb .right-link a:hover {
    color: #ffd700;
  }

  @media (max-width: 767.98px) {
    .hero-breadcumb .col-6 {
      width: 100%;
      text-align: center;
      margin-bottom: 10px;
    }

    .hero-breadcumb .right-link {
      justify-content: center;
    }
  }
/* hero-area */
.hero-tab{
  background-color: #EDEDED;
  padding: 15px;
}
.hero-tab1{
  background-color: #6d8cf2ff;
  padding: 5px;
  border-radius: 12px;
}

    .nav-pills .nav-link {
      color: #333;
      background-color: transparent;
      border-radius: 0;
      border-bottom: 2px solid transparent;
      font-weight: 500;
      padding: 12px 16px;
      font-family: "Lato", sans-serif;
      text-align: left;
      transition: all 0.3s ease;
    }

    .nav-pills .nav-link:hover {
      border-bottom: 2px solid #999;
      background-color: transparent;
    }

    .nav-pills .nav-link.active {
      color: #d32f2f;
      background-color: transparent;
      border-bottom: 2px solid #d32f2f;
      font-weight: 600;
    }

    .tab-content {
      background: #fff;
      padding: 15px;
      font-family: "Lato", sans-serif;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    @media (max-width: 768px) {
      .tab-section {
        flex-direction: column;
      }

      .tab-section > div {
        width: 100% !important;
      }

      .nav-pills {
        display: flex;
        flex-direction: row !important;
        overflow-x: auto;
      }

      .nav-pills .nav-link {
        white-space: nowrap;
        margin-right: 10px;
        border-bottom: 2px solid transparent;
      }

      .tab-content {
        margin-top: 20px;
      }
    }

    /* Hero Hover Effect */

    .image-box {
      position: relative;
      overflow: hidden;
      cursor: pointer;
      border-radius: 25px;
    }

    .image-box img {
      width: 100%;
      height: auto;
      border-radius: 15px;
      padding: 10px;
    }

    .info-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(227, 222, 222, 0.83);
      color: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
      padding: 15px;
      font-size: 16px;
    }

    .image-box:hover .info-overlay {
      opacity: 1;
    }
    .hero-hover{
      text-align: center;
    }
   .hero-hover-box {
  padding: 10px;
  background-color: #EDEDED;
  border-radius: 5px;
  border-left: 3px solid red;
  width: 60%;
  margin: 15px auto; /* centers the box instead of manual left margin */
}

.hero-hover-box h4 {
  font-size: 18px;
  padding: 8px;
  text-align: center;
}

    /* hero Features */
    .hero-features{
      background-color: #EDEDED;
      padding: 20px;
    }
    .hero-features h2{
      text-align: center;
    }
    .hero-features-box{
      padding: 6px;
      margin: 5px;
      background-color: #fff;
      height: 44px;
      width: auto;
      border-radius: 2px;
    }
    .hero-features-box img{
      height: 32px;
      width: 32px;
      padding: 2px;
    }
    .hero-features-box span{
      font-weight: 600;
      font-size: 12px;
      padding-left: 3px;
    }
  .custom-col-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  @media (max-width: 767.98px) {
    .custom-col-5 {
      flex: 0 0 50%;
      max-width: 50%;
    }
  }
/* =========== Hero Technology ============*/
.hero-technology {
  padding: 60px 15px;
  background-color: #f9f9f9;
}

.hero-technology h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-technology p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1rem;
}

.nav-tabs-center {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.nav-tabs .nav-link {
  border: none;
  color: #555;
  font-weight: 500;
  padding: 12px 20px;
  border-bottom: 2px solid transparent;
  transition: 0.3s ease;
}

.nav-tabs .nav-link:hover {
  border-color: #aaa;
  color: #000;
}

.nav-tabs .nav-link.active {
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
  font-weight: 600;
  background-color: transparent;
}

@media (max-width: 576px) {
  .nav-tabs-center {
    flex-direction: column;
    align-items: center;
  }

  .nav-tabs .nav-link {
    margin-bottom: 10px;
  }
}

/* ======= .hero-target =======*/
.hero-target{
  padding: 25px;
}
.hero-target h2{
  font-family: "Lato", sans-serif;
  text-align: center;
  padding: 20px;
  color: #2a5eef;
}
.hero-target p{
  font-family: "Lato", sans-serif;
}
.hero-target-box{
  height: 240px;
  width: auto;
  border: 1px solid #d6d6d6;
  padding: 2px;
  border-radius: 8px;
}
.hero-target-box .target-box{
  margin-top: -40px;
  color: #fff;
}
.hero-target-box .target-box span{
  text-align: center;
  font-size: 38px;
  font-family: sans-serif;
  color: #000;
  padding-left: 15px;
}
.hero-target-box h4{
  font-size: 18px;
  font-family: "Lato", sans-serif;
  color: blue;
}
.webdail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(30, 137, 224, 1);
  color: #fff;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  padding: 10px;
  border-radius: 12px;
}

.hero-target-box:hover .webdail-overlay {
  opacity: 1;
}
.hero-target-box:hover .webdail-overlay h4{
  font-size: 20px;
  font-family: "Lato", sans-serif;
  color: #a31b1e;
  z-index: 1;
}
.hero-target-box:hover .webdail-overlay p{
  font-family: "Lato", sans-serif;
  font-size: 12px;
  color: #fff;
}

/* ======= faq-sections =======*/
    .faq-sections{
      padding: 20px;
      background-color: #171d4bff;
    }
    .faq-sections h2{
      text-align: center;
      font-size: 32px;
      font-family: "Lato", sans-serif;
      font-weight: 800px;
      padding: 20px 0;
      color: #fff;
    }
    .faq-item .faq-question span{
      font-size: 20px;
      font-weight: bold;
      color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      transition: color 0.3s ease;
    }
    .faq-item .faq-answer {
      display: none;
      font-size: 16px;
      color: #ffffff;
      margin-top: 15px;
      padding-left: 20px;
    }


/* ======= Stand Out =======*/
.stand-out {
  background: #fff;
  padding: 40px 20px;
  font-family: Georgia, serif;
  line-height: 1.7;
  color: #333;
}

.stand-out .container {
  margin: 0 auto;
}

.image-text {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.image-text p {
  flex: 1;
  text-align: justify;
  margin-right: 20px;
}

.image-text figure {
  margin: 0;
  flex: 0 0 250px;
  text-align: center;
}

.image-text img {
  width: 100%;
  border: 1px solid #ccc;
}

.image-text figcaption {
  font-size: 14px;
  color: #444;
  margin-top: 5px;
  font-style: italic;
}


/* ======= ftr-servi =======*/

.ftr-servi {
  background: #0d2033;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-box {
  background: #000; /* black background for each box */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 0;
}

.footer-grid ul li a {
  text-decoration: none;
  color: #fff; /* white text */
  font-size: 12px;
  transition: color 0.3s;
  display: inline-block;
}

.footer-grid ul li a:hover {
  color: #00bcd4; /* highlight color on hover */
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr; /* stack columns on small screens */
  }
}