/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
  }
  
  .btn-demo {
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    background-color: #163d1d; /* dark green background */
    border: 3px solid #00ff2f96; /* bright green border */
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
  }

  .btn-demo:hover {
    background-color: #ffffff;
    color: #00ff00;
    border: 3px solid #00ff2f96; /* bright green border */
    cursor: pointer;
  }
  

/* Product Overview */
.product-overview {
  position: relative;
  background: url('../img/swimview/LandingPageMap.png') no-repeat center center / cover;
  color: white;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

/* Translucent black overlay */
.product-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
  z-index: 0;
}

/* Content styling */
.product-overview-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.product-overview-text h1 {
  font-size: 2.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.product-overview-text p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* CTA Button */
.btn-demo-overview {
  display: inline-block;
  padding: 14px 32px;
  background-color: #1f4f1f; /* Deep green */
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-demo-overview:hover {
  background-color: #2e6b2e;
}


  /*  Site visit Section */
.site-visit {
  background: #f4f7fa;
  padding: 60px 40px;
}

.site-visit-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.site-visit-image img {
  margin-right: 60px;
  max-width: 500px; 
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.site-visit-text {
  max-width: 600px;
  padding-left: 40px;
  line-height: 1.6;
}

.site-visit-text h2 {
  font-size: 2em;
  color: #1e2b43;
  margin-bottom: 20px;
}

.site-visit-text p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 25px;
}


/* Testimonial Section */
.testimonial {
   background: linear-gradient(42deg, #286d03 0%,  #0a1f0c 100%);
  color: white;
  padding: 80px 40px;
  text-align: left;
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial .quote {
  font-size: 1.6em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.testimonial .author {
  font-size: 1.3em;
  font-weight: bold;
}

.testimonial .title {
  font-size: 1.1em;
  color: #d8e6f2;
}


/* Final Demo Section */
.demo-final {
  background-color: #0C3C01;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
}

.demo-box {
  background-color: white;
  border-radius: 16px;
  max-width: 1000px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0px;
  padding: 0px;
}

.demo-text {
  max-width: 500px;
  line-height: 1.6;
  padding: 20px;
  padding-left: 80px;
text-align: center;
}

.demo-text h2 {
  font-size: 2.2em;
  color: #1e2b43;
  margin-bottom: 20px;
}

.demo-text p {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 25px;
}

.demo-image img {
  max-width: 300px;
  border-radius: 8px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-right: 80px;
  padding-top: 40px;
}



/* why streetsense Section */

.why-streetsense {
  background: linear-gradient(to bottom right, #dcded6, #ebebeb);
  padding: 80px 40px;
  text-align: center;
}

.why-streetsense h2 {
  font-size: 2.4em;
  color: #163d1d;
  margin-bottom: 20px;
}

.why-streetsense p {
  font-size: 1.15em;
  color: #444;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.why-list li {
  background-color: #ffffff;
  border: 2px solid #A2AC82;
  border-left: 6px solid #305C10;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.05em;
  color: #2E2D1D;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-list li::before {
  content: "✔";
  color: #305C10;
  font-weight: bold;
  font-size: 1.2em;
}




/* Benefits Section */
.benefits {
  padding: 60px 40px;
  background-color: #ffffff;
  text-align: center;
}

.benefits h2 {
  font-size: 2em;
  color: #1e2b43;
  margin-bottom: 40px;
}

.benefit-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.benefit-card {
  background-color: #f1f5f9;
  border-radius: 12px;
  padding: 30px 25px;
  flex: 1 1 280px;
  max-width: 320px;
  text-align: left;
}

.benefit-card .icon {
  font-size: 2em;
  color: #1e2b43;
  margin-bottom: 10px;
}

.benefit-card h3 {
  color: #1e2b43;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.benefit-card ul {
  padding-left: 20px;
}

.benefit-card ul li {
  margin-bottom: 10px;
  color: #555;
}



/* Feature Highlight Section */
.feature-highlight {
  background: linear-gradient(to bottom right, #eef3f8, #ffffff);
  padding: 60px 40px;
}

.feature-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
}

.feature-image img {
  max-width: 650px; /* or another suitable size */
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-left: 30px;
}

.feature-text {
  max-width: 600px;
  line-height: 1.6;

}

.feature-text .subtitle {
  font-size: 0.9em;
  color: #666;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.feature-text h2 {
  font-size: 2em;
  color: #1e2b43;
  margin-bottom: 15px;
}

.feature-text .intro {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #555;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.feature-list li {
  margin-bottom: 12px;
  color: #444;
  position: relative;
  padding-left: 25px;
}

.feature-list li::before {
  content: "❯";
  position: absolute;
  left: 0;
  color: red;
  font-weight: bold;
}

.product-overview-video iframe {
  width: 100%;
  max-width: 500px;
  height: 280px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}



/*==========Mobile Reponsive ===========*/
@media (max-width: 768px) {
  /* Navbar stack */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  nav a {
    display: block;
    margin: 8px 0;
  }

  /* Product Overview Stack */
  .product-overview {
    padding: 40px 20px;
    flex-direction: column;
    text-align: center;
  }

  .product-overview-text {
    max-width: 100%;
  }

  .product-overview-text h1 {
    font-size: 1.8rem;
  }

  .product-overview-text p {
    font-size: 1rem;
  }

  /* Site Visit Section Stack */
  .site-visit-content {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }

  .site-visit-text,
  .site-visit-image {
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .site-visit-image img {
    margin: 0 auto;
  }

  /* Feature Highlight Section */
  .feature-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .feature-text,
  .feature-image {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .feature-image img {
    margin: 0 auto;
  }

  /* Why SwimView Section */
  .why-streetsense h2 {
    font-size: 2rem;
  }

  .why-streetsense p {
    font-size: 1em;
    padding: 0 10px;
  }

  .why-list li {
    font-size: 0.95em;
    flex-direction: column;
  }

  /* Benefits Section */
  .benefit-cards {
    flex-direction: column;
    align-items: center;
  }

  .benefit-card {
    max-width: 100%;
  }

  /* Final Demo Box */
  .demo-final {
    padding: 40px 20px;
  }

  .demo-box {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .demo-text {
    padding: 0;
    text-align: center;
  }

  .demo-image img {
    margin: 0;
    padding: 0;
  }

  /* Footer Stack */
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .footer-logo {
    margin: 0 auto 10px;
  }

  .footer-bottom {
    font-size: 0.8em;
    padding-top: 10px;
  }
}
