/* ==========================================
   DESKTOP FOOTER CSS
   Indian Reports Association
   ========================================== */

/* Desktop Footer */
.desktop-footer {
    background: #ffffff;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
}

/* Newsletter Bar */
.footer-newsletter-bar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 30px 0;
}

.footer-newsletter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-content {
    flex: 1;
}

.newsletter-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-description {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.15);
}

.newsletter-button {
    background: #FF6B35;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-button:hover {
    background: #e55a24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Main Footer Content */
.footer-main-content {
    background: #2c3e50;
    padding: 50px 0 30px;
}

.footer-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

/* About Column */
.footer-about-column {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-app-badges {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.app-badge {
    height: 42px;
    width: auto;
    cursor: pointer;
    transition: all 0.3s;
}

.app-badge:hover {
    transform: translateY(-3px);
}

/* Footer Columns */
.footer-column-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FF6B35;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.footer-links-list li a i {
    font-size: 14px;
    color: #FF6B35;
    width: 18px;
}

.footer-links-list li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Contact Info */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: #FF6B35;
    font-size: 16px;
    margin-top: 3px;
    width: 20px;
}

.footer-contact-text {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-text a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-text a:hover {
    color: #FF6B35;
}

/* Social Media */
.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social-icon.facebook { background: #1877F2; }
.footer-social-icon.twitter { background: #1DA1F2; }
.footer-social-icon.instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.footer-social-icon.youtube { background: #FF0000; }
.footer-social-icon.whatsapp { background: #25D366; }
.footer-social-icon.telegram { background: #0088cc; }
.footer-social-icon.linkedin { background: #0A66C2; }
.footer-social-icon.threads { background: #000000; }

.footer-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Bottom Footer Bar */
.footer-bottom-bar {
    background: #1a252f;
    padding: 25px 0;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.footer-copyright a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #FF6B35;
}

/* Quick Links Bar */
.footer-quick-bar {
    background: linear-gradient(135deg, #ff7b0d 0%, #d84005 100%);
    padding: 20px 0;
}

.footer-quick-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-quick-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-quick-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.footer-quick-link i {
    font-size: 16px;
}

.footer-quick-link:hover {
    transform: translateY(-2px);
}

/* App Launch Popup */
.app-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.app-popup-overlay.active {
    display: flex;
}

.app-popup {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.app-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.app-popup-close:hover {
    background: #f0f0f0;
    color: #FF6B35;
    transform: rotate(90deg);
}

.app-popup-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.app-popup-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.app-popup-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.app-popup-button {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.app-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .footer-main-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-quick-links {
        justify-content: center;
    }
    
    .app-popup {
        padding: 30px 20px;
    }
    
    .app-popup-icon {
        font-size: 60px;
    }
    
    .app-popup-title {
        font-size: 22px;
    }
}

/* Hide on Mobile */
@media (max-width: 768px) {
    .desktop-footer {
        display: none;
    }
}