/* Global Styles */
body, html {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

/* =========================
   Global Styles
   ========================= */
   body, html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
  }
  
  /* =========================
     Header & Navigation
     ========================= */
     header {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #3a3b3c;
      padding: 10px 20px;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      width: 100%;
      box-sizing: border-box;
      margin: 0;
    }
    .cta-button {
      background-color: #3cb656;
      color: white;
      padding: 10px 20px;
      font-size: 16px;
      border: none;
      border-radius: 5px;
      text-transform: uppercase;
      text-decoration: none;
      display: inline-block;
      transition: background-color 0.3s ease;
    }
    
    .cta-button:hover {
      background-color: #3cb657df;
    }
    
  .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .logo h1 {
    color: white;
    font-size: 24px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
  }
  
  .phone-number {
    color: white;
    font-size: 16px;
    margin: 5px 0 10px;
    font-weight: bold;
  }
  
  .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 5px;
    padding: 0 10px;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    width: 33%;
    text-align: center;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #3cb656;
  }
  
  .get-a-quote {
    margin-left: auto;
  }
  
  header.hide {
    display: none;
  }

.founders-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: 130px auto 3rem;
  padding: 20px;
}

.founders-photo {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-right: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.founders-text {
  flex: 1;
  min-width: 280px;
}

.founders-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.founders-text p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ============================= */
/* Service Boxes Section        */
/* ============================= */
.services-about-container {
  background-image: url('images/back1.jpg');
  background-size: cover;
  background-position: center;
  padding: 40px 0;
  width: 100%;
}

.services-about {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.service-box {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  flex: 1;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 15px;
  line-height: 1.5;
}

.service-box:hover {
  transform: translateY(-10px);
}

  /* =========================
     Footer
     ========================= */
     footer {
      background-color: #222;
      color: #fff;
      padding: 40px 20px;
      font-family: 'Poppins', sans-serif;
    }
    
    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      margin-bottom: 20px;
    }
    
    .footer-section {
      flex: 1;
      min-width: 200px;
      margin: 10px;
    }
    
    .footer-section h3 {
      border-bottom: 2px solid #3cb656;
      padding-bottom: 10px;
      margin-bottom: 15px;
    }
    
    .footer-section ul {
      list-style: none;
      padding: 0;
    }
    
    .footer-section ul li {
      margin-bottom: 10px;
    }
    
    .footer-section ul li a {
      color: #fff;
      text-decoration: none;
      transition: color 0.3s ease;
    }
    
    .footer-section ul li a:hover {
      color: #3cb656;
    }
    
    .footer-bottom {
      text-align: center;
      border-top: 1px solid #444;
      padding-top: 10px;
      font-size: 14px;
    }
/* ============================= */
/* Hero & Overlay (if present)  */
/* ============================= */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 0px;
  height: auto;
  padding-bottom: 20px;
  overflow: hidden;
  margin-bottom: 0;
}

.overlay-content {
  text-align: center;
}

.nav-links a.green-btn {
  background-color: #3cb656 !important;
  color: white !important;
  font-size: 16px !important;
  transition: background-color 0.3s ease !important;
}

.nav-links a.green-btn:hover {
  background-color: #3cb657df !important;
}

/* ============================= */
/* Consolidated Mobile Styles   */
/* ============================= */
@media (max-width: 768px) {
  body {
    padding-top: 50px; /* Adjust this to match your header height */
  }

  header {
    background-color: #222;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 10px !important;
    width: 100% !important;
    text-align: center !important;
  }
  .logo {
    margin-bottom: 10px !important;
  }
  .logo h1 {
    margin-bottom: 10px !important;
    font-size: 24px !important;
  }
  .phone-number {
    margin-bottom: 15px !important;
    font-size: 16px !important;
  }
  .nav-links {
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .nav-links a {
    flex: 1 1 33.33% !important;
    font-size: 16px !important;
    text-decoration: none !important;
    text-align: center !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .nav-links a.green-btn {
    background-color: #3cb656 !important;
    color: white !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease !important;
  }
  .nav-links a.green-btn:hover {
    background-color: #3cb657df !important;
  }
  .cta-button {
    background-color: #3cb656;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #3cb657df;
  }

  .founders-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 120px;
  }

  .founders-photo {
    margin-right: 0;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .services-about {
    flex-direction: column;
    align-items: center;
  }

  .service-box {
    width: 90%;
    margin-bottom: 20px;
  }

  .footer-container {
    justify-content: center;
  }

  .overlay-content h2,
  .overlay-content p {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 0px;
  }

  #hero-btn,
  #gallery {
    display: none;
  }

  footer {
    text-align: center;
  }
}
