/* Footer Styles */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
}

.footer-main-row {
    padding: 80px 0;
}

/* Logo Styles */
.footer-logo {
    margin-bottom: 24px;
}

/* App Store Buttons */
.app-store-buttons {
    margin-bottom: 24px;
}

.app-store-btn {
    display: inline-block;
    text-decoration: none;
}

.app-store-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.google-play-img {
    height: 60px;
    width: auto;
    margin-top: -10px;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 6px;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #265ee0;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

/* Footer Headings */
.footer-heading {
    font-size: 18px;
    color: #003451;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #003451;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #265ee0;
    text-decoration: none;
}

/* Copyright */
.copyright-text {
    color: #003451;
    font-size: 14px;
    font-weight: 400;
}

/* Bootstrap Override for Border */
.border-top {
    border-top: 1px solid #e9ecef !important;
}

/* Ensure proper spacing */
.footer .row:last-child {
    margin-top: 0;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .app-store-btn {
        width: auto;
    }

    .social-icons {
        justify-content: flex-start;
        margin-bottom: 32px;
    }

    .footer-main-row {
        padding: 40px 0;
    }
}

@media (max-width: 767.98px) {
    .footer {
        padding-top: 32px;
    }

    .logo-text {
        font-size: 24px;
        text-align: left;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 16px;
        margin-top: 24px;
    }

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

    .footer-links a {
        font-size: 14px;
    }

    .app-store-buttons {
        margin-bottom: 20px;
    }

    .social-icons {
        margin-bottom: 24px;
    }

    .copyright-text {
        font-size: 13px;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer .py-5 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .app-store-img {
        height: 36px;
    }

    .google-play-img {
        height: 54px;
        margin-top: -9px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
