/* Reset & basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f7f9fc;
  color: #222;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background-color: #0d47a1; /* deep blue */
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: #08306b;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
  cursor: default;
  user-select: none;
  transition: color 0.3s ease;
}

.brand:hover {
  color: #ffca28; /* golden highlight */
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav-links li a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ffca28;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #ffca28;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Hamburger menu - hidden on desktop */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.hamburger:hover {
  color: #ffca28;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.15);
  animation: fadeIn 1.2s ease forwards;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  animation: slideInDown 0.8s ease forwards;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeIn 1.5s ease forwards;
}

/* Buttons in hero */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  user-select: none;
  display: inline-block;
}

.btn-primary {
  background-color: #ffca28;
  color: #0d47a1;
}

.btn-primary:hover {
  background-color: #fbc02d;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(251,192,45,0.6);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #ffca28;
  color: white;
}

.btn-secondary:hover {
  background-color: #ffca28;
  color: #0d47a1;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(251,192,45,0.6);
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: 0;
    background: #0d47a1;
    height: calc(100vh - 60px);
    width: 220px;
    flex-direction: column;
    padding-top: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 15px rgba(0,0,0,0.2);
  }

  .nav-links.show {
    transform: translateX(0);
  }

  .nav-links li {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}



/* About Section Container */
.about-section {
  background-color: #f9faff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.about-container {
  max-width: 800px;
  text-align: center;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  animation: slideFadeIn 0.8s ease forwards;
}

/* Section Title */
.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #1a237e;
  margin-bottom: 24px;
  letter-spacing: 1px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #3949ab;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* About Content Paragraphs */
.about-content p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: #444444;
  line-height: 1.7;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.about-content p strong {
  color: #303f9f;
}

/* Hover effect to highlight text */
.about-content p:hover {
  color: #1a237e;
  cursor: default;
}

/* Animation */
@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .about-container {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .about-content p {
    font-size: 1rem;
  }
}



.projects-section {
  background-color: #f4f6fb;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.projects-container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #1a237e;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #3949ab;
  margin: 8px auto 0;
  border-radius: 3px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.07);
  padding: 24px 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 32px rgba(0,0,0,0.12);
}

.card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #283593;
  margin-bottom: 12px;
  text-align: left;
}

.card p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #555555;
  flex-grow: 1;
  text-align: left;
  margin-bottom: 18px;
  line-height: 1.5;
}

.price-badge {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  background: #3949ab;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: 16px;
  user-select: none;
  width: fit-content;
  text-align: center;
}

.view-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  background-color: #283593;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: center;
  align-self: flex-start;
  width: 120px;
}

.view-btn:hover {
  background-color: #1a237e;
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .card h3, .card p, .price-badge, .view-btn {
    text-align: center;
  }

  .view-btn {
    width: 100%;
  }
}




.services-section {
  background-color: #eef2ff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.more-services-container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #1a237e;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #3949ab;
  margin: 8px auto 0;
  border-radius: 3px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-box {
  background: white;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
}

.service-box:nth-child(odd) {
  animation-delay: 0.2s;
}
.service-box:nth-child(even) {
  animation-delay: 0.4s;
}

.service-box:hover {
  box-shadow: 0 14px 36px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}

.service-box h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #283593;
  margin-bottom: 20px;
}

.order-btn {
  background-color: #3949ab;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  align-self: center;
  width: 140px;
}

.order-btn:hover {
  background-color: #1a237e;
  box-shadow: 0 6px 16px rgba(25, 30, 80, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  } 
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-box h3,
  .order-btn {
    text-align: center;
  }

  .order-btn {
    width: 100%;
  }
}



.services-section {
  background-color: #f9fafc;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.services-container {
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #222f5a;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3.5px;
  background: #3949ab;
  margin: 8px auto 0;
  border-radius: 3px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
}

.service-card:nth-child(1) { animation-delay: 0.15s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.45s; }
.service-card:nth-child(4) { animation-delay: 0.6s; }

.service-card:hover {
  box-shadow: 0 14px 38px rgba(0,0,0,0.15);
  transform: translateY(-6px);
  cursor: default;
}

.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #3949ab;
  margin-bottom: 14px;
}

.service-card p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #555f7a;
  line-height: 1.5;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  } 
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}




.pricing-section {
  background-color: #eef2fb;
  padding: 70px 20px;
  display: flex;
  justify-content: center;
}

.pricing-container {
  max-width: 1080px;
  width: 100%;
  text-align: center;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #1a237e;
  margin-bottom: 8px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #3949ab;
  margin: 12px auto 32px;
  border-radius: 4px;
}

