.content {
  flex: 1;
}

footer {
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
}

.footer-container {
  width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 6rem;
  padding-right: 6rem;
  padding-bottom: 2rem;
  padding-top: 6rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-left img {
  width: 88px;
  height: 33px;
}

.footer-left span {
  font-weight: 600;
  font-size: 32px;
  color: #676767;
}

.footer-menu {
  display: flex;
  gap: 66px;
}

.footer-menu a {
  text-decoration: none;
  color: #18181b;
  font-size: 16px;
  font-weight: 600;
}

.footer-icons {
  display: flex;
  gap: 30px;
}

.footer-icons a {
  color: #333;
  font-size: 16px;
  transition: color 0.3s, transform 0.3s;
}

.footer-divider {
  border-top: 1px solid #e5e5e5;
  margin: 0;
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #52525b;
  padding: 2rem 6rem;
}

.footer-bottom a {
  text-decoration: none;
  color: #52525b;
  margin-left: 32px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    padding: 16px;
    gap: 24px;
  }

  .footer-left {
    order: 1;
    justify-content: center;
    text-align: center;
  }

  .footer-menu {
    order: 2;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .footer-icons {
    order: 3;
    justify-content: center;
    gap: 16px;
  }

  .footer-bottom {
    order: 4;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 16px;
  }

  .footer-bottom a {
    margin-left: 0;
  }
}
/* Modal backdrop */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto 10%;
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 700px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-y: auto;
  max-height: 80vh;
  position: relative;
}

.modal-content h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #111;
}

.modal-content h3 {
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #222;
  border-bottom: 2px solid #ddd;
  padding-bottom: 4px;
}

.modal-content p {
  margin-bottom: 15px;
  font-weight: 400;
  font-size: 1rem;
}

.modal-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
  list-style-type: disc;
  color: #444;
  font-weight: 400;
  font-size: 1rem;
}

.modal-content ul li {
  margin-bottom: 8px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #000;
}


a:hover {
  text-decoration: underline;
}

section {
  margin-bottom: 2em;
}
