/* Base Styles */
:root {
    --primary: #2E8B57;
    --primary-dark: #1F6B3D;
    --light-bg: #F8F9FA;
  }

  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
  }

  /* Hero Section */
 .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5) ,rgba(0, 0, 0, 0.5)), url('./assets/images/forest-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
  }

  .features h2 {
    text-align: center;

  }

  /* Features */
  .features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }

  .feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .feature-card span {
    font-size: 2.5rem;
  }

  /* Signup Form */
  .signup {
    background: var(--light-bg);
    padding: 4rem 2rem;
  }

  .signup-box {
    background: white;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  #detox-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
  }

  /* Countdown */
  .countdown {
    text-align: center;
    padding: 1rem;
    background: var(--primary);
    color: white;
  }

  /* Buttons */
  .cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
  }

  .cta-button:hover {
    background: var(--primary-dark);
  }

  .cta-button {
    padding: 16px 32px; /* Larger tap area */
    min-width: 200px; /* Avoid skinny buttons */
  }

  #detox-form input {
    padding: 14px; /* Easier to tap */
  }

  /* Base Styles */
html {
    font-size: 100%; /* Default = 16px */
  }

  h1, h2, h3 {
    line-height: 1.2; /* Better for small screens */
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem); /* Fluid font scaling */
  }

  .hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
  }

/* Add/Update these styles in your CSS */

/* Signup Form Adjustments */
.signup-box {
    text-align: center; /* Center all content */
    width: 90%; /* Add this */
    max-width: 500px; /* Keep existing */
  }

  #detox-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between form elements */
  }

  #detox-form input,
  #detox-form button {
    width: 100%;
    box-sizing: border-box; /* Prevent overflow */
  }

  /* Text Alignment Fixes */
  .signup-box h2 {
    margin-bottom: 1.5rem;
  }

  .disclaimer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
  }

  /* Mobile Adjustments */
  @media (max-width: 480px) {
  .signup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem; /* Reduce padding for small screens */
  }

  .signup-box {
    width: 100%; /* Use full available width */
    max-width: 350px; /* Smaller max-width for mobile */
    margin: 0 auto; /* Center horizontally */
    padding: 1.5rem 1rem; /* Adjust inner spacing */
  }

  /* Ensure form elements stay centered */
  #detox-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
 /* Medium Screens (Tablets) */
@media (max-width: 1024px) {
    .hero-content h1 {
      font-size: 2.5rem;
    }
  }

  /* Small Screens (Mobile) */
  @media (max-width: 480px) {
    .hero {
      min-height: 80vh; /* Prevents excessive vertical space on mobile */
    }

    .hero-content h1 {
      font-size: 1.8rem;
    }

    .feature-grid {
      grid-template-columns: 1fr; /* Stack feature cards vertically */
      gap: 1.5rem;
    }

    .feature-card {
      padding: 1.5rem;
    }

    .signup-box {
      margin: 0 1rem; /* Prevent edge-to-edge layout */
      padding: 1.5rem;
    }

    #detox-form input {
      font-size: 16px; /* Prevent mobile zoom on input focus */
    }
  }

  .about
  , .footer {
  padding: 2rem 2rem;
  text-align: center;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.hero-points li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.footer {
  background: #f8f9fa;
  font-size: 0.9rem;
}

.footer-links a {
  margin: 0 8px;
  text-decoration: none;
  color: #555;
}


.faq {
  padding-top: 30px;
  text-align: left;
}



/* PRIVACY POLICY , TERMS & CONTACT */

/* Common Page Section Styling */
.page-section {
  max-width: 800px;
  margin: 80px auto 40px auto;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.7;
}

.page-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

.page-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #444;
}

.page-section p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.page-section ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-section ul li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-section a {
  color: #007BFF;
  text-decoration: none;
}

.page-section a:hover {
  text-decoration: underline;
}

/* Footer Styling */
.footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #f8f8f8;
  font-size: 0.95rem;
  color: #777;
}

