/* =============================== 
   FOOTER STYLES - Updated & Corrected 
================================= */
.footer {
  background: #0a2837; /* dark blue background */
  color: #ffffff;
  padding: 60px 40px 30px; /* inner padding for spacing */
  font-family: 'Inter', 'Poppins', sans-serif;
  width: 100%;
  box-sizing: border-box; /* include padding in width */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: none;
  align-items: flex-start;
}

.footer-section {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #00bfa5;
}

.footer-section p,
.footer-section li,
.footer-section a,
.footer-section span {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0; /* reset default ul margin */
}

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

.footer-section a:hover {
  color: #00bfa5;
}

.footer-section.about img {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.footer-section .social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-section .social-icons a img {
  width: 24px;
  height: 24px;
  filter: invert(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-section .social-icons a img:hover {
  transform: scale(1.1);
  filter: invert(65%) sepia(80%) saturate(500%) hue-rotate(150deg);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  color: #ccc;
  width: 100%;
}

/* Footer Contact Section */
.footer-section.contact {
  gap: 8px;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.footer-section.contact h4 {
  margin-bottom: 15px;
  font-weight: 600;
  color: #00bfa5;
}

.footer-section.contact p,
.footer-section.contact span {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
}
/* =============================== 
   CONTACT SECTION FIX - Unified with Footer 
================================= */
.footer-section.contact {
  display: flex;
  flex-direction: column; /* stack content vertically */
  gap: 8px;
  padding: 0;
  margin: 0;
  background: transparent; /* remove any background color */
  border: none; /* remove any border */
  width: 100%; /* take full available width like other sections */
  box-sizing: border-box; /* ensure no extra padding/margin */
}

.footer-section.contact h4 {
  margin-bottom: 15px;
  font-weight: 600;
  color: #00bfa5;
}

.footer-section.contact p,
.footer-section.contact span,
.footer-section.contact a {
  color: #ffffff; /* same as other sections */
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0; /* remove default spacing */
  text-decoration: none;
}

.footer-section.contact p + p {
  margin-top: 5px; /* small spacing between multiple lines */
}

/* Align contact section inline with other sections on desktop */
@media (min-width: 1025px) {
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-section.contact {
    flex: 1 1 220px; /* same flex as other sections */
    align-items: flex-start;
  }
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-section.contact {
    width: 100%;
  }
}
/* ===============================
   SOCIAL ICONS ALIGNMENT FIX
================================= */
.footer-section.social {
  display: flex;
  flex-direction: column; /* stack heading and icons */
  gap: 12px; /* space between "Follow Us" heading and icons */
}

.footer-section.social h4 {
  margin: 0; /* remove extra margin */
  color: #00bfa5;
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-section.social .social-icons {
  display: flex;
  gap: 15px; /* equal spacing between icons */
  align-items: center; /* vertically center icons */
}

.footer-section.social .social-icons a img {
  width: 24px;
  height: 24px;
  filter: invert(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-section.social .social-icons a img:hover {
  transform: scale(1.1);
  filter: invert(65%) sepia(80%) saturate(500%) hue-rotate(150deg);
}

/* Ensure social section has same width/flex as other sections */
.footer-section.social {
  flex: 1 1 220px;
  align-items: flex-start;
}

/* Responsive mobile adjustment */
@media (max-width: 1024px) {
  .footer-section.social {
    width: 100%;
    flex-direction: row; /* optional: icons inline with heading */
    justify-content: flex-start;
  }

  .footer-section.social .social-icons {
    gap: 12px;
  }
}


/* =============================== 
   RESPONSIVE DESIGN 
================================= */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-section {
    width: 100%;
    align-items: flex-start; /* left-align all content */
  }

  .footer-section.social {
    margin-top: 10px;
  }

  .footer-section.contact {
    gap: 12px;
  }
}

