/**
 * ============================================================================
 * SYNOVA TRAVELS - FINAL PREMIUM FOOTER
 * ============================================================================
 * 
 * Version: 12.0.0 - PRODUCTION FINAL
 * 
 * ✅ Clean separation line from content
 * ✅ Fixed compact WhatsApp widget
 * ✅ Premium professional finish
 * ✅ No bulk, clean design
 * 
 * ============================================================================
 */

/* ==================== CLEAN SEPARATION LINE ==================== */
.footer {
    /* Simple clean top line for separation */
    border-top: 3px solid;
    border-image: linear-gradient(90deg, 
        var(--primary-orange) 0%, 
        var(--primary-teal) 50%,
        var(--primary-orange) 100%) 1;
    
    /* Subtle shadow for depth */
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.06);
    
    /* Clean white/light gray background */
    background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%);
    
    position: relative;
    padding: 2.25rem 0 0;
    color: var(--text-primary);
    overflow: hidden;
    
    /* Minimal margin for separation */
    margin-top: 2rem;
}

/* Very subtle pattern */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.02) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(0, 168, 150, 0.015) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* ==================== LOGO SECTION ==================== */
.footer-brand-section {
    margin-bottom: 1.5rem;
}

.footer-logo-container {
    display: inline-flex;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255, 107, 53, 0.12);
    box-shadow: 
        0 4px 16px rgba(255, 107, 53, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-logo-container:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 24px rgba(255, 107, 53, 0.18),
        0 4px 12px rgba(0, 168, 150, 0.08);
    border-color: var(--primary-orange);
}

.footer-logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin: 0.75rem 0 0.5rem;
    font-family: var(--font-heading);
}

.footer-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 95%;
}

/* ==================== STATS CARDS ==================== */
.footer-stats-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.stat-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.7rem 0.6rem;
    border-radius: 12px;
    border: 1.5px solid transparent;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-teal) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.1);
    transition: all 0.35s ease;
}

.stat-compact:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ==================== CONTACT CARDS ==================== */
.contact-cards-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border-left: 3px solid var(--primary-orange);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.08);
    transition: all 0.35s ease;
}

.contact-card:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.16);
    border-left-width: 4px;
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-600) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-label {
    font-size: 0.65rem;
    color: var(--primary-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.contact-value {
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

/* ==================== HEADINGS ==================== */
.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 1.1rem;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-teal) 100%);
    border-radius: 2px;
}

/* ==================== NAVIGATION LINKS ==================== */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.footer-nav-link:hover {
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.08);
    transform: translateX(5px);
}

.footer-nav-link i {
    font-size: 15px;
    color: var(--primary-orange);
    transition: all 0.3s ease;
    width: 20px;
    text-align: center;
}

.footer-nav-link:hover i {
    transform: scale(1.2);
}

/* ==================== OFFICE CARDS ==================== */
.office-cards {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.office-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 168, 150, 0.08);
    border: 1px solid rgba(0, 168, 150, 0.1);
    transition: all 0.35s ease;
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 168, 150, 0.14);
}

.emergency-card {
    border-left: 3px solid var(--primary-red);
}

.office-card-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--teal-600) 100%);
    color: var(--white);
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.82rem;
}

.emergency-card .office-card-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--red-600) 100%);
}

.office-card-body {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.office-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
}

.office-item i {
    color: var(--primary-orange);
    font-size: 14px;
}

.emergency-number {
    color: var(--primary-red);
    font-weight: 700;
}

.office-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-orange);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.office-map-link:hover {
    color: var(--orange-600);
    transform: translateX(4px);
}

/* ==================== SOCIAL ICONS ==================== */
.social-icons-row {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 107, 53, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-600) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    border-color: transparent;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover i {
    color: var(--white);
}

/* ==================== COPYRIGHT ==================== */
.footer-bottom {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2D2D44 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 1.1rem 0;
    margin-top: 2rem;
}

.copyright-text {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--orange-400);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.legal-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--primary-orange);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ==================== COMPACT WHATSAPP WIDGET - FIXED ==================== */
.whatsapp-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
}

/* Compact FAB Button */
.whatsapp-fab-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-fab-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* Compact Chat Popup */
.whatsapp-chat-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    max-width: calc(100vw - 48px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s ease;
}

.whatsapp-chat-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Compact Chat Header */
.whatsapp-chat-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    padding: 0.85rem 1rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.whatsapp-header-content {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.whatsapp-company-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.whatsapp-status {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--white);
}

.whatsapp-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.whatsapp-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Compact Chat Body */
.whatsapp-chat-body {
    padding: 1rem;
    background: linear-gradient(180deg, #ECF7F5 0%, #FFFFFF 100%);
    max-height: 240px;
    overflow-y: auto;
}

.whatsapp-message {
    background: var(--white);
    padding: 0.75rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    margin-bottom: 0.75rem;
}

.message-content {
    color: var(--text-primary);
    font-size: 0.8rem;
    line-height: 1.5;
}

.message-time {
    color: var(--text-light);
    font-size: 0.65rem;
    margin-top: 0.4rem;
    text-align: right;
}

/* COMPACT Quick Replies - Fixed Size */
.whatsapp-quick-replies {
    padding: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.quick-reply-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0.5rem 0.4rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 60px;
}

.quick-reply-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.quick-reply-btn i {
    font-size: 16px;
    color: var(--primary-teal);
}

.quick-reply-btn:hover i {
    color: var(--primary-orange);
}

/* Compact Chat Input */
.whatsapp-chat-input {
    padding: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 0.5rem;
    background: var(--white);
    border-radius: 0 0 16px 16px;
}

.whatsapp-input-field {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    outline: none;
}

.whatsapp-input-field:focus {
    border-color: var(--primary-teal);
}

.whatsapp-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.whatsapp-send-btn:hover {
    transform: scale(1.1);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .footer {
        padding: 2rem 0 0;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 1.75rem 0 0;
    }
    
    .footer-bottom {
        padding: 0.9rem 0;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
        margin-top: 0.6rem;
    }
    
    .whatsapp-chat-popup {
        width: calc(100vw - 48px);
    }
    
    .quick-reply-btn {
        font-size: 0.65rem;
        padding: 0.45rem 0.35rem;
        min-height: 55px;
    }
}

@media (max-width: 575px) {
    .whatsapp-quick-replies {
        grid-template-columns: 1fr;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ==================== END - FINAL VERSION ==================== */

/**
 * ✅ Clean 3px separation line
 * ✅ Fixed compact WhatsApp widget
 * ✅ Premium professional finish
 * ✅ No bulk, perfect spacing
 * ✅ Production ready
 */