.footer-links a {
  margin: 0 10px;
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* General Card Styling */
.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* What You Get Section */
.features .feature-card {
  background-color: #f0fdf4; /* Light creamy green background */
  padding: 25px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  margin-top: 15px;
  font-size: 1.4rem;
  color: #2c6b3f; /* Dark green for headings */
}

.feature-card p {
  font-size: 1.1rem;
  color: #4b4b4b;
  line-height: 1.6;
}

.feature-card:hover {
  background-color: #e0f7e9; /* Slightly darker shade for hover */
}

/* Why VoidScroll Section */
.why-voidscroll {
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 50px;
}

.why-voidscroll h2 {
  font-size: 2rem;
  color: #2c6b3f;
  margin-bottom: 20px;
}

.why-voidscroll p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.why-voidscroll .card {
  background-color: #f0fdf4; /* Light creamy green */
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Who This Is For Section */
.who-this-is-for {
  background-color: #4f6d58;
  padding: 40px;
  margin-bottom: 50px;
}

.who-this-is-for h2 {
  font-size: 2rem;
  color: #2c6b3f;
  margin-bottom: 20px;
}

.who-this-is-for ul {
  list-style-type: none;
  padding-left: 0;
}

.who-this-is-for li {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 12px;
}

.who-this-is-for .card {
  background-color: #f0fdf4;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.faq {
  background-color: #ffffff;
  padding: 40px;
  margin-bottom: 50px;
}

.faq h2 {
  font-size: 2rem;
  color: #2c6b3f;
  margin-bottom: 20px;
}

.faq-item {
  background-color: #f0fdf4;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  font-size: 1.3rem;
  color: #2c6b3f;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Full-Page Section */
section {

  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  padding: 40px 20px;
  box-sizing: border-box;
  margin-bottom: 0; /* Remove bottom margin to prevent overlap */
}

/* Specific Section Adjustments */
.hero {
  background-color: #f0fdf4; /* Light creamy green for hero section */
  display: flex;
  justify-content: center;
  align-items: center;
}

.features, .why-voidscroll, .who-this-is-for, .faq {
  background-color: #ffffff; /* White background for other sections */
  padding-top: 20px; /* Add top padding to give space from the previous section */
}

/* Centering text and adding more space to the 'Why Voidscroll' section */
.why-voidscroll h2, .who-this-is-for h2, .faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Adjustments for mobile-friendly full-page section */
@media (max-width: 768px) {
  section {
    padding: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .why-voidscroll h2, .who-this-is-for h2, .faq h2 {
    font-size: 2rem;
  }
}
/* Full-Page Section */
section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 20px;
  box-sizing: border-box;
  margin-bottom: 0;
  background-color: #f0fdf4; /* Creamy soft green */
  border-radius: 10px; /* Rounded corners for a softer look */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow for a clean look */
  transition: all 0.3s ease;
}

/* Horizontal Divider */
hr {
  border: 0;
  border-top: 1px solid #e0e0e0; /* Light divider */
  margin: 40px 0;
}

/* Section Titles */
h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c6b3f; /* Dark green for text */
  text-align: center;
  margin-bottom: 30px;
}

/* About Section Styling */
.why-voidscroll {
  background-color: #f0fdf4;
}

.why-voidscroll p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

/* Extra Content in Why VoidScroll */
.why-voidscroll p.extra {
  margin-top: 20px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Box for 'What You Get' Section */



/* Who This Is For Section */
.who-this-is-for ul {
  list-style-type: none;
  padding-left: 0;
}

.who-this-is-for li {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 12px;
  text-align: left;
  padding-left: 20px;
}

.who-this-is-for {
  background-color: #f0fdf4;
  padding-top: 60px;
}

/* FAQ Section Styling */
.faq {
  background-color: #f0fdf4;
}

.faq-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  font-size: 1.3rem;
  color: #2c6b3f;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  section {
    padding: 30px 10px;
  }

  h2 {
    font-size: 2rem;
  }

  .why-voidscroll p {
    font-size: 1rem;
  }

  .features .feature-card {
    padding: 15px;
  }

  .faq-item {
    padding: 15px;
  }
}

/* Section Background Color & Narrowing */
.about, .why-voidscroll, .who-this-is-for {
  background-color: #f0fdf4;
  width: 90%; /* Slightly narrower sections */
  margin: 30px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about h2, .why-voidscroll h2, .who-for h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #2a5d44;
}

.about p, .why-voidscroll p, .who-for p {
  font-size: 1rem;
  color: #4f6d58;
  margin-top: 10px;
}

/* FAQ Section (No Box, New Heading) */
.faq {
  background-color: #ffffff;
  width: 90%;
  margin: 30px auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2a5d44;
  text-align: center;
  margin-bottom: 20px;
}

.faq .faq-item {
  margin: 10px 0;
}

.faq .faq-item h3 {
  font-size: 1.2rem;
  color: #2a5d44;
  font-weight: 600;
}

.faq .faq-item p {
  font-size: 1rem;
  color: #4f6d58;
}

/* Spacer for Dividing Sections */
hr {
  border: 1px solid #e2e2e2;
  margin: 20px 0;
}




/* WHO THIS FOR */

/* Who Is This For Section */
.who-this-is-for {
  background-color: #f0fdf4;
  width: 90%; /* Slightly narrower section */
  margin: 30px auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center; /* Center the entire section */
}

.who-this-is-for h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #2a5d44;
  margin-bottom: 20px;
}

.who-this-is-for ul {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for responsive design */
  justify-content: space-between; /* Spread out items */
  padding-left: 0;
  list-style-type: none; /* Remove default bullets */
  margin: 0;
}