.pricing-note {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: #555f7a;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card:hover {
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
  transform: translateY(-8px);
  cursor: default;
}

.pricing-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #283593;
  margin-bottom: 6px;
}

.subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #5c6bc0;
  margin-bottom: 18px;
  min-height: 48px; /* Keep subtitle height consistent */
}

.pricing-card ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  color: #666d89;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.5;
}

.price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #3949ab;
  margin-bottom: 24px;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 30px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
  background-color: #128c4a;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
  outline: none;
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}



.contact-section {
  background-color: #283593;
  padding: 60px 20px;
  color: #f1f3f9;
  display: flex;
  justify-content: center;
  text-align: center;
}

.contact-container {
  max-width: 600px;
  width: 100%;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #e8eaf6;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #66bb6a;
  margin: 14px auto 28px;
  border-radius: 3px;
}

.contact-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #c5cae9;
  line-height: 1.5;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 14px 32px;
  font-size: 1.15rem;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  transition: background-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  user-select: none;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
  background-color: #128c4a;
  box-shadow: 0 8px 20px rgba(18, 140, 74, 0.7);
  transform: scale(1.05);
  outline: none;
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }
  .whatsapp-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
}


.nav-links {
  display: none;
}

.nav-links.show {
  display: block;
}



/* Get a Quote Button */
.jwh-cta {
  display: inline-block;
  background: orange;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.jwh-cta:hover,
.jwh-cta:focus {
  background: #2563eb;
  outline: none;
}

/* Modal Overlay */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-family: 'Poppins', sans-serif;
}

/* Modal Content */
.modal-content {
  background: #fff;
  padding: 25px 30px;
  max-width: 420px;
  width: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  position: relative;
  color: #444;
}

/* Close Button */
.modal-content button#closeQuoteModal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
  color: #555;
  font-weight: 700;
  transition: color 0.2s ease;
}

.modal-content button#closeQuoteModal:hover,
.modal-content button#closeQuoteModal:focus {
  color: #000;
  outline: none;
}

/* Modal Heading */
.modal-content h2 {
  margin-bottom: 20px;
  color: #222;
  font-weight: 700;
}

/* Form Inputs and Labels */
.modal-content label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  color: #444;
  transition: border-color 0.3s ease;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="email"]:focus,
.modal-content input[type="tel"]:focus,
.modal-content select:focus,
.modal-content textarea:focus {
  border-color: #3b82f6;
  outline: none;
}

/* Form Buttons */
.modal-content button.btn-primary {
  margin-top: 15px;
  background: #3b82f6;
  border: none;
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 30px;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.modal-content button.btn-primary:hover,
.modal-content button.btn-primary:focus {
  background: #2563eb;
  outline: none;
}

/* Quote Result Section */
#quoteResult {
  display: none;
  margin-top: 25px;
  text-align: center;
  font-size: 16px;
  color: #222;
}

#quoteResult h3 {
  color: #3b82f6;
  font-weight: 700;
}

/* WhatsApp Send Button */
#sendWhatsApp {
  margin-top: 10px;
  background: #25d366;
  border: none;
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#sendWhatsApp:hover,
#sendWhatsApp:focus {
  background: #1da851;
  outline: none;
}




.site-footer {
  background-color: #1f2937; /* dark slate gray */
  color: #9ca3af; /* light gray */
  text-align: center;
  padding: 15px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  border-top: 2px solid #3b82f6; /* subtle blue accent */
  user-select: none;
  transition: background-color 0.3s ease;
}

.site-footer strong {
  color: #3b82f6; /* bright blue for brand name */
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  line-height: 1.5;
}

.site-footer:hover {
  background-color: #111827; /* darker on hover */
  color: #60a5fa; /* light blue text on hover */
  cursor: default;
  transition: background-color 0.3s ease, color 0.3s ease;
}





.nav-links li a,
.nav-links li button {
  color: white !important; /* Force white text */
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,0.6); /* subtle shadow to improve readability */
}

.nav-links li a:hover,
.nav-links li button:hover {
  background-color: #00337f;
  color: #fff;
}




