/****************************/
/* HEADER */
/****************************/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #007bff;

  /* Because we want header sticky later*/
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}

/****************************/
/* NAVIGATION */
/****************************/
.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3.2rem;
}
.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover {
  border-bottom: 2px solid #fff;
  transition: border-bottom 0.8s ease;
}
.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #0042c7;
}

.btn-nav {
  align-self: auto;
  background-color: #25d366;
}
.btn-nav:hover {
  align-self: auto;
  color: #fff;
  background-color: #25d366;
}
.sticky .main-nav-link:link,
.sticky .main-nav-link:visited {
  color: #333;
}
.sticky .main-nav-link:hover,
.sticky .main-nav-link:active {
  color: #007bff;
}
/*MOBILE*/
.btn-mobile-nav {
  display: none;
  border: none;
  cursor: pointer;
  background-color: none;
}
.icon-moblie-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.btn-mobile-nav ion-icon {
  margin-left: 0.5rem; /* Add space between text and icon */
}
/* 
<ion-icon class="icon-moblie-nav" name="menu-outline"></ion-icon>
<ion-icon class="icon-moblie-nav" name="close-outline"></ion-icon>
*/
.icon-moblie-nav[name='close-outline'] {
  display: none;
}

/* STICKY NAVIGATION*/
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
  box-shadow: 0 1 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}
.sticky .section-hero {
  margin-top: 9.6rem;
}
/****************************/
/* HERO SECTION */
/****************************/
.section-hero {
  background-color: #eef5ff;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9.6rem;
}

.hero-descibtion {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 4.2rem;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.hero-img {
  position: relative;
  padding: 3.6rem;
  width: 90%;
  height: auto;
  border-radius: 60px;
  transition: transform 0.2s ease;
}

.hero-img:hover {
  transform: translateX(5px);
}
/****************************/
/* SERVICES */
/****************************/
.section-pricing {
  padding: 9.6rem 0;
}
.feature {
  background-color: #e1ebfa;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 25px;
  width: 25rem;
  text-align: center;
}
.feature-icon {
  color: #3577ff;
  width: 3.2rem;
  height: 3.2rem;
  background-color: #fdf2e9;
  margin-bottom: 3.2rem;
  padding: 1.6rem;
  border-radius: 50%;
}
.feature-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1.6rem;
}
.feature-text {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #333;
}
/****************************/
/* CTA SECTION */
/****************************/
.section-cta {
  /* top / right / bottom / left */
  /* padding: 9.6rem 0 12.8rem 0; */
  /* top / horizontal / left */
  padding: 4.8rem 0 12.8rem;
}

.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 11px;
  background-image: linear-gradient(to right bottom, #a4caff, #007bff);
  overflow: hidden;
}
.cta-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: #ffffff;
}
.cta-text-box .heading-secondary {
  color: inherit;
  margin-bottom: 3.2rem;
}
.cta-text {
  font-size: 1.9rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}
.cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(78, 185, 235, 0.14),
      rgba(147, 147, 147, 0.35)
    ),
    url('../img/image_1-min.jpg');
  background-size: cover;
}
.cta-buttons {
  display: flex;
  gap: 6rem;
}
.btn-wa {
  background-color: #25d366;
}
.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}
/****************************/
/* ABOUT SECTION */
/****************************/
.about-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.about-text {
  flex: 1;
  min-width: 300px;
}
.about-text p {
  font-size: 1.9rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}
.about-img img {
  aspect-ratio: auto 640 / 360;
  flex: 1;
  max-width: 60%;
  height: auto;
  max-width: 500px;
  border-radius: 10px;
  margin-bottom: 20px;
}
/****************************/
/* FOOTER SECTION */
/****************************/
footer {
  text-align: center;
  padding: 10px;
  background-color: #007bff;
  color: #fff;

  width: 100%;
  bottom: 0;
  font-size: 1.9rem;
  line-height: 1.8;
}

/****************************/
/* whatsapp */
/****************************/
/* .whatsapp-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #22c55e;
}

.whatsapp-button ion-icon {
  font-size: 28px;
}
.phone-button {
  position: fixed;
  right: 20px;
  bottom: 90px;
  background-color: #1e88e5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.phone-button:hover {
  background-color: #1976d2;
}

.phone-button ion-icon {
  font-size: 28px;
} */
/* Common styles for both buttons */
.contact-button {
  position: fixed;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: white;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 28px;
}

/* WhatsApp Button */
.whatsapp-button {
  bottom: 20px;
  background-color: #25d366;
  animation: pulse 2s infinite, glow-green 3s infinite;
}

.whatsapp-button:hover {
  background-color: #128c7e;
  transform: scale(1.15);
}

/* Phone Button */
.phone-button {
  bottom: 90px;
  background-color: #1e88e5;
  animation: pulse 2s infinite, glow-blue 3s infinite;
}

.phone-button:hover {
  background-color: #1565c0;
  transform: scale(1.15);
}

/* Tooltip styles */
.contact-button::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 140px;
  transform: translateX(50%);
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.contact-button:hover::before {
  opacity: 1;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glow-green {
  0% {
    box-shadow: 0 0 5px #25d366;
  }
  50% {
    box-shadow: 0 0 20px #25d366;
  }
  100% {
    box-shadow: 0 0 5px #25d366;
  }
}

@keyframes glow-blue {
  0% {
    box-shadow: 0 0 5px #1e88e5;
  }
  50% {
    box-shadow: 0 0 20px #1e88e5;
  }
  100% {
    box-shadow: 0 0 5px #1e88e5;
  }
}

/* Shake animation for phone button */
@keyframes shake {
  0%,
  100% {
    transform: rotate(0);
  }
  20%,
  60% {
    transform: rotate(-10deg);
  }
  40%,
  80% {
    transform: rotate(10deg);
  }
}

.phone-button:hover ion-icon {
  animation: shake 0.5s ease-in-out;
}
/****************************/
/* Animation SECTION */
/****************************/

@keyframes slideIn {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.feature {
  animation: slideIn 1s ease-out;
}
