/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 4.5rem;

  /* Colors */
  --first-color: #356a35;
  --first-color-light: #77b377;
  --dark-color: #0e1026;
  --white-color: #fbfbfb;

  /* Font */
  --body-font: "Open Sans", sans-serif;
  --nav-name-font-size: 1.5rem;
  --normal-font-size: 0.938rem;

  /* Z-Index */
  --z-fixed: 100;
}

/*===== BASE STYLES =====*/
*,
::before,
::after {
  box-sizing: border-box;
}

body {
  margin: var(--header-height) 0 0 0;
  /* font-family: var(--body-font);
  font-size: var(--normal-font-size); */
  font-weight: 600;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

/*===== HEADER =====*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 1rem;
  background-color: var(--white-color);
  z-index: var(--z-fixed);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Left Section */
.header__left {
  display: flex;
  align-items: center;
}

.header__logo {
  display: flex; /* Align children horizontally */
  align-items: center; /* Vertically align the logo and text */
  white-space: nowrap;
  gap: 0.5rem; /* Add spacing between the logo and text */
}

.header__logo-img {
  width: 40px; /* Adjust as needed */
  height: auto; /* Maintain aspect ratio */
}

.header__logo-name {
  font-size: 1.2rem; /* Adjust font size */
  font-weight: bold;
  color: #024b02;
}

/* Navbar Center Links */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.nav__list {
  display: flex;
  gap: 2rem;
  margin: 0;
}

.nav__item .nav__link {
  text-decoration: none;
  font-size: 1rem;
  color: var(--dark-color);
}

.nav__link.active,
.nav__link:hover {
  color: var(--first-color);
}

/* Right Section Contact Button */
.header__right {
  margin-right: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--first-color);
  color: var(--white-color);
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
}

.btn:hover {
  background-color: var(--first-color-light);
}

/*===== MOBILE MENU =====*/
.header__toggle {
  font-size: 1.7rem;
  cursor: pointer;
  display: none;
}

.nav {
  display: flex;
}
@media screen and (min-width: 768px) {
  .header__toggle {
    display: none !important; /* Ensure the hamburger is hidden in desktop view */
  }
}

@media screen and (max-width: 768px) {
  /* Hamburger Menu */
  .header__toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: #fbfbfb;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: 0.5s;
    z-index: var(--z-fixed);
  }

  .nav.show {
    left: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav__link {
    color: var(--white-color);
    font-size: 1.2rem;
  }

  /* Hide the "Contact" link from the nav list */
  .nav__link.nav__contact {
    display: none; /* This ensures only the button displays in responsive mode */
  }

  /* Sidebar-specific Contact Button */
  .btn.nav__contact {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.7rem 1.5rem;
    background-color: #356a35;
    color: #fbfbfb;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
  }

  .header__right {
    display: none; /* Hide the right-section button in responsive mode */
  }
}

/*===== DESKTOP STYLES =====*/
@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }

  .header {
    height: calc(var(--header-height) + 1rem);
  }

  .nav {
    width: 100%;
    flex-direction: row;
  }

  .nav__list {
    flex-direction: row;
    gap: 2rem;
  }

  .header__toggle {
    display: none;
  }

  .nav__link {
    color: var(--dark-color);
  }

  .nav__link:hover {
    color: var(--first-color);
  }

  /* Show the right-section button only on larger screens */
  .btn.nav__contact {
    display: none;
  }

  .header__right {
    display: flex;
  }
}

@media screen and (min-width: 1024px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==============================baner  */

/* About Banner Styles */
.about-banner {
  position: relative;
  background-color: #e9f7df; /* Light green background */
  padding: 4rem 2rem; /* Adjust padding for spacing */
  text-align: center;
  margin-top: var(--header-height); /* Avoid overlapping with navbar */
}

.banner-content h1 {
  font-size: 2.5rem;
  color: #356a35; /* Primary color */
  font-weight: 700;
  margin-bottom: 1rem;
}

.banner-content p {
  font-size: 1.25rem;
  color: #3d3d3d; /* Neutral dark */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 1.75rem;
  }

  .banner-content p {
    font-size: 0.875rem;
  }
}

/* ==================================================================services intro */
.about-us {
  /* font-family: Arial, sans-serif; */
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 50px 0;
  background-color: #fff;
}

.about-us .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

.about-us .experience {
  flex: 1 1 500px; /* Adjusted to increase the image container size */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-us .experience img {
  width: 100%;
  height: 100%; /* Ensure it fills the container */
  border-radius: 10px;
  object-fit: cover;
}

.about-us .experience-box {
  background: #208245;
  color: white;
  text-align: center;
  padding: 20px;
  position: absolute;
  top: -40px; /* Shift to the top-left corner */
  left: -40px;
  width: 150px;
  height: 150px;
  border-radius: 10px;
  border: 8px solid white; /* Added white border */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.about-us .experience-box h2 {
  font-size: 3rem;
  margin: 0;
}

.about-us .experience-box p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.about-us .content {
  flex: 2 1 500px;
  padding: 20px;
}

.about-us .content h3 {
  color: #ffa500;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-us .content h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #333;
}

.about-us .content p {
  color: #6c757d;
  font-size: 16px;
  margin: 10px 0;
  line-height: 1.6;
}

.about-us .features {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.about-us .features p {
  color: #333;
  font-size: 1rem;
  margin: 0;
  display: flex;
  align-items: center;
}

.about-us .features span {
  color: #ffa500;
  font-weight: bold;
  margin-right: 5px;
}

@media (max-width: 768px) {
  .about-us .container {
    flex-direction: column;
    text-align: center;
  }

  .about-us .experience-box {
    position: absolute;
    top: 10px;
    left: 10px; /* Ensure it remains in the top-left corner on smaller screens */
  }

  .about-us .features {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================ services ======================================================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
}

.service-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}

.service-container {
  display: flex;
  flex-direction: row;
  background-color: #f4f4f4;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  border-radius: 10px;
  max-width: 1200px;
  width: 100%;
  overflow: hidden;
}

.service-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #333;
}

.service-heading {
  font-size: 28px;
  font-weight: bold;
  color: black;
  margin-bottom: 20px;
}

.service-details {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-container {
    flex-direction: column;
  }

  .service-content {
    text-align: center;
  }
}
