:root {
  --primary-color: #003a17;
  --secondary-color: #006401;
  --light-color: #d0f0aa;
  --background-color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: poppins, sans-serif;
  background: var(--background-color);
}

/* Header Starts */

nav {
  background-color: var(--background-color);
  padding: 1.9rem 2rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8vh;
}

.logo {
  width: 18%;
}

.logo img {
  width: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #5a7c4f;
}

.contact-btn {
  background-color: var(--secondary-color);
  color: white !important;
  padding: 0.75rem 1.5rem;
  margin-left: 13rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #4a6a3f;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
/* Header Section Ends */

/* Hero Section Starts */
.hero {
  background: rgb(208, 240, 170, 0.2);
  font-family: montserrat, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80vh;
  line-height: 5rem;
}

.hero-head {
  text-align: center;
}

.hero-head h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero-head p {
  font-size: 1.2rem;
  color: #948f8f;
}

.hero-head a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background-color: var(--secondary-color);
  padding: 15px 28px;
  border-radius: 10px;
}

/* About Section Starts */

section.about {
  padding: 4rem 2rem;
}

.about-head h1 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.about-text p {
  text-align: center;
  font-size: 1.1rem;
  padding: 0 12.5rem;
  font-weight: 500;
  color: #948f8f;
}

.about-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.flex {
  flex: 0 1 auto;
}

.flex img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.flex:nth-child(2),
.flex:nth-child(4) {
  max-width: 260px;
}

.flex:nth-child(2),
.flex:nth-child(4) {
  margin-top: 5rem;
}

/* Service Section Starts */

.service h1 {
  text-align: center;
  padding-top: 4rem;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: inter, sans-serif;
}

.service-text p {
  text-align: center;
  font-size: 1.1rem;
  padding: 0 12.5rem;
  font-weight: 500;
  margin-bottom: 3rem;
}

.service-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 7rem;
  padding-bottom: 4rem;
}

.service-card {
  background-color: rgb(208, 240, 170, 0.2);
  border-radius: 10px;
  padding: 2rem;
  text-align: left;
  flex: 1 1 calc(33.33% - 20px);
  max-width: 350px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.service-card img {
  background-color: var(--light-color);
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.service-card .img {
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  padding: 10px;
  border-radius: 50%;
}

.service-card h2 {
  font-size: 20px;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 1rem;
  color: #948f8f;
  line-height: 1.5rem;
}

/* Service Section Ends */

.contact-link {
  display: flex;
  gap: 5rem;
  padding: 50px;
  align-items: center;
}

.contact-link-1 h2 {
  font-size: 20px;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-link-1 p {
  font-size: 1.2rem;
  color: #948f8f;
  line-height: 1.5rem;
  margin: 1.5rem 0;
  width: 80%;
}

.contact-link-1 .socials a {
  margin-right: 15px;
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-right: 3.5rem;
}

.contact-flex {
  display: flex;
  gap: 1rem;
}

.contact-flex .img {
  border: #006401 1px solid;
  padding: 15px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 3rem;
}

.contact-flex .span {
  font-size: 15px;
  margin-left: 5px;
  margin-top: 0.8rem;
  max-width: 50%;
}

.contact-flex .text-img {
  margin-top: 0.7rem;
  border: #006401 1px solid;
  padding: 15px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 3rem;
}

.contact-flex .text {
  margin-bottom: 3rem;
  font-size: 15px;
  max-width: 40%;
}

.contact-info a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  cursor: pointer;
}

.contact-form-1 h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-form-1 form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  bottom: 200px;
  right: 10px;
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: 0 0 20px rgb(225, 225, 225, 0.8);
  padding: 30px 50px;
  border-radius: 15px;
}

.contact-form-1 input {
  padding: 8px 15px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 10px;
  font-family: inherit;
  width: 270px;
}

.contact-form-1 textarea {
  padding: 13px 15px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 10px;
  font-family: inherit;
  width: 270px;
  height: 135px;
  resize: none;
}

.contact-form-1 input::placeholder,
.contact-form-1 textarea::placeholder {
  color: #aaa;
  font-style: poppins, sans-serif;
  font-size: 12px;
}

.contact-form-1 button {
  background-color: var(--secondary-color);
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 30%;
}

.contact-form-0 {
  display: none;
}

/* Footer Section Starts */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 3.5rem;
  background: var(--primary-color);
}

footer .img {
  width: 30%;
}

footer .img img{
  width: 100%;
}

footer .nav-bar ul {
  display: flex;
  gap: 2rem;
}

footer .nav-bar ul li {
  list-style: none;
}

footer .nav-bar ul li a {
  text-decoration: none;
  color: #fff;
}

footer .nav-bar ul li a:hover {
  color: #006401;
}

.footer .social-icon {
  padding: 10px;
}

footer .social-icon a {
  color: #fff;
  padding: 10px;
  font-size: 1.5rem;
}

footer .copy {
  display: none;
}

/* Media Queries */

