/*
 * Complete Compact Footer CSS - Lazzora Voyages
 * Clean version with Sand Beige Background (#F5E8C7) - Footer Only
 * No duplications, properly organized structure
 * Version: 2.2.0 - Clean Sand Beige Footer Background
 */

/* ==================== FOOTER BASE STYLES ==================== */
.footer {
    background: #F5E8C7;
    border-top: 4px solid var(--primary-orange);
    padding: var(--spacing-8) 0 0;
    position: relative;
    box-shadow: var(--shadow-md);
    font-family: var(--font-primary);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* ==================== FOOTER HEADINGS ==================== */
.footer-heading {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-4);
    position: relative;
    padding-bottom: var(--spacing-2);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

/* ==================== BRAND SECTION ==================== */
.footer-brand-section {
    padding-right: var(--spacing-4);
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-3);
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-tagline {
    color: var(--primary-teal);
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-base);
    font-style: italic;
    margin-bottom: var(--spacing-2);
}

.footer-description {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    margin-bottom: var(--spacing-4);
}

/* ==================== COMPACT STATS ==================== */
.footer-stats-compact {
    display: flex;
    gap: var(--spacing-3);
    padding: var(--spacing-2) 0;
    border-top: 1px solid #E8D8B0;
    border-bottom: 1px solid #E8D8B0;
    margin: var(--spacing-3) 0;
}

.stat-compact {
    flex: 1;
    text-align: center;
    padding: var(--spacing-1);
    background: #F8EDD4;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.stat-compact:hover {
    background: rgba(255, 87, 34, 0.1);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.stat-compact .stat-number {
    display: block;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-black);
    color: var(--primary-orange);
    font-family: var(--font-heading);
}

.stat-compact .stat-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    margin-top: var(--spacing-0-5);
}

/* ==================== COMPACT CONTACT CARDS ==================== */
.contact-cards-section {
    margin-top: var(--spacing-4);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-2);
    padding: var(--spacing-2);
    background: #F8EDD4;
    border-radius: var(--border-radius);
    border: 1px solid #E8D8B0;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    background: rgba(255, 87, 34, 0.1);
    border-color: var(--primary-orange);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.contact-card .contact-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--text-sm);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-card .contact-details {
    flex: 1;
    min-width: 0;
}

.contact-card .contact-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--text-muted);
    margin-bottom: var(--spacing-0-5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card .contact-value {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    word-break: break-word;
}

/* ==================== NAVIGATION LISTS ==================== */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: var(--spacing-2);
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: var(--text-sm);
    transition: var(--transition-smooth);
    padding: var(--spacing-1) 0;
    border-radius: var(--border-radius);
}

.footer-nav-link:hover {
    color: var(--primary-teal);
    text-decoration: none;
    transform: translateX(var(--spacing-1));
}

.footer-nav-link i {
    color: var(--primary-teal);
    font-size: var(--text-xs);
    width: 14px;
    text-align: center;
    transition: var(--transition-fast);
}

.footer-nav-link:hover i {
    color: var(--primary-teal);
    transform: scale(1.1);
}

/* ==================== NEWSLETTER SECTION ==================== */
.newsletter-section {
    background: #F8EDD4;
    border: 1px solid #E8D8B0;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-4);
    margin-top: var(--spacing-4);
    transition: var(--transition-smooth);
}

.newsletter-section:hover {
    border-color: var(--primary-orange);
    background: rgba(255, 87, 34, 0.05);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.newsletter-title {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
    margin-bottom: var(--spacing-1);
}

.newsletter-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--spacing-3);
    line-height: var(--leading-normal);
}

.newsletter-form {
    position: relative;
}

.newsletter-input-group {
    display: flex;
    border-radius: var(--border-radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid #E8D8B0;
    transition: var(--transition-fast);
}

.newsletter-input-group:focus-within {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-sm), 0 0 0 2px rgba(255, 87, 34, 0.1);
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: var(--spacing-2) var(--spacing-3);
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    background: #F5E8C7;
    color: var(--text-primary);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    background: var(--gradient-primary);
    border: none;
    padding: var(--spacing-2) var(--spacing-3);
    color: var(--text-white);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: var(--gradient-orange);
    transform: scale(1.02);
}

/* ==================== COMPACT OFFICE CARDS ==================== */
.office-cards {
    margin-top: var(--spacing-4);
}

.office-card {
    background: #F5E8C7;
    border-radius: var(--border-radius);
    border: 1px solid #E8D8B0;
    overflow: hidden;
    transition: var(--transition-smooth);
    margin-bottom: var(--spacing-2);
}

.office-card:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.emergency-card {
    border-color: var(--error-color);
}

