/* ---------- GLOBAL ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #222;
  transition: background 0.3s, color 0.3s;
}
body.dark {
  background-color: #1a1a1a;
  color: #f0f0f0;
}
img {
  max-width: 100%;
  height: auto;
}
h1, h2, h3 {
  margin-bottom: 1rem;
}
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ---------- NAVBAR ---------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}
.navbar .logo {
  font-weight: bold;
  font-size: 1.5rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links li a,
#theme-toggle {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.2s;
}
.nav-links li a:hover,
#theme-toggle:hover {
  background: #eee;
}

/* ---------- HERO ---------- */
#hero {
  text-align: center;
  padding-top: 6rem;
}
#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
#hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  background-color: #0a84ff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.3s;
}
.btn:hover {
  background-color: #006fd6;
}

/* ---------- SERVICES ---------- */
#services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.service-card h3 {
  margin: 1rem 0 0.5rem;
}

/* ---------- TESTIMONIALS ---------- */
#testimonials {
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.testimonial-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s;
}
.testimonial-card:hover {
  transform: scale(1.02);
}
.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* ---------- CONTACT ---------- */
#contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#contact-form input,
#contact-form textarea {
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
#contact-form button {
  background-color: #0a84ff;
  color: white;
  padding: 0.75rem;
  border: none;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}
#contact-form button:hover {
  background-color: #006fd6;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  background-color: #f4f4f4;
  padding: 2rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  list-style: none;
  margin-top: 1rem;
}
.footer-links li a {
  font-size: 0.9rem;
  color: #444;
}
.footer-links li a:hover {
  text-decoration: underline;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: none;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  #hero h1 {
    font-size: 2rem;
  }
  .btn {
    padding: 0.6rem 1.2rem;
  }
}

/* Add this to style.css */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: #25D366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.whatsapp-float img {
  width: 40px;
  height: 40px;
}

footer {
  background-color: #f4f4f4;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #333;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 1rem;
}

.footer-main > div {
  flex: 1 1 200px;
  min-width: 250px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-contact p,
.footer-links li,
.footer-social a {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li a {
  text-decoration: none;
  color: #333;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: #777;
  margin-top: 1rem;
}

/* 🔁 RESPONSIVE */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-main > div {
    width: 100%;
  }

  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .footer-social {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }

  .whatsapp-float img {
    width: 36px;
    height: 36px;
  }
}


