:root {
    --primary: #333;
    --accent: #ff4081;
    --white: #fff;
}

/* --- Footer Styling --- */
footer {
    background-color: #0b7ef2; /* Dark background for professionalism */
    color: #ecf0f1; /* Light text for contrast */
    padding: 40px 20px; /* Ample padding */
    font-family: Arial, sans-serif; /* Professional font */
}

.footer-content {
    display: flex;
    flex-wrap: wrap; /* Allows sections to wrap on smaller screens */
    justify-content: space-around; /* Distributes sections evenly */
    max-width: 1200px; /* Max width for content */
    margin: 0 auto; /* Center the content */
    gap: 30px; /* Space between columns */
}

.footer-section {
    flex: 1; /* Allows sections to grow and shrink */
    min-width: 250px; /* Minimum width before wrapping */
    margin-bottom: 20px; /* Space for responsive layout */
}

.footer-section h3 {
    color: #333; /* Accent color for headings */
    margin-bottom: 8px;
    font-size: 1.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
    padding-bottom: 8px;
}

.footer-section ul {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 4px; /* Space between list items */
}

.footer-section ul li a {
    color: #ecf0f1; /* Link color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth hover effect */
}

.footer-section ul li a:hover {
    color: #333; /* Hover color */
    text-decoration: underline; /* Add underline on hover */
}

.footer-section p {
    margin-bottom: 8px; /* Space between paragraphs */
    line-height: 1.6; /* Better readability */
}

.footer-section a {
    color: #ecf0f1; /* Default link color in info section */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #333;
    text-decoration: underline;
}

/* --- Footer Bottom (Copyright) --- */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator line */
    font-size: 0.9em;
    color: #bdc3c7; /* Slightly darker grey for copyright text */
}

.footer-bottom p {
    margin: 0; /* Remove default paragraph margin */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack columns vertically on smaller screens */
        align-items: center; /* Center items when stacked */
    }

    .footer-section {
        text-align: center; /* Center text in sections */
        margin-bottom: 30px;
    }

    .footer-section:last-child {
        margin-bottom: 0;
    }

    .footer-section h3 {
        border-bottom: none; /* Remove border when stacked */
        padding-bottom: 0;
    }
}

.custom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideDown 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
