/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  padding-top: 80px; /* Add padding to the body to account for the fixed navbar */
}
h1, h2, h3 { color: #0A95BF; margin-bottom: 1rem; }
p, li { color: #333; font-size: 1rem; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; padding: 0.75rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}
.navbar .logo img {
  height: 40px; width: auto; display: block;
}
.navbar ul { list-style: none; display: flex; gap: 1.5rem; }
.navbar a { text-decoration: none; color: #222; font-weight: 500; transition: 0.3s; }
.navbar a:hover { color: #00B7D4; }

/* Hero */
.hero {
  text-align: center;
}
.hero-banner img {
  width: 100%;
  height: 100vh;        /* take full viewport height */
  object-fit: contain;  /* show the whole image */
  background: #f8fbfc;  /* optional background behind image */
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
.hero-text { margin-top: 2rem; }
.hero-text h1 { font-size: 3rem; color: #0A95BF; }
.hero-text p { font-size: 1.25rem; margin: 1rem 0; color: #444; }
.btn {
  background: #00B7D4; color: #fff; padding: 0.75rem 1.75rem;
  border: none; border-radius: 25px; cursor: pointer;
  text-decoration: none; font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}
.btn:hover { background: #088C9B; transform: translateY(-2px); }

/* General Section Styling */
.section {
  margin: 5rem auto; padding: 4rem 2rem;
  border-radius: 30px; background: #f8fbfc;
  max-width: 1100px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.section:nth-of-type(even) { background: #e9f6f9; }

/* Products */
.product-slider { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; }
.product-card {
  min-width: 220px; background: #fff;
  padding: 1rem; border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-align: center; flex: 0 0 auto;
}

/* Process */
.steps { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.step {
  flex: 1 1 160px; background: #29b3cb; padding: 1rem;
  border-radius: 25px; text-align: center; font-weight: 500;
}

/* Benefits */
.benefits .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.card {
  background: #fff; padding: 1rem; border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1); text-align: center;
}

/* Testimonials */
.testimonial {
  background: #fff; padding: 1.25rem;
  border-radius: 15px; margin: 1rem 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  font-style: italic;
}

/* Contact */
.contact form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.contact input, .contact textarea {
  padding: 0.75rem; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem;
}
.contact button { align-self: flex-start; }

/* Footer */
footer {
  background: #0A95BF; color: #fff; text-align: center;
  padding: 1.5rem; border-top-left-radius: 20px; border-top-right-radius: 20px;
}
footer a { color: #fff; margin: 0 0.5rem; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Link styling within nav-links */
.nav-links a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  background: #7ffdff;
  color: #fff;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: #0BBEDF;
  color: #fff;
}

/* Default desktop view */
.nav-links {
  display: flex;
  gap: 15px;
}

.hamburger {
  display: none;
}

/* Mobile view */
@media (max-width: 768px) {
  .navbar nav {
    position: relative;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 999;
    
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 0 15px;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 15px;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
  }

  .hero-banner img {
    height: auto;
  }
}

/* Process Section */
.process-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
}

.step {
  flex: 0 0 250px;
  min-width: 220px;
  padding: 1rem 1.5rem;
  background: #29b3cb;
  color: #fff;
  text-align: center;
  font-weight: 500;
  border-radius: 999px;
  scroll-snap-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}

.step:hover {
  transform: scale(1.05);
}

.process-slider {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.process-slider::-webkit-scrollbar {
  display: none;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Offset fixed navbar */
section {
  scroll-margin-top: 100px;
}

/* Process range slider */
#processRange {
  width: 100%;
  margin-top: 15px;
  appearance: none;
  height: 6px;
  background: #ccc;
  border-radius: 3px;
  cursor: pointer;
}

#processRange::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: #0A95BF;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

#processRange::-webkit-slider-thumb:hover {
  background: #088C9B;
}

#processRange::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #0A95BF;
  border-radius: 50%;
  cursor: pointer;
}



