/* General Reset */

@font-face {
  font-family: 'Trends';
  src: url('../fonts/Trends/Trends.ttf') format('truetype');
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Trends';
  font-size: 15px;
  font-style:normal;
  overflow-x: hidden;
  color: #252525;
  background-color: #20b47c; /* Light neutral background */
}

button {
  font-family: 'Trends';
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: #00c19a; /* Fallback for video */
}

/* Logo */
.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10; /* Ensures it's above the video */
  display: flex;
  align-items: center; /* Align elements inside, if any */
}

.logo img {
  width: 500px;
  height: auto;
}

.logo a {
  text-decoration: none;
}

/* Social Media Navbar */
.social-navbar {
  position: absolute;
  background-color: none;
  padding: 1rem;
  display: flex;
  align-content: center;
  right: 30px;
  top: 50px;
  /* border-top: 1px solid #ddd; */
  z-index: 10;
}

.social-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem; /* Space between icons */
}

.social-links li {
  display: flex;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 30px;
  height: 30px; */
  border-radius: 20%;
  /* background-color: #c0fff2;  */
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-icon {
  width: 50px;
  height: 50px;
  background-size: cover;
  background-repeat: no-repeat;
}

.whatsapp-icon {
  background-image: url('../images/icons/whatsapp.png');
}

.facebook-icon {
  background-image: url('../images/icons/facebook.png');
}

.instagram-icon {
  background-image: url('../images/icons/instagram.png'); 
}

.tiktok-icon {
  background-image: url('../images/icons/tiktok.png');
}


/* Background Video */
.hero-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* Video Overlay (Dim Effect) */
.hero-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
  z-index: 2; /* Sits above the video */
}

/* Hero Content */
.hero-content {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
}

.hero-content h1 {
  font-size: 4rem;
  margin: 0 0 70px;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  text-transform: uppercase;
  text-wrap: nowrap;
  font-weight: 700;
}

