/** ================================
    MAIN FOOTER STYLES
================================ **/

.main-footer {
  position: relative;
  background: #f2f2f2;
  color: var(--text-color);
  font-size: 16px;
}

.main-footer .widget-section {
  border-bottom: 1px solid #cfcfcf;
  padding-top: 80px;
  padding-bottom: 20px;
}

.main-footer .footer-widget {
  margin-bottom: 40px;
}

/* --------- Logo Widget --------- */
.main-footer .logo-widget p {
  margin-bottom: 24px;
  color: var(--text-color);
  line-height: 1.6;
}

.main-footer .footer-logo img {
  max-width: 180px;
  height: auto;
}

/* --------- Widget Titles --------- */
.main-footer .widget-title {
  margin-bottom: 20px;
}

.main-footer .widget-title h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--title-color);
}

/* --------- Links Widgets --------- */
.main-footer .links-widget .links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-footer .links-widget .links-list li {
  display: block;
  margin-bottom: 6px;
}

.main-footer .links-widget .links-list li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-footer .links-widget .links-list li a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* --------- Footer Bottom --------- */
.footer-bottom {
  position: relative;
  padding: 15px 0;
  border-top: 1px solid #cfcfcf;
  background: #f2f2f2;
}

.footer-bottom .bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom .copyright p {
  margin: 0;
  color: var(--title-color);
  font-size: 15px;
}

.footer-bottom .copyright p a {
  color: var(--title-color);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom .copyright p a:hover {
  text-decoration: underline;
}

/* --------- Social Links --------- */
.main-footer .social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.main-footer .social-links h5 {
  font-size: 17px;
  font-weight: 600;
  margin-right: 8px;
  color: var(--title-color);
}

.main-footer .social-links li {
  list-style: none;
}

.main-footer .social-links li a {
  width: 42px;
  height: 42px;
  line-height: 44px;
  background: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  color: var(--title-color);
  display: inline-block;
  transition: all 0.3s ease;
}

.main-footer .social-links li a:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* --------- Theme Variations --------- */
.main-footer.home-2 {
  background: #eff2e6;
}

.main-footer.light-footer {
  background: #1a1a1a;
  color: #fff;
}

.main-footer.light-footer .widget-title h4 {
  color: #fff;
}

.main-footer.light-footer .links-widget .links-list li a {
  color: rgba(255, 255, 255, 0.8);
}

.main-footer.light-footer .links-widget .links-list li a:hover {
  color: #fff;
}

.main-footer.light-footer .footer-logo img {
  filter: brightness(0) invert(1);
}

.main-footer.light-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer.light-footer .social-links li a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.main-footer.light-footer .social-links li a:hover {
  background: #22522a;
}

/** ================================
    RESPONSIVE DESIGN
================================ **/

@media (max-width: 991px) {
  .main-footer .widget-section {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .footer-widget {
    text-align: center;
  }

  .main-footer .footer-logo img {
    margin: 0 auto 20px;
  }
}

@media (max-width: 767px) {
  .footer-bottom .bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .main-footer .social-links {
    justify-content: center;
    margin-top: 10px;
  }

  .main-footer .widget-title h4 {
    font-size: 18px;
  }

  .main-footer .links-widget .links-list li a {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (max-width: 575px) {
  .main-footer {
    font-size: 14px;
  }

  .main-footer .footer-logo img {
    max-width: 140px;
  }
}
