.footer {
  background-color: #1a1a1a;
  background-image: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)), 
                    url('https://jgu.edu.in/front/assets/img/footer.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ccc;
  font-family: "Open Sans", sans-serif;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  padding: 60px 20px 20px;
  margin: 0;
}

.footer-container {
  max-width: 1409px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section {
  flex: 1 1 180px;
  min-width: 180px;
}

.campus-location {
  flex: 1 1 280px;
  min-width: 280px;
}

.footer h5,
.footer h6 {
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: -3px;
  padding-bottom: 26px;
  display: inline-block;
  font-family: "Open Sans", sans-serif;
}

address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.campus-location p {
  font-size: 14px;
  margin-bottom: 10px;
}

a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color:#ffc107;
}

.btn-direction {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #ffc107;
  color: #ffc107;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.btn-direction:hover {
  background-color: #fff;
  color: #1a1a1a;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  border-radius: 50%;
  background-color: #ccc;
  color: #000;
  transition: transform 0.3s ease, background-color 0.3s ease;
  font-size: 12px;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.facebook:hover,
.twitter:hover,
.linkedin:hover,
.youtube:hover,
.instagram:hover {
  background-color: #ffc107;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding-top: 20px;
  font-size: 18px;
  margin-top: 30px;
  font-family: 'Open Sans';
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-section,
  .campus-location {
    min-width: 100%;
  }

  .social-icons {
    justify-content: flex-start;
  }
}
