body {
   
}
html{
    scroll-behavior: smooth; overflow-x: hidden;
}
img{max-width: 100%;}
header{
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 99;
}

.top{
  background: #333;
  padding: 0px 0;
}
.top a{
  color: #fff; text-decoration: none;
}
.contactarea{
display: flex; gap: 10px;
}
.socialarea{
  display: flex; gap: 10px;
  }

  .top .d-flex{
    flex-wrap: wrap;
  }

  .bannersec{
    padding-top: 34px;
  }

  @media screen and (max-width: 600px){
    .bannersec{
      padding-top: 120px;
    }
    .top .d-flex{
      flex-wrap: wrap;
      justify-content: center;
      
    }
    .contactarea, .socialarea{
      justify-content: center; width: 100%;
    }
    .top a{
      color: #fff; text-decoration: none; 
    }
    
  }
  
.navbar{
    background: linear-gradient(to left,#3d5966 0%,#3d5966 100%) !important;
   
}
.nav-link{
    color: #fff;
}


  
  

/*  */
.formsection{
    padding:30px 0;
}

.image-section, .info-section, .form-section {
    flex: 1;
   
    box-sizing: border-box;
}
.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.info-section {
    flex: 2;
    padding-left: 20px;
}
.form-section {
    flex: 1.5;
}
.form-section input, .form-section textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.form-section button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right,#3d5966 0%,#3d5966 100%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.form-section button:hover {
    background: linear-gradient(to left,#3d5966 0%,#3d5966 100%);
}
@media (max-width: 767px) {
    .image-section, .info-section, .form-section {
        flex: 100%;
        padding: 10px;
    }
}

.gridsec  .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 10px;
}
.gridsec .griditems:nth-child(2) .servtext{
background: #3d5966;
order: 2;
}
.gridsec .griditems:nth-child(3) .servtext{
    background: #3d5966;
    order: 2;
    }
    .gridsec .griditems:nth-child(6) .servtext{
    background: #3d5966;
    order: 2;
    }
    
    .gridsec .griditems:nth-child(7) .servtext{
    background: #3d5966;
    order: 2;
    }
    @media screen and (max-width:991px){
    .gridsec .col-lg-6:has(.servtext){
  order:2;
}}
.item {
    display: flex;
    flex-direction: column;
}
.item img {
    width: 100%;
    height: auto;
}
.text-section {
    padding: 20px;
    text-align: center;
    background-color: #f4f4f4;
}
.text-section h2 {
    margin: 0;
    margin-bottom: 10px;
}
.text-section p {
    margin: 0;
    margin-bottom: 20px;
}
.text-section a {
    text-decoration: none;
    color: #fff;
}

.servtext{
    display: flex;
    	border: 1px solid #fff;
    justify-content: center; align-items: center; flex-direction: column; height: 100%; background: 0442cb; color: #fff; padding:10px; text-align:center;
}
@media screen and (max-width:991px){
  .servtext{
    aspect-ratio: 1/.6;
  }
}

.servtext a{
    text-decoration: none; color: #FFF;
}

.testimonial-carousel .item {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
    margin: 10px;
}
.testimonial-carousel .item .name {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
}
.testimonial-carousel .item .stars {
    color: #f5c518;
    margin: 0;
}
.testimonial-carousel .item .review {
    font-size: 1em;
    margin-bottom: 20px;
}
.testimonial-carousel .item .reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.testimonial-carousel .item .reviewer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



#gallery {
    padding-top: 0px;
    background: #fff;
  }
  @media screen and (min-width: 991px) {
    #gallery {
      padding: 10px 0px ;
    }

    .info-container{
      display: flex;
      gap: 1rem;
  }
  }
  
  
  .img-wrapper {
    position: relative;
    margin-top: 15px;
  }
  .img-wrapper img {
    width: 100%;
  }
  
  .img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
  }
  .img-overlay i {
    color: #fff;
    font-size: 3em;
  }
  
  #overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  #overlay img {
    margin: 0;
    width: 80%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    padding: 5%;
  }
  @media screen and (min-width: 768px) {
    #overlay img {
      width: 60%;
    }
  }
  @media screen and (min-width: 1200px) {
    #overlay img {
      width: 50%;
    }
  }
  
  #nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
  }
  #nextButton:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    #nextButton {
      font-size: 3em;
    }
  }
  
  #prevButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
  }
  #prevButton:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    #prevButton {
      font-size: 3em;
    }
  }
  
  #exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    position: absolute;
    top: 15px;
    right: 15px;
  }
  #exitButton:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    #exitButton {
      font-size: 3em;
    }
  }

  footer{
    background: linear-gradient(to left,#3d5966 0%,#3d5966 100%) ;
  }

  .gallery .row>*{
    padding: 0;
  }

 
.social {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 9;
}

.social ul {
    padding: 5px 0;
    transform: translate(258px,0);
}

.social ul li {
    display: block;
    margin: 5px;
    background: #c44a73;
    width: 300px;
    text-align: left;
    padding: 10px;
    border-radius: 30px 0px 0px 30px;
    transition: all 1.5s;
}

.social ul li:hover {
    transform: translate(-96px,0);
    background: #c44a73;
    transition: all 1.5s;
}

.social ul li a {
    color: white !important; text-decoration: none !important;
}
.social ul li a:hover, .social ul li a:focus, .social ul li a:active{
    color: #fff;
}
.social ul li:hover i{
    color: #c44a73;
    background: white;
    transform: rotate(360deg);
    transition: all 1.5s;
}

.social ul li i {
    margin-right: 10px;
    color: #000;
    background: white;
    /* padding: 10px; */
    border-radius: 50%;
    width: 32px;
    line-height: 32px;
    height: 32px;
    transform: rotate(0deg);
    text-align: center;
    font-size: 20px;

}

.social ul li.green{
    background: rgba(0, 155, 28, 1);
}
.social ul li.green:hover {
    transform: translate(-96px,0);
    background: rgba(0, 155, 28, 1);
    transition: all 1.5s;
}
.social ul li.green:hover i{
    color: rgba(0, 155, 28, 1);
}

@keyframes youtubeAnim{
  0%,100%{
    color:#c9110f;
  }
  50%{
    color:#ff0000;
  }
}

.gridsec img{
    width:100%;
}


.faq-section {
            background-color: #f8f9fa;
            padding: 30px 0;
        }


