:root {
  --primary-color: #166534;
  --secondary-color: #40724b;
  --text-light: #ffffff;
  --text-dark: #333333;
  --hover-color: #e9f3ec;
  --link-hover-color: #a2fcbd;
  --footer-bg: #166534;
  --footer-section-border: rgba(255, 255, 255, 0.2);
  --icon-bg-hover: rgba(255, 255, 255, 0.2);
  --facebook-color: #1244b8;
  --twitter-color: #0f1e27;
  --pinterest-color: #f1324f;
  --youtube-color: #FF0000;
  --instagram-color: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  --linkedin-color: #0077B5;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f6fff7;
}
/* ==============ALERT MESSAGE=========== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
}

.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

/*================ HEADER ================*/
/* Header wrapper */
header {
  background-color: #f6fff7;
  border-bottom: 2px solid #ccc;
  position: fixed;
  z-index: 1000;
  width: 100%;
  top: 0;
}

/* Flex container */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
}

/* Logo section */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 50px;
}
.logo h3 {
  color: #075f2f;
  font-size: 1.5rem;
  margin: 0;
}

/* Desktop menu */
.desktop-menu {
  display: flex;
  gap: 20px;
  margin-right: 43px;
}
.desktop-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}
.desktop-menu a:hover,
.desktop-menu .active-link {
  color: #075f2f;
  background-color: #c0f0e0;
  border-radius: 6px;
  padding: 4px 8px;
}

/* Hamburger icon */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  border: 1px solid;
  padding: 2px 12px;
  border-radius: 10px;
}

/* Mobile Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  background-color: white;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  padding: 2rem 1rem;
  z-index: 999;
}
.side-menu.open {
  right: 0;
}
.close-btn {
  font-size: 2rem;
  cursor: pointer;
  text-align: right;
  margin-bottom: 1rem;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-bottom: 1px solid #80808078;
}
.mobile-menu a:hover,
.mobile-menu .active-link {
  color: #c3d3c8;
}

/* Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 998;
}
.menu-overlay.active {
  display: block;
}

@media (max-width: 767px) {
  .desktop-menu {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/*================ MAIN ================*/
.main-content {
  min-height: calc(100vh - 200px);
}

/*================ FOOTER ================*/
.footer {
  background-color: #074d23;
  font-size: 14px;
  height: auto;
  padding: 3rem 0 2rem;
  z-index: 1000;
  position: sticky;
}
.container-footer {
  width: 90%;
  margin: 0 auto;
}
.footer h4 {
  color: var(--text-light);
  font-weight: 600;
}
.footer h5 {
  color: var(--text-light);
  font-weight: 500;
  border-bottom: 1px solid var(--footer-section-border);
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-align: center;
}
.footer hr {
  border-color: var(--footer-section-border);
  opacity: 0.5;
}
.footer p {
  color: var(--text-light);
  opacity: 0.9;
}
/* Footer section styling */
.footer-section {
  padding: 0 15px;
  margin-bottom: 10px;
  border-right: 1px solid var(--footer-section-border);
  height: auto;
}
.footer-section:last-child {
  border-right: none;
}
.footer-section-icons {
  padding: 0 15px;
  margin-bottom: 10px;
  border-right: 1px solid var(--footer-section-border);
  height: auto;
}
/* Footer link styling */
.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}


