@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;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--background);
  --sb-thumb-color: var(--on-background);
  --sb-size: 8px;
  color: var(--on-background);
}
body::-webkit-scrollbar {
  width: var(--sb-size);
}
body::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 1px;
}
body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 1px;
}
:root {
  /* Primary colors */
  --primary: #8c9935;
  --primary-variant: #beca6c;

  /* Secondary colors */
  --secondary: #975f44;
  --secondary-variant: #4a302c;

  /* Background & surface */
  --background: #1e2926;
  --surface: #fffbf4;

  /* Status colors */
  --error: #d32f2f;
  --success: #3d9d42;

  /* On colors (text/icons on top of colors) */
  --on-primary: #fffbf4;
  --on-secondary: #fffbf4;
  --on-background: #fffbf4;
  --on-surface: #121212;
  --on-error: #fffbf4;
}
.container {
  padding: 0 4rem;
}
a {
  text-decoration: none;
  color: inherit;
  color: var(--color-text-secondary);
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
p {
  font-weight: 300;
  font-size: 14px;
  text-align: center;
}
/* ____________ HEADER START ____________ */

header {
  padding: 2rem 0;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.logo-img {
  width: 48px;
  height: 48px;
}
.logo-img svg {
  width: 48px;
  height: 48px;
  fill: var(--surface);
}
.logo-text {
  margin-left: 16px;
  font-size: 24px;
  font-weight: 800;
}
.nav-item a {
  position: relative;
  padding: 0 8px;
  margin: 0 8px;
  transition: all 0.2s ease;
}
.nav-item a:hover {
  color: var(--primary);
}
.nav-item a::after {
  content: "";
  position: absolute;
  width: 0px;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.4s ease;
  z-index: -1;
  left: 0;
  bottom: -8px;
}
.nav-item a:hover::after {
  width: 100%;
}
.active a {
  cursor: default;
  color: var(--primary);
}
.active a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.4s ease;
  z-index: -1;
  right: 0;
  bottom: -8px;
}
.hamber-menu {
  display: none;
}

/* ____________ HAMBER MENU START ____________ */
#menuToggle {
  display: block;
  position: fixed;
  top: 50px;
  right: 50px;
  left: auto;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}
#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  right: -5px;
  left: auto;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  -webkit-touch-callout: none;
}
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: var(--surface);
  border-radius: 3px;
  z-index: 1;
  transform-origin: 29px 0px;
  transition:
    transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    opacity 0.55s ease;
}
#menuToggle span:first-child {
  transform-origin: 100% 0%;
}
#menuToggle span:nth-last-child(2) {
  transform-origin: 100% 100%;
}
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(-45deg) translate(-0px, 0px);
  background: var(--on-surface);
}
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(45deg) translate(0, 1px);
}
#menu {
  position: absolute;
  max-width: 400px;
  width: 100vw;
  min-height: 100vh;
  margin: -100px -50px 0 0;
  padding: 50px;
  padding-top: 125px;
  box-sizing: border-box;
  overflow-y: auto;
  background: var(--surface);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  right: 0;
  left: auto;
  transform-origin: 100% 0%;
  transform: translate(100%, 0);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  direction: ltl;
  text-align: left;
}
#menu li {
  padding: 10px 0;
  font-size: 22px;
}
#menu li label {
  cursor: pointer;
}
#menuToggle input:checked ~ ul {
  transform: none;
}
/* ____________ HAMBER MENU END ____________ */
/* ____________ HEADER END ____________ */

