/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #25d366, #128c7e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, #1e7db0);
  border-radius: 2px;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  /* color: #8a8989; */
  color: #1f1f21;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

section {
  padding: 3rem 0;
  position: relative;
}

section:nth-child(even) {
  background-color: #ffffff;
}

/* Header */
header {
  /* background: linear-gradient(135deg, #1e7db0,#1679a7); */
  /* background: #1e7db0; */
  background: rgba(255, 255, 255, 1);
  color: rgb(223, 223, 223);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2325D366" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
  opacity: 0.8;
}

.header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  flex: 3;
  padding: 2rem 0;
}

.video-container {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 800px;
  position: relative;
  z-index: 1;
  /* aspect-ratio: .939; */
  width: 100%;
  /* Prevent excessive width */
}

.video-container video {
  width: 55%;
  max-width: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(30, 125, 176, 0.5);
  border: 8px solid #f0f0f0;
  transform: scaleX(1.1);
}

.header-content h1 {
  /* font-size: 3.5rem; */
  color: #4a5568;
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.header-content p {
  font-size: 1.5rem;
  /* color: rgba(255, 255, 255, 0.9); */
  color: #4a5568;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: #1e7db0;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgb(30, 125, 176, 0.3);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 125, 176, 0.4);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
}

.btn:hover::after {
  animation: shine 1.5s infinite;
}

@keyframes shine {
  100% {
    transform: translateX(100%);
  }
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  flex: 1 1 300px;
  max-width: 350px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, #ffffff, #1e7db0);
  border-image-slice: 1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1e7db0;
  display: block;
}

/* Steps */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  counter-reset: step;
  margin-top: 3rem;
}

