/* <+++++++++++++ Navbar  +++++++++++++> */

.header {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  color: #1a1a1a;
  width: 100%;
  z-index: 100;
  border-bottom: 2px solid #009443;
}

.navbar {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-link {
  color: #1a1a1a;
  transition: color 0.3s;
  font-weight: 400;
}

.nav-link:hover {
  color: #009443;
}

.nav-link-lang {
  /* display: inline-block; */
  padding: 0.25rem 0.5rem; /* Adjust padding for size */
  background-color: #fff; /* Button color */
  color: #1a1a1a; /* Text color */
  border: none; /* No border */
  border-radius: 50px; /* Makes it pill-shaped */
  text-align: center; /* Center text */
  text-decoration: none; /* No underline */
  /* font-size: 16px; Font size */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.5s; /* Smooth transition */
}

.nav-link-lang:hover {
  background-color: #009443;
  color: #fff;
}

.nav-menu-btn,
.nav-close-btn {
  /* display: flex; */
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-menu-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 1.3rem;
  font-size: 1.1rem;
}

.nav-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

@media screen and (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding-block: 3.5rem;
    background-color: #fff;
    display: none;
    transition: top 0.5s;
    transition: display 0.5s;
    /* opacity: 0; */
  }
}
.show-menu {
  top: 0;
  /* opacity: 1; */
  display: initial;
}

/* <+++++++++++++ Hero Container  +++++++++++++> */

.hero {
  position: relative;
}

.hero_img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 750px;
  object-fit: cover;
  object-position: center;
}

.hero_overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 750px;
  /* background: linear-gradient(
    180deg,
    hsla(195, 78%, 10%, 0.6) 58%,
    hsl(195, 56%, 10%) 78%
  ); */
  /* backdrop-filter: blur(20px); */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.39),
    rgba(0, 0, 0, 0.5),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 1)
  );
}

.hero_container {
  position: relative;
  padding-top: 2rem;
  row-gap: 3rem;
}
.hero_text {
  color: #fff;
  text-align: center;
}

.hero_title {
  color: rgb(255, 255, 255);
  font-size: var(--biggest-font-size);
  font-size: 5rem;
  margin-bottom: 1rem;
}

.hero-description {
  font-family: var(--second-font);
  /* font-size: 1.5rem; */
  margin-bottom: 2rem;
}

.hero-cards {
  grid-template-columns: 240px;
  justify-content: center;
}
.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card-img {
  transition: transform 0.4s;
}

.hero-card:hover .hero-card-img {
  transform: scale(1.2);
}

.hero-card-title {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: var(--h3-font-size);
  z-index: 1;
  color: white;
}

.hero-card-shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 50%,
    rgb(0, 0, 0) 125%
  );
}

/* <+++++++++++++++ ABOUT SECTION ++++++++++++++> */

.about-container {
  row-gap: 3rem;
}

.about-text {
  text-align: center;
}

.about-desc {
  margin-bottom: 2rem;
}

.about-img-section {
  position: relative;
  justify-self: center;
  overflow: hidden;
}

.about-img {
  width: 300px;
  transition: transform 0.4s;
}

.abt-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    hsla(195, 78%, 10%, 0.1) 50%,
    hsl(195, 56%, 10%) 125%
  );
}
.about-img-section:hover .about-img {
  transform: scale(1.2);
}

/*<+++++++++++++ POPULAR SECTION +++++++++++++>*/
.popular {
  margin-bottom: 2.5rem;
}
.popular-container {
  padding-top: 1.5rem;
  grid-template-columns: 240px;
  justify-content: center;
  row-gap: 2.5rem;
}
.popular-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.popular-img {
  transition: transform 0.4s;
}

.popular-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    hsla(195, 78%, 10%, 0.1) 50%,
    hsl(195, 56%, 10%) 125%
  );
}

.popular-title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

.popular-image:hover .popular-img {
  transform: scale(1.2);
}