.navbar {
  background-color: #004aad; /* navy blue background */
  padding: 1rem 2rem;
  position: relative;
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a,
.nav-links li button {
  color: white !important;    /* white text */
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li button:hover {
  color: #ffd700;  /* gold/yellow hover for visibility */
}

/* For mobile menu toggling */
.nav-links[hidden] {
  display: none !important;
}



/* Ensure navbar background is solid */
.navbar {
  background-color: #004aad !important;
}

/* Force nav links visible on desktop */
@media(min-width: 769px) {
  .nav-links {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Make nav links white and readable */
.nav-links li a,
.nav-links li button {
  color: white !important;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,0.7); /* stronger shadow for better contrast */
}

/* Hover effect */
.nav-links li a:hover,
.nav-links li button:hover {
  color: #ffd700 !important;
  background-color: transparent !important;
}

/* Mobile menu hidden by default */
.nav-links[hidden] {
  display: none !important;
}

/* Show nav-links when toggled */
.nav-links.show {
  display: flex !important;
  flex-direction: column;
  background-color: #004aad;
  padding: 1rem 2rem;
  position: fixed;
  top: 60px;
  right: 0;
  height: calc(100vh - 60px);
  width: 220px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.5);
  z-index: 10000;
  overflow-y: auto;
}

/* Hamburger button visible on mobile */
.hamburger {
  display: none;
}

@media(max-width: 768px) {
  .hamburger {
    display: block;
    color: white;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-links {
    display: none !important;
  }

  .nav-links.show {
    display: flex !important;
  }
}



/* Add this to your style.css */
.nav-links {
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.nav-links[hidden] {
  max-height: 0;
}

.nav-links:not([hidden]) {
  max-height: 500px; /* enough to show links */
}



/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  overflow: auto; /* Allow scrolling */
  padding: 20px;
}

.modal-content {
  background: #fff;
  max-height: 90vh;
  overflow-y: auto; /* scroll inside modal if needed */
  padding: 20px;
  border-radius: 8px;
  position: relative;
  width: 90%;
  max-width: 500px;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* General heading styles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: #222; /* Dark but not black */
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

/* Hero main heading */
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1e40af; /* Blue shade matching your theme */
}

/* Section Titles (h2) */
.section-title {
  font-size: 2rem;
  text-align: center;
  color: #2563eb; /* Your blue accent */
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Cards and smaller headings (h3) */
.card h3, .service-card h3, .service-box h3, .pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

/* Smaller subtitles or descriptions */
.subtitle {
  font-weight: 500;
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}



.nav-links {
  list-style: none;
  padding-left: 0;
}

#navLinks[hidden] {
  display: none;
}
#navLinks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hamburger {
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
}



.nav-links[hidden] {
  display: none;
}



.nav-links {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links.show {
  display: block;
}

.navbar {
  background-color: #222;
  color: white;
  padding: 1rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.hamburger {
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links li {
  margin: 0.5rem 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}


.mpesa-box {
  background: #e8f5e9;
  padding: 15px;
  border-left: 5px solid #34b233;
  max-width: 400px;
  border-radius: 8px;
}
.mpesa-box p {
  margin: 5px 0;
  font-size: 16px;
}



.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
  transition: background 0.3s;
}
.whatsapp-float:hover {
  background: #1ebe57;
}




.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.portfolio-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
}






#news {
  padding: 20px;
  background: #f9f9f9;
}
#news h2 {
  text-align: center;
  margin-bottom: 20px;
}
.blog-preview article {
  background: white;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
}
.blog-preview a {
  color: #007bff;
  text-decoration: none;
}
.blog-preview a:hover {
  text-decoration: underline;
}



/* Arrow button bounce */
.blog-button {
  display: inline-block;
  padding: 12px 25px;
  background: #ff6f00;
  color: white;
  font-size: 1.1rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
  animation: bounce 2s infinite;
}



.blog-button:hover {
  background: #e65c00;
}





  


.blog-button {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.blog-button:hover {
  background-color: #0056b3;
}






/* Payments Section */
#payments {
  text-align: center;
  padding: 40px 20px;
}

#payments h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

#payments p {
  color: #555;
}

.mpesa-box {
  display: inline-block;
  border: 2px dashed #25d366; /* subtle M-Pesa green border */
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
  background: white; /* no heavy background color */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mpesa-box p {
  margin: 5px 0;
  font-size: 1.1rem;
  color: #333;
}

.mpesa-box:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}


body {
  font-family: 'Poppins', sans-serif;
}
h1, h2, h3 {
  font-weight: 600;
}


.hero {
  background: linear-gradient(to right, #007BFF, #00c6ff);
  color: white;
  text-align: center;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 2.5rem;
}
.hero .btn {
  margin: 10px;
  padding: 12px 25px;
  border-radius: 30px;
  transition: 0.3s;
}
.hero .btn:hover {
  transform: scale(1.05);
}

.card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


