/* =========================
   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;
  }
  
  .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;
  }
  
  /* =========================
     Hero Section
     ========================= */
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('images/homepageback.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    text-align: center;
    color: white;
    padding-top: 80px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    padding-bottom: 20px;
    margin-top:90px;
    
  }
  
  .overlay-content {
    margin-top:30px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10 20px;
    background-color: rgba(0, 0, 0, 0.897);
    color: white;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
  }
  
  .hero h2 {
    font-size: 2em;
    color: white;
    margin-bottom: 10px;
  }
  
  .hero p {
    font-size: 1.2em;
    color: white;
    margin-top: 10px;
    padding-bottom:15px;
  }
  
  .hero a.cta-button {
    margin-top: 0px;
    padding: 10px 20px;
    background-color: #3cb656;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .hero a.cta-button:hover {
    background-color: #2b9c46;
  }
  
  /* =========================
     Gallery / Slideshow Section
     ========================= */
  .gallery-section {
    text-align: center;
    padding: 4rem 2rem;
    background: url('images/back2.jpg') center/cover no-repeat;
    color: white;
    position: relative;
  }
  
  .gallery-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  .gallery-section > * {
    position: relative;
    z-index: 2;
  }
  
  .gallery-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  }
  
  .slideshow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .slide {
    width: 700px;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
  }
  
  .arrow {
    background-color: rgba(255,255,255,0.8);
    color: #333;
    border: none;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .arrow:hover {
    background-color: rgba(255,255,255,1);
  }
  
  /* =========================
     Service Boxes Section
     ========================= */
  .services {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 30px auto 0;
    position: relative;
    z-index: 2;
  }
  
  .service-box {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    width: 30%;
    padding: 15px;
    text-align: center;
    margin-left: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
  }
  
  .service-title {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
    text-decoration: underline;
  }
  
  .service-description {
    font-size: 16px;
    text-decoration: none;
  }
  
  .service-box a {
    text-decoration: none;
  }
  
  .service-box:hover {
    transform: translateY(-10px);
  }
  
  /* =========================
     Background Image Section
     ========================= */
  #background-2-start {
    background-image: url('images/gallery6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    position: relative;
    width: 100%;
    margin-top: 0;
  }
  
  /* =========================
     Request a Quote Form Section
     ========================= */
  .request-quote {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
  
  .request-quote input,
  .request-quote textarea {
    width: 95%;
    padding: 12px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.85);
  }
  
  .request-quote button {
    background-color: #3cb657df;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
  }
  
  .request-quote button:hover {
    background-color: #3cb657df;
  }
  
  .quote-form {
    margin-top: 0;
  }
  
  /* =========================
     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;
  }
  
  /* =========================
     Buttons (Shared)
     ========================= */
  .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;
  }
  
  /* =========================
     Responsive / Mobile Styles
     ========================= */
  @media screen and (max-width: 768px) {
    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;
    }
    .hero {
      padding-top: 75px !important;
      height: auto;
      margin-bottom: 0;
    }
    .hero h2 {
      font-size: 2em;
    }
    .hero p {
      font-size: 1.3em;
    }
    .hero a.cta-button {
      font-size: 16px;
      padding: 10px 20px;
    }
    .overlay-content h2,
    .overlay-content p {
   
      padding: 12px 16px;
      border-radius: 200px;
      margin-bottom: 0;
    }
    .services {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
    .service-box {
      width: 80%;
      margin-left: 0;
    }
    .gallery {
      display: none !important;
    }
    .request-quote {
      width: 90%;
      position: relative;
      top: auto;
      left: auto;
      transform: none;
      margin: 20px auto;
    }
    .quote-form {
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
      align-items: center !important;
      margin-top: 20px !important;
      width: 100% !important;
      text-align: center !important;
    }
    .quote-form input, .quote-form textarea {
      width: 100% !important;
      max-width: 350px !important;
      padding: 10px !important;
      margin: 10px 0 !important;
      border-radius: 5px !important;
      border: 1px solid #ccc !important;
    }
    .quote-form button {
      width: 100% !important;
      max-width: 350px !important;
      padding: 12px !important;
      margin-top: 10px !important;
      background-color: #3cb656 !important;
      color: white !important;
      border: none !important;
      border-radius: 5px !important;
      text-transform: uppercase !important;
      font-size: 16px !important;
      transition: background-color 0.3s ease !important;
    }
    .quote-form button:hover {
      background-color: #3cb657df !important;
    }
    footer {
      text-align: center;
    }
    #gallery {
      display: none;
    }
    #hero-btn {
      display: none;
    }
  }