/* ================================
   Root Variables
================================ */
:root {
  --bg-gradient: linear-gradient(135deg, #0a74da, #2ea8ff, #6dd5ed);
  --btn-green: #00c853;
  --btn-green-hover: #009c44;
  --text-dark: #1a1a1a;
  --nav-bg: rgba(15, 74, 88, 0.9);
  --nav-bg-solid: rgb(15, 74, 88);
}

/* ================================
   Reset & Body
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: var(--bg-gradient);
  min-height: 100vh;
  line-height: 1.6;
}

/* ================================
   NAVBAR
================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: var(--nav-bg);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--nav-bg-solid);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  overflow: hidden; /* ensures image stays inside rounded box */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps image proportionate */
}


.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .title {
  font-size: 18px;
  font-weight: 700;
}

.logo-text .subtitle {
  font-size: 13px;
  color: #a7c4de;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a,
.dropbtn {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #e6e6e6;
  transition: color 0.3s ease;
  padding: 6px 0;
}

.nav-links a:hover,
.dropbtn:hover {
  color: #64a2d5;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 200px;
  background: #0f4a58;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #d8d8d8;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #64a2d5;
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Request Button */
.start span {
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(to right, #64a2d5, #3b45d7);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.start span:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ================================
   HERO SECTION
================================ */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 3rem auto;
  gap: 40px;
}

.hero-content {
  flex: 1 1 500px;
  margin-bottom: 10px;
}

.hero-content h4 {
  font-weight: normal;
  color: #d0e8ff;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: var(--btn-green);
  padding: 12px 25px;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: var(--btn-green-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 25px;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.35);
}

.hero-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 400px;
  max-width: 580px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ================================
   MOBILE STYLES
================================ */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 250px;
    background: var(--nav-bg-solid);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 1rem;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
  }

  .dropdown-content a {
    padding: 10px 0;
  }

  .dropdown:hover .dropdown-content {
    display: none; /* disable hover effect on mobile */
  }

  .dropdown.open .dropdown-content {
    display: block;
  }
}

/* Why Choose Section */
.why-choose {
  background: var(--bg-2, #0f2740);
  color: #fff;
  padding: 60px 20px;
}

.why-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  align-items: center;
}

.why-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #4cc9f0;
}

.why-text p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.why-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 12px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  transition: background 0.3s;
}

.why-list li:hover {
  background: rgba(255, 255, 255, 0.15);
}

.checkmark {
  color: #00c853;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.3rem;
}
/* Process Section */
.process {
  background: var(--bg-2);
  padding: 80px 20px;
  color: #fff;
}

.process .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.process h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00c853;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.step {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background: #00c853;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d0d6e0;
}

/* Benefits Section with Background */
.benefits-section {
  position: relative;
  background: url("treatment.jpg") no-repeat center center/cover;
  padding: 100px 20px;
  font-family: "Segoe UI", sans-serif;
  color: #fff;
  cursor: pointer;
}

.benefits-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 42, 0.75); /* dim overlay */
  z-index: 1;
}

.benefits-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: #04c6e8;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #e0e8f0;
}

.benefits-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(6px);
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.icon-box {
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #70c5c5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.benefit-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #fff;
}

.benefit-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d9e4ec;
}

.projects {
  position: relative;
  padding: 80px 20px;
  background: url('treatment5.jpg') no-repeat center center/cover;
  color: #fff;
}

.projects .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.projects-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 40px;
}
.projects-header h2 {
  font-size: 2.5rem;
  color: #217db7;
  margin-bottom: 10px;
}
.projects-header p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #d9e4ec;
}

/* Slideshow */
.slideshow-container {
  position: relative;
  max-width: 1000px;
  margin: auto;
  z-index: 2;
}

.slide {
  display: none;
  position: relative;
}

.slide img {
  width: 100%;
  border-radius: 15px;
  height: 450px;
  object-fit: cover;
}

.slide-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.6);
  padding: 15px;
  border-radius: 8px;
}

.slide-info h3 {
  margin: 0;
  color: #00c853;
}

.dots {
  margin-top: 15px;
}
.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
.active-dot {
  background-color: #00c853;
}

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  z-index: 2;
  position: relative;
}

.project-card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-info {
  padding: 15px;
}
.project-info h3 {
  font-size: 1.1rem;
  color: #4edc7e;
}
.project-info p {
  color: #d9e4ec;
  font-size: 0.9rem;
}
.projects-map {
  background: var(--bg-2);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.projects-map h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #00c4ff;
}

.projects-map p {
  max-width: 700px;
  margin: 0 auto;
  color: #cfd8dc;
  font-size: 1rem;
}

#map {
  height: 500px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  margin-top: 30px;
}

/* Popup custom card */
.popup-card {
  width: 220px;
  font-family: 'Arial', sans-serif;
}

.popup-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.popup-card h3 {
  font-size: 1rem;
  margin: 0;
  color: #0a1a2a;
}

.popup-card p {
  font-size: 0.85rem;
  margin: 5px 0 10px;
  color: #333;
}

.popup-card a {
  display: inline-block;
  padding: 6px 10px;
  background: #00c4ff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.8rem;
}

/* Final CTA */
.final-cta {
  position: relative;
  background: url('water.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  border-radius: 1px;
  overflow: hidden;
}

.final-cta .cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 26, 42, 0.75); /* dim overlay */
  z-index: 1;
}

.final-cta .cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.cta-btn {
  background: #00c853;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #009624;
}

/* Modal Form */
.modal {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: left;
}

.modal-content h3 {
  margin-bottom: 20px;
  color: #0a1a2a;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.modal-content button {
  background: #00c853;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.modal-content button:hover {
  background: #009624;
}

.close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

  .footer {
  background-color: #242436;
  padding: 40px 20px;
  font-size: 14px;
  line-height: 1.8;
}

/* Footer container */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 15px;
}

.footer-section.about { flex: 1.5; }

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 600;
}

.footer-section p {
  color: #fffafa;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.footer-section .powered-by {
  font-size: 13px;
  margin-top: 20px;
}

.footer-section .powered-by a {
  color: #FFD700;
  text-decoration: none;
}

.footer-section .powered-by a:hover {
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgb(201, 201, 201);
  text-transform: capitalize;
  cursor: pointer;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #cfcccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-section.contact-info p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.footer-section.contact-info p i {
  margin-right: 10px;
  color: #90EE90;
  font-size: 16px;
  margin-top: 3px;
}

.footer-section.contact-info a {
  color: #bbb;
  text-decoration: none;
}

.footer-section.contact-info a:hover {
  text-decoration: underline;
}

.follow-us {
  margin-top: 30px;
  margin-bottom: 15px !important;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  background-color: #90EE90;
  color: #242436;
}

.social-links i { font-size: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 20px auto 0;
  color: #bbb;
  font-size: 13px;
  flex-wrap: wrap;
}

.footer-bottom p { margin: 5px 0; }

.footer-legal a {
  color: #bbb;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.footer-legal a:hover { color: #fff; }

.footer-last p{
  align-items: center;
  max-width: 1200px;
  margin: 20px auto 0;
  color: #bbb;
  font-size: 13px;
  text-transform: capitalize;
}
