/* Reset */

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

header {
  padding: 5.2rem 1.3rem;
  background-image: url("/images/image.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  background-attachment: scroll; /* Prevent fixed behavior breaking on mobile */
  min-height: 78vh;
  width: 100%;
}

.hero-content {
  text-align: center;
  margin-top: 65px;
  color: white !important;
}

.hero h1 {
  font-size: 3.9rem; /* 3rem * 1.3 */
  margin-bottom: 1.3rem; /* 1rem * 1.3 */
}

.hero h2 {
  font-size: 2.1rem; /* 1.6rem * 1.3 */
  margin-bottom: 1.95rem; /* 1.5rem * 1.3 */
}

.hero button,
.other-button {
  font-size: 1.8rem; /* 1.4rem * 1.3 */
  background-color: #3fa891;
  color: white;
  border: none;
  padding: 13px 31px; /* 10px 24px * 1.3 */
  border-radius: 39px; /* 30px * 1.3 */
  cursor: pointer;

  transition: background-color 0.3s ease;
  margin-bottom: 1.3rem; /* 1rem * 1.3 */
  display: flex;
  align-items: center;
  margin: 19.5px; /* 15px * 1.3 */
}

.hero button img {
  width: 32.5px; /* 25px * 1.3 */
  margin-right: 26px; /* 20px * 1.3 */
}

.hero button:hover {
  background-color: #358c7b;
}

.social-icons {
  margin-top: 1.3rem; /* 1rem * 1.3 */
  display: flex;
  gap: 1.3rem; /* 1rem * 1.3 */
  justify-content: center;
}

.social-icons a {
  font-size: 2.1rem; /* 1.6rem * 1.3 */
  color: #ffffff;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #222;
}

.services {
  padding: 5.2rem 2.6rem; /* 4rem 2rem * 1.3 */
  background-color: #f8f8f8;
}

.services h1 {
  font-size: 3.25rem; /* 2.5rem * 1.3 */
  margin-bottom: 3.9rem; /* 3rem * 1.3 */
  color: #3fa891;
}

.service.boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2.6rem; /* keep your gap */
  text-align: center;
  border-radius: 10px; /* 15px * 1.3 */
}
.service.boxes img {
  width: 130px; /* 100px * 1.3 */
  border: #00e3b2 solid;
  border-radius: 260px; /* 200px * 1.3 */
}

.img {
  display: flex;
  justify-content: center;
}

.card {
  background: rgb(242, 242, 242);
  border-radius: 19.5px; /* 15px * 1.3 */
  padding: 2.6rem 1.95rem; /* 2rem 1.5rem * 1.3 */
  box-shadow: 0 5.2px 15.6px rgba(0, 0, 0, 0.1); /* scaled shadow */
  transition: transform 0.3s ease;
}

  .partner-logo img {
    width: 105px;
    height: 105px;
  }
.card:hover {
  transform: translateY(-13px); /* 10px * 1.3 */
}

.card .icon {
  font-size: 3.25rem; /* 2.5rem * 1.3 */
  color: #3fa891;
  margin-bottom: 1.3rem; /* 1rem * 1.3 */
}

.card h3 {
  font-size: 1.8rem; /* 1.4rem * 1.3 */
  color: #222;
  margin-bottom: 1.04rem; /* 0.8rem * 1.3 */
}

.card p {
  color: #666;
  font-size: 1.3rem; /* 1rem * 1.3 */
  line-height: 2.1; /* 1.6 * 1.3 */
}

.partners {
  background: linear-gradient(90deg, #076f69, #11c2a3);
  padding: 3.9rem 2.6rem; /* 3rem 2rem * 1.3 */
  color: white;
  position: relative;
}

.partners h2 {
  font-size: 2.6rem; /* 2rem * 1.3 */
  margin-bottom: 2.6rem; /* 2rem * 1.3 */
  text-align: right;
}

.partners h2 i {
  margin-left: 13px; /* 10px * 1.3 */
  color: white;
}

.partners-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}

