/* ===== FOOTER STYLES - McGee & Co Inspired ===== */

.site-footer {
    background: #F5F5F5;
    color: #666666;
    font-weight: 500;
    border-top: 1px solid #E0E0E0;
}

.footer-main {
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    gap: var(--spacing-8);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* Footer About */
.footer-about {
    max-width: 300px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-about {
        text-align: right;
    }
}

.footer-logo {
    margin-bottom: var(--spacing-4);
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-logo {
        justify-content: flex-start;
    }
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-desc {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #555555;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: var(--spacing-3);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
}

/* Footer Columns */
.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #1A1A1A;
    padding-right: 8px;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #666666;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #1A1A1A;
}

.footer-contact span {
    font-weight: 500;
    color: #666666;
}

.footer-contact a {
    color: #666666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #1A1A1A;
}

/* Footer Bottom */
.footer-bottom {
    background: #EEEEEE;
    padding: 20px 0;
    border-top: 1px solid #E0E0E0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-start;
        text-align: right;
    }
}

/* Left Section - App Downloads & Payment Methods */
.footer-left-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    align-items: center;
}

@media (min-width: 768px) {
    .footer-left-section {
        align-items: flex-start;
        flex-direction: row;
        gap: var(--spacing-8);
    }
}

/* App Downloads */
.footer-apps {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-apps {
        text-align: right;
    }
}

.footer-apps-title {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: var(--spacing-2);
}

.footer-apps-buttons {
    display: flex;
    gap: var(--spacing-2);
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-apps-buttons {
        justify-content: flex-start;
    }
}

.footer-apps-buttons a img {
    height: 35px;
    transition: var(--transition);
}

.footer-apps-buttons a:hover img {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Payment Methods */
.payment-methods {
    text-align: center;
}

@media (min-width: 768px) {
    .payment-methods {
        text-align: right;
    }
}

.payment-title {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: var(--spacing-2);
}

.payment-icons {
    display: flex;
    gap: var(--spacing-2);
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .payment-icons {
        justify-content: flex-start;
    }
}

.payment-icons img {
    height: 22px;
    opacity: 0.8;
    transition: var(--transition);
}

.payment-icons img:hover {
    opacity: 1;
}

/* Right Section - License & Copyright */
.footer-right-section {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-right-section {
        text-align: left;
    }
}

.footer-license {
    font-size: var(--font-size-sm);
    color: var(--color-footer-text);
    font-weight: 700;
}

.copyright {
    font-size: var(--font-size-sm);
    color: var(--color-footer-text);
    font-weight: 700;
}

/* Powered By Section */
.footer-powered-section {
    text-align: left;
}

.powered-by {
    font-size: var(--font-size-sm);
    color: var(--color-footer-text);
    font-weight: 700;
}

.powered-by a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.powered-by a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--navy-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--navy-primary-dark);
    color: var(--white);
    transform: translateY(-4px);
}

/* New Footer Layout Styles */
.footer-contact-inline {
    margin-top: var(--spacing-6);
    padding-top: var(--spacing-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-inline .footer-title {
    margin-bottom: var(--spacing-3);
}

.footer-apps-col {
    display: flex;
    flex-direction: column;
}

.footer-apps-inline {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-apps-inline a.app-badge img {
    height: 42px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-apps-inline a.app-badge:hover img {
    transform: scale(1.05);
}

.payment-title-inline {
    margin-top: 20px;
}

.payment-icons-inline {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.payment-icons-inline img {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

.payment-icons-inline img:hover {
    transform: scale(1.1);
}

/* New Footer Bottom Layout */
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: right;
    }
}

.footer-license-section {
    flex: 1;
    text-align: right;
}

.footer-license {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
}

.footer-copyright-section {
    flex: 1;
    text-align: center;
}

.footer-copyright-section .copyright {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.footer-powered-section {
    flex: 1;
    text-align: left;
}

.footer-powered-section .powered-by {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
}

.footer-powered-section .powered-by a {
    color: var(--color-primary);
    font-weight: 700;
}

@media (max-width: 767px) {
    .footer-apps-inline {
        justify-content: center;
    }

    .payment-icons-inline {
        justify-content: center;
    }

    .footer-license-section,
    .footer-copyright-section,
    .footer-powered-section {
        text-align: center;
    }
}

/* Thawani Logo Specifics */
.payment-icons-inline img.thawani-footer-logo {
    height: 30px;
    width: auto;
}