/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

html{
    font-size: 62.5%; 
    scroll-behavior: smooth;
}

:root{
/* Font Sizes & Family */
--body-font: 'Poppins', sans-serif;

--big-font: 4rem;
--h1-font: 3.6rem;
--h2-font: 2.4rem;
--h3-font: 2rem;
--h4-font: 1.8rem;
--normal-font: 1.6rem;
--small-font: 1.4rem;
--smaller-font: 1.3rem;

/* Font Weight ***/
--font-regular: 400;
--font-medium: 500;
--font-semi-bold: 600;

/* Color Variables */
--primary-color: #057892;
--primary-color-hover: #1095b3;
--text-color: #333;
--white-color: #FFF;
--section-bg: #2C3034;
--gray-50: #f9fafb;
--gray-300: #d1d5db;
--gray-700: #374151;

/* z-index */
--z-overlay: 10;
--z-fixed: 100;

/* transition */
--tran-0-2: 0.2s;
--tran-0-3: 0.3s;
--tran-0-5: 0.5s;
}

/*Font sizes For Small Screen 968px */
@media screen and (max-width: 990px) {
:root {
  --big-font: 3.5rem;
  --h1-font: 2.4rem;
  --h2-font: 2rem;
  --h3-font: 1.8rem;
  --h4-font: 1.6rem;
  --normal-font: 1.5rem;
  --small-font: 1.3rem;
  --smaller-font: 1.2rem;
}
}


/* Pre-CSS */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  overflow-x: hidden;
  background-color: var(--white-color);
}

body,
button,
input{
  font-family: var(--body-font);
  font-size: var(--normal-font);
  font-weight: var(--font-regular);
  color: var(--text-color);
}

input{
  outline: none;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}
img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}

/* Reusable CSS */
.section{
  padding: 5rem 2rem;
}
.container{
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  /* padding: 0 3rem; */
}
.flex{
  display: flex;
  align-items: center;
  column-gap: 0.6rem;
}
.button{
  border: none;
  outline: none;
  color: var(--white-color);
  padding: 1.4rem 4rem;
  border-radius: 3rem;
  background-color: var(--primary-color);
  transition: var(--tran-0-3);
  cursor: pointer;
}
.button:hover{
  background-color: var(--primary-color-hover);
}
.section-subtitle{
  color: var(--primary-color);
  font-size: var(--normal-font);
  letter-spacing: 1px;
  font-weight: var(--font-medium);
  text-align: center;
}
.section-title{
  text-align: center;
  font-size: var(--h2-font);
  font-weight: var(--font-medium);
  margin: 1rem 0;
}


/* Header */
.header{
  position: fixed;
  top: 0;
  left: 0;
  height: 7rem;
  width: 100%;
  z-index: var(--z-fixed);
  transition: var(--tran-0-5);
  background: linear-gradient(0deg,rgba(30, 61, 73, 0) 0%, rgba(23, 23, 22, 0.53) 50%);
}
.header-active{
  height: 6rem;
  background-color: var(--white-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* nav */
.nav{
  position: relative;
  height: 100%;
  padding-inline: 1rem;
  align-items: center;
  justify-content: space-between;
}

.nav-link{
  color: var(--white-color);
}

.header-active,
.header-active .nav-link,
.header-active .navbar .dropdown .dropbtn{
  color: var(--text-color);
}

#Logo{
  width: 6rem;
  height: 6rem;
  object-fit: cover;
}


.menu-list{
  column-gap: 2rem;
}
.nav-link{
  position: relative;
  text-transform: capitalize;
}

.nav-link:hover, .dropdown-content a:hover{
  color: #2687d7;
  font-weight: 400;
  transition: var(--tran-0-3);
}

.fa-caret-down{ 
  transform: rotate(-90deg);
  width: 25px;
  transition: 300ms;
}

.dropbtn:hover > .fa-caret-down {
  transform: rotate(0deg);
}

.navClose-btn,
.navOpen-btn{
  display: none;
}

.book-btn{
  padding: 7px 14px;
  border-radius: 4px;
  border: none;
  color: white;
  cursor: pointer;
  background-color: var(--primary-color);
}

.book-btn:hover{
  background-color: var(--primary-color-hover);
}

.flex-center{
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a{
  color: #51adf9;
  padding: 1rem;
  border-radius: 5px;
  border: 2px solid #2687d7;
  margin-left: 0.5rem;
  text-align: center;
}

/* nav responsive */
@media  screen and (min-width: 58em) {
 .mobile-book-btn, .social-icons{
  display: none;
 }

}

@media (max-width: 980px) {
  #home-details-id{
  position: absolute;
  top: 60%;
  left: 50%;
  padding-inline: 2rem;
  }
  
  #success-id{
    grid-template-columns: repeat(2,1fr);
  }
}


