:root {
  --secondary-color: #c50000;
  --primary-color: #2e3192;
}
/* Footer styling  */
.footer {
  width: 100%;
  background-color: #f2f2f2;
  padding: 40px 20px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 2rem;
}
.footer-column {
  width: 100%;
  flex: 0 0 33%;
}
.footer-links {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.footer-column-links {
  width: 100%;
  flex: 1;
}
.footer-centres {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-centres-column {
  width: 100%;
  flex: 1;
  background-color: #f2f2f2;
}
.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
}
.footer-centres-column h4 {
  font-size: 15px;
  color: var(--secondary-color);
  margin-block: 0.5rem;
}
.footer-column ul,
.footer-centres-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li,
.footer-centres-column ul li {
  margin-bottom: 10px;
  position: relative;
}

.footer-column ul li a {
  color: #000;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: red;
}

/* Centres collapsible */
.footer-centres-column {
  margin-right: 20px;
}

.footer-centres-column ul li {
  cursor: pointer;
}

.dropdown-content {
  /* max-height: 0;
  overflow: hidden; */

  /* transition: max-height 0.4s ease-out; */
}

.social-icons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.social-icons a {
  margin-right: 10px;
  background-color: transparent !important;
}

.social-icons img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  border-top: 1px dashed black;
  margin-top: 20px;
  padding-top: 3rem;
  text-align: center;
  font-size: 12px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-column:nth-of-type(1) {
  text-align: start;
}
.footer-column:nth-of-type(2) {
  text-align: center;
}
.footer-column:nth-of-type(3) {
  text-align: end;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-column {
    width: 100%;
    margin-bottom: 20px;
    flex: 0 0 50%;
  }

  .footer-column:nth-of-type(2) {
    text-align: start;
  }
  .footer-column:nth-of-type(3) {
    text-align: start;
  }

  .footer {
    flex-direction: column;
    align-items: center;
  }
  .footer-bottom {
    margin-bottom: 2rem;
  }
}

.footer-centres {
  display: flex;
  gap: 20px;
}

.footer-centres-column {
  width: 200px;
}

h4 {
  color: red;
  font-size: 1.2em;
}

ul {
  list-style-type: none;
  padding: 0;
}
.collapsible {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.collapsible div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  font-weight: bold;
}
.fa-chevron-down {
  color: var(--secondary-color);
}
.collapsible i {
  margin-left: 10px;
  transition: transform 0.3s;
}

.collapsible.active i {
  transform: rotate(180deg); /* Rotates icon when active */
}

.dropdown-content {
  display: none;
  color: #000;
}

.collapsible.active + .dropdown-content {
  display: block;
}

/* Optional hover effects */
.collapsible:hover {
  color: var(--secondary-color);
}
