footer {
    font-family: 'Poppins', sans-serif;
    background-color: #f3f3f4;
    color: #000;
    overflow: hidden;
}

/* Top Section */
.top-section {
    display: flex;
    justify-content: space-between;
    padding: 30px 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.about-us, .quick-links, .newsletter {
    flex: 1;
    padding: 0 15px;
}

.social-icons {
    margin-top: 20px;
    font-size: 23px;
    color: #0e5765;
}

.social-icons i {
    margin-right: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #358092;
}

/* Quick Links */
.quick-links {
    text-align: center;  /* Centers the content horizontally */
}

.quick-links ul {
    list-style: none;
    padding-left: 0;
    display: inline-block;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: #358092;
}

/* Newsletter */
.newsletter form {
    display: flex;
    margin-top: 20px;
}

.newsletter input,
.newsletter button {
    padding: 10px 15px;
    border: none;
}

.newsletter input {
    flex: 1;
    margin-right: 10px;
    background-color: #ffffff;
    color: #358092;
    border: 1px solid #358092; /* Added border */
    padding: 5px 10px; /* Added padding to give some space inside the input field */
    border-radius: 4px; /* Optional: You can adjust or remove this for rounded edges */
}

.newslettercolor::placeholder {
    color: #358092; /* You can adjust this color as you like */
}


.newsletter button {
    background-color: #358092;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #1d5867;
}

/* Bottom Section */
.bottom-section {
    background-color: #358092;
    padding: 20px 100px;
    display: flex;
    flex-direction: column; /* stack children vertically */
    align-items: center; /* center children horizontally */
    justify-content: center; /* center children vertically */
    text-align: center;
}

.bottom-section p {
    color: #fff;
    margin: 0;
}

.about-us h3{
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0e5765;
}

.quick-links h3{
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0e5765;
}

.newsletter h3{
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0e5765;
}

/* Improved Mobile Styles */
@media (max-width: 768px) {
    /* Adjust the padding and layout for the top-section */
    .top-section {
        flex-direction: column;
        padding: 20px;
    }

    /* Adjusting individual sections in top-section for mobile */
    .about-us, .quick-links, .newsletter {
        margin-bottom: 30px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        margin-top: 20px;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input,
    .newsletter button {
        width: 100%;
        margin: 5px 0;
    }

    /* Adjusting bottom-section */
    .bottom-section {
        flex-direction: column-reverse;
        text-align: center;
        padding: 20px;
    }

    .footer-menu a {
        display: block;
        margin: 10px 0;
    }
}