@media screen and (max-width: 58em) {

  .contact-content{
    display: none;
  }
  .book-button{
    display: none;
  }
  .navClose-btn,
  .navOpen-btn{
  display: block;
}
  .nav .menu-content{
    position: fixed;
    top: 0;
    right: -100%;
    max-width: 300px;
    width: 100%;
    height: 100%;
    z-index: var(--z-fixed);
    padding: 10rem 0 5rem;
    background-color: var(--white-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: var(--tran-0-5);
  }
  .nav .menu-content.open{
    right: 0;
    overflow-y: scroll;
  }
  .menu-list{
    flex-direction: column;
    row-gap: 2.5rem;
    font-size: var(--h4-font);
  }

  .nav-link,
  .navbar .dropdown .dropbtn{
    color: var(--text-color);
  }

  .navClose-btn{
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
  }
  .navOpen-btn{
    font-size: 4rem;
    cursor: pointer;
    color: var(--white-color);
  }
  
  
  .header-active .navOpen-btn{
    color: var(--text-color);
  }

  .contact-grid{
    padding-inline: 2.1rem;
  }
}


/* Home */
.home{
  height: 70vh;
  width: 100%;
}
.swiper-slide{
  position: relative;
  height: 70vh;
  width: 100%;
}
.home .swiper-slide::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
background: linear-gradient(0deg,rgba(30, 61, 73, 0) 0%, rgba(23, 23, 22, 0.03) 95%); 

/* background-color: rgba(0, 0, 0, 0.7); */
  z-index: var(--z-overlay);
}
.home-img{
  height: 100%;
  width: 100%;
  object-position: center;
}



/* swiper button */
.swiper-navBtn{
  height: 5rem;
  width: 5rem;
  color: var(--white-color);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: var(--tran-0-2);
  opacity: 0;
  visibility: visible;
}
.home:hover .swiper-navBtn,
.review:hover .swiper-navBtn{
  opacity: 1;
}
.swiper-navBtn:hover{
  background-color: rgba(255, 255, 255, 0.3);
}
.swiper-navBtn::after,
.swiper-navBtn::before{
  font-size: 2rem;
}

.swiper-button-next{
  right: 16rem;
}
.swiper-button-prev{
  left: 16rem;
}

.swiper-pagination-bullet{
  background-color: var(--white-color);
  opacity: 1;
  height: 1.5rem;
  width: 1.5rem;
  border: 0.6px solid var(--primary-color);
  margin-bottom: 2rem;
  visibility: hidden;
}
.swiper-pagination-bullet-active{
  border: 3px solid var(--white-color);
  background-color: var(--primary-color);
}
.home-details{
  position: absolute;
  top: 65%;
  left: 38%;
  z-index: var(--z-fixed);
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  width: 100%;
  row-gap: 4rem;
  max-width: 450px;
  /* padding-inline: 20rem; */
}

.homeSubtitle{
  text-align: center;
  font-size: var(--normal-font);
  color: var(--white-color);
  padding: 10px;
  border-radius: 10px;
  background-color: #0b101b75;
}

.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;
}

  /* Work Information */
  .work-info {
    /* padding: 3rem 0; */
    background-color: var(--gray-50);
  }
  
  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 2rem; */
    margin-top: -3rem;
    position: absolute;
    z-index: 11;
    padding-inline: 6rem;
    right: 0%;
    left: 0%;
  }
  
  .work-card {
    /* background-color: white; */
    color: var(--white-color);
    padding: 1.5rem;
    /* border-radius: 0.5rem; */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
  }
  
  .work-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  } 
  .card-1, .card-3{
    background-color: #057892;
  }
  .card-2{
    background-color: #1095b3;
  }

  
  .work-icon {
    width: 2rem;
    height: 2rem;
    color: var(--white-color);
    margin-bottom: 1rem;
  }
  
  .work-card h3 {
    margin-bottom: 0.5rem;
  }



/* Whats new */
.what-container{
  padding-inline: 2.5rem;
}
.what-container div{
  width: 50%;
  height: 300px;
  align-items: center;
  align-content: center;
  text-align: center;
  row-gap: 1rem;
  padding-inline: 1rem;
}

.space-1{
  margin-top: 2rem;
}

.space-2{
  margin-bottom: 2rem;
}

.space-3{
  margin-top: 5rem;
}

.space-4{
  margin-top: 20rem;
}

.what-img img{
  border-radius: 10px;
}