.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.cta-button, .see-plans {
  text-decoration: none;
  padding: 15px 30px;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #ff4081; /* Pink for fun CTA */
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

/* .see-plans {
  text-decoration: none;
  margin-left: 20px;
  padding: 15px 30px;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #ff4081; 
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
} */

.cta-button:hover {
  background-color: coral; /* Slightly darker pink */
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.see-plans:hover {
  background-color: coral; /* Slightly darker pink */
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Services Section */
.services-section {
  padding: 0px 20px 100px;
  background-color: #20b47c; /* Light neutral background */
  text-align: center;
  overflow: hidden;
}

.services-section h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 50px;
  text-transform: uppercase;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Service Card Styles */
.service-card {
  perspective: 1000px; /* Enables the 3D effect */
}

.service-card-inner {
  position: relative;
  width: 210px; /* Adjusted width for a smaller card */
  height: 200px; /* Adjusted height for a smaller card */
  transform-style: preserve-3d; /* Makes the card's front and back appear in 3D space */
  transition: transform 0.6s;
  transform-origin: center; /* Ensures the card rotates around its center */
}

/* Flip Effect on Hover */
.service-card:hover .service-card-inner {
  transform: rotateY(180deg); /* Flip the card */
}

/* Front of the card */
.service-card-front,
.service-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  backface-visibility: hidden; /* Hides the back side when it's flipped */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.service-card-front {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px; /* Adjusted padding for a more compact view */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.service-card-back {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px; /* Adjusted padding for a more compact view */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transform: rotateY(180deg); /* Rotate the back of the card */
}

.service-card-back p {
  color: #333333;
  /* font-weight: bold; */
}

.service-icon img {
  width: 100px; /* Adjusted size */
  height: 100px; /* Adjusted size */
  margin-bottom: 10px; /* Adjusted spacing */
}

.service-card h3 {
  font-size: 1.3rem; /* Adjusted font size */
  color: #333333;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem; /* Adjusted font size for better readability */
  font-weight: 700;
  color: #333333;
  line-height: 1.4;
}

/* Gallery Section */
.gallery-section {
  padding: 2rem;
  background-color: #f9f9f9;
}

.slideshow-container {
  display: flex; 
  justify-content: center;
  gap: 100px;
}

.slideshow {
  position: relative;
  width: 250px;
  height: 700px; 
  overflow: hidden;
  background-color: #eaeaea;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.slideshow-middle {
  position: relative;
  width: 500px;
  height: 700px; 
  overflow: hidden;
  background-color: #eaeaea;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}


/* Assign unique animation delays for each slideshow */
.slideshow:nth-child(1) .slides img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow:nth-child(1) .slides img:nth-child(2) {
  animation-delay: 3s;
}
.slideshow:nth-child(1) .slides img:nth-child(3) {
  animation-delay: 6s;
}

.slideshow:nth-child(2) .slides img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow:nth-child(2) .slides img:nth-child(2) {
  animation-delay: 4s;
}
.slideshow:nth-child(2) .slides img:nth-child(3) {
  animation-delay: 8s;
}

.slideshow:nth-child(3) .slides img:nth-child(1) {
  animation-delay: 1s;
}
.slideshow:nth-child(3) .slides img:nth-child(2) {
  animation-delay: 5s;
}
.slideshow:nth-child(3) .slides img:nth-child(3) {
  animation-delay: 9s;
}

.slideshow:nth-child(4) .slides img:nth-child(1) {
  animation-delay: 2s;
}
.slideshow:nth-child(4) .slides img:nth-child(2) {
  animation-delay: 6s;
}
.slideshow:nth-child(4) .slides img:nth-child(3) {
  animation-delay: 10s;
}

/* Keyframes for fading animation */
@keyframes fade-animation {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


/* Pricing Section */
.pricing-section {
  background-color: #ececec;
  text-align: center;
}

.container-pricing {
  padding: 1rem;
}

.pricing-section h2 {
  font-size: 3rem;
  color: #333333;
  margin: 2rem;
  text-transform: uppercase;
  /* text-shadow: 3px 3px 5px rgba(116, 78, 37, 0.3) ; */
}

.pricing-table {
  display: flex; /* Change from grid to flexbox for perfect centering */
  justify-content: center; /* Center the items horizontally */
  gap: 30px; /* Space between cards */
  flex-wrap: nowrap; /* Ensure the cards wrap properly on smaller screens */
}

.pricing-card {
  flex: 1 1 calc(33.33% - 30px); 
  max-width: 300px;
  background-color: #defad89d;
  border-style: solid;
  border-width: 10px;
  border-color: #239166;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 5rem;
  height: 450px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


.pricing-card .pricing-img {
  width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.pricing-card .package {
  margin: 0;
  font-size: 70px;
  color: #20b47c;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  color: #66303b;
  margin: 1rem 0;
  /* font-weight: bold; */
}


.pricing-card ul li {
  font-size: 1rem;
  color: #555555;
  margin: 0.5rem 0;
}

.select-button {
  background-color: #dcfcdb;
  color: #157015;
  font-size: 1rem;
  padding: 10px 4rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.select-button:hover {
  background-color: #17a678;
  color: #dcfcdb;
  transform: scale(1.05);
}

/* Upgrades Section */
.upgrades h2 {
  font-size: 2.5rem;
  /* color: #20b47c; */
  /* margin-bottom: -2rem; */
  text-transform: uppercase; 
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.upgrades-list {
  justify-content: center;
  list-style: none;
  padding: 0 50px 0;
  margin: 0 auto;
  display: flex;
  gap: 20px;
}


.upgrades-list li {
  background-color: #f9f9f9;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

/* Extra Features Section */
.packages-extra-section {
  padding: 3rem 1rem;
  /* background-color: #ffffff; */
  text-align: center;
  /* border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd; */
}

.package-inclusive h2 {
  font-size: 2.5rem;
  /* color: #20b47c; */
  margin-bottom: -2rem;
  text-transform: uppercase; 
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.package-list {
  justify-content: center;
  list-style: none;
  padding: 50px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
}


.package-list li {
  background-color: #f9f9f9;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.package-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


footer {
  margin: 20px;
}

/* Form Section */

.form-header {
  padding: 6.5rem 2rem ;
}

.form-header h1 {
  flex: 1;
  color: #eaeaea;
  /* text-align: center; */
  font-size: 2rem;
}

.form-section {
  position: relative;
  z-index: 1;
  padding: 0rem 0 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

/* Blurred and Dimmed Effect */
.form-section.dimmed {
  filter: blur(4px);
  pointer-events: none; /* Disable interaction with the blurred content */
}

/* Dim Background Overlay */
.dim-overlay {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dim background with 50% opacity */
  z-index: 999; /* Ensure it appears above the form-section but below the dialog */
  display: none; /* Initially hidden */
}

.dim-overlay.active {
  display: block;
}


.form-section h2 {
  font-size: 2rem;
  color: #20b47c;
  padding: 1rem 0 0;
  margin-bottom: 1rem;
}

form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: left;
}

form input,
form select,
form textarea {
  width: 90%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  color: #555;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: #20b47c;
  outline: none;
  box-shadow: 0 0 5px rgba(32, 180, 124, 0.5);
}

/* Date Selector Styling */
input[type="date"] {
  appearance: none; /* Remove default styles for a custom look */
  background-color: #ffffff;
  color: #555;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  width: 90%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type="date"]:focus {
  border-color: #20b47c;
  outline: none;
  box-shadow: 0 0 5px rgba(32, 180, 124, 0.5);
}


.submit-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #ff4081;
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.submit-button:hover {
  background-color: coral;
  transform: scale(1.05);
}

.dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 1000;
}

.hidden {
  display: none;
}

.dialog p {
  font-size: 1.2rem;
  margin: 0;
}

.dialog span {
  font-weight: bold;
}


.ok-button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #20b47c;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.ok-button:hover {
  background-color: #17a678;
  transform: scale(1.05);
}

/* Mobile-friendly Services Section */
@media (max-width: 768px) {
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px 0;
    margin: 0 -20px;
    padding: 20px;
  }

  .service-card {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
    margin-right: 20px;
  }

  /* Hide scrollbar but keep functionality */
  .services-grid::-webkit-scrollbar {
    display: none;
  }
  
  .services-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

@media (max-width: 768px) {
  .slideshow-container {
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .slideshow-container .slideshow {
    width: 18rem;
  }

  .slideshow-middle {
    height: 550px;
  }

}

/* Mobile-friendly Pricing Section */
@media (max-width: 768px) {
  .pricing-section {
    align-content: center;
  }

  .pricing-table {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 1.7rem;
  }

  .pricing-card {
    /* flex: 0 0 auto; */
    height: 400px;
    width: 230px;
    margin-right: 20px;
  }

  .pricing-card .package {
    margin: 0;
    font-size: 54px;
    text-anchor: middle;
    text-align: center;
  }

  /* Hide scrollbar but keep functionality */
  .pricing-table::-webkit-scrollbar {
    display: none;
  }

  .container-pricing {
    /* width: 50%; */
    /* margin-left: 6.7rem; */
    padding-bottom: 0;
  }
  
}

/* Mobile-friendly Package Inclusive Section */
@media (max-width: 768px) {
  .package-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
    gap: 20px;
    margin: 0 -20px;
  }

  .package-list li {
    flex: 0 0 auto;
    width: 250px;
    scroll-snap-align: start;
    margin-right: 20px;
    white-space: normal;
    align-content: center;
  }

  /* Hide scrollbar but keep functionality */
  .package-list::-webkit-scrollbar {
    display: none;
  }
  
  .package-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
  .logo {
    position: absolute;
  }

  .logo img {
    margin: 0 0 0 1.4rem;
    width: 100%; /* Adjust logo size for mobile */
    max-width: 330px; /* Prevent logo from getting too small */
    height: auto;
  }

  .social-navbar {
    position: absolute;
    margin: 5rem 3rem;
  }

  .social-links {
    justify-content: center;
    gap: 2rem; /* Increase space between social icons */
  }

  .social-icon {
    width: 40px; /* Slightly smaller icons for mobile */
    height: 40px;
  }

  .hero-section {
    height: 450px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
    margin-top: 10rem;
    text-wrap: inherit;
  }

  .buttons {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 50px;
    width: 500px;
  }

  .cta-button, .see-plans {
    font-size: 1.2rem;
    margin: -1rem;
  }

  .package-inclusive h2 {
    margin-bottom: 0;
    margin-top: 20px;
  }

  .services-section h2,
  .pricing-section h2{
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  /* Add visual indicator for scrollable content */
  .services-grid::after,
  .pricing-table::after,
  .package-list::after {
    content: '';
    flex: 0 0 1px; /* Creates a small gap at the end */
  }

  /* Adjust hero content spacing */
  .hero-content {
    top: 50%; 
  }

  /* Form header adjustments */
  .form-header {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-header h1 {
    text-align: center;
    margin-top: 1rem;
  }
  
  footer {
    text-align: center;
  }
}

/* Add smooth scrolling to the whole page */
* {
  -webkit-overflow-scrolling: touch;
}

/* Add scroll indicators */
.scroll-indicator {
  position: absolute;
  right: 20px;
  display: none;
}

@media (max-width: 768px) {
  .scroll-indicator {
    display: block;
    animation: fadeInOut 2s infinite;
  }
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* form for mobile */
@media (max-width: 768px) {
  .form-header {
    padding: 6rem;
  }
}