.footer {
    background-color: #000000; /* Dark background */
    color: #C9FEFF; /* Light teal text */
    padding: 40px 20px; /* Spacing */
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left, .footer-right {
    flex: 1;
    margin: 20px;
    min-width: 250px; /* Ensure each column has a minimum width */
}

.footer-logo {
    text-align: center;
    flex: 1;
    display: none; /* Hide by default */
}

.footer-logo img {
    max-width: 400px; /* Adjust size as needed */
}

.footer h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.footer p {
    font-size: 1em;
    line-height: 1.6;
}

.footer a {
    color: #C9FEFF; /* Light teal links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #0E9294; /* Teal on hover */
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.footer-right {
    display: flex;
    justify-content: space-between;
}

.footer-middle, .footer-contact {
    flex: 1;
    margin: 0 20px;
    min-width: 200px; /* Ensure each section has a minimum width */
}

.footer-right .social-icons {
    margin-top: 10px;
}

.footer-right .social-icons i {
    font-size: 24px; /* Adjust size as needed */
    color: #C9FEFF; /* Light teal for icons */
    margin-right: 15px; /* Spacing between icons */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effect */
    cursor: pointer; /* Pointer cursor on hover */
}

.footer-right .social-icons i:hover {
    color: #0E9294; /* Teal on hover */
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

.footer-policies {
    text-align: center;
    margin-top: 20px;
}

.footer-policies ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 20px;
    /* Space between links */
}

.footer-policies ul li {
    margin: 0;
}

.footer-policies ul li a {
    color: #C9FEFF;
    /* Light teal links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policies ul li a:hover {
    color: #0E9294;
    /* Teal on hover */
}

/* Responsive Styles */

@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-left, .footer-right {
        margin: 20px 0;
    }

    .footer-logo {
        display: none;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
        text-align: center; /* Center text to prevent overflow */
    }

    .footer-middle, .footer-contact {
        margin: 20px 0;
        text-align: center; /* Center text to prevent overflow */
    }

    .footer-contact p {
        word-wrap: break-word; /* Allow email to wrap to the next line */
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-left, .footer-right {
        margin: 20px 0;
    }

    .footer-logo {
        display: none;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
        text-align: center; /* Center text to prevent overflow */
    }

    .footer-middle, .footer-contact {
        margin: 20px 0;
        text-align: center; /* Center text to prevent overflow */
    }

    .footer-contact p {
        word-wrap: break-word; /* Allow email to wrap to the next line */
    }
}

@media (max-width: 480px) {
    .footer-left, .footer-right {
        margin: 10px 0;
    }

    .footer-logo {
        display: none;
    }

    .footer-right .social-icons i {
        margin-right: 10px; /* Reduce spacing between icons */
    }

    .footer-contact p {
        word-wrap: break-word; /* Allow email to wrap to the next line */
    }
}

@media (min-width: 1025px) {
    .footer-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .footer-logo {
        display: block;
        margin: -5rem;
        text-align: center;
        flex: 1;
    }

    .footer-left, .footer-right {
        flex: 1;
        margin: 20px;
    }

    .footer-middle, .footer-contact {
        margin: 0 20px;
    }

    .footer-contact p {
        word-break: break-all; /* Allow email to wrap to the next line */
    }
}