/*  Our successes */
.success-content{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding-inline: 4rem;
  padding-block: 1.5rem;
  gap: 2rem;
}

.success-wrapper{
  color: white;
  background-color: #057892;
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.count{
  padding-left: 2rem;
}
.success-wrapper h1{
  font-size: 4rem;
}

.success-wrapper .icon{
  display: grid;
  place-content: center;
  width: 100px;
  height: 100px;
  padding: 1rem;
  border-radius: 50%;
  background-color: #1095b3;
}

.success-wrapper .icon img{
  width: 60px;
}

.back-button {
  padding: 10px 20px;
  margin-top: 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);
}



/* Contact us */
 /* Contact Section */
 .contact {
  padding: 6rem 0;
  background-color: #d7f2fe6b;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info{
  place-content: center;
}

.contact-info h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--p-color);
  margin-right: 0.75rem;
}


.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--p-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Review */
.review{
  background-color: #d7f2fe6b;
}
.review .section-title,
.review .section-description{
  color: var(--text-color);
}
.testi-content{
  position: relative;
  height: 100%;
  width: 100%;
  row-gap: 2rem;
  flex-direction: column;
}
.review-img{
  height: 150px;
  width: 150px;
  border-radius: 50%;
  margin-bottom: 2rem;
}
.review-quote{
  padding: 0 15rem;
  text-align: center;
}
.quote-icon{
  font-size: 3rem;
  color: var(--primary-color);
}
.testi-personDetails{
  flex-direction: column;
}
.testi-personDetails .name{
  font-size: 1.8rem;
  font-weight: var(--font-medium);
}

/* swiper btn */
.review .swiper-navBtn{
  background-color: rgba(0, 0, 0, 0.1);
}
.review .swiper-button-next{
  right: 0.8rem;
  transform: translateY(2rem);
}
.review .swiper-button-prev{
  left: 0.8rem;
  transform: translateY(2rem);
}
.review .swiper-navBtn:hover{
  background-color: rgba(0, 0, 0, 0.2);
}




/* Footer */
.footer{
  padding: 4rem 2rem 3rem;
  background-color: var(--section-bg);
}
.footer .content-description,
.footer .map-icon,
.footer .location-text{
  color: var(--text-color-light);
}
.footer-container{
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 2rem;
  align-items: center;
}
.footer-content{
  display: grid;
  row-gap: 3rem;
}
.footer .logo-text,
.footer .logo-icon{
  color: var(--text-color-light);
  font-size: 2rem;
  font-weight: var(--font-medium);
}
.footer .logo-icon{
  font-size: 3rem;
}
.footer .content-description,
.footer .location-text{
  text-align: left;
  font-size: var(--small-font);
  color: rgba(255, 255, 255, 0.5);
}
.footer .map-icon{
  color: var(--gray-50);
  font-size: 3rem;
  margin-right: 1rem;
}
.footer-linkContent{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  justify-items: end;
}
.footer-content .logo-text{
  color: var(--gray-300);
}
.footer-links{
  display: grid;
  row-gap: 1rem;
  font-weight: var(--font-medium);
  color: var(--white-color);
}
.footer-link{
  font-size: var(--small-font);
  color: rgba(255, 255, 255, 0.5);
  transition: var(--tran-0-3);
}
.footer-link:hover{
  color: rgba(255, 255, 255, 0.8);
}
.footer-copyRight{
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  font-size: var(--small-font);
  border-top: 2px solid var(--text-color-light);
  color: rgba(255, 255, 255, 0.8);;
}


/* Scroll Up */
.scrollUp-btn{
  position: fixed;
  bottom: -30%;
  right: 3rem;
  height: 3rem;
  width: 3rem;
  font-size: 2rem;
  border-radius: 4px;
  color: var(--white-color);
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  background-color: rgb(35, 197, 247);
  z-index: var(--z-overlay);
  justify-content: center;
  transition: var(--tran-0-3);
}
.scrollUpBtn-active{
  bottom: 3rem;
}
.scrollUp-icon{
  opacity: 0.9;
  transition: var(--tran-0-3);
}
.scrollUp-btn:hover .scrollUp-icon{
  opacity: 1;
}

/* Responsive media */
@media screen and (max-width: 1150px) {
  .swiper-button-prev {
    left: 10rem;
}
  .swiper-button-next {
    right: 10rem;
}
}

@media screen and (max-width: 1000px) {
  .swiper-button-prev {
    left: 3rem;
}
  .swiper-button-next {
    right: 3rem;
}
  .section-description {
    padding: 0 8rem;
  }

}