/* Tablets: 2 cards per row */
@media (min-width: 768px) {
  .partners-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktops: 4 cards in a row */
@media (min-width: 1200px) {
  .partners-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.partner-card {
  background: white;
  color: #013f3c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  padding: 1rem 1.3rem;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  flex-direction: row-reverse; /* RTL: image on the right */
}

/* Image sizing */
.partner img {
  width: 150px !important;
  height: 150px !important;
  object-fit: cover;
  border-radius: 50%;
}

/* Text block */
.partner-content {
  flex: 1;
  padding-right: 1rem;
  text-align: right;
}

/* Headline and paragraph */
.partner-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: bold;
}

.partner-content p {
  font-size: 1rem;
  color: #666;
}

/* Make it more compact on phones */
@media (max-width: 767px) {
  .partner-card {
    padding: 0.8rem 1rem;
    border-radius: 14px;
  }

  .partner-content h3 {
    font-size: 1.1rem;
  }

  .partner-content p {
    font-size: 0.95rem;
  }

  .partner-logo img {
    width: 52px;
    height: 52px;
  }
}


/* ======== MEDIA QUERY FOR PHONES (max-width: 768px) ======== */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 26px 13px; /* 20px 10px * 1.3 */
  }

  .hero h1 {
    font-size: 2.86rem; /* 2.2rem * 1.3 */
  }

  .hero h2 {
    font-size: 1.56rem; /* 1.2rem * 1.3 */
  }

  .hero button {
    margin-left: 0 !important;
    justify-content: center;
    margin-bottom: 1.3rem; /* 1rem * 1.3 */
  }

  /* SERVICES SECTION */
  .services {
    padding: 2.6rem 1.3rem; /* 2rem 1rem * 1.3 */
  }

  .service.boxes {
    display: flex;
    flex-direction: column;
    gap: 1.95rem; /* 1.5rem * 1.3 */
  }

  .service.boxes img {
    width: 104px !important; /* 80px * 1.3 */
    margin: 0 auto 19.5px auto; /* 15px * 1.3 */
    display: block;
    border: #00e3b2 solid 2.6px; /* 2px * 1.3 */
    border-radius: 50%;
    padding: 10.4px; /* 8px * 1.3 */
  }

  .card {
    padding: 1.95rem 1.3rem; /* 1.5rem 1rem * 1.3 */
    text-align: center;
  }

  .card h3 {
    font-size: 1.69rem; /* 1.3rem * 1.3 */
  }

  /* PARTNERS SECTION */
  .partners {
    padding: 2.6rem 1.3rem; /* 2rem 1rem * 1.3 */
  }

  .partners h2 {
    font-size: 2.08rem; /* 1.6rem * 1.3 */
    text-align: center;
    margin-bottom: 1.95rem; /* 1.5rem * 1.3 */
  }

  .partners-container {
    display: flex;
    overflow-x: auto;
    gap: 1.3rem; /* 1rem * 1.3 */
    padding: 0 1.3rem 1.3rem 1.3rem; /* 1rem * 1.3 */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .partners-container::-webkit-scrollbar {
    display: none;
  }

  .partner-card {
    flex: 0 0 208px; /* 160px * 1.3 */
    scroll-snap-align: start;
    background: #fff;
    padding: 1.3rem; /* 1rem * 1.3 */
    border-radius: 13px;
    box-shadow: 0 2.6px 7.8px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: auto;
  }

  .partner-logo img {
    width: 65px;
    height: 65px;
    margin: 0 auto 13px auto; /* 10px * 1.3 */
  }

  .partner-content h3 {
    font-size: 1.3rem; /* 1rem * 1.3 */
    margin-bottom: 0.26rem; /* 0.2rem * 1.3 */
  }

  .partner-content p {
    font-size: 1.1rem; /* 0.85rem * 1.3 */
    color: #555;
  }

  /* CONVERTER */


  .buttons {
    flex-direction: column !important;
    align-items: center;
  }
  .buttons button {
    width: 100%;
    font-size: 1.4rem !important;
  }

}

.buttons {
  display: flex;
  justify-content: center !important;
  align-items: center;
  width: 70vw !important;
  flex-direction: row;
}

.buttons a {
  text-decoration: none;
  color: black;
}

.color-button {
  background-color: gold !important;
  color: black !important;
  font-weight: bold;
}

.other-button a {
  color: white !important;
}


.swiper-pagination-bullet-active {
  background: #3fa891 !important; /* darker green for active dot */
  opacity: 1;
  width: 14px;
  height: 14px;
}

.partner-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 800px) {
  .buttons-2 {
    flex-direction: column;
    text-align: center;
    margin-left: 40px;
  }

  .whatsapp {
    margin-left: 40px !important;
  }
  /* ...existing code... */

  /* Partners grid and card layout for phones */
  .partner-arrow-btn {
    background: #25d366;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.15);
    cursor: pointer;
    transition: background 0.2s;
  }
  .partner-arrow-btn i {
    color: #fff;
    font-size: 1.2rem;
  }
  .partner-card-animate {
    animation: fadeInPartner 0.5s;
  }
  @keyframes fadeInPartner {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .carousel-container {
    display: flex !important;
  }

  /* Stack converter, then carousel text, then carousel images for <= 1250px */
  @media (max-width: 1250px) {
    .whatsappbutton {
      font-size: 1.8rem; /* 1.4rem * 1.3 */
      background-color: rgb(1, 138, 1) !important;
      color: white;
      color: rgb(1, 138, 1) !important;
      border: none;
      padding: 13px 31px; /* 10px 24px * 1.3 */
      border-radius: 39px; /* 30px * 1.3 */
      cursor: pointer 9px; /* 30px * 1.3 */
    }

  }


/* Partners grid and card layout for phones */
@media (max-width: 767px) {
  .partners-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }
  .partner-card {
    flex-direction: row-reverse !important;
    align-items: center !important;
    padding: 0.7rem 0.7rem !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }
}



   

    @media (max-width: 600px) {
      .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
      }
    }

  }

   .whatsapp-float {
      position: fixed;
      bottom: 32px;
      right: 32px;
      z-index: 9999;
      background: #25d366;
      color: #fff;
      border-radius: 50%;
      width: 64px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 16px rgba(0,0,0,0.18);
      font-size: 2.5rem;
      transition: box-shadow 0.2s, transform 0.2s;
      text-decoration: none;
      animation: whatsapp-bounce 2.2s infinite;
      /* subtle glow */
      box-shadow: 0 0 0 0 #25d366, 0 4px 16px rgba(0,0,0,0.18);
    }


    .whatsapp-float:hover {
      box-shadow: 0 0 16px 4px #25d366, 0 8px 24px rgba(0,0,0,0.24);
      transform: scale(1.12);
      color: #fff;
      background: #20ba5a;
      animation: none;
    }

        @keyframes whatsapp-bounce {
      0%, 100% { transform: translateY(0);}
      20% { transform: translateY(-8px);}
      40% { transform: translateY(0);}
      60% { transform: translateY(-4px);}
      80% { transform: translateY(0);}
    }


    