/* Footer Section */
.footer-section {
    background: linear-gradient(135deg, #1b4d3e 0%, #0f2c23 100%);
    color: #ffffff;
    padding: 70px 5% 25px 5%;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.footer-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #d4af37;
    margin-right: 10px;
    border-radius: 2px;
}

.footer-logo {
    max-width: 1300px;
    margin: 0 0 30px 0; 
    height: 60px;
    display: flex;
    align-items: center;
    background: #ffffff;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
}

.footer-links li a {
    text-decoration: none;
    color: #d0e1db;
    font-size: 13.5px;
    transition: color 0.2s, padding-left 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a i {
    font-size: 9px;
    color: #d4af37;
}

.footer-links li a:hover {
    color: #d4af37;
    padding-left: 5px;
}

.footer-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: #d0e1db;
    line-height: 1.5;
}

.contact-item i {
    color: #d4af37;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-divider {
    max-width: 1300px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 25px auto;
}

.footer-sub {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-socials-only {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-socials-only p {
    font-size: 13px;
    color: #d0e1db;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
}

.footer-socials a:hover {
    background: #d4af37;
    color: #0f2c23;
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: #a8c4b8;
    margin-bottom: 0;
}

.scroll-to-top {
    position: absolute;
    bottom: 25px;
    right: 5%;
    width: 40px;
    height: 40px;
    background-color: #4a7c67;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.2s, transform 0.2s;
}

.scroll-to-top:hover {
    background-color: #d4af37;
    color: #0f2c23;
    transform: translateY(-3px);
}


/* ==========================================
   FOOTER RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Medium Screens & Tablets (≤ 1024px) */
@media screen and (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .footer-col.contact-col {
        grid-column: span 2; /* Make contact column span full width on tablets */
    }
}

/* Small Screens & Mobile (≤ 768px) */
@media screen and (max-width: 768px) {
    .footer-section {
        padding: 50px 4% 20px 4%;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Stack all columns vertically on mobile */
        gap: 30px;
    }

    .footer-col.contact-col {
        grid-column: span 1;
    }

    .footer-sub {
        justify-content: center; /* Center social section on mobile */
    }

    .footer-socials-only {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .scroll-to-top {
        bottom: 15px;
        right: 4%;
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Extra Small Screens (≤ 480px) */
@media screen and (max-width: 480px) {
    .footer-heading {
        font-size: 16px;
    }

    .contact-item, .footer-links li a {
        font-size: 13px;
    }
}