/* Footer Area Styles */
.footer-area {
  position: relative;
  background: #f4eee5 url("./footer-top.png") no-repeat top center;
  padding-top: 80px;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  display: flex;
  justify-content: center; /* Center all content horizontally */
  align-items: center; /* Vertically center content */
  flex-direction: column;
}

/* Main Footer Styles */
.main-footer {
  display: flex;
  padding: 30px 0;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px; /* Added some gap between items */
  width: 100%;
  max-width: 1200px;
}

.footer-logo img {
  width: 150px;
  object-fit: contain;
  height: auto;
}

.footer-logo p {
  color: #666;
  font-size: 15px;
  margin-top: 10px;
  white-space: normal;
  text-align: justify;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center; /* Center the links */
}

.footer-links li {
  margin-bottom: 12px;
  justify-self: left;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  justify-content: center;
  /* text-align: justify; */
  /* flex-direction: column; */
}

.footer-links a:hover {
  color: #f4a261;
}

.footer-links i {
  color: #f4a261;
  font-size: 10px;
}

.footer-logo-section,
.quick-links-section,
.categories-section {
  width: 30%;
  margin-bottom: 30px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content */
  justify-content: center; /* Vertically center content */
  text-align: center;
}

.quick-links-section h3,
.categories-section h3 {
  font-size: 18px;
  color: #2b4570;
}

/* Social Links Styles */
.social-links {
  margin-top: 20px;
  text-align: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: #f4f4f4;
  border-radius: 50%;
  color: #2b4570;
  margin: 5px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #f4a261;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border: 2px dashed #f4a261;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  color: #f4a261;
  font-size: 20px;
}

.info-content {
  padding-left: 15px;
}

.info-content .label {
  color: #666;
  margin-bottom: 3px;
  font-size: 14px;
}

.info-content h4 {
  color: #2b4570;
  margin: 0;
  font-size: 16px;
}

/* Bottom Footer Styles */
.bottom-footer {
  padding: 20px 0;
  background: url("./footer-bottom.png") no-repeat center / cover;
  height: 80px;
  text-align: center;
  overflow: hidden;
}

.bottom-footer p {
  margin: 0;
  color: #666;
  font-size: 12px;
}

.bottom-footer a {
  color: #666;
  text-decoration: none;
  margin-left: 15px;
  font-size: 14px;
}

.bottom-footer a:hover {
  color: #f4a261;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .footer-area {
    padding-top: 60px;
  }

  .footer-logo-section,
  .quick-links-section,
  .categories-section {
    width: 45%;
  }
}

@media (max-width: 992px) {
  .footer-area {
    padding-top: 50px;
  }

  .footer-logo img {
    max-width: 100px;
  }

  .footer-logo-section,
  .quick-links-section,
  .categories-section {
    width: 48%;
  }

  .row-four-categories {
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-area {
    padding-top: 40px;
  }

  .main-footer {
    padding: 30px 0;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-section,
  .quick-links-section,
  .categories-section {
    width: 100%;
    text-align: center;
  }

  .footer-logo img {
    max-width: 100px;
  }

  .footer-links {
    text-align: center;
  }

  .footer-logo-section,
  .quick-links-section,
  .categories-section {
    margin-left: 0; /* Removing extra margin on smaller screens */
  }

  /* Smaller font for mobile */
  .footer-logo p {
    font-size: 12px;
  }

  .footer-links li {
    font-size: 12px;
  }

  /* Stack contact info and adjust spacing */
  .footer-contact-info .info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
  }

  .info-content h4 {
    font-size: 14px;
  }

  /* Social Links */
  .social-links {
    text-align: center;
    margin-top: 20px;
  }

  .social-links a {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .footer-area {
    padding-top: 30px;
  }

  .main-footer {
    padding: 20px 0;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo img {
    max-width: 90px;
  }

  .footer-logo-section,
  .quick-links-section,
  .categories-section {
    width: 100%;
    text-align: center;
  }

  .footer-links li {
    font-size: 12px;
  }

  /* Contact info text adjustments */
  .footer-contact-info .info-item {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .footer-contact-info .info-item .info-content h4 {
    font-size: 14px;
  }

  .social-links {
    text-align: center;
  }

  .social-links a {
    font-size: 14px;
  }

  .footer-contact-info .row-footer-bottom-contact-location {
    flex-direction: column; /* Stack locations on small screens */
    margin-left: 0;
    gap: 20px;
  }
}

.row-four-categories {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.quick-links-section,
.footer-logo-section,
.categories-section {
  margin-left: 0;
  width: 100%;
}

.row-footer-bottom-contact-location {
  display: flex;
  justify-content: space-evenly;
  margin-left: 0;
  gap: 100px;
}

@media (max-width: 768px) {
  /* Make sure the columns in .row-footer-bottom-contact-location stack on small screens */
  .row-footer-bottom-contact-location {
    flex-direction: column;
    margin-left: 0;
    gap: 30px;
  }
}
