@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  width: 100vw;
  overflow-x: hidden;
}

:root {
  /* ===== Core Theme Colors ===== */
  --primary: #286527;
  /* Deep green – main background */
  --secondary: #92c48d;
  /* Soft green – section backgrounds */
  --accent: #3db741;
  /* Bright green – buttons, highlights */
  --light: #e6f7e6;
  /* Light green-white – text on dark backgrounds */
  --dark: #1a3a1a;
  /* Near-black green – footer or text contrast */

  /* ===== Text Colors ===== */
  --text-primary: #ffffff;
  /* Main text color */
  --text-secondary: #cce5cc;
  /* Muted text for paragraphs/subheadings */
  --text-accent: #a3e39f;
  /* Accent text for hover or emphasis */

  /* ===== Background Colors ===== */
  --bg-main: var(--primary);
  --bg-section: var(--secondary);
  --bg-light: var(--light);
  --bg-dark: var(--dark);

  /* ===== Gradients ===== */
  --gradient-1: linear-gradient(135deg, #286527 0%, #92c48d 50%, #3db741 100%);
  --gradient-2: linear-gradient(90deg, #1a3a1a 0%, #286527 40%, #3db741 100%);
  --gradient-glow: linear-gradient(
    180deg,
    #3db741 0%,
    #92c48d 70%,
    #1a3a1a 100%
  );
}

header {
  width: 100%;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--accent);
}

.logo img {
  width: 250px;
  padding: 0px 5px;
}

.nav_links {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: larger;
  font-weight: 600;
  gap: 25px;
}

.nav_links li {
  list-style: none;
  position: relative;
}

.nav_links li a {
  text-decoration: none;
  color: white;
}

i {
  cursor: pointer;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 200;
}

.icons i {
  color: white;
  font-size: larger;
  padding-right: 50px;
}

.hamburger {
  display: none;
}

.lines {
  width: 25px;
  background-color: white;
  height: 3px;
  margin: 5px;
}

header nav ul li a::after {
  position: absolute;
  content: "";
  width: 0;
  height: 2px;
  left: 0;
  bottom: -8px;
}

header nav ul li a:hover::after {
  width: 100%;
  background-color: white;
}

.page {
  position: relative;
}

.drop_menu {
  display: none;
}

.drop_menu1 {
  display: block;
  position: absolute;
  left: 0;
  bottom: -65px;
  padding: 10px 6px;
  background-color: rgb(12, 59, 12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

@media screen and (max-width: 1200px) {
  .nav_links {
    font-size: large;
  }
}

@media screen and (max-width: 1150px) {
  .nav_links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .icons i {
    padding-right: 5px;
  }
}

/* ---------------------------------------------------------------------------- */

/* Sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: var(--dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow-x: hidden;
  transition: 1s;
  padding-top: 20px;
  margin-top: 10vh;
}

.sidebar ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px 15px;
  position: relative;
}

.sidebar ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.sidebar ul li div span {
  color: var(--accent);
  text-decoration: none;
}

.flexdiv {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sidebar ul li a:hover {
  color: #f1f1f1;
}

.sidebar ul li .submenu {
  list-style: none;
  padding-left: 15px;
  /* max-height: 0; */
  overflow: hidden;
  display: none;
}
.sidebar ul li .submenu2 {
  padding-left: 15px;
  display: none;
}
.submenu1 {
  padding-left: 15px;
  display: block;
}

/* Close button */
.sidebar .close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 36px;
  cursor: pointer;
  color: var(--accent);
}

/*--------------------------------------------------------------*/
.menu-nav a {
  text-decoration: none;
  color: #e6f7f5;
  font-size: x-large;
}

.user-para {
  font-size: large;
  padding: 5px;
  color: #e6f7f5;
  margin: auto;
}

.home-page {
  position: relative;
  width: 100%;
  height: 100vh;
}

.home > img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
  background-position: center;
  filter: brightness(20%);
}

.home-content {
  position: absolute;
  top: 50%;
  inset: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e6f7f5;
  font-size: 30px;
}

.home-about {
  display: grid;
  grid-template-columns: auto auto;
  overflow-x: hidden;
  padding: 80px;
}

.about-img {
  width: 100%;
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 30px;
}

.about-img > img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  padding: 10px;
  border-radius: 10%;
  background: linear-gradient(
    90deg,
    var(--dark),
    var(--secondary),
    var(--primary)
  );
  background-size: 200% 200%;
  animation: borderMove 5s infinite;
  transition: transform 0.4s ease;
}