/* ____________ HERO START ____________  */
#home > div:first-child {
  padding-right: 0;
}
.hero-wrapper {
  display: flex;
}
#home .content {
  padding: 8rem 0;
  margin-right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  flex: 1;
  position: relative;
}
.hero-img {
  flex: 1;
  background-image: url("/0 image/mike-blank-JWa5jZ1LkJY-unsplash.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}
h1 {
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 4rem;
}
#home h2 {
  /* font-weight: 500; */
  margin-bottom: 8px;
  font-size: 20px;
}
#home p {
  text-align: start;
  margin-bottom: 2rem;
}
.secondary-btn {
  border: var(--on-background) solid 2px;
}
.btn {
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.2s ease;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.btn:hover {
  background-color: var(--primary);
  border: solid 2px var(--primary);
}
.btn .text {
  display: block;
  transition: all 0.3s ease;
}
.btn .text-hover {
  position: absolute;
  width: 100%;
  right: 0;
  top: 50%;
  opacity: 0;
}
.btn:hover .text-default {
  transform: translateY(-10px);
  opacity: 0;
}

.btn:hover .text-hover {
  transform: translateY(-10px);
  opacity: 1;
}

/* ____________ HERO END ____________  */
/* ____________ PRODUCTS START ____________  */

.products-wrapper {
  display: flex;
  z-index: 10;
  padding-top: 2rem;
  justify-content: center;
}
.products-wrapper .card {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateY(0);
  will-change: transform;
  transition: all 0.3s ease !important;
}
.products-wrapper .card p {
  max-width: 335px;
}
.products-wrapper .card-img {
  position: relative;
  width: 120px;
  height: 207.84px;
  background-color: var(--primary-variant);
  border-radius: 16px / 8px;
}
.products-wrapper .card-img::before,
.products-wrapper .card-img::after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  background: inherit;
  border-radius: inherit;
}
.products-wrapper .card-img::before {
  transform: rotate(60deg);
}
.products-wrapper .card-img::after {
  transform: rotate(-60deg);
}
.card h2 {
  text-align: center;
  font-weight: 500;
  font-size: 20px;
}
.products-wrapper .card .btn {
  margin-top: 40px;
}
.products-wrapper .card-1 {
  background-color: var(--primary);
}
.products-wrapper .card-1 .btn:hover {
  background-color: #6d7728;
  border: 2px solid #6d7728;
}
.products-wrapper .card-2 {
  background-color: var(--secondary);
}
.products-wrapper .card-2 .btn:hover {
  background-color: var(--secondary-variant);
  border: 2px solid var(--secondary-variant);
}
.products-wrapper .card-3 {
  background-color: var(--surface);
  color: var(--on-surface);
}
.products-wrapper .card-3 .btn {
  border: 2px solid var(--background);
  color: var(--background);
}
.products-wrapper .card-3 .btn:hover {
  color: var(--on-background);
  background-color: var(--primary);
  border: 2px solid var(--primary);
}

/* ____________ PRODUCTS END ____________  */

/* ____________ APPLICATIONS START ____________  */

.applications {
  margin: 4rem 0 6rem 0;
}
.applications-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
  gap: 16px;
}
.card-wrapper {
  position: relative;
  height: 250px;
}
.applications .card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border: 1px solid transparent;
  padding: 24px 14px;
  text-align: center;
  border-radius: 10px;
  transition: all 0.3s ease;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.applications .card-wrapper:hover .card {
  background: #ffffff0d;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid #ffffff1a;
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
  padding-bottom: 35px;
}

.applications .icon {
  width: 50px;
  height: 50px;
  fill: var(--on-background);
  stroke: var(--on-background);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 20px;
  transition: transform 0.6s ease;
}
.applications .card:hover .icon {
  transform: rotateY(360deg);
}
.dots {
  margin-top: 1rem;
  color: var(--on-background);
  font-size: 12px;
  font-weight: 600;
}
.applications .card:hover .dots {
  display: none;
}
.applications .card h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.description {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  max-height: 3.4em;
  transition: all 0.5s ease;
}

.applications .card-wrapper:hover .description {
  max-height: 400px;
  color: rgba(255, 255, 255, 1);
  margin-top: 10px;
}

.applications .card .active .description {
  max-height: 400px;
  color: rgba(255, 255, 255, 1);
  margin-top: 10px;
}

.applications .card .active {
  background: #ffffff0d;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid #ffffff1a;
  transform: translateY(-10px) scale(1.05);
  z-index: 100;
}

/* ____________ APPLICATIONS END ____________  */

/* ____________ WHY US START ____________  */

.why-us {
  background-color: var(--surface);
  color: var(--on-surface);
  padding: 12rem 0;
}
.why-wrapper {
  display: flex;
}
.why-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 16px;
}
.why-wrapper h2 {
  font-size: 4rem;
  font-weight: 500;
}
.why-content p {
  text-align: start;
}
.why-wrapper a {
  margin-top: 48px;
}
.why-wrapper .btn {
  background-color: var(--background);
  border: 2px solid var(--background);
  color: var(--on-background);
}
.why-wrapper .why-img {
  flex: 1;
  display: flex;
}
.why-img .img {
  width: 48.78%;
  height: 450px;
  transition: all 0.3s ease;
}
.img1 {
  z-index: 2 !important;
  background-color: var(--secondary-variant);
}
.img2 {
  background-color: var(--secondary);
}

/* ____________ WHY US END ____________  */

