/* ROOT */

.footer {
  background: #0b0b0b url("../images/sec-3-bg.webp") center/cover no-repeat;
  color: #fff;
  padding: 130px 20px 30px;
  border-radius: 50px 50px 0 0;
  overflow: hidden;
  position: relative;
}

.footer::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #00000091;
  z-index: 0;
}

/* CONTAINER */
.footer-container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* TOP */
.footer-top {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

/* LEFT */
.footer-left {
  flex: 1;
  min-width: 280px;
}

.footer-logo {
  width: 100%;
  height: auto;
}

.footer-logo img {
  width: 225px;
  height: auto;
}

/* .footer-logo span {
  color: #8fff9c;
} */

.footer-desc {
  margin: 16px 0 24px;
  color: #bbb;
  max-width: 320px;
}

.footer-stay {
  margin-bottom: 12px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.footer-social a svg {
  fill:  #79eb93;
  width: 18px;
  height: 18px;
  transition: all 0.3s ease-in;
}

.footer-social a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #c8f5a8, #003D2B);
  opacity: 0;
  transform: translateX(-120%);
  transition: all 0.3s ease-in;
  z-index: -1;
}

.footer-social a:hover:before {
  opacity: 1;
  transform: translateX(0);
}

.footer-social a:hover svg {
  fill: #000;
}

/* RIGHT */
.footer-right {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* NEWSLETTER */
.footer-newsletter {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #959595;
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-newsletter h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 16px;
  max-width: 230px;
}

.footer-input-container {
  width: 100%;
  max-width: 450px;
}

.footer-input-wrap {
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.footer-input-wrap input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-weight: 500;
}

.footer-sub-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 14px 26px;
  border-radius: 14px;
  max-width: 250px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  user-select: none;

  background-color: #c8f5a8;

  transition: all 0.4s ease;
}

.footer-sub-btn::before {
  content: "";
  background: linear-gradient(88deg, transparent, #003516, transparent);
  position: absolute;
  height: 100%;
  width: 100%;
  transform: translateX(-50%);
  z-index: 0;
  transition: transform 0.4s ease;
}

/* ICON WRAPPER */
.footer-sub-btn-icon {
  width: 24px;
  height: 24px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

/* MOVING CONTAINER (KEY PART) */
.footer-sub-btn-icon-box {
  display: flex;
  width: 68px;
  gap: 16px;
  transition: transform 0.4s ease;
}

/* ARROWS */
.footer-sub-btn-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* HOVER EFFECT */
.footer-sub-btn:hover::before {
  transform: translateX(50%);
}

/* HIDE DEFAULT */
.footer-check input {
  display: none;
}

/* WRAPPER */
.footer-check {
  margin-top: 10px;
  font-size: 14px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

/* BOX */
.footer-check-box {
  width: 16px;
  height: 16px;
  border: 2px solid #c6c6c6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
  background: transparent;
}

/* SVG CHECK */
.footer-check-box svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;

  stroke-dasharray: 24;
  stroke-dashoffset: 24;

  transition: stroke-dashoffset 0.35s ease;
}

/* ACTIVE STATE */
.footer-check input:checked + .footer-check-box {
  background: linear-gradient(90deg, #003516, #003516);
  border-color: transparent;
}

/* ANIMATION */
.footer-check input:checked + .footer-check-box svg {
  stroke-dashoffset: 0;
}

/* OPTIONAL HOVER */
.footer-check:hover .footer-check-box {
  border-color: #8fff9c;
}

.footer-check {
  font-size: 16px;
  color: #fff;
}

/* LINKS */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
	    height: 100%;
	align-items: center;
}

.footer-links-container{
	    min-height: 160px;
}

.footer-links h4 {
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #8fff9c;
}

/* BOTTOM */
.footer-bottom {
  max-width: 1420px;
  margin: auto;
  margin-top: 60px;
  border-top: 1px solid #959595;
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: #bbb;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-newsletter {
    flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-newsletter h3 {
    max-width: 100%;
  }

  .footer-left {
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-check {
    justify-content: center;
  }

  .footer-top {
    gap: 16px;
  }

  .footer {
    padding-top: 100px;
    border-radius: 30px 30px 0 0;
  }
}

@media (max-width: 600px) {
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
