/* Footer Styling */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: #bdc3c7;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #bdc3c7;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Download App Banner */
.download-app-banner {
    background: #f9f9f9;
    padding: 30px 0;
    border-top: 1px solid #eaeaea;
    text-align: center;
    position: relative;
    z-index: 999;
}
.banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.download-title {
    color: #28a745;
    font-weight: 800;
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
}
.app-banner-hover-area {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
.store-btn {
    display: block;
    transition: transform 0.2s;
}
.store-btn:hover {
    transform: scale(1.05);
}
.store-btn img {
    height: 45px;
    width: auto;
}
.qr-popup-box {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    text-align: center;
    pointer-events: none;
    width: max-content;
}
.qr-popup-box::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}
.app-banner-hover-area:hover .qr-popup-box {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.qr-code-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
}
.qr-img {
    width: 100%;
    height: 100%;
    display: block;
}
.qr-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}
.qr-logo-overlay svg {
    width: 100%;
    height: 100%;
}
.qr-popup-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .banner-inner {
        flex-direction: column;
        gap: 20px;
    }
}
