.main-content {
    margin-top: 6rem;
 }
 

 
 @media (max-width: 767px) {
     .main-content{
         margin-top: 7rem;
     }
 }

 @media (max-width: 480px) {
    .main-content{
        margin-top: 7.2rem;
    }
}

.services-p {
    padding:.4rem 1rem .5rem ;
    text-align: justify;
}


.service-ul {
    margin-top: 1rem;
}
.service-ul i {
        font-size: 1.5rem; /* Adjust the size as needed */
        color: #003663 ;
}

.back-to-top i { 
    margin-top: .15rem;
    margin-left: .1rem;
    }

.services-main-pic {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.overlay-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Adjust the opacity as needed */
}

.centered-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    color: white;
    font-size: 45px;
}


/* blog heading style */


.service-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    background-image: url('../images/services-hero.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: .7rem; */
  }

  .services-overlay {
    /* border-radius: .7rem; */
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust the overlay color and opacity as needed */
  }

  .hero-heading {
    color: fff;
    /* background-color: #003663 ; */
    border-radius: 1rem;
    text-align: center;
    font-size: 3rem;
    padding: 10px;
    z-index: 4;
  }

  /* SERVICES DROPDOWN */
/* Navigation menu */
.custom-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  
  .custom-nav ul li {
    margin-right: 20px;
  }
  
  /* Dropdown menu */
  .services-dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff; /* Change to your preferred background color */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Add a shadow for a dropdown effect */
    z-index: 1;
    width: 300px;
    display: flex;
    flex-direction: column;
  }
  
  .services-dropdown:hover .dropdown-menu {
    display: flex;
  }
  
  .dropdown-menu .main-heading {
    font-weight: bold;
    padding: 10px;
  }
  
  .dropdown-menu li {
    /* padding: 10px; */
    padding: 0 !important;
  }
  .dropdown-menu li a{
    /* padding: 10px; */
    padding: 0 !important;
  }
  
  /* Adjustments for small screens */
  @media screen and (max-width: 768px) {
    .custom-nav ul {
      flex-direction: column;
    }
    
    .custom-nav ul li {
      margin-right: 0;
      margin-bottom: 10px;
    }
    
    .dropdown-menu {
      width: 100%;
    }
    
    .dropdown-menu .main-heading {
      text-align: center;
      padding: 10px 0;
    }
  }
  