/* Footer Navigation Link Styles */
.footer-logo-img {
  max-height: 170px;
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.2);
  cursor: pointer;
}

.footer-links a {
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffffffcc;
}

.footer-links a:hover::after {
  width: 80%;
}

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

.footer-dropdown {
  position: relative;
  display: inline-block;
}

.footer-dropdown-menu {
  position: absolute;
  top: 100%;
  /* shows below the link */
  left: 0;
  background-color: #343a40;
  padding: 10px 0;
  border-radius: 5px;
  display: none;
  z-index: 1000;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-dropdown:hover .footer-dropdown-menu,
.footer-dropdown-menu:hover {
  display: block;
}

.footer-dropdown-menu li {
  list-style: none;
  padding: 5px 20px;
}

.footer-dropdown-menu a {
  color: white;
  text-decoration: none;
  display: block;
}

.footer-dropdown-menu a:hover {
  color: #ffc107;
  text-decoration: underline;
}

.footer-dropdown .dropdown-toggle {
  color: white;
  cursor: pointer;
  display: inline-block;
  padding: 5px 10px;
}


.resource-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px 60px;
  max-width: 1200px;
  margin: auto;
}

.resource-img-wrapper {
  perspective: 1000px;
  transition: transform 0.3s;
}

.resource-img-wrapper:hover {
  transform: scale(1.02);
}

.resource-img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s, box-shadow 0.4s;
  transform: rotateX(3deg) rotateY(3deg);
}

.resource-img:hover {
  transform: rotateX(0deg) rotateY(0deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


.section-title {
  text-align: center;
  margin-top: 200px;
  margin-bottom: 40px;
}

.section-title p {
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  color: white;
}