/* _____________________________________________ */
/* .fifth-section {
  background-color: var(--surface);
  color: var(--on-surface);
  padding: 8rem 0;
}
.fifth-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fifth-wrapper h2 {
  font-size: 4rem;
  margin-top: 4rem;
  font-weight: 500;
}
.fifth-wrapper > span {
  font-size: 14px;
  margin-top: 20px;
}
.fifth-cards {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}
.fifth-cards .card {
  border: var(--background) solid 2px;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0 16px;
}
.fifth-cards .card-img {
  position: relative;
  width: 100px;
  height: 173.2px;
  background-color: var(--primary-variant);
  border-radius: 16px / 8px;
}
.fifth-cards .card-img::before,
.fifth-cards .card-img::after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  background: inherit;
  border-radius: inherit;
}
.fifth-cards .card-img::before {
  transform: rotate(60deg);
}
.fifth-cards .card-img::after {
  transform: rotate(-60deg);
}
.fifth-cards .card p {
  max-width: 310px;
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
}
.fifth-cards .card a {
  margin-top: 32px;
}
.fifth-cards .card .btn {
  background-color: var(--primary);
  border: 2px solid var(--primary);
  color: var(--on-background);
}
.fifth-cards .card .btn:hover {
  background-color: var(--primary-variant);
  border: 2px solid var(--primary-variant);
} */

/* ____________ ABOUT US START ____________  */

#about {
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}
.about-wrapper {
  display: flex;
  padding: 4rem 0;
}
.story .about-content,
.values .about-content {
  padding-left: 6rem;
}
.mission .about-content {
  padding-right: 6rem;
}
.about-content {
  flex: 1;
  padding: 2rem 0;
}
.about-content h2 {
  font-size: 3rem;
  font-weight: 400;
}
.about-content p {
  font-size: 14px;
  margin: 1rem 0 2rem 0;
  text-align: start;
}
.about-content a {
  color: var(--primary);
  transition: all 0.3s ease;
}
.about-content a:hover {
  color: var(--primary-variant);
}
.about-img {
  flex: 1;
  background-color: var(--primary);
}
strong {
  font-size: 16px;
  font-weight: 600;
}
#about .secondary-btn {
  background-color: var(--primary);
  border: var(--primary) 2px solid;
}
#about .secondary-btn:hover {
  background-color: #6d7728;
  border: #6d7728 2px solid;
}
/* ____________ ABOUT US END ____________  */

/* ____________ FOOTER START ____________  */
.footer-main {
  display: flex;
  justify-content: space-between;
  padding-top: 8rem;
}

