/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header styles */
header {
  background: goldenrod;
  padding: 20px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}

/* Hero section with background image */
.hero {
  position: relative;
  margin-top: 0;
}

.herosec {
  position: relative;
  height: 90vh;
  background: url("images/abby.jpg");
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden; /* Contain the pseudo-element within .herosec */
}

.herosec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(255, 255, 255, 0.7);  */
  background-color: black;
  opacity: 50%;
  z-index: 1;
}

.herosec h1,
.herosec p,
.herosec button {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}

button {
  background: #6ab04c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s ease;
}

button:hover {
  background: #27ae60;
}

/* About, Services, and Contact sections */
.about,
.services,
.contact {
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* About section contact information */
.contact-info {
  margin-top: 20px;
  font-size: 16px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #6ab04c;
  font-size: 18px;
  align-items: center;
}

.contact-info a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #27ae60;
}

/* Specific styles for services section */
.services {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
}

.serviceContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.services h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.service-card {
  /* display: inline-block; */
  width: 300px;
  margin: 20px;
  padding: 20px;
  background-color: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* height: 200px; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input,
textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

/* Footer styles */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

.about-container {
  display: flex;
  margin-top: 4rem;
  margin-bottom: 2rem;
  justify-content: space-between;
  gap: 2rem;
}

/* .about-text p {
  text-align: justify;
} */

/* Responsive Navigation Styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* .about {
  background-image: "url(../images/about_img.JPG);";
} */

.ourStory_container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ourStory_wrapper {
  background-color: #27ae60;
  padding: 10px;
}
.ourMission {
  background-color: yellow;
  padding: 10px;
}
.ourVision {
  background-color: green;
  padding: 10px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 88px;
    /* right: 20px; */
    /* background: goldenrod; */
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 99;
    color: black;
    width: 100%;
    height: 60vh;
    left: 0;
    right: 0;

    /* left: 20px; */
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    color: black;
    text-decoration: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    color: black;
  }

  .serviceContainer {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  /* .nav-links.show {
    display: flex;
  } */
}