/* Social icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 45px;
  margin-left: 47px;
}
.social-icon {
  color: var(--text-light);
  transition: all 0.3s ease;
  margin-bottom: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}
/* Social media icon hover colors */
.social-icon.facebook:hover {
  background-color: var(--facebook-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.twitter:hover {
  background-color: var(--twitter-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.pinterest:hover {
  background-color: var(--pinterest-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.youtube:hover {
  background-color: var(--youtube-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.instagram:hover {
  background: var(--instagram-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.linkedin:hover {
  background-color: var(--linkedin-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Map styles */
.map-container {
  border-radius: 8px;
  overflow: hidden;
}
.google-map {
  width: 100%;
  border-radius: 8px;
}

/* Services links styling */
.services-links i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}
.service-link {
  transition: all 0.3s ease;
}
.contact-info p {
  margin-bottom: 10px;
}
button {
  /* display: block; */
  margin: 20px auto;
}



/* ================================================= */

/* =========================
   CSS Variables
========================= */
:root {
  --primary-color: #166534;
  --secondary-color: #40724b;
  --text-light: #ffffff;
  --text-dark: #333333;
  --hover-color: #e9f3ec;
  --link-hover-color: #a2fcbd;
  --footer-bg: #166534;
  --footer-section-border: rgba(255, 255, 255, 0.2);
  --icon-bg-hover: rgba(255, 255, 255, 0.2);
  --facebook-color: #3b5998;
  --twitter-color: #0f1e27;
  --pinterest-color: #f1324f;
  --youtube-color: #FF0000;
  --instagram-color: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  --linkedin-color: #0077B5;
}

/* =========================
   Base Styles
========================= */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main-content {
  flex: 1;
  /* padding: 20px; */
  margin-top: 106px;;
}

/* =========================
   Header & Navigation
========================= */
header {
  background-color: #f6fff7;
  border-bottom: 2px solid #ccc;
  position: fixed;
  z-index: 1000;
  width: 100%;
  top: 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 50px;
  height: auto;
}
.logo h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #075f2f;
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  gap: 20px;
  margin-right: 43px;
}
.desktop-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}
.desktop-menu a:hover {
  border: none;
  background-color: rgb(192, 240, 224);
  border-radius: 6px;
  color: #075f2f;
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  border: 1px solid;
  padding: 2px 12px;
  border-radius: 10px;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 71px;
    right: -300px;
    width: 250px;
    height: 100%;
    background-color: #ddf8e5;
    transition: right 0.3s ease-in-out;
    padding: 2rem 1rem;
    z-index: 1000;
}
.side-menu.open {
  right: 0;
}
.close-btn {
  font-size: 2rem;
  cursor: pointer;
  text-align: right;
  margin-bottom: 1rem;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.mobile-menu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #80808078;
}
.mobile-menu a:hover {
  color: #075f2f;
}
/* ======================= */
/* correct .hamburger */

body.menu-open {
  overflow: hidden;
}

/* =========================
   Overlay & No-Scroll
========================= */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 998;
  transition: opacity 0.3s;
}
.menu-overlay.active {
  display: block;
}
.body-no-scroll {
  overflow: hidden;
}

/* =========================
   Query Form
========================= */
.top-header {
  padding: 8px 15px;
  background: #0f5937;
  color: white;
  text-align: end;
}

.query-form {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.query-form label {
  font-size: 0.95rem;
  color: #ffffff;
  white-space: nowrap;
}

.query-input-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.query-form input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  min-width: 180px;
}

.query-form button {
  padding: 8px 14px;
  background-color: #075f2f;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.query-form button:hover {
  background-color: #064d27;
}

  .phone-form input {
        padding: 4px 8px;
        width: max-content;
        margin: auto;
        border: 2px solid var(--bs-warning);
        color: black;
        border-radius: 4px;

  }
    .phone-form button {
    padding: 5px 10px;
        border: 2px solid;
    border-radius: 5px;
    padding: 2px 4px;
  }
/* =========================
   Footer
========================= */
.site-footer {
  background-color: rgb(7 99 56);
  color: #eee;
  padding: 1rem 1rem;
  font-family: sans-serif;
  /* z-index: 1000;
  position: absolute; */
  width: 100%;
  left: 0;
  bottom: 0;
}
.title {
  width: fit-content;
  display: block;
  margin: auto;
  font-weight: bold;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  width: 94%;
  margin: auto;
}
.footer-column {
  flex: 1 1 300px;
  min-width: 250px;
  padding: 20px;
  background: rgb(7 99 56);
  color: white;
}
.footer-column h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: white;
  text-align: center;
}
.footer-column p,
.footer-column a,
.footer-column span {
  color: white;
  font-size: 0.95rem;
  text-decoration: none;
}
.footer-column a:hover {
  color: #fff;
}
.num {
  margin-top: 15px;
  padding: 2px 3px;
}
.services-wrapper {
  display: flex;
  justify-content: space-between;
}
.services-list {
  list-style: none;
  padding: 0;
  flex: 1 1 200px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.services-list li {
  margin-bottom: 10px;
  display: flex;
}
.services-list a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}
.services-list a:hover {
  color: #00b894;
}
.services-list i {
  color: #00b894;
  width: 20px;
  text-align: center;
}
.services-list span {
  background-color: #333;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* =========================
   Social Icons
========================= */
.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 45px;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
}
.social-icons img {
  width: 24px;
  height: 24px;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s;
}
.social-icon {
  color: var(--text-light);
  transition: all 0.3s ease;
  margin-bottom: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}
.social-icon.facebook:hover {
  background-color: var(--facebook-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.twitter:hover {
  background-color: var(--twitter-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.pinterest:hover {
  background-color: var(--pinterest-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.youtube:hover {
  background-color: var(--youtube-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.instagram:hover {
  background: var(--instagram-color);
  color: var(--text-light);
  transform: translateY(-2px);
}
.social-icon.linkedin:hover {
  background-color: var(--linkedin-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

/*=========================
   Responsive Design Mobile Devices (phones,
=========================== */

@media (max-width: 767px) {
  .desktop-menu {
    display: none;
  }

  .hamburger {
    display: block;
    border: 1px solid;
    padding: 2px 12px;
    border-radius: 10px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-column {
    width: 100%;
    padding: 1rem;
  }

  .services-wrapper {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* .phone-form {
    flex-direction: column;
    gap: 8px;
    display: flex;
    justify-content: center;
  } */

  /* .phone-form input,
  .phone-form button {
    width: 100%;
  } */

  .logo h3 {
    font-size: 1.2rem;
  }

  .footer {
    padding: 30px 0 15px 0;
  }

  .footer-section {
    margin-bottom: 25px;
    border-right: none;
  }

  .contact-container {
    padding: 0 10px;
  }

  .phone-form .form-label,
  .phone-form input,
  .phone-form button {
    font-size: 0.8rem;
  }

  .phone-form input {
        padding: 4px 8px;
        width: max-content;
        margin: auto;
            border: 2px solid var(--bs-warning);
    border-radius: 4px;

  }

  .phone-form button {
    padding: 5px 10px;
        border: 2px solid;
    border-radius: 5px;
    padding: 2px 4px;
  }

  .logo img {
    width: 3rem;
    height: 3rem;
  }

  .logo h3 {
    font-size: 1rem;
  }

  .navbar {
    padding: 10px 0;
  }

  .main-content {
    margin-top: 96px;
  }

  .google-map {
    height: 150px;
  }

  .services-links p,
  .contact-info p {
    font-size: 0.9rem;
  }

  .social-icons {
    justify-content: center;
    margin-left: 0;
  }
}
/* ======================== */
/* Tablets (768px - 991px)
/* ======================== */
@media (min-width: 768px) and (max-width: 991px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-column {
    width: 90%;
    text-align: center;
  }

  .services-wrapper {
    align-items: center;
    justify-content: space-between;
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .main-content{
    margin-top: 106px;
  }
}
/* ======================== */
 /* Desktops (≥992px) */
 /* ======================= */
@media (min-width: 992px) {
  .footer-column {
    padding: 40px;
  }
}
/* ====================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #f8f9fa;
    margin-top: 15px;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e0e0e0;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-item {
    margin: 5px 0;
  }
}
@media (max-width: 600px) {
  .query-form {
    align-items: flex-start;
  }

  .query-form label {
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 2px;
  }

  .query-input-wrapper {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
  }

  .query-input-wrapper input {
    flex: 1;
    min-width: 0;
  }

  .query-input-wrapper button {
    flex-shrink: 0;
  }
}