@media screen and (max-width: 58em) {
  .socials{
    display: none;
  }
  .work-grid{
      grid-template-columns: repeat(3, 1fr);
    }

  .section.review{
    padding: 7rem 1rem 3rem;
  }
  .review .swiper{
    padding-bottom: 6.5rem;
  }
  .swiper-navBtn{
    visibility: hidden;
  }
  .swiper-pagination-bullet{
    visibility: visible;
  }

  .section {
    padding: 7rem 1rem;
}
.section-description,
.review-quote{
  padding: 0 6rem;
}

.footer-container{
  row-gap: 1.5rem;
}
}

@media screen and (max-width: 600px){
  .container{
    padding: 0.5rem;
  }
  .section-description, .review-quote{
    padding: 0;
  }

  .contact .container{
    padding-inline: 2rem;
  }

  .contact-grid{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-container{
    grid-template-columns: 1fr;
    row-gap: 6rem;
  }
  .footer-content{
    justify-items: center;
  }
  .footer-linkContent{
    justify-items: center;
  }
  
}

@media screen and (max-width: 450px){
  .work-grid{
    top: 80%;
    padding-inline: 1rem;
    grid-template-columns: repeat(1, 1fr);
  }
  .home-details {
    padding-inline: 1rem;
  }
  .mob-space{
    margin-top: 34rem;
  }
  .space-1{
    margin-top: 0.5rem;
  }
  .what-container div{
    height: 200px;
  }
  
  #success-id{
    grid-template-columns: repeat(1,1fr);
  }

}


@media screen and (max-width: 400px) {
  .homeTitle{
    font-size:3rem;
  }

  .work-grid{
    grid-template-columns: repeat(1, 1fr);
  }

  .what-container{
    margin-top: 0rem;
    flex-direction: column;
  }
  .what-text .space-1{
    margin-top: 0.5rem;
  }
  
}

@media screen and (max-width: 560px) {

  .what-container{
    flex-direction: column;
    padding: 1.5rem;
  }
   .what-container div{
    width: 100%;
    }
}



/* services */
.services{
  padding-top: 2rem;
}

.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%;
  padding: 10px;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.card .card-image .card-tag {
  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 {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 25px 25px;
}

.card .card-content .card-title {
  color: #111111;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  /*margin-bottom: 15px;*/
}

.card .card-content .card-text {
  color: #747474;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.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, #057892 0%, #1095b3 100%);
  box-shadow: 0 4px 10px #31c2e37f;
  transition: all 0.3s ease;
}

.card .card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px #31c2e3;
}

.wrapper .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  opacity: 1;
  overflow: hidden;
  position: relative;
  background: #1095b3;
}

.wrapper .swiper-pagination-bullet-active {
  background: #1095b3;
}

/* Auto-play loading indicator */
.wrapper .swiper-pagination-bullet-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #057892;
  transform-origin: left center;
  transform: scaleX(0);
  animation: autoplay-loading 5s linear forwards;
}

.container:hover .wrapper .swiper-pagination-bullet-active::before {
  animation-play-state: paused;
}

@keyframes autoplay-loading {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

.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 25px 25px;
  }

  .wrapper :where(.swiper-button-prev, .swiper-button-next) {
    display: none;
  }
}


/* partners */
.Partners{
  display: grid;
  min-block-size: 50vh;
  place-content: center;
  font-size: 1.125rem;
}

.scroller {
  max-width: 1030px;
}

@media screen and (min-width: 1440px) {
  .scroller{
    max-width: 1300px;
  }
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
} 

.item{
  width: 200px;
}

.scroller .item img{
  height: 100%;
}

.scroller .item h4{
  font-size: 1.5rem;
  text-wrap: wrap;
  text-align: center;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}


/* Sub Menu */
.navbar {
  overflow: hidden;
  text-align: center;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}


/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #e4ebff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}


/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ffffff;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 768px) {
  .dropdown-content{
    position: unset;
  }

  .dropdown-content a {
  text-align: center;
}
}

/* Google map */
iframe{
  width: 100%;
}
a:empty {
  display: none;
}


/* popover css */
.close-btn{
  font-size: xx-large;
  color: rgb(250, 85, 85);
}

.popover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}

.popover.hidden {
  display: none;
}

.popover-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 700px;
  width: 90%;
  position: relative;
  max-height: 90vh; /* Ensure popover doesn't exceed viewport */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#popoverText, #fpopoverText{
  overflow-y: auto;
  max-height: 300px; /* You can adjust this height */
  margin-top: 1rem;
  padding: 10px; /* Space for scrollbar */
  text-align: left;
  background-color: #e3e3e336;
}
.popover-content img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.popover-content .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 3.rem;
  cursor: pointer;
}

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;         /* Show only 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