.emergency-card:hover {
    border-color: var(--error-color);
    box-shadow: var(--shadow-sm), 0 2px 8px rgba(244, 67, 54, 0.15);
}

.office-card-header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: var(--spacing-2);
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
}

.emergency-card .office-card-header {
    background: linear-gradient(135deg, var(--error-color) 0%, #E57373 100%);
}

.office-card-header i {
    font-size: var(--text-sm);
    opacity: 0.9;
}

.office-card-body {
    padding: var(--spacing-2);
}

.office-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-1);
    padding: var(--spacing-1);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.office-item:hover {
    background: rgba(255, 87, 34, 0.05);
}

.office-item i {
    color: var(--primary-teal);
    font-size: var(--text-sm);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.emergency-card .office-item i {
    color: var(--error-color);
    animation: pulse 2s infinite;
}

.office-text {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    line-height: var(--leading-normal);
    word-break: break-word;
}

.emergency-number {
    color: var(--error-color);
    font-weight: var(--font-weight-bold);
}

.office-map-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-1);
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-xs);
    margin-top: var(--spacing-1);
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.office-map-link:hover {
    background: rgba(255, 87, 34, 0.1);
    color: var(--dark-orange);
    text-decoration: none;
    transform: translateX(var(--spacing-0-5));
}

/* ==================== SINGLE LINE SOCIAL ICONS ==================== */
.social-icons-row {
    display: flex;
    gap: var(--spacing-2);
    justify-content: flex-start;
    margin-top: var(--spacing-4);
    padding-top: var(--spacing-3);
    border-top: 1px solid #E8D8B0;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #F8EDD4;
    border: 1px solid #E8D8B0;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: var(--transition-smooth);
}

.social-icon:hover::before {
    left: 0;
}

.social-icon:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.social-icon i {
    font-size: var(--text-base);
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
}

.social-icon:hover i {
    transform: scale(1.1);
}

/* ==================== FOOTER BOTTOM WITH HEADER COLOR ==================== */
.footer-bottom {
    background: var(--primary-orange);
    color: var(--text-white);
    padding: var(--spacing-4) 0;
    border-top: 1px solid #E8D8B0;
    margin-top: var(--spacing-6);
}

.copyright-text {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    margin: 0;
    color: var(--text-white);
}

.copyright-text a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-fast);
    opacity: 0.9;
}

.copyright-text a:hover {
    color: var(--primary-teal);
    text-decoration: underline;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-2);
}

.legal-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
    opacity: 0.9;
}

.legal-link:hover {
    color: var(--primary-teal);
    opacity: 1;
    text-decoration: none;
}

.separator {
    color: var(--text-white);
    font-size: var(--text-sm);
    opacity: 0.7;
}

/* ==================== WHATSAPP AUTO-CHAT FUNCTIONALITY ==================== */
.whatsapp-auto-chat {
    position: fixed;
    bottom: 100px;
    right: var(--spacing-8);
    width: 320px;
    background: #F5E8C7;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-teal);
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: var(--z-index-modal);
    font-family: var(--font-primary);
}

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

.auto-chat-header {
    background: var(--gradient-teal);
    color: var(--text-white);
    padding: var(--spacing-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auto-chat-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.auto-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background: #F5E8C7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.auto-chat-avatar i {
    color: var(--primary-teal);
    font-size: var(--text-lg);
}

.auto-chat-details h6 {
    margin: 0;
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-tight);
}

.auto-chat-details p {
    margin: 0;
    font-size: var(--text-xs);
    opacity: 0.9;
    line-height: var(--leading-tight);
}

.auto-chat-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: var(--text-lg);
    cursor: pointer;
    padding: var(--spacing-1);
    border-radius: var(--border-radius-full);
    transition: var(--transition-fast);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.auto-chat-body {
    padding: var(--spacing-4);
}

.auto-chat-message {
    background: #F8EDD4;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-3);
    margin-bottom: var(--spacing-3);
    border-left: 3px solid var(--primary-teal);
    position: relative;
}

.auto-chat-message p {
    margin: 0;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
}

.auto-chat-actions {
    display: flex;
    gap: var(--spacing-2);
    margin-top: var(--spacing-3);
}

