/* === CUUL-Inspired Footer for Material Theme === */

.custom-footer-cuul {
  background-color: #f5f7fa; /* light gray background */
  color: #34495e; /* deep muted blue-gray text */
  font-family: "Open Sans", sans-serif;
  padding: 40px 8%;
  text-align: left;
  border-top: 1px solid #e0e4e8;
}

/* 3-column layout */
.footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 250px;
  margin: 10px 20px;
}

.footer-section h4 {
  color: #1a4b7a; /* CUUL deep blue */
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #34495e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #1a4b7a; /* hover in CUUL blue */
}

/* CUUL Credit Section */
.footer-cuul-credit {
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.6;
}

.footer-cuul-credit strong {
  color: #1a4b7a;
  font-size: 1.1rem;
}

.footer-cuul-credit a {
  color: #1a4b7a;
  text-decoration: none;
}

.footer-cuul-credit a:hover {
  text-decoration: underline;
}

/* Bottom legal line */
.footer-bottom-cuul {
  text-align: center;
  border-top: 1px solid #d9dce1;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #7b8a96;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .footer-sections {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-section {
    margin: 15px 0;
  }
}
