/* ****************************
        HERO Section
   ******************************* */
.hero-sec {
  display: grid;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  background-image: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.7)),
    url("Assets/Images/ecodrivescover.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero-sec .holder {
  width: 100%;
  max-width: 65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-sec .holder h1 {
  color: var(--text-toggle);
  text-align: center;
}
.hero-sec .holder p {
  color: var(--text-toggle);
  text-align: center;
  font-weight: 300;
  margin: 0 0 2rem 0;
}

@media (max-width: 900px) {
  .hero-sec {
    min-height: 45vh;
  }
}

/* +++++++++++++++++++++++++++++++
          SERVICES SECTION
++++++++++++++++++++++++++++++++++ */
.service-card .img-box {
  position: relative;
  height: fit-content;
}
.service-card .img-box::before {
  position: absolute;
  content: "";
  top: 1rem;
  left: 50%;
  width: 95%;
  height: 100%;
  z-index: -1;
  border-radius: 100%;
  transform: translateX(-50%);
  background-color: var(--primary);
}
.service-card > div:nth-child(1) {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
.service-card img {
  border-radius: 100%;
  transition: all 0.6s linear;
}
.service-card:hover img {
  transform: rotate(20deg);
}

.service-card .service-number {
  position: relative;
  z-index: +1;
  width: 5rem;
  height: 5rem;
  border-radius: 100%;
  background: var(--secoundry);
  display: grid;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: var(--text-toggle);
  margin-top: -2.5rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.service-card .content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card .content-box .title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}
.service-card .content-box p {
  font-size: 1rem;
  text-align: center;
}

/* +++++++++++++++++++++++++++++++
          CALLTOACTION SECTION
++++++++++++++++++++++++++++++++++ */
.callToAction {
  background: linear-gradient(#121212d1, #121212d1),
    url("https://images.unsplash.com/photo-1485463611174-f302f6a5c1c9?q=80&w=1776&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 65dvh;
  display: grid;
  align-items: center;
  position: relative;
}

.callToAction .callMe {
  position: absolute;
  top: -2.7rem;
  left: 50%;
  padding: 0.6rem;
  transform: translateX(-50%);
  width: 6rem;
  height: 6rem;
  border-radius: 100%;
  background: var(--primary);
  display: grid;
  justify-content: center;
  align-items: flex-end;
  font-size: 2rem;
  color: var(--text-toggle);
}

.callToAction .callMe::before {
  animation: ripple 3s linear infinite;
  border-radius: 100%;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  background: var(--primary);
}

@-webkit-keyframes ripple {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }

  30% {
    opacity: 0.4;
  }

  100% {
    -webkit-transform: scale(1.8);
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes ripple {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }

  30% {
    opacity: 0.4;
  }

  100% {
    -webkit-transform: scale(1.8);
    transform: scale(1.8);
    opacity: 0;
  }
}

.callToAction .holder-1 {
  max-width: 60.25rem;
  margin: auto;
  text-align: center;
}
.callToAction .holder-1 h5 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--secoundry-font);
}
.callToAction .holder-1 .mainHD {
  color: var(--text-toggle);
}
.callToAction .holder-btn {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.callToAction .holder-btn > span:first-child {
  margin-right: 1rem;
}

@media (max-width: 800px) {
  .callToAction .holder-1 h5 {
    font-size: 1.5rem;
  }
}

/* +++++++++++++++++++++++++++++++
          REVIEW SECTION
++++++++++++++++++++++++++++++++++ */
.review-sec {
  background: url("../../Images/map.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.review-card {
  border-radius: var(--radious-prim);
  padding: 2rem;
  border: var(--border-100);
  text-align: center;
  background: rgba(255, 255, 255, 0.559);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.review-card .profile-box {
  width: 7rem;
  height: 7rem;
  padding: 0.4rem;
  display: inline-block;
  margin: auto;
  border-radius: 100%;
  border: 2px solid var(--secoundry);
  margin-bottom: 1.2rem;
  transition: var(--Ltrns);
}
.review-card:hover .profile-box {
  transform: scale(1.1);
  padding: 0.6rem;
}
.review-card .profile-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 100%;
}
.review-card .name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-100);
}
.review-card .disc {
  font-size: 1rem;
  padding-bottom: var(--text-300);
  margin-bottom: 1rem;
  color: var(--secoundry);
}

@media (max-width: 800px) {
  .review-card {
    padding: 1rem;
  }
  .review-card .rating {
    font-size: 2rem;
  }
  .review-card .rating i {
    font-size: 1.3rem;
  }
  .review-card .name {
    font-size: 0.9rem;
  }
  .review-card .disc {
    font-size: 0.7rem;
  }
}

/*++++++++++++++++++++++++++++++
       INFOSLIDE SECTION  
  ++++++++++++++++++++++++++++++++*/
.info-card {
  border-radius: var(--radious-prim);
  padding: 0.9rem;
  border: var(--border-100);
  text-align: center;
  transition: var(--Ltrns);
}
.info-card a {
  display: block;
}
.info-card:hover {
  border-color: var(--primary);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
/*++++++++++++++++++++++++++++++
       GALLERY SECTION  
  ++++++++++++++++++++++++++++++++*/
@media (min-width: 1700px) {
  .grid-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--gap-card);
  }
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-card);
}

.g-img-card {
  display: grid;
  place-items: center;
}

.g-img-card a {
  display: block;
  width: 100%;
}
.g-img-card img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radious-prim);
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: var(--Etrns);
}
.g-img-card:hover img {
  transform: translateY(-3px);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

@media (max-width: 800px) {
  .grid-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*++++++++++++++++++++++++++++++
     CCONTACT SECTION  
++++++++++++++++++++++++++++++++*/
.contect-sec {
  background-color: var(--bg-toggle);
  background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.896) 0%,
      rgba(0, 0, 0, 0.896) 100%
    ),
    url("https://images.unsplash.com/photo-1596649714492-a8f90ecb3776?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.contect-sec .mainHD {
  color: var(--text-toggle);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
}
.contect-sec .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: calc(var(--gap-col) * 2);
}
.contect-sec .row .box span {
  display: block;
  text-align: center;
  color: var(--text-toggle);
  font-size: 2rem;
  transition: var(--Ltrns);
}
.contect-sec .row .box:hover span {
  transform: translateY(-0.5rem);
}
.contect-sec .row .box h3 {
  text-align: center;
  color: var(--text-toggle);
  font-weight: 800;
}
.contect-sec .row .box .data {
  text-align: center;
  color: var(--text-toggle);
  display: block;
}

.whatsapp-icon {
    position: fixed;
    bottom: 160px; /* Adjust this value to position above the back to top button */
    right: 20px; /* Adjust this value for horizontal positioning */
    background-color: #8dc63f; /* WhatsApp green color */
    color: white;
    border-radius: 50%;
    width: 60px; /* Size of the icon */
    height: 60px; /* Size of the icon */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Ensure it appears above other elements */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for color changes */
}

.whatsapp-icon i {
    font-size: 30px; /* Size of the WhatsApp icon */
}

/* Change color on hover */
.whatsapp-icon:hover {
    background-color: #128C7E; /* Darker green for hover */
    color: white; /* Keep the icon color white */
}