.auto-chat-btn {
    flex: 1;
    background: var(--primary-teal);
    color: var(--text-white);
    border: none;
    padding: var(--spacing-3);
    border-radius: var(--border-radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
}

.auto-chat-btn:hover {
    background: var(--dark-teal);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.auto-chat-btn.secondary {
    background: #F5E8C7;
    color: var(--primary-teal);
    border: 1px solid var(--primary-teal);
}

.auto-chat-btn.secondary:hover {
    background: var(--primary-teal);
    color: var(--text-white);
}

.auto-chat-timer {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-teal);
    transform-origin: left;
    animation: autoChattimer 10s linear forwards;
}

@keyframes autoChattimer {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Auto-chat trigger after page load */
.whatsapp-auto-chat.delayed-show {
    animation: autoChattrigger 1s ease-out 5s forwards;
}

@keyframes autoChattrigger {
    from {
        transform: scale(0) translateY(20px);
        opacity: 0;
        visibility: hidden;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

.whatsapp-container {
    position: fixed;
    bottom: var(--spacing-8);
    right: var(--spacing-8);
    z-index: var(--z-index-max);
    font-family: var(--font-primary);
}

.whatsapp-float-btn-modern {
    position: relative;
    width: 65px;
    height: 65px;
    background: var(--gradient-teal);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xl), var(--glow-teal);
    transition: var(--transition-smooth);
    animation: whatsappFloat 4s ease-in-out infinite;
}

.whatsapp-float-btn-modern:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-2xl), var(--glow-teal);
}

.whatsapp-icon-modern {
    color: var(--text-white);
    font-size: 30px;
    transition: var(--transition-smooth);
}

.whatsapp-float-btn-modern:hover .whatsapp-icon-modern {
    transform: rotate(15deg) scale(1.1);
}

.whatsapp-pulse-modern {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: var(--border-radius-full);
    background: rgba(0, 150, 136, 0.3);
    animation: whatsappPulse 2s infinite;
    pointer-events: none;
}

.whatsapp-tooltip-modern {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-primary);
    color: var(--text-white);
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--border-radius-xl);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
}

.whatsapp-tooltip-modern::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--text-primary);
}

.whatsapp-float-btn-modern:hover .whatsapp-tooltip-modern {
    opacity: 1;
    visibility: visible;
}

.whatsapp-notification-modern {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--error-color);
    color: var(--text-white);
    border-radius: var(--border-radius-full);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-md);
    animation: notificationBounce 2s ease-in-out infinite;
}

/* ==================== ENHANCED CHAT WIDGET ==================== */
.whatsapp-chat-widget-modern {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 380px;
    background: #F5E8C7;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-2xl);
    border: 2px solid #E8D8B0;
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.chat-header-modern {
    background: var(--gradient-teal);
    color: var(--text-white);
    padding: var(--spacing-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    flex: 1;
}

.chat-avatar-modern {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-full);
    background: #F5E8C7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.chat-avatar-modern img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.chat-info-modern {
    flex: 1;
}

.chat-name-modern {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    margin: 0;
    line-height: var(--leading-tight);
    font-family: var(--font-heading);
}

.chat-status-modern {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin: var(--spacing-1) 0 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: var(--border-radius-full);
    animation: pulse 2s infinite;
}

.chat-close-modern {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: var(--text-xl);
    cursor: pointer;
    padding: var(--spacing-2);
    border-radius: var(--border-radius-full);
    transition: var(--transition-fast);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chat-body-modern {
    padding: var(--spacing-6);
    max-height: 350px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.chat-body-modern::-webkit-scrollbar {
    width: 6px;
}

.chat-body-modern::-webkit-scrollbar-track {
    background: #F8EDD4;
    border-radius: var(--border-radius-full);
}

.chat-body-modern::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: var(--border-radius-full);
}

.chat-body-modern::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.chat-message-modern {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-5);
    animation: messageSlideIn 0.4s ease-out;
}

.message-avatar-modern {
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--text-base);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.message-content-modern {
    background: #F8EDD4;
    border-radius: var(--border-radius-xl) var(--border-radius-xl) var(--border-radius-xl) var(--border-radius-sm);
    padding: var(--spacing-4) var(--spacing-5);
    position: relative;
    max-width: 80%;
    border: 1px solid #E8D8B0;
}

.message-content-modern::before {
    content: '';
    position: absolute;
    left: -8px;
    bottom: 12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #F8EDD4 transparent transparent;
}

.message-content-modern p {
    margin: 0;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    word-wrap: break-word;
}

.message-content-modern p + p {
    margin-top: var(--spacing-2);
}

.message-time {
    font-size: var(--text-xs);
    color: var(--text-light);
    margin-top: var(--spacing-2);
    text-align: right;
}

.quick-replies-modern {
    margin-top: var(--spacing-6);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3);
}

.quick-reply-btn-modern {
    background: #F5E8C7;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--border-radius-xl);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    text-align: center;
    font-family: var(--font-primary);
}