/* <+++++++++++++++ Footer +++++++++++++++++> */
.footer {
  padding-block: 2.5rem;
  background-color: #009443;
}

.footer-data {
  row-gap: 3.5rem;
}

.footer-data {
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-address {
  color: var(--body-color);
  /* text-indent: 0.5rem; */
}

.footer-link-section {
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.footer-title {
  font-size: var(--h3-font);
  margin-bottom: 1rem;
  color: var(--body-color);
}

.footer-links {
  display: grid;
  row-gap: 0.75rem;
}

.footer-links {
  display: grid;
  row-gap: 0.75rem;
}

.footer-link {
  color: var(--body-color);
  transition: color 0.5s;
}

.footer-link:hover {
  color: var(--para-color);
}

.footer-social-container,
.footer-social {
  display: flex;
}

.footer-social-container {
  margin-top: 5rem;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}

.footer-social {
  column-gap: 1.5rem;
}

.footer-social-link {
  color: var(--body-color);
  font-size: 1.5rem;
  transition: color 0.5s, transform 0.5s;
}

.footer-social-link:hover {
  color: var(--para-color);
  transform: translateY(-0.25rem);
}

.footer-copyrights {
  font-size: var(--small-font);
  color: var(--body-color);
  text-align: center;
}

/* temp button jugaad */

.button {
  background-color: #009443;
  padding: 1.25rem 1.5rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  /* backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); */
  border-radius: 5px;
}

.button-small {
  background-color: #009443;
  padding: 0.8rem 1rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  /* backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); */
  border-radius: 5px;
}

.button:hover,
.button-small:hover {
  color: hsl(195, 56%, 10%);
}

/*<+++++++++++++++ Breakpoints  +++++++++++++>*/
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .footer-link-section {
    grid-template-columns: max-content;
  }
}

@media screen and (min-width: 576px) {
  .hero_container,
  .about-container {
    grid-template-columns: 380px;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .hero-cards {
    grid-template-columns: repeat(2, 240px);
  }
  .about-container {
    grid-template-columns: repeat(2, 360px);
    align-items: center;
  }
  .about-data {
    text-align: initial;
  }

  .popular-container {
    grid-template-columns: repeat(2, 240px);
  }

  .footer-data {
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-evenly;
  }
  .footer-copy {
    order: -1;
  }
}

@media screen and (max-width: 767px) {
  .about-text {
    order: 2;
  }

  .about-img-section {
    order: 1;
  }
}

@media screen and (min-width: 1023px) {
  .nav-menu-btn,
  .nav-close-btn {
    display: none;
  }

  .nav-menu-list {
    flex-direction: row;
    column-gap: 4rem;
  }

  .footer-link-section {
    column-gap: 4.5rem;
  }
}

@media screen and (min-width: 1052px) {
  .container {
    margin-inline: auto;
  }
  .section {
    padding-block: 3rem 2rem;
  }
  .hero_container {
    grid-template-columns: initial;
    justify-content: initial;
    row-gap: 4rem;
    padding-top: 6.5rem;
  }
  .hero_overlay {
    height: 940px;
  }
  /* .hero_text {
    text-align: initial;
    width: 480px;
  } */
  .home-description {
    margin-bottom: 2.5rem;
  }
  .hero-cards {
    grid-template-columns: repeat(4, 260px);
  }

  .about-container {
    grid-template-columns: 400px 460px;
    column-gap: 8.5rem;
    padding-block: 1rem;
  }
  .about-desc {
    margin-bottom: 2rem;
  }
  .about-img {
    width: 460px;
  }

  .popular-container {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 3rem;
    padding-top: 4rem;
  }

  .popular-title {
    font-size: var(--h2-font);
  }

  .footer {
    padding-block: 5rem 3rem;
  }

  .footer-title {
    margin-bottom: 1.5rem;
  }
  .footer-social-container {
    column-gap: 2rem;
  }
  .footer-social-link {
    font-size: 1.5rem;
  }
}
