/*start banner part*/
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .text {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;
        width: 100%;
       
        overflow-x: hidden;
    }

    .type {
        color: black;
        font-size: 3rem;
        font-weight: 500;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
    }

    @media (max-width: 767px) {
        .type {
            font-size: 14px !important;
        }

        .text {
            height: 100px;
            width: 100%;
        }
    }

    @media (max-width: 1024px) {
        .type {
                   font-size: 29px;

            text-align: center;
            overflow-x: hidden;
        }

        .text {
            height: 100px;
            width: 100%;
        }
    }

    .our-promise {
        font-size: 20px;
        margin-left: 5px;
    }

    .fa-solid {
        color: green;
        margin-right: 5px;
    }

    /*end banner part*/



      /* service page */
    .services-section {
        text-align: center;
        padding: 60px 10%;
    }

    .services-section h2 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 10px;
        position: relative;
        display: inline-block;
    }

    
    .services-section p {
        color: #555;
        font-size: 15px;
        max-width: 700px;
        margin: 0 auto 40px;
        line-height: 1.6;
    }

    .services-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .service-card {
        background: #fff;
        padding: 30px 20px 50px;
        border-radius: 8px;
          box-shadow: 0 8px 20px rgba(0, 0, 0, 1.08);
        position: relative;
        overflow: hidden;
        transition: 0.3s ease-in-out;
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    .service-number {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 1px solid #ccc;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin: 0 auto 15px;
        font-size: 18px;
        color: #333;
    }

    .service-card h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #222;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.6;
        color: #555;
        margin-bottom: 20px;
    }

    .read-more {
        display: inline-block;
        padding: 6px 16px;
        font-size: 14px;
        border: 1px solid #ddd;
        border-radius: 20px;
        color: #007bff;
        text-decoration: none;
        transition: 0.3s;
    }

    .read-more:hover {
        background: #007bff;
        color: #fff;
    }


    .service-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: url('images/bbsr/vanivihar/digital-marketing-vanivihar2.jpg') no-repeat center;
        background-size: cover;
    }

    @media (max-width: 768px) {
        .service-card {
            padding: 20px 15px 50px;
        }
    }



    /* choose us */

    .text-content {
        flex: 1;
        padding: 40px;
        min-width: 300px;
    }

    .text-content h5 {
          color: #000000c7;
    font-size: 15px;
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .text-content h2 {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .text-content hr {
        width: 40px;
           border: 3px solid #3404cd;
        margin-bottom: 20px;
    }

    .text-content p {
        font-size: 0.95rem;
        line-height: 1.7;
        color: #444;
        margin-bottom: 30px;
    }


    @media (max-width: 768px) {

        .text-content,
        .image-content {
            padding: 20px;
        }

        .text-content {
            text-align: center;
        }

        .text-content h2 {
            font-size: 1.3rem;
        }

        .btn {
            margin: 0 auto;
        }
    }


    /* testimonials */
   .testimonial-section {
  padding: 40px 20px;
}

.testimonial-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1100px;
  margin: auto;
}

button.prev,
button.next {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  color: #333;
  transition: 0.3s;
}

button.prev:hover,
button.next:hover {
  color: #007BFF;
}

.testimonial-wrapper {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

.testimonial-card {
     min-width: 45%;
    box-sizing: border-box;
   background: #000;
    margin: 0 10px;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgb(0 0 0 / 72%);
    text-align: left;
}

.testimonial-card p {
  font-size: 16px;
     color: white;
  line-height: 1.6;
}

.stars {
  color: #FFD700;
  font-size: 18px;
  margin: 12px 0;
}

.testimonial-card h4 {
  margin-top: 5px;
  font-weight: bold;
  text-align: right;
  color: white;
}


@media (max-width: 768px) {
  .testimonial-card {
    min-width: 100%;
  }
}



    /*Start FAQ part*/
    :root {
        --primary-text: #4f8f70;
        --secondary-text: #e9fff3;
        --white-text-white: #ffffff;
        --black-text-black: #000000;
    }

    .accordion-body ul li a {
        color: black;
        font-weight: 700;
    }

    .faq-section .accordion {
        width: 100%;
    }

    .accordion-button:not(.collapsed) {

        background-color: var(--secondary-text);
    }

    .accordion-button:not(.collapsed)::after {
        background-image: none;
        transform: none;
        display: none;
    }

    .accordion-button:focus {
        box-shadow: none;
    }

    .accordion-button:before {
        content: "";
        position: absolute;
        right: 0.75rem;
        top: 1.25rem;
        height: 2px;
        width: 1rem;
        background-color: var(--primary-text);
    }

    .accordion-button.collapsed:after {
        content: "";
        position: absolute;
        right: 1.1875rem;
        top: 0.8125rem;
        height: 1.0625rem;
        width: 0.125rem;
        border-style: none;
        background-color: var(--primary-text);
    }

    .faq-section .accordion-button h5 {

        color: black;
        margin-right: 13px;
    }

    .accordion-body {
        background-color: var(--secondary-text);
    }

    ul {
        list-style-type: none;
        list-style-type: disc;
        margin-left: 20px;
    }

    ul li {
        margin-bottom: 5px;
    }

    .accordion-body ol {
        counter-reset: step-counter;
        list-style-type: none;
        padding-left: 0;
    }

    .accordion-body ol>li {
        counter-increment: step-counter;
        margin-bottom: 10px;
    }

    .accordion-body ol>li::before {
        content: "Steps "counter(step-counter) ": ";
        font-weight: bold;
    }

    @media (max-width: 768px) {
        .accordion-button:before {
            right: 0.75rem;
        }

        .accordion-button.collapsed:after {
            right: 1.1875rem;
        }

        .faq-section .accordion-button h5 {
            margin-right: 0px;
        }
    }

    /*end  FAQ part*/




    /* contact details */
    .contact-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.info-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.info-box i {
  font-size: 22px;
  color: #007BFF;
  margin-right: 12px;
  background: #f1f5ff;
  padding: 10px;
  border-radius: 8px;
}

.info-box strong {
  font-size: 16px;
}

.highlight {
  font-weight: bold;
}

.contact-map {
  flex: 1;
  min-width: 320px;
  height: 100%;
  width: 100%;
}

.contact-map iframe {
  border-radius: 10px;
  width: 400px;
  height: 250px;
  min-height: 300px;
}

.phn-no a{
text-decoration: none;
}
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .contact-info {
    text-align: center;
  }
  .info-box {
    justify-content: center;
    text-align: left;
  }
}



/* contact details */
.contact-section {
  padding: 40px 20px;
  background: #f9f9f9;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 26px;
  color: #222;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: auto;
}


.contact-info {
  flex: 1 1 45%;
  min-width: 280px;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 16px;
  color: #444;
}


.info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.08);
}

.info-box i {
  font-size: 20px;
  color: #007BFF;
  flex-shrink: 0;
  margin-top: 4px;
}

.info-box strong {
  display: block;
  margin-bottom: 2px;
}

.info-box a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  margin-left: 4px;
  word-break: break-word;
}

.info-box a:hover {
  color: #007BFF;
}


.contact-map {
  flex: 1 1 50%;
  min-width: 280px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info, .contact-map {
    flex: 1 1 100%;
  }

  .info-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .info-box i {
    margin-bottom: 6px;
  }

  .phn-no {
    text-align: center;
  }
}