/* Layout fix */
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #007acc;
  padding: 10px 20px;
  color: white;
}
nav .logo {
  font-weight: bold;
}
nav .nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
}
nav .nav-links li a {
  color: white;
  text-decoration: none;
}
nav .hamburger {
  display: none;
  cursor: pointer;
}

/* Hero */
#hero {
  flex: 1;
  background: linear-gradient(
    to right,
    #4da6ff,
    #80d4ff
  ); /* light blue gradient */
  color: black;
  text-align: center;
  padding: 60px 20px;
}
#hero h1 {
  font-size: 28px;
  margin-bottom: 10px;
}
#hero p {
  font-size: 16px;
  margin-bottom: 20px;
}
#hero button {
  background: white;
  color: #007acc;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
}

.founder {
  font-size: 13px;
  color: black; /* light text for contrast */
  margin-top: 5px;
}

/* Services */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}
.card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin: 10px;
  width: 90%;
  max-width: 250px;
  text-align: center;
}
.card button {
  background: #4da6ff;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

/* Popup */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
#popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  z-index: 1000;
  text-align: center;
}
#popup button {
  margin: 10px;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.confirm {
  background: #4da6ff;
  color: white;
} /* ✅ Confirm button styled */
.cancel {
  background: #ccc;
}

/* Testimonials */
#testimonials {
  background: #f1f1f1;
  padding: 30px;
  text-align: center;
}
.testimonial {
  margin: 15px auto;
  max-width: 400px;
  font-style: italic;
}

/* Contact Form */
#contact {
  padding: 30px;
  text-align: center;
}
#contact form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
}
#contact input,
#contact textarea {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
#contact button {
  background: #25d366;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

footer a,
footer a:link,
footer a:visited {
  color: white; /* force white text */
  text-decoration: none; /* remove underline */
}

footer a:hover {
  color: #4da6ff; /* optional hover color */
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 45px; /* smaller size */
  height: 45px;
  bottom: 20px;
  right: 20px;
  background-color: #4da6ff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 5px #999;
  z-index: 1000;
}
.whatsapp-float img {
  width: 70%;
  height: 70%;
  margin-top: 7px;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  nav .nav-links {
    display: none;
    flex-direction: column;
    background: #25d366;
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
  }
  nav .hamburger {
    display: block;
  }
}