.footer-about {
  max-width: 42rem;
  margin: 24px 0 48px 0;
}
.footer-links {
  display: flex;
  flex-direction: row-reverse;
  justify-content: start;
  align-items: center;
  gap: 2rem;
  margin-left: 2rem;
}
.footer-nav {
  min-width: 116px;
  display: flex;
  flex-direction: column;
  margin: auto 0 0 0;
}
.footer-nav a {
  margin-bottom: 12px;
}
.footer-nav a:hover {
  transition: color 0.3s;
  color: var(--primary);
}
.footer-about p {
  max-width: 500px;
  font-size: 1rem;
  opacity: 0.9;
}
.footer-contact h3 {
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
.contact-item {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.social-icon {
  width: 24px;
  height: 24px;
  margin-right: 16px;
}
.contact-item a {
  color: var(--on-background);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-item a:hover {
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding: 20px 0 10px 0;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ____________ FOOTER END ____________  */

/* POPUP FORM START */
.popup-parent {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}
.popup-parent.active {
  opacity: 1;
  visibility: visible;
}
.popup-content p {
  margin-top: 2rem;
  text-align: start;
}
.popup-form {
  background: var(--background);
  max-width: 80vw;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  position: relative;
  transform: translateY(-30px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.popup-content {
  max-width: 50%;
  margin-right: 2rem;
}
.main-form {
  padding: 4rem 0;
  position: relative;
  max-width: 50%;
}
.popup-parent.active .popup-form {
  transform: translateY(0);
}
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  font-weight: bold;
}
.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 8px 16px;
  margin-top: 5px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
}

.full-name {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.full-name > div:first-child,
.full-name > div:last-child {
  display: flex;
  flex-direction: column;
}

.popup-form textarea {
  resize: vertical;
  min-height: 50px;
  max-height: 200px;
}
.popup-form button {
  text-align: center;
  padding: 10px 20px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.popup-form button:hover {
  background: var(--primary-variant);
}
.input-error {
  border: 2px solid var(--error) !important;
}
.label-error {
  color: var(--error);
}
.input-success {
  border: 2px solid var(--success) !important;
}
.label-success {
  color: var(--success);
}
input:focus,
textarea:focus {
  outline: none;
  border: 2px solid var(--primary) !important;
}
.thankyou-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.thankyou-popup.active {
  opacity: 1;
  visibility: visible;
}
.thankyou-box {
  background: var(--background);
  padding: 3rem 4rem;
  border-radius: 12px;
  text-align: center;
  position: relative;
  max-width: 400px;
}
.thankyou-box span {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}
/* POPUP FORM END */

/* ____________ RESPONSIVE ____________ */

@media (width <= 64rem) {
  .container {
    padding: 0 3rem;
  }

  /* ____________ HERO RESPONSIVE ____________ */

  h1 {
    font-size: 3rem;
    font-weight: 400;
  }

  /* ____________ HERO RESPONSIVE END____________ */

  /* PRODUCTS RESPONSIVE */

  .products-wrapper .card-img {
    width: 100px;
    height: 173.2px;
  }
  /*____________ APPLICATIONS RESPONSIVE ____________*/

  .applications-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  /*____________ APPLICATIONS END____________*/

  /*____________ WHY US RESPONSIVE ____________*/

  .why-wrapper h2 {
    font-size: 3rem;
    font-weight: 500;
  }
  .why-wrapper .img {
    max-height: 300px;
  }
  /*____________ WHY US END ____________*/

  /* ___________________________ */
  .fifth-wrapper h2 {
    font-size: 3rem;
    text-align: center;
  }
  .fifth-wrapper > span {
    text-align: center;
  }
  .fifth-cards {
    flex-wrap: wrap;
  }
  .fifth-cards .card {
    margin: 16px;
  }

  /* ____________ ABOUT US RESPONSIVE ____________  */

  .about-content h2 {
    font-size: 2rem;
    font-weight: 600;
  }

  /* ____________ ANOUT US  END____________ */
}

@media (width <= 48rem) {
  .container {
    padding: 0 2rem;
  }
  /* ____________ HEADER RESPONSIVE ____________ */
  .nav {
    display: none;
  }
  .nav-item {
    color: var(--on-surface);
  }
  nav ul {
    flex-direction: column;
    align-items: start;
  }
  .hamber-menu {
    display: block;
  }

  /* ____________ HEADER END ____________ */
  /* ____________ HERO RESPONSIVE ____________ */
  #home > div:first-child {
    padding: 0 !important;
  }
  .hero-wrapper .content {
    margin: 4rem 0 !important;
    padding: 0 2rem !important;
  }
  .hero-wrapper {
    flex-direction: column-reverse;
  }
  .hero-img {
    min-height: 500px;
  }
  /* ____________ HERO END ____________ */
  /*____________ PRODUCTS RESPONSIVE ____________*/
  .products-wrapper {
    flex-direction: column;
  }
  .products-wrapper .card {
    margin-bottom: 2rem;
  }
  .products-wrapper .card-img {
    width: 120px;
    height: 207.84px;
  }
  /*____________ APPLICATIONS RESPONSIVE ____________*/

  .applications-wrapper {
    grid-template-columns: 1fr;
  }
  /*____________ APPLICATIONS END____________*/

  /*____________ WHY US RESPONSIVE ____________*/

  .why-wrapper {
    flex-direction: column-reverse;
  }
  .why-wrapper .content {
    margin-top: 10rem;
    flex: 2;
  }
  .why-wrapper .img {
    width: 200px;
    flex: 2;
  }
  /*____________ WHY US END ____________*/

  /* ____________ ABOUT US RESPONSIVE ____________  */

  .about-wrapper {
    flex-direction: column;
  }
  .about-content {
    padding: 4rem 0;
  }
  .about-img {
    min-height: 300px;
  }
  .story .about-content,
  .values .about-content {
    padding-left: 0;
  }
  .mission .about-content {
    padding-right: 0;
  }
  /* ____________ ANOUT US RESPONSIVE END____________ */

  /* FOOTER RESPONSIVE */

  .footer-main {
    flex-direction: column;
  }
  .footer-links {
    margin: 0;
    justify-content: space-between;
  }
  /* FOOTER END */

  /* ____________ POPUP RESPONSIVE ____________ */
  .popup-form {
    flex-direction: column;
  }
  .popup-content {
    max-width: 100%;
    margin: 0;
    padding: 4rem 2rem;
  }
  .main-form {
    max-width: 100%;
    padding: 0 2rem;
  }
  /* ____________ POPUP END ____________ */
}
@media (width <= 30rem) {
  .footer-links {
    flex-direction: column;
    align-items: start;
  }
}