.who-this-is-for li {
  font-size: 1rem;
  margin-top: 15px;
  background-color: #ffffff; /* Light green background */
  padding: 15px;
  border-radius: 8px;
  width: 45%; /* Two items per row by default */
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.faq {
  background-color: #f0fdf4;
}

/* For Smaller Screens (Adjust layout) */
@media screen and (max-width: 768px) {
  .who-this-is-for li {
    width: 100%; /* Stack the items vertically */
    margin-top: 10px; /* Adjust space between items */
  }
}

/* Prevent horizontal scroll issues on the entire page */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Also force all sections and containers to not overflow */
section, header, footer, div {
  max-width: 100%;
  overflow-x: hidden;
}
.about,
.why-voidscroll,
.who-this-is-for {
  padding: 50px; /* Reduce top/bottom padding */
  margin: 45px auto;  /* Optional: shrink outside margin */
}

/* Optional: shrink paragraph/list spacing */
.about p,
.why-voidscroll p,
.who-this-is-for li {
  margin-bottom: 11px;
}

/* Image Styling for Feature Cards */
.feature-card img {
  width: 35%; /* Ensure the image spans the full width of the card */
  height: auto; /* Maintain the aspect ratio of the image */
  border-radius: 8px; /* Rounded corners to match the card */
  object-fit: cover; /* Ensures the image covers the space without distortion */
  margin-bottom: 15px; /* Space between the image and the text */
}

/* Responsive Image Styling */
@media (max-width: 768px) {
  .feature-card img {
    max-width: 80%; /* Reduce image width on smaller screens */
    margin: 0 auto 10px auto; /* Center the image on smaller screens */
  }
}



/* What Challenge */
/* Wrapper section (like About) */
.challenge-section {
  width: 90.5%;
  margin: 50px auto;
  background-color: #f0fdf4; /* Creamy green */
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  font-family: 'Arial', sans-serif;
}

.challenge-section h2{
  color: #2a5d44
}

/* Heading text */
.slide-heading {
  text-align: center;
  font-size: 2em;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
}

/* Description text */
.slide-text {
  text-align: center;
  color: #34495e;
  font-size: 1.05em;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Slideshow */
.slideshow-container {
  width: 75%;
  margin: 0 auto;
  position: relative;
}

/* Slides */
.slide {
  display: none;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  min-height: 260px;
  text-align: center;
}

.active-slide {
  display: block;
}

/* Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  opacity: 0;
  transition: 0.3s ease;
}

.next {
  right: -10px;
}

.prev {
  left: -10px;
}

.slideshow-container:hover .prev,
.slideshow-container:hover .next {
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .challenge-section {
    padding: 30px 15px;
  }

  .slide {
    padding: 20px 15px;
    min-height: 230px;
  }

  .slide-heading {
    font-size: 1.6em;
  }

  .slide-text {
    font-size: 0.98em;
  }

  .prev, .next {
    font-size: 20px;
    padding: 10px;
    right: 0;
    left: 0;
  }

  .next {
    right: 0;
  }

  .prev {
    left: 0;
  }
}

.slide-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

.slide-icon:hover {
  transform: scale(1.05);
}

.goal {
  height: 83px;
}


/* Media Query For Slideshow */

@media (max-width: 768px) {
  .challenge-section {
    width: 100%;
    margin: 30px auto;
    padding: 25px 15px;
    align-content: center;
  }

  .slideshow-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .slide {
    min-height: auto;
    padding: 25px 15px;
    margin: 0 5px;
  }

  .slide-heading {
    font-size: 1.4em;
    margin-bottom: 15px;
    line-height: 1.3;
    padding: 0 10px;
  }

  .slide-text {
    font-size: 0.92em;
    margin-bottom: 25px;
    line-height: 1.5;
    padding: 0 8px;
  } 

  .next {
    left: auto !important;
    right: -10px !important; /* ✅ Move next arrow slightly out */
  }
  .prev {
    left: -10px !important; /* Moves it slightly out but still visible */
    transform: translateY(-50%);
  }

  .next {
    right: -10px !important; /* Slightly out for better visibility */
    transform: translateY(-50%);
  }
  .slide-icon {
    width: 80px;
    margin-bottom: 15px;
  }

  .goal {
    height: auto;
  }
  .prev, .next {
    background: none; 
    box-shadow: none;
    font-size: 24px;
    width: auto;
    height: auto;
    padding: 5px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
    cursor: pointer;
  }
  .prev {
    left: 10px; /* slightly outside the content */
  }

  .next {
    right: 10px; /* slightly outside the content */
  }

  .slide {
    padding: 20px 15px;
    margin: 0 auto;
    width: 90%;
  }

  .slideshow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    width: 100%;
  }
  .prev, .next {
    transform: translateY(-45%) translateX(-95%); /* Added horizontal translation */
    width: 40px; /* Ensure clickable area */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    box-shadow: none;
    font-size: 24px;
  }

  .prev {
    left: 0 !important;
    transform: translateY(-50%) translateX(-100%); /* Full left offset */
  }

  .next {
    right: 0 !important;
    transform: translateY(-50%) translateX(100%); /* Full right offset */
  }

  .slideshow-container {
    overflow: visible; /* Crucial - ensure arrows aren't clipped */
    margin: 0 20px; /* Create space for arrows */
    width: calc(100% - 40px); /* Compensate for margin */
  }
}


/* Form */
.custom-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.custom-alert-box {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.custom-alert-box h2 {
  margin-top: 0;
  color: #2c3e50;
}

.custom-alert-box button {
  margin-top: 15px;
  padding: 8px 16px;
  background: #00a86b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