.quick-reply-btn-modern:hover {
    background: var(--primary-teal);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-reply-btn-modern i {
    font-size: var(--text-sm);
}

.chat-input-section-modern {
    margin-top: var(--spacing-6);
    padding-top: var(--spacing-5);
    border-top: 1px solid #E8D8B0;
}

.chat-input-wrapper-modern {
    display: flex;
    gap: var(--spacing-3);
    align-items: center;
}

.chat-input-modern {
    flex: 1;
    padding: var(--spacing-3) var(--spacing-4);
    border: 2px solid #E8D8B0;
    border-radius: var(--border-radius-xl);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    outline: none;
    transition: var(--transition-fast);
    background: #F5E8C7;
    color: var(--text-primary);
}

.chat-input-modern:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.1);
}

.chat-input-modern::placeholder {
    color: var(--text-muted);
}

.chat-send-btn-modern {
    width: 45px;
    height: 45px;
    border-radius: var(--border-radius-full);
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.chat-send-btn-modern:hover {
    background: var(--gradient-orange);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.chat-send-btn-modern:active {
    transform: scale(0.95);
}

.typing-indicator-modern {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3) 0;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.typing-dots-modern {
    display: flex;
    gap: 4px;
}

.typing-dots-modern span {
    width: 8px;
    height: 8px;
    border-radius: var(--border-radius-full);
    background: var(--primary-teal);
    animation: typingDots 1.4s infinite;
}

.typing-dots-modern span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots-modern span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ==================== LOADING STATES ==================== */
.loading-placeholder {
    display: inline-block;
    min-width: 100px;
    color: var(--text-light);
    font-style: italic;
    position: relative;
}

.loading-placeholder::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid var(--text-light);
    border-radius: var(--border-radius-full);
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-right: var(--spacing-2);
    vertical-align: middle;
}

/* ==================== ANIMATIONS ==================== */
@keyframes whatsappFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes notificationBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    30% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== ANIMATION UTILITY CLASSES ==================== */
.footer-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.footer-slide-up {
    animation: slideUp 0.6s ease-out;
}

.footer-scale-in {
    animation: scaleIn 0.4s ease-out;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .footer-stats-compact {
        flex-direction: column;
        gap: var(--spacing-2);
    }
    
    .stat-compact {
        text-align: left;
    }
    
    .social-icons-row {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .footer {
        padding: var(--spacing-6) 0 0;
    }
    
    .footer-brand-section {
        padding-right: 0;
        margin-bottom: var(--spacing-4);
    }
    
    .footer-stats-compact {
        flex-direction: row;
        margin: var(--spacing-2) 0;
    }
    
    .footer-legal-links {
        justify-content: flex-start;
        margin-top: var(--spacing-2);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-5) 0 0;
    }
    
    .footer-stats-compact {
        flex-direction: column;
        gap: var(--spacing-2);
    }
    
    .social-icons-row {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .whatsapp-container {
        bottom: var(--spacing-4);
        right: var(--spacing-4);
    }
    
    .whatsapp-chat-widget-modern {
        width: calc(100vw - var(--spacing-8));
        right: calc(-1 * var(--spacing-4));
    }
    
    .whatsapp-tooltip-modern {
        display: none;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: var(--spacing-2);
        align-items: flex-start;
    }
    
    .separator {
        display: none;
    }
    
    .office-cards {
        margin-top: var(--spacing-3);
    }
    
    .quick-replies-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .footer-heading {
        font-size: var(--text-base);
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: var(--border-radius);
    }
    
    .newsletter-input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .newsletter-btn {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        padding: var(--spacing-3);
    }
    
    .whatsapp-float-btn-modern {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon-modern {
        font-size: 22px;
    }
    
    .office-card-header {
        padding: var(--spacing-2);
    }
    
    .office-card-body {
        padding: var(--spacing-2);
    }
    
    .contact-card .contact-icon {
        width: 28px;
        height: 28px;
        font-size: var(--text-xs);
    }
    
    .footer {
        padding: var(--spacing-4) 0 0;
    }
    
    .contact-cards-section,
    .office-cards {
        padding: var(--spacing-2);
    }
    
    .social-icons-row {
        gap: var(--spacing-1);
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon i {
        font-size: var(--text-sm);
    }
}

/* ==================== ACCESSIBILITY FEATURES ==================== */
.footer *:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.footer *:focus:not(:focus-visible) {
    outline: none;
}

.footer *:focus-visible {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.whatsapp-float-btn-modern:focus,
.chat-send-btn-modern:focus,
.quick-reply-btn-modern:focus,
.chat-input-modern:focus,
.newsletter-btn:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer {
        border-top: 4px solid var(--text-primary);
    }
    
    .whatsapp-float-btn-modern,
    .chat-send-btn-modern,
    .quick-reply-btn-modern {
        border: 2px solid var(--text-primary);
    }
    
    .whatsapp-chat-widget-modern {
        border: 3px solid var(--text-primary);
    }
    
    .contact-card,
    .office-card {
        border: 2px solid var(--text-primary);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float-btn-modern,
    .chat-send-btn-modern,
    .quick-reply-btn-modern,
    .chat-message-modern,
    .whatsapp-chat-widget-modern,
    .footer-nav-link,
    .social-icon,
    .contact-card,
    .office-card,
    .stat-compact {
        animation: none !important;
        transition: none !important;
    }
    
    .typing-dots-modern span {
        animation: none !important;
    }
    
    .whatsapp-pulse-modern {
        animation: none !important;
    }
    
    .whatsapp-notification-modern {
        animation: none !important;
    }
    
    .status-indicator {
        animation: none !important;
    }
    
    .loading-placeholder::before {
        animation: none !important;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .whatsapp-container {
        display: none !important;
    }
    
    .footer {
        background: #F5E8C7 !important;
        color: var(--text-primary) !important;
        border-top: 2px solid var(--text-primary) !important;
    }
    
    .footer-bottom {
        background: #F5E8C7 !important;
        color: var(--text-primary) !important;
        border-top: 1px solid var(--text-primary) !important;
    }
    
    .social-icons-row {
        display: none;
    }
    
    .newsletter-section {
        display: none;
    }
    
    .office-cards {
        break-inside: avoid;
    }
    
    .contact-cards-section {
        break-inside: avoid;
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
.footer {
    contain: layout style;
}

.contact-card,
.office-card,
.social-icon,
.stat-compact {
    will-change: transform;
}

.footer-nav-link:hover,
.social-icon:hover,
.contact-card:hover,
.office-card:hover {
    will-change: auto;
}

/* GPU acceleration for smooth animations */
.whatsapp-float-btn-modern,
.whatsapp-chat-widget-modern,
.quick-reply-btn-modern {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ==================== UTILITY CLASSES ==================== */
.footer-theme-orange {
    border-top-color: var(--primary-orange);
}

.footer-theme-orange .footer-heading::after {
    background: var(--primary-orange);
}

.footer-theme-teal {
    border-top-color: var(--primary-teal);
}

.footer-theme-teal .footer-heading::after {
    background: var(--primary-teal);
}

/* ==================== ENHANCED HOVER EFFECTS ==================== */
.contact-card:hover .contact-icon {
    background: var(--gradient-orange);
    transform: rotate(5deg) scale(1.05);
}

.office-card:hover .office-card-header {
    background: var(--gradient-orange);
}

.stat-compact:hover {
    background: var(--gradient-warm);
    color: var(--text-white);
}

.stat-compact:hover .stat-number {
    color: var(--text-white);
}

.stat-compact:hover .stat-label {
    color: var(--text-white);
    opacity: 0.9;
}

/* ==================== INTERACTIVE STATES ==================== */
.contact-card:active,
.office-card:active,
.social-icon:active {
    transform: scale(0.98);
}

.footer-nav-link:active {
    transform: translateX(var(--spacing-2));
}

.newsletter-btn:active,
.chat-send-btn-modern:active,
.quick-reply-btn-modern:active {
    transform: scale(0.95);
}

/*
 * Complete Compact Footer CSS - Lazzora Voyages
 * Version: 2.2.0 - Clean Sand Beige Footer Background
 * 
 * ✅ Clean, organized structure with no duplications
 * ✅ Sand Beige footer background (#F5E8C7)
 * ✅ All components properly themed
 * ✅ Complete WhatsApp chat functionality
 * ✅ Responsive design for all devices
 * ✅ Accessibility features included
 * ✅ Performance optimizations
 * ✅ Print styles included
 * ✅ All animations and interactions
 * ✅ Proper file ending
 */
 /*
 * Template Mobile Fixes - Add to template-header.css and template-footer.css
 * These are the critical mobile fixes for your existing template files
 * Version: 1.0.0 - Mobile Responsive Enhancement
 */

/* ==================== HEADER MOBILE FIXES (Add to template-header.css) ==================== */

/* Mobile Top Bar Improvements */
@media (max-width: 768px) {
  .premium-top-bar {
    padding: 8px 0;
  }
  
  .topbar-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .contact-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .contact-item {
    padding: 6px 12px !important;
    font-size: 14px !important;
    min-height: 36px;
  }
  
  .top-utilities {
    justify-content: center;
    gap: 12px;
  }
  
  .language-select {
    font-size: 12px !important;
    padding: 4px 8px !important;
    min-width: 80px;
  }
  
  .social-link {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
}

/* Mobile Main Navigation */
@media (max-width: 992px) {
  .main-navbar {
    min-height: 60px !important;
    max-height: 60px !important;
  }
  
  .navbar-content {
    padding: 8px 0 !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }
  
  .brand-logo {
    height: 40px !important;
  }
  
  .nav-menu {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
    background: #F5E8C7;
    border: 1px solid #E8D8B0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 3px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .hamburger-line {
    width: 18px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 1px;
  }
  
  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .nav-cta {
    padding: 8px 16px !important;
    font-size: 14px !important;
    height: 44px !important;
    white-space: nowrap;
  }
  
  .nav-cta span {
    display: none;
  }
  
  .nav-cta i {
    margin: 0;
  }
}

/* Mobile Navigation Overlay */
@media (max-width: 992px) {
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: #F5E8C7 !important;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
  }
  
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #E8D8B0;
    background: #F8EDD4 !important;
    min-height: 70px;
  }
  
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .mobile-logo {
    height: 35px;
    width: auto;
  }
  
  .mobile-brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #FF5722;
    font-size: 16px;
    white-space: nowrap;
  }
  
  .mobile-nav-close {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid #E8D8B0;
    border-radius: 6px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-nav-close:hover {
    background: #FFEBEE;
    color: #F44336;
    border-color: #F44336;
  }
  
  .mobile-nav-body {
    padding: 20px;
    background: #F5E8C7 !important;
  }
  
  .mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .mobile-nav-item {
    margin-bottom: 8px;
  }
  
  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-height: 48px;
  }
  
  .mobile-nav-link:hover,
  .mobile-nav-link:focus {
    background: #F8EDD4;
    color: #FF5722;
    border-color: #FF5722;
    transform: translateX(4px);
    text-decoration: none;
  }
  
  .mobile-nav-link i {
    font-size: 16px;
    width: 20px;
    color: #009688;
    flex-shrink: 0;
  }
  
  .submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: #999;
  }
  
  .mobile-nav-item.active .submenu-arrow {
    transform: rotate(180deg);
    color: #FF5722;
  }
  
  .mobile-submenu {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #F8EDD4;
    border-radius: 8px;
  }
  
  .mobile-nav-item.active .mobile-submenu {
    max-height: 500px;
    padding: 8px;
  }
  
  .mobile-submenu-link {
    display: block;
    padding: 8px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin: 4px 0;
    border-left: 3px solid transparent;
    min-height: 40px;
    line-height: 24px;
  }
  
  .mobile-submenu-link:hover,
  .mobile-submenu-link:focus {
    background: #F5E8C7;
    color: #009688;
    border-left-color: #009688;
    transform: translateX(8px);
    text-decoration: none;
  }
  
  .mobile-nav-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E8D8B0;
    background: #F5E8C7;
  }
  
  .mobile-cta {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 16px;
    padding: 14px 24px;
    min-height: 48px;
  }
  
  .mobile-contact-info {
    margin-bottom: 20px;
  }
  
  .mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #F8EDD4;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    border: 1px solid #E8D8B0;
    transition: all 0.3s ease;
  }
  
  .mobile-contact-item:hover {
    background: #FF5722;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
  }
  
  .mobile-contact-item i {
    color: #FF5722;
    width: 16px;
    flex-shrink: 0;
  }
  
  .mobile-contact-item:hover i {
    color: white;
  }
  
  .mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .mobile-social-link {
    width: 44px;
    height: 44px;
    background: #F8EDD4;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #E8D8B0;
  }
  
  .mobile-social-link:hover {
    background: #FF5722;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
    text-decoration: none;
  }
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
  .premium-top-bar {
    padding: 6px 0;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 8px;
  }
  
  .contact-item {
    font-size: 12px !important;
    padding: 4px 8px !important;
    min-height: 32px;
  }
  
  .mobile-nav-content {
    width: 100%;
  }
  
  .mobile-nav-header {
    padding: 12px 16px;
  }
  
  .mobile-brand-name {
    font-size: 14px;
  }
  
  .mobile-nav-body {
    padding: 16px;
  }
  
  .nav-cta {
    padding: 6px 12px !important;
    font-size: 12px !important;
    height: 36px !important;
  }
}

/* ==================== WHATSAPP WIDGET MOBILE FIXES ==================== */

@media (max-width: 768px) {
  .whatsapp-container {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float-btn-modern {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-icon-modern {
    font-size: 24px;
  }
  
  .whatsapp-tooltip-modern {
    display: none; /* Hide tooltip on mobile */
  }
  
  .whatsapp-notification-modern {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -6px;
    right: -6px;
  }
  
  .whatsapp-chat-widget-modern,
  .whatsapp-auto-chat {
    width: calc(100vw - 40px);
    max-width: 320px;
    right: 20px;
    bottom: 80px;
  }
  
  .chat-header-modern {
    padding: 12px 16px;
  }
  
  .chat-avatar-modern {
    width: 35px;
    height: 35px;
  }
  
  .chat-info-modern h6 {
    font-size: 14px;
  }
  
  .chat-status-modern {
    font-size: 11px;
  }
  
  .chat-body-modern {
    padding: 16px;
    max-height: 250px;
  }
  
  .message-avatar-modern {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .message-content-modern {
    padding: 10px 12px;
  }
  
  .message-content-modern p {
    font-size: 14px;
  }
  
  .quick-replies-modern {
    gap: 8px;
    margin: 12px 0;
  }
  
  .quick-reply-btn-modern {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 12px;
  }
  
  .chat-input-section-modern {
    padding: 12px;
  }
  
  .chat-input-modern {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  .chat-send-btn-modern {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .auto-chat-header {
    padding: 12px 16px;
  }
  
  .auto-chat-avatar {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .auto-chat-details h6 {
    font-size: 14px;
  }
  
  .auto-chat-details p {
    font-size: 11px;
  }
  
  .auto-chat-body {
    padding: 16px;
  }
  
  .auto-chat-message p {
    font-size: 14px;
  }
  
  .auto-chat-btn {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .whatsapp-container {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float-btn-modern {
    width: 45px;
    height: 45px;
  }
  
  .whatsapp-icon-modern {
    font-size: 20px;
  }
  
  .whatsapp-chat-widget-modern,
  .whatsapp-auto-chat {
    width: calc(100vw - 30px);
    right: 15px;
    bottom: 70px;
  }
}

/* ==================== FOOTER MOBILE FIXES (Add to template-footer.css) ==================== */

/* Mobile Footer Layout */
@media (max-width: 992px) {
  .footer {
    padding: 40px 0 0;
  }
  
  .footer .row {
    flex-direction: column;
  }
  
  .footer .col-lg-3,
  .footer .col-md-6 {
    width: 100%;
    margin-bottom: 32px;
  }
  
  .footer-brand-section {
    text-align: center;
    padding-right: 0;
    margin-bottom: 24px;
  }
  
  .footer-logo-img {
    max-height: 40px;
    margin: 0 auto 16px;
  }
  
  .footer-tagline {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .footer-description {
    font-size: 14px;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-stats-compact {
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
  }
  
  .stat-compact {
    flex: none;
    text-align: center;
    padding: 12px;
    background: #F8EDD4;
    border-radius: 8px;
  }
  
  .stat-compact .stat-number {
    font-size: 18px;
  }
  
  .stat-compact .stat-label {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 32px 0 0;
  }
  
  .footer .col-lg-3,
  .footer .col-md-6 {
    margin-bottom: 24px;
  }
  
  .footer-heading {
    font-size: 18px;
    margin-bottom: 16px;
    text-align: center;
  }
  
  .footer-nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .footer-nav-link {
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    background: #F8EDD4;
    border: 1px solid #E8D8B0;
  }
  
  .footer-nav-link:hover {
    background: #FF5722;
    color: white;
    border-color: #FF5722;
    transform: translateY(-1px);
    text-decoration: none;
  }
  
  .footer-nav-link:hover i {
    color: white;
  }
  
  .contact-cards-section {
    margin-top: 20px;
  }
  
  .contact-card {
    margin-bottom: 12px;
    padding: 12px;
    background: #F8EDD4;
    border: 1px solid #E8D8B0;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .contact-card:hover {
    background: #FF5722;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
  }
  
  .contact-card:hover .contact-icon {
    background: white;
    color: #FF5722;
  }
  
  .contact-card:hover .contact-label,
  .contact-card:hover .contact-value {
    color: white;
  }
  
  .contact-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .contact-label {
    font-size: 11px;
  }
  
  .contact-value {
    font-size: 13px;
  }
  
  .newsletter-section {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
  }
  
  .newsletter-title {
    font-size: 16px;
    text-align: center;
    margin-bottom: 8px;
  }
  
  .newsletter-subtitle {
    font-size: 13px;
    text-align: center;
    margin-bottom: 16px;
  }
  
  .newsletter-input-group {
    flex-direction: column;
    border-radius: 8px;
    gap: 8px;
  }
  
  .newsletter-input {
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    text-align: center;
  }
  
  .newsletter-btn {
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    width: 100%;
  }
  
  .office-cards {
    margin-top: 16px;
  }
  
  .office-card {
    margin-bottom: 12px;
    border-radius: 8px;
  }
  
  .office-card-header {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .office-card-body {
    padding: 12px;
  }
  
  .office-item {
    margin-bottom: 8px;
    padding: 6px 8px;
    border-radius: 6px;
  }
  
  .office-item i {
    width: 14px;
    font-size: 12px;
  }
  
  .office-text {
    font-size: 13px;
  }
  
  .office-map-link {
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 6px;
    margin-top: 8px;
  }
  
  .social-icons-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 24px 0 0;
  }
  
  .footer-heading {
    font-size: 16px;
  }
  
  .footer-logo-img {
    max-height: 35px;
  }
  
  .footer-tagline {
    font-size: 14px;
  }
  
  .footer-description {
    font-size: 13px;
  }
  
  .newsletter-input-group {
    gap: 12px;
  }
  
  .social-icons-row {
    gap: 8px;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* Mobile Footer Bottom */
@media (max-width: 768px) {
  .footer-bottom {
    padding: 16px 0;
    text-align: center;
  }
  
  .footer-bottom .row {
    flex-direction: column;
    gap: 12px;
  }
  
  .copyright-text {
    font-size: 12px;
    margin: 0;
    text-align: center;
  }
  
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .legal-link {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .separator {
    display: none;
  }
}

/* ==================== MOBILE PERFORMANCE OPTIMIZATIONS ==================== */

/* Reduce motion for better mobile performance */
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-overlay,
  .mobile-nav-content,
  .mobile-menu-toggle,
  .hamburger-line,
  .mobile-nav-link,
  .mobile-submenu,
  .contact-card,
  .footer-nav-link,
  .social-icon,
  .whatsapp-float-btn-modern,
  .whatsapp-chat-widget-modern {
    animation: none !important;
    transition: none !important;
  }
}

/* Mobile tap highlighting */
@media (max-width: 768px) {
  .mobile-nav-link,
  .mobile-submenu-link,
  .contact-card,
  .footer-nav-link,
  .social-icon,
  .mobile-contact-item,
  .mobile-social-link,
  .quick-reply-btn-modern,
  .auto-chat-btn {
    -webkit-tap-highlight-color: rgba(255, 87, 34, 0.2);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}

/* Mobile focus improvements */
@media (max-width: 768px) {
  .mobile-nav-link:focus,
  .mobile-submenu-link:focus,
  .footer-nav-link:focus,
  .social-icon:focus,
  .mobile-contact-item:focus,
  .mobile-social-link:focus {
    outline: 2px solid #FF5722;
    outline-offset: 2px;
  }
}

/* ==================== MOBILE DEBUGGING UTILITIES ==================== */

/* Uncomment for mobile debugging */
/*
@media (max-width: 768px) {
  .debug-template {
    position: relative;
  }
  
  .debug-template::after {
    content: 'MOBILE VIEW';
    position: fixed;
    bottom: 0;
    left: 0;
    background: #FF5722;
    color: white;
    padding: 4px 8px;
    font-size: 10px;
    z-index: 10000;
    border-radius: 0 4px 0 0;
  }
}

@media (max-width: 480px) {
  .debug-template::after {
    content: 'MOBILE-SM';
  }
}
*/

/* ==================== END OF TEMPLATE MOBILE FIXES ==================== */

/*
 * IMPLEMENTATION INSTRUCTIONS:
 * 
 * FOR HEADER (template-header.css):
 * 1. Add the header mobile fixes section to your template-header.css
 * 2. Make sure the mobile menu HTML structure exists in template-header.html
 * 3. Test the mobile navigation toggle functionality
 * 
 * FOR FOOTER (template-footer.css):
 * 1. Add the footer mobile fixes section to your template-footer.css  
 * 2. Test the responsive footer layout on different screen sizes
 * 3. Verify contact cards and social links work on touch devices
 * 
 * TESTING CHECKLIST:
 * ✅ Mobile menu opens and closes properly
 * ✅ Touch targets are minimum 44px
 * ✅ Text is readable (16px minimum)
 * ✅ No horizontal scrolling
 * ✅ WhatsApp widget positioned correctly
 * ✅ Footer stacks properly on mobile
 * ✅ All interactive elements work with touch
 * ✅ Performance is smooth on mobile devices
 * 
 * BROWSER TESTING:
 * - Chrome Mobile DevTools
 * - iPhone Safari (iOS 14+)
 * - Android Chrome (Android 8+)
 * - iPad Safari (tablet view)
 * - Physical device testing recommended
 */