.about-img:hover {
  transform: scale(1.03);
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.the-header h2 {
  text-align: center;
  padding: 20px;
  font-size: 32px;
  color: var(--accent);
}

.about-content {
  padding: 30px;
  margin: auto;
  text-align: justify;
}

.about-content > h3 {
  font-size: 30px;
  padding: 10px;
  color: var(--accent);
}

.about-content > p {
  font-size: 24px;
}

.home-services {
  overflow-x: hidden;
  display: grid;
  grid-template-columns: auto auto auto;
}

.the-content {
  position: relative;
  overflow-x: hidden;
}

.div {
  background-color: var(--primary);
  padding: 50px;
  margin: 10px;
  text-align: center;
  border-radius: 12px;
}

.emoji {
  font-size: 38px;
  padding: 15px;
  animation: rotate-emoji 5s infinite;
  transition: tranform 0.5s ease-in;
}

.div-content {
  font-size: 26px;
  color: #e6f7f5;
}

.the-button {
  padding: 20px;
}

.btn {
  font-size: 20px;
  width: fit-content;
  padding: 10px;
  color: #e6f7f5;
  border-radius: 10px;
  box-shadow: var(--dark) 5px 5px 5px 0.03px;
  background-color: var(--accent);
  text-decoration: none;
}

.blogs {
  padding: 30px;
}

.box {
  display: grid;
  grid-template-columns: auto auto;
  /* grid-template-areas: "thing1 thing2"; */
  overflow-x: hidden;
}

.thing1 {
  width: 100%;
}

.thing1 > img {
  width: 600px;
  object-fit: cover;
  background-position: center;
  padding: 20px 20px;
  height: 600px;
}

.thing2 > h3 {
  font-size: 28px;
  text-align: center;
  padding: 20px;
  text-transform: capitalize;
}

.thing2 > p {
  font-size: 22px;
  text-align: justify;
  padding: 10px;
}

.thing2 {
  text-align: center;
}

/* Footer */
footer {
  height: 100%;
  text-align: center;
  color: var(--light);
  opacity: 0.8;
}

.footer-parent {
  display: grid;
  grid-template-columns: auto auto auto auto;
  background: var(--dark);
  object-fit: cover;
  margin-top: 20px;
  font-size: 22px;
}

.set1 {
  padding: 20px;
  text-align: center;
}

.logo1 {
  height: 60px;
  width: 250px;
  object-fit: cover;
}

.set2 {
  padding: 20px;
  text-align: center;
}

.footer-header {
  color: var(--accent);
}

.footer-li {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.footer-li a {
  margin-top: 5px;
  text-decoration: none;
  color: #f2f9f8;
  padding: 5px;
}

.footer-li a:hover {
  color: var(--accent);
}

.set3 {
  padding: 20px;
  text-align: center;
}

.footer-para {
  color: #f2f9f8;
}

.set4 {
  padding: 20px;
  text-align: center;
}

.set4 .footer-para {
  color: #f2f9f8;
  line-height: 2;
}

.svg {
  margin-top: 5px;
  padding: 2px;
  width: 40px;
  height: 40px;
  fill: #f2f9f8;
}

.svg:hover {
  fill: var(--accent);
}

/* Media Query */

@media screen and (max-width: 1360px) {
  .blogs {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .box {
    display: grid;
    grid-template-columns: auto;
  }
  .thing1 img {
    width: 100%;
    height: 35vh;
  }
  .thing2 p {
    font-size: medium;
  }
  .home-about {
    padding: 40px;
  }
}

@media screen and (max-width:1290px) {
    
  .home-about {
    display: flex;
    flex-direction: column;
  }

}

@media screen and (max-width: 1025px) {
  #menu {
    display: block;
    margin-left: auto;
  }
  .mobile-dropdown .dropdown-menu li a {
    font-size: 12px;
  }
  .nav-links {
    display: none;
  }

  .anchor {
    display: none;
  }
  .thing1 {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .thing2 h3 {
    font-size: 26px;
  }

  .thing2 p {
    font-size: 20px;
  }

  .thing2 button {
    font-size: 18px;
  }
  .footer-parent {
    font-size: 20px;
  }
  .footer-li a {
    font-size: 20px;
  }
}

@media screen and (max-width: 769px) {
  .home-content h2 {
    font-size: 38px;
  }

  .home-services {
    display: grid;
    grid-template-columns: auto auto;
  }

  .div-content {
    font-size: 28px;
  }

  .service-header {
    font-size: 26px;
  }

  .thing2 h3 {
    font-size: 24px;
  }

  .thing2 p {
    font-size: 18px;
  }
}

@media screen and (max-width: 790px) {
  .menu-nav {
    width: 70%;
    font-size: 14px;
  }

  .menu-nav > a > .nav-links,
  .user-para {
    font-size: 14px;
  }
}

@media screen and (max-width: 426px) {
  .home-content h2 {
    font-size: 30px;
  }
  .mobile-dropdown .dropdown-menu li a {
    font-size: 12px;
  }
  .home-about {
    padding: 10px;
  }

  .about-content h3 {
    font-size: 26px;
  }

  .about-content p {
    font-size: 20px;
  }

  .about-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .home-services {
    display: grid;
    grid-template-columns: auto;
  }

  .div-content {
    font-size: 22px;
  }

  .the-header h2 {
    font-size: 28px;
  }

  .the-button {
    font-size: 18px;
  }

  .service-header {
    font-size: 26px;
  }

  .blogs {
    padding: 10px;
  }

  .thing1 img {
    width: 380px;
    padding: 10px;
  }

  .thing2 h3 {
    font-size: 24px;
  }

  .thing2 p {
    font-size: 18px;
  }
}

@media screen and (max-width: 376px) {
  .home-content h2 {
    font-size: 28px;
  }

  .home-about {
    padding: 10px;
  }

  .about-content h3 {
    font-size: 24px;
  }

  .about-content p {
    font-size: 18px;
  }

  .about-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .home-services {
    display: grid;
    grid-template-columns: auto;
  }

  .emoji {
    font-size: 32px;
  }

  .div-content {
    font-size: 20px;
  }

  .the-header h2 {
    font-size: 26px;
  }

  .the-button {
    font-size: 18px;
  }

  .service-header {
    font-size: 24px;
  }

  .blogs {
    padding: 10px;
  }

  .thing1 img {
    width: 350px;
    padding: 10px;
  }

  .thing2 h3 {
    font-size: 22px;
  }

  .thing2 p {
    font-size: 18px;
  }
}

@media screen and (max-width: 321px) {
  .home-content h2 {
    font-size: 26px;
  }

  .home-about {
    padding: 10px;
  }

  .about-content h3 {
    font-size: 20px;
  }

  .about-content p {
    font-size: 16px;
    text-align: justify;
  }

  .about-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .home-services {
    display: grid;
    grid-template-columns: auto;
  }

  .div-content {
    font-size: 18px;
  }

  .the-header h2 {
    font-size: 24px;
  }

  .btn {
    font-size: 16px;
    /* padding: 5px; */
  }

  .service-header {
    font-size: 22px;
  }

  .blogs {
    padding: 10px;
  }

  .thing1 img {
    width: 300px;
    padding: 10px;
  }

  .thing2 h3 {
    font-size: 18px;
  }

  .thing2 p {
    font-size: 16px;
  }
  .cta-button {
    padding: 10px;
    font-size: 18px;
  }
}

@media screen and (max-width:1000px) {
    .home img {
        height: 60vh;
    }
    .home-content {
        top: -10%;
    }
    .home-page {
        height: 60vh;
    }
}

footer {
  height: 100%;
  text-align: center;
  color: var(--light);
  opacity: 0.8;
}

.footer-parent {
  display: grid;
  grid-template-columns: auto auto auto auto;
  background: rgba(5, 37, 37, 0.85);
  object-fit: cover;
  margin-top: 20px;
}

.set1 {
  padding: 10px;
}

.logo1 {
  height: 80px;
  object-fit: cover;
}

.set2 {
  padding: 20px;
  text-align: center;
}

.footer-header {
  color: var(--accent);
}

.footer-li {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.footer-li a {
  margin-top: 5px;
  text-decoration: none;
  color: #f2f9f8;
  padding: 5px;
}

.footer-li a:hover {
  color: #2fa39a;
}

.set3 {
  padding: 20px;
  text-align: center;
}

.footer-para {
  color: #f2f9f8;
}

.set4 {
  padding: 20px;
  text-align: center;
}

.set4 .footer-para {
  color: #f2f9f8;
  line-height: 2;
}

.svg {
  margin-top: 5px;
  padding: 2px;
  width: 40px;
  height: 40px;
  fill: #f2f9f8;
}

.svg:hover {
  fill: var(--accent);
}

@media screen and (max-width: 1441px) {
  .footer-header {
    font-size: 26px;
  }
  .footer-li {
    font-size: 22px;
  }
  .footer-para {
    font-size: 22px;
  }
}

@media screen and (max-width: 1125px) {
  .footer-parent {
    display: grid;
    grid-template-columns: auto auto;
  }

  .footer-header {
    font-size: 24px;
  }
  .footer-li {
    font-size: 20px;
  }
  .footer-para {
    font-size: 20px;
  }
}

@media screen and (max-width: 850px) {
  .footer-header {
    margin-top: 10px;
  }

  .footer-parent {
    grid-template-columns: auto;
    padding: 30px;
  }

  .footer-li {
    font-size: 16px;
  }
  .footer-para {
    font-size: 18px;
  }
}

@media screen and (max-width: 428px) {
  .footer-header {
    margin-top: 10px;
  }

  .footer-li {
    font-size: 16px;
  }
}

@media screen and (max-width: 376px) {
  .footer-header {
    margin-top: 10px;
  }

  .footer-parent {
    grid-template-columns: auto;
    padding: 0px;
  }

  .footer-li {
    font-size: 14px;
  }

  .set1 {
    padding: 0px;
  }
  .footer-para {
    font-size: 14px;
    padding: 5px;
  }
  .logo {
    width: 200px;
  }

  .logo1 {
    width: 250px;
  }
  .footer-parent {
    padding: 0px;
  }

  .footer-header {
    margin: 0px;
    font-size: 20px;
  }

  .set1,
  .set2,
  .set3,
  .set4 {
    padding: 10px;
  }
  .footer-li {
    font-size: 14px;
  }

  .set1 {
    padding: 0px;
  }
  .footer-para {
    font-size: 14px;
    padding: 5px;
  }
  .cta-button {
    padding: 10px;
    font-size: 18px;
  }
}
