/* =====================================================
   NEWSLETTER SECTION
===================================================== */

.fm-footer-newsletter {
  padding: 60px 0;
  background: linear-gradient(180deg, #00897a 0%, #00897a 100%);
}

.fm-footer-newsletter h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.fm-footer-newsletter p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

/* =====================================================
   NEWSLETTER FORM WITH ICON
===================================================== */
.fm-newsletter-form {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: center;
}

.fm-email-box {
  position: relative;
  flex: 1;
}

.fm-email-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #00897a;
  font-size: 16px;
  z-index: 5;
  pointer-events: none;
}

.fm-email-box input {
  width: 100%;
  height: 58px;
  padding-left: 50px;
  padding-right: 22px;
  border: none;
  outline: none;
  border-radius: 14px;
  background: #ffffff;
  color: #222;
  font-size: 15px;
}

.fm-email-box input::placeholder {
  color: #888;
}

.fm-email-box input:focus {
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.25);
}

.fm-newsletter-form button {
  height: 58px;
  padding: 0 38px;
  border: none;
  border-radius: 14px;
  background: #f58220;
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.fm-newsletter-form button:hover {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .fm-email-box i {
    left: 16px;
    font-size: 15px;
  }

  .fm-email-box input {
    height: 54px;
    padding-left: 45px;
  }
}

/* =====================================================
   MAIN FOOTER
===================================================== */
.fm-footer-main {
  padding: 75px 0 55px;
  background: linear-gradient(180deg, #00897a 0%, #00231f 100%);
}

/* =====================================================
   BRAND AREA
===================================================== */
.fm-footer-logo {
  width: 155px;
  margin-bottom: 18px;
}

.fm-footer-text {
  max-width: 390px;
  color: white;
  font-size: 14px;
  line-height: 1.65;
}

.fm-social-links {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.fm-social-links a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: 0.3s ease;
}

.fm-social-links img {
  width: 21px;
  height: 21px;
}

.fm-social-links a:hover {
  background: #f58220;
  transform: translateY(-4px);
}

/* =====================================================
   FOOTER MENU
===================================================== */
.footer-nav h4 {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
  color: white;
  font-size: 17px;
  font-weight: 800;
}

.footer-nav h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 35px;
  height: 3px;
  background: #f58220;
  border-radius: 20px;
}

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

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: 0.3s ease;
}

.footer-nav ul li a:hover {
  color: white;
  transform: translateX(4px);
}

/* =====================================================
   FOOTER BOTTOM
===================================================== */
.fm-footer-bottom {
  padding: 20px 0;
  background: linear-gradient(180deg, #00897a, #00231f);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.fm-footer-bottom p {
  margin: 0;
  color: white;
  font-size: 14px;
}

/* =====================================================
   TABLET
===================================================== */
@media (max-width: 991px) {
  .fm-newsletter-form {
    margin-top: 15px;
  }
}

/* =====================================================
   MOBILE PREMIUM VERSION
===================================================== */
@media (max-width: 768px) {
  .fm-footer-newsletter {
    padding: 40px 18px;
    text-align: center;
  }

  .fm-footer-newsletter h3 {
    font-size: 22px;
  }

  .fm-footer-newsletter p {
    max-width: 330px;
    margin: auto;
    font-size: 13.5px;
  }

  .fm-newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .fm-email-box input {
    height: 54px;
  }

  .fm-newsletter-form button {
    width: 100%;
    height: 54px;
  }

  /* MAIN FOOTER */
  .fm-footer-main {
    padding: 40px 18px 30px;
  }

  .fm-footer-main .row {
    display: flex;
  }

  .footer-nav {
    width: 50%;
    padding: 0 14px;
    text-align: left;
    margin-bottom: 25px;
  }

  /* Divider */
  .footer-nav:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .company-col,
  .legal-col {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* Titles */
  .footer-nav h4 {
    display: block;
    text-align: left;
    font-size: 15px;
    margin-bottom: 13px;
  }

  .footer-nav h4::after {
    left: 0;
    transform: none;
    width: 30px;
  }

  /* Links */
  .footer-nav ul li {
    margin-bottom: 6px;
  }

  .footer-nav ul li a {
    justify-content: flex-start;
    font-size: 12.5px;
    line-height: 1.3;
  }

  /* BRAND */
  .footer-brand {
    width: 100%;
    margin-top: 10px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
  }

  .fm-footer-logo {
    width: 95px;
  }

  .fm-footer-text {
    max-width: 310px;
    margin: auto;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .fm-social-links {
    justify-content: center;
    margin-top: 18px;
  }
}

/* =====================================================
   SMALL MOBILE 360PX
===================================================== */
@media (max-width: 360px) {
  .footer-nav {
    padding: 0 10px;
  }

  .footer-nav h4 {
    font-size: 14px;
  }

  .footer-nav ul li a {
    font-size: 12px;
  }

  .fm-footer-text {
    font-size: 12px;
  }

  .fm-footer-logo {
    width: 90px;
  }
}
