*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins';
}

/* img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
    aspect-ratio: auto;
} */
.top{
    position: relative;
    margin-top: 4.9rem;
}

.top::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88); /* Change the color and opacity as needed */
  }

.heading-img{
    width: 100%;
    max-height: 20vh;
    object-fit: cover;
   
    
}

.heading h1{
    color: white;
    position: absolute;
    top: 50%;
    right: 50%;
  transform: translate(40%, -50%);
}

.service-template,
.page-template{
  background-color: rgba(226, 226, 221,0.86);
}

.service-template{
    padding-top: 2rem;
    padding-inline: 4rem;
    display: flex;
    flex-direction: row;
    gap: 3rem;
    padding-bottom: 2rem;
}

.service-content{
    width: 70%;
    height: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/*.service-img{*/
/*    width: 90%;*/
/*    height: 360px;*/
/*    border-radius: 20px;*/
/*}*/
/*.service-img img{*/
/*    width: 90%;*/

/*}*/

.service-img {
  width: 70%;
  max-width: 800px;
  aspect-ratio: 3 / 2; /* 👈 landscape shape (600x400) */
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background-color: #f5f5f5; /* optional neutral backdrop */
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the frame but keeps proportions */
  border-radius: 20px;
  display: block;
}


.content{
    padding-block: 2.5rem;
    padding-inline: 2rem;
    text-align: justify;
}


.sidebar{
    width: 30%;
    max-height: 580px;
    overflow: auto;
    padding-inline: 1rem;
}

.services-menu {
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.services-menu-list {
  max-height: 500px; /* adjust as needed */
  overflow-y: auto;
}

.services-menu h3{
    color: #1294c7;
    padding-left: 8px;
    padding-block: 10px;
}

/* .partners-img{
    width: 100%;
    height: 100%;
    padding: 1.5rem;
   object-fit: contain; 
    border-radius: 7px;
    aspect-ratio: auto;
} */

.partners-img img{
  width: 300px;
  padding: 2rem;
}

.service-content > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-button {
  padding: 10px 20px;
  margin-top: 0.6rem;
  margin-left: 1rem;
  margin-bottom: 1rem;
  font-size: 16px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: var(--primary-color-hover);
}


.top-divider{
    width: 100%;
    height: 5px;
    background-color: #1294c7;
}

span{
    font-weight: 350;
    opacity: 0.8;
}

a{
    text-decoration: none;
    color: inherit;
}

.list{
    display: flex;
    padding-top: 10px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
    opacity: 0.6;
}

.list h4{
    font-weight: 400;
}

 i{
    font-size: 1.5rem;
}

.menu{
    border-bottom: 1px dashed #1294c7;
}


/* dropdown css */
.dropbtn {
    font-weight: 500;
    background-color: rgba(248, 248, 248, 0.749);
    color: rgba(0, 0, 0, 0.7);
    padding: 0.6rem;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
  }


  /* Default dropdown (downward) */
.dropdown-content {
  display: none;
  top: 100%; /* Default: show below the button */
  left: 0;
  background-color: #f9f9f9;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  transition-timing-function: ease-in;
  z-index: 999;
}

/* Dropdown that opens upwards */
.dropdown.drop-up .dropdown-content {
  top: auto;
  bottom: 100%; /* Show above the button */
}
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover{
    background-color: #ebebeb;
}
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .dropbtn {
    background-color: #1294c7;
    color: white;
  }

/* social media icons */
.socials{
  position: fixed;
  z-index: 999;
  width: 50px;
  top: 30%;
  transition: all 0.3s linear;
  box-shadow: 2px 2px 8px 0px rgba(0,0,0,.4);
}
.socials li{
  height: 60px;
  position:relative;
}
.socials li a{
  color: white;
  display: block;
  height: 100%;
  width: 100%;
  line-height: 60px;
  padding-left:35%;
  border-bottom: 1px solid rgba(0,0,0,.4);
  transition: all .3s linear;
}
.socials li:nth-child(1) a{
  background: #4267B2;
}
.socials li:nth-child(2) a{
  background: #1DA1F2;
}
.socials li:nth-child(3) a{
  background: #E1306C;
}
.socials li:nth-child(4) a{
  background: #2867B2;
}
.socials li:nth-child(5) a{
  background: #ff0000;
}
.socials li a i{
  position:absolute;
  top: 17px;
  left: 16px;
  font-size: 27px;
}
.socials  li a span{
  display: none;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.socials ul li a:hover {
  z-index:1;
  width: 200px;
  border-bottom: 1px solid rgba(0,0,0,.5);
  box-shadow: 0 0 1px 1px rgba(0,0,0,.3);
}
.socials ul li:hover a span{
  padding-left: 30%;
  display: block;
}

/* bottom nav */
.wrapper {
  /* max-width: 1100px; */
  padding: 20px 10px;
  margin: 0 60px 35px;
  overflow: hidden;
}

.wrapper .card {
  background: #f1f1f1;
  display: flex;
  height: auto;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.wrapper .card:hover {
  box-shadow: 0 8px 15px rgba(85, 173, 224, 0.457);
  transition: all 0.2 ease-in;
}

.card .card-image {
  position: relative;
}

.card .card-image img {
  width: 100%;
  height: 250px;
  padding: 10px;
  border-radius: 22px;
  object-fit: cover;
}

.card .card-image .card-tag a{
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 0.75rem;
  color: #51adf9;
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card .card-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 25px 25px;
}

.card .card-content .card-title a{
  color: #333;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

.card .card-content .card-text {
  padding-top: 0.4rem;
  color: #747474;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card .card-footer {
  margin-top: auto;
  padding-top: 15px;
}

.card .card-button {
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, #51adf9 0%, #6366f1 100%);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.card .card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

.wrapper .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  opacity: 1;
  overflow: hidden;
  position: relative;
  background: #B1B3F8;
}

.wrapper .swiper-pagination-bullet-active {
  background: #a4a7fd;
}

/* Auto-play loading indicator */
.wrapper .swiper-pagination-bullet-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #6366f1;
  transform-origin: left center;
  transform: scaleX(0);
  animation: autoplay-loading 5s linear forwards;
}

.wrapper :where(.swiper-button-prev, .swiper-button-next) {
  color: #51adf9;
  position: absolute;
  margin-top: -35px;
  transition: all 0.3s ease;
}

.wrapper :where(.swiper-button-next){
  right: 2%;
}
.wrapper :where(.swiper-button-prev){
  left: 2%;
}

.wrapper :where(.swiper-button-prev, .swiper-button-next):hover {
  color: #2687d7;
}

/* Responsive media query code for small screens */
@media (max-width: 768px) {
  .wrapper {
    margin: 0 10px 25px;
  }

  .wrapper :where(.swiper-button-prev, .swiper-button-next) {
    display: none;
  }
}


@media screen and (max-width: 780px) {
    .top:before{
        height: 20vh;
    }
    .heading h1{
        font-size: 2rem;
    }
    .socials{
        display: none;
    }
    .sidebar{
        display: none;
    }

    .service-template{
        padding-top: 2rem;
        padding-inline: 1rem;
    }
    .service-content{
        width: 100%;
    }
}

@media  screen and (max-width: 450px) {
    .heading h1{
        font-size: 1.5rem;
    }
   
}