.step {
  flex: 1 1 250px;
  margin-bottom: 2rem;
  padding: 0 1rem;
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(90deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.step h3 {
  margin-left: 60px;
  margin-top: 5px;
}

.step p {
  margin-left: 60px;
}

/* Benefits */
.benefits {
  list-style: none;
  margin-top: 2rem;
}

.benefits li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  font-size: 1.1rem;
}

.benefits li::before {
  content: "\f058";
  /* Font Awesome check-circle icon */
  font-family: "Font Awesome 6 Free";
  /* Ensure it loads from FA */
  font-weight: 900;
  /* Needed for solid icons */
  color: #1e7db0;
  /* Make it blue */
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}

/* FAQ */
.faq {
  margin-top: 3rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  /* border-bottom: 1px solid #eee; */
  padding-bottom: 0.5rem;
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

/* Footer */
footer {
  background: #333333;
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

footer h2 {
  color: white;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-info {
  flex: 1 1 300px;
}
.footer-form {
  flex: 1 1 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  /* background: rgba(255, 255, 255, 0.1); */
  background: #1e7db0;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #0474b1;
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.accordion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  color: #333;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: bold;
  transition: 0.3s;
  /* outline: none; */
  /* border: 1px solid #ddd; */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08), 0px 1px 3px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

.accordion:hover {
  background-color: #e9ecef;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.16);
}

.accordion.active {
  /* background: linear-gradient(90deg,#1e7db0, #ffffff); */
  background: #3584af;
  color: white;
}
.accordion i {
  margin-left: auto; /* Push the icon to the right */
  font-size: 1.4rem;
  padding-top: 5px;
}
.panel {
  padding: 20px;
  display: none;
  background-color: white;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  border-bottom: 1px solid #ddd;
  border-radius: 0 0 5px 5px;
  line-height: 1.8;
}

.view-demo-btn {
  /* transform: translateY(-50%); */
  background-color: #2076a4;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 0.9rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.view-demo-btn:hover {
  /* background: linear-gradient(135deg, #0056b3, #003d80); */
  background-color: #2076a4;
  transform: scale(1.05);
  opacity: 1;
}

.view-demo-btn:active {
  transform: scale(0.95);
}

.panel p {
  font-size: 1.05rem;
}
/* How It Works Flow */
.flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 150px;
}

.flow-circle {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.flow-circle i {
  font-size: 2.5rem;
}

.flow-step:hover .flow-circle {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.flow-arrow {
  font-size: 2rem;
  color: #1e7db0;
}

/* Flow icons colors */
.icon-message {
  color: #25d366;
  /* WhatsApp green */
}

.icon-slots {
  color: #4285f4;
  /* Google blue */
}

.icon-pick {
  color: #ea4335;
  /* Google red */
}

.icon-confirm {
  color: #34a853;
  /* Google green */
}

.icon-reminder {
  color: #fbbc05;
  /* Google yellow */
}

.icon-payment-flow {
  color: #8e44ad;
  /* Purple */
}

.icon-hospital {
  color: #f44336;
}

.icon-spa {
  color: #009688;
}

.icon-sports {
  color: #3f51b5;
}

.icon-business {
  color: #795548;
}

.icon-event {
  color: #607d8b;
}
.icon-education {
  color: rgb(221, 221, 57);
}
.icon-ecommerce {
  color: #1e7db0;
}
.icon-hotel {
  color: chocolate;
}
/* Video Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 20%;
  max-width: 800px;
  /* background: white; */
  /* border-radius: 10px; */
  overflow: hidden;
  transform: scaleX(1.1);
  /* box-shadow: 0 10px 30px rgba(30, 125, 176, 0.3); */

  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(30, 125, 176, 0.3);
  border: 8px solid #f0f0f0;
}

.modal-video {
  /* padding: 2rem; */
  width: 100%;
  /* display: block; */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.responsive-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Prevent overflow */
  background-color: #a7f3d0;
  max-width: fit-content; /* Ensures it adapts to different screens */
  border: 0.5px solid rgb(9, 146, 80);
  border-radius: 38px;
  padding: 5px 17px;
  color: green;
  gap: 8px;
}

.responsive-container h4 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #047857;
  font-size: 1rem; /* Responsive text size */
}

.responsive-container img {
  height: 24px;
  width: 24px;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: none; /* Hidden by default */
  background-color: #1e7db0; /* Green */
  color: white;
  border: none;
  border-radius: 50%; /* Makes it fully rounded */
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); */
  transition: all 0.3s ease;
  opacity: 0.9;
}

#scrollToTopBtn:hover {
  background-color: #0d5c86; /* Darker Green */
  opacity: 1;
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

#scrollToTopBtn i {
  font-size: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .container {
    width: 95%;
  }

  .flow {
    gap: 0.5rem;
  }

  .flow-step {
    width: 130px;
  }

  .flow-circle {
    width: 80px;
    height: 80px;
  }

  .flow-circle i {
    font-size: 2rem;
  }
  .modal-content {
    position: relative;
    width: 50%;
    max-width: 800px;
    /* background: white; */
    /* border-radius: 10px; */
    overflow: hidden;
    transform: scaleX(1.1);
    box-shadow: 0 10px 30px rgba(30, 125, 176, 0.3);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header-content h1 {
    font-size: 2rem;
  }

  .header-content p {
    font-size: 1.2rem;
  }

  section {
    padding: 3rem 0;
  }

  .container {
    flex-direction: column;
  }

  header .container {
    display: flex;
    flex-direction: column;
  }

  .header-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .video-container {
    width: 100%;
    justify-content: center;
  }

  .video-container video {
    width: 60%;
    max-width: 250px;
  }

  .flow {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  .footer-content {
    flex-direction: column;
  }
  .modal-content {
    position: relative;
    width: 25%;
    max-width: 800px;
    overflow: hidden;
    transform: scaleX(1.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 125, 176, 0.3);
    border: 8px solid #f0f0f0;
  }
  .responsive-container {
    padding: 5px 15px;
    border-radius: 30px;
    flex-direction: column; /* Stack items on smaller screens */
    text-align: center;
  }

  .responsive-container h4 {
    font-size: 0.8rem;
  }

  .responsive-container img {
    height: 20px;
    width: 20px;
  }
  .btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 250px;
  }

  #intro .btn,
  #benefits .btn,
  #use-cases .btn,
  header .btn {
    margin: 0 auto;
  }

  #toggle-button {
    margin: 0 auto;
    display: block;
  }

  #use-cases div[style*="text-align: center"] {
    text-align: center !important;
  }
  #contactForm .btn {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0;
  }

  #scrollToTopBtn {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .video-container video {
    width: 80%;
    max-width: 200px;
  }

  .card {
    flex: 1 1 100%;
  }

  .flow-circle {
    width: 70px;
    height: 70px;
  }

  .flow-circle i {
    font-size: 1.8rem;
  }
  .modal-content {
    position: relative;
    width: 65%;
    max-width: 800px;
    /* background: white; */
    /* border-radius: 10px; */
    overflow: hidden;
    transform: scaleX(1.1);
    /* box-shadow: 0 10px 30px rgba(30, 125, 176, 0.3); */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 125, 176, 0.3);
    border: 8px solid #f0f0f0;
  }
  .responsive-container {
    margin: auto;
    padding: 4px 10px;
    border-radius: 20px;
  }

  .responsive-container h4 {
    font-size: 0.8rem;
  }

  .responsive-container img {
    height: 18px;
    width: 18px;
  }
  .accordion {
    font-size: 1.1rem;
    /* padding: 0.8rem; */
  }

  .accordion i {
    font-size: 1.2rem;
  }
}
