/* Reset and Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Footer Styling */
.footer-custom {
  padding: 30px 0;
  background: url('../img/ba-bgimg.webp') no-repeat center center/cover;
  animation: moveBackground 40s linear infinite;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Add padding to the footer to ensure space on the left and right sides */
.footer-custom {
  padding-left: 100px !important;
  padding-right: 100px !important;
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Footer Row Layout */
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Equal spacing */
  align-items: flex-start;
  gap: 20px;
}

/* Footer Sections Styling */
.footer-box {
  flex: 1 1 220px;
  max-width: 250px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
}

/* Logo and Introduction Styling */
.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-logo {
  max-width: 200px !important;
  min-height: auto !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.footer-logo-box h3 {
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  font-family: "Audiowide", sans-serif;
  font-weight: 600; /* Made text bolder */
}

.footer-introduction {
  font-size: 14px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 10px;
  font-weight: 400; /* Slightly bolder */
}

/* Headings Styling */
.footer-box h4 {
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  font-family: "Audiowide", sans-serif;
  margin-bottom: 15px;
  text-align: left;
  font-weight: 600; /* Made headings bolder */
}

/* Links and Lists Styling */
.footer-links,
.footer-services,
.footer-timings {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-services li,
.footer-timings li {
  margin-bottom: 8px;
}

/* Footer Links Styling */
.footer-links li a,
.footer-services li a,
.footer-policy-links li a {
  color: #fff; /* Set link color to white */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  font-weight: 500; /* Made text bolder */
}

.footer-links li a:hover,
.footer-services li a:hover,
.footer-policy-links li a:hover {
  color: #00bcd4; /* Optional hover color */
}

/* Footer Timings Text Styling */
.footer-timings li {
  color: #fff; /* Set timings text to white */
  font-size: 14px;
  font-weight: 500; /* Made text bolder */
}

/* Appointment Button Styling */
.appointment-btn {
  font-size: 1em;
  font-family: "Audiowide", sans-serif;
  color: #001F62;
  padding: 8px 12px;
  border: 2px solid #1c3694;
  border-radius: 8px;
  background-color: #f9f9f9;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.3s ease-in-out;
  font-weight: 600; /* Made button text bolder */
}

.appointment-btn:hover {
  background-color: #001F62;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 31, 98, 0.5);
}

/* Footer Bottom Section */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  background-color: rgba(0, 0, 0, 0.7); /* Transparent black background */
  padding: 20px 0;
}

.footer-bottom p {
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 500; /* Made text bolder */
}

.footer-policy-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.footer-policy-links li a {
  color: #fff; /* Set link color to white */
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500; /* Made text bolder */
}

.footer-policy-links li a:hover {
  color: #00bcd4;
}

/* Responsive Adjustments */

/* Tablet View (max-width: 1024px) */
@media (max-width: 1024px) {
  .footer-row {
    justify-content: space-between;
  }

  .footer-box {
    flex: 1 1 calc(25% - 20px); /* Four columns with equal spacing */
    max-width: calc(25% - 20px);
    padding: 15px 10px;
  }

  .footer-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-logo-box h3 {
    font-size: 16px;
  }

  .footer-logo {
    max-width: 60px;
  }

  .footer-introduction,
  .footer-links li a,
  .footer-services li a,
  .footer-policy-links li a,
  .footer-bottom p,
  .footer-timings li {
    font-size: 13px;
  }

  .appointment-btn {
    font-size: 0.9em;
    padding: 6px 10px;
    margin-top: 15px;
  }
}

/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-box {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 15px 10px;
  }

  .footer-box h4 {
    text-align: center;
  }

  .footer-links,
  .footer-services,
  .footer-timings {
    text-align: center;
  }

  .footer-logo-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-introduction {
    text-align: center;
  }

  .appointment-btn {
    margin: 15px auto 0;
  }
  /* Add padding to the footer to ensure space on the left and right sides */
.footer-custom {
  padding-left: 50px !important;
  padding-right: 50px !important;
}
}

/* Very Small Screens (max-width: 480px) */
@media (max-width: 480px) {
  .footer-box h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer-links li a,
  .footer-services li a,
  .footer-policy-links li a,
  .footer-timings li {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .appointment-btn {
    font-size: 0.85em;
    padding: 5px 8px;
  }
}