/* Tablet Devices */
@media (max-width: 820px) {
  .logo {
    width: 40%;
  }

  .logo img {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--background-color);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    gap: 1.5rem;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .contact-btn {
    display: inline-block;
    margin-left: 0;
  }

  /* Hero Section Starts */
  .hero {
    line-height: 3rem;
    padding: 2rem 1rem;
  }

  .hero-head h1 {
    font-size: 2.8rem;
    text-align: center;
    line-height: 60px;
    margin-bottom: 2rem;
  }

  .hero-head p {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-head a {
    font-size: 1.1rem;
    padding: 15px 28px;
    border-radius: 10px;
    cursor: pointer;
  }

  /* About Section Starts */
  .about-head h1 {
    font-size: 3rem;
  }

  .about-text p {
    padding: 0 4rem;
    font-size: 1.2rem;
    font-weight: 500;
  }

  /* Service Section Starts */
  .service-head h1 {
    font-size: 3rem;
  }

  .service-text p {
    padding: 0 4rem;
    font-size: 1.4rem;
    font-weight: 500;
  }

  .service-flex {
    margin: 0 3rem;
    gap: 20px;
  }

  .service-card {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
    padding: 1.5rem;
  }

  .service-card h2 {
    font-size: 20px;
    font-weight: 600;
  }

  /* COntact Section Starts */
  .contact-link {
    display: flex;
    flex-direction: column;
    margin-bottom: 70px;
  }

  .contact-link-1 {
    width: 100%;
    text-align: center;
  }

  .contact-link-1 h2 {
    font-size: 3rem;
    font-weight: 700;
  }

  .contact-link-1 p {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
  }

  .contact-link-1 .socials {
    width: 100%;
    gap: 2rem;
  }

  .contact-link-1 .socials a {
    font-size: 2.5rem;
  }

  .contact-form-0 {
    display: none;
  }

  .contact-form-1 {
    position: absolute;
    top: 506%;
    right: 28px;
  }

  /* Footer Section Starts */

  footer {
    flex-direction: column;
    gap: 4rem;
    padding: 3.5rem;
  }

  footer .img {
    width: 100%;
  }

  footer .img img {
    width: 100%;
    margin-left: 0;
  }

  footer .nav-bar {
    display: none;
  }

  footer .social-icon a {
    font-size: 2.8rem;
    padding: 18px;
  }

  footer .copy {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
  }
}

/* Mobile Devices */
@media (max-width: 450px) {
  .logo {
    width: 50%;
  }

  .logo img {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--background-color);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    gap: 1.5rem;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .contact-btn {
    display: inline-block;
    margin-left: 0;
  }

  /* Hero Section Starts */
  .hero {
    line-height: 3rem;
    padding: 2rem 1rem;
  }

  .hero-head h1 {
    font-size: 2.5rem;
    text-align: center;
    line-height: 70px;
  }

  .hero-head p {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 3rem;
  }

  .hero-head a {
    font-size: 1.2rem;
    padding: 15px 28px;
    border-radius: 10px;
    cursor: pointer;
  }

  /* About Section Starts */
  .about-head h1 {
    font-size: 1.8rem;
  }

  .about-text p {
    padding: 0;
    font-size: 15px;
    text-align: left;
    font-weight: 500;
    margin-bottom: 8px;
  }

  .about-flex {
    display: flex;
    flex: 1;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 500px;
  }

  .flex {
    flex: 1 1 calc(50% - 10px);
  }

  .flex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .flex:nth-child(1) {
    order: 1;
  }

  .flex:nth-child(2) {
    order: 2;
    margin-top: 3rem;
  }

  .flex:nth-child(3) {
    order: 3;
  }

  .flex:nth-child(4) {
    order: 4;
    margin-top: 3rem;
  }

  /* Service Section */

  .service-head h1 {
    font-size: 2rem;
  }

  .service-text p {
    padding: 18px;
    font-size: 17px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
  }

  .service-flex {
    display: flex;
    flex-direction: column;
    flex: 1;
    flex-wrap: wrap;
    padding: 0 25px;
    margin: 0;
    gap: 20px;
  }

  .service-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0.5rem 1rem;
  }

  .service-card h2 {
    font-size: 18px;
    font-weight: 600;
  }

  /* Contact Section Starts */
  .contact-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
    /* width: 88%; */
  }

  .contact-map {
    margin-top: 80px;
    width: 100%;
  }

  .contact-map iframe {
    width: 100%;
    height: 400px;
  }

  .contact-link-1 h2 {
    margin-top: 20px;
    font-size: 30px;
    text-align: center;
    font-weight: 700;
  }

  .contact-link-1 p {
    font-size: 20px;
    text-align: center;
    margin: 1rem 0;
  }

  .contact-link-1 .socials a {
    font-size: 2rem;
    margin: 0 15px;
    padding: 0 18px;
    width: 100%;
  }

  .contact-info {
    margin-top: 30px;
    padding: 0;
    gap: 1.5rem;
  }

  .contact-flex {
    flex-direction: row;
    margin-left: 40px;
  }

  .contact-flex p {
    /* width: 100%; */
    font-size: 20px;
    font-size: 600;
  }

  .contact-flex .text {
    max-width: 70%;
  }

  .contact-form-0 {
    display: block;
    margin-bottom: 4rem;
  }

  .contact-form-0 h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .contact-form-0 form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 0 20px rgb(225, 225, 225, 0.8);
    padding: 30px 50px;
    border-radius: 15px;
  }

  .contact-form-0 input {
    padding: 8px 15px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 10px;
    font-family: inherit;
    width: 270px;
  }

  .contact-form-0 textarea {
    padding: 13px 15px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 10px;
    font-family: inherit;
    width: 270px;
    height: 135px;
    resize: none;
  }

  .contact-form-0 input::placeholder,
  .contact-form-0 textarea::placeholder {
    color: #aaa;
    font-style: poppins, sans-serif;
    font-size: 12px;
  }

  .contact-form-0 button {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 30%;
  }

  .contact-form-1 {
    display: none;
  }

  button .btn {
    font-weight: 500;
  }

  /* Footer Section Starts */
  footer {
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }

  footer .img {
    width: 100%;
  }

  footer .img img {
    width: 100%;
    margin-left: 0;
  }

  footer .social-icon a {
    font-size: 2.3rem;
    padding: 15px;
  }

  footer .copy {
    width: 100%;
    display: block;
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
  }

  footer .nav-bar {
    display: none;
  }
}
