/* contact.css - Professional Contact Page for Time to Win */
/* Time to Win Color Scheme - Forest Green + Terracotta */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #FDF8F0 0%, #F4E9D8 100%);
    min-height: 100vh;
}

/* Mobile spacer to prevent header overlap */
.mobile-spacer {
    display: none;
}

@media (max-width: 768px) {
    .mobile-spacer {
        display: block;
        height: 70px;
    }
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px 24px;
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224, 122, 95, 0.15);
    padding: 8px 20px;
    border-radius: 60px;
    margin-bottom: 20px;
}

.header-badge i {
    color: #E07A5F;
    font-size: 14px;
}

.header-badge span {
    color: #E07A5F;
    font-size: 13px;
    font-weight: 500;
}

.contact-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1B4D3E;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.contact-header p {
    font-size: 16px;
    color: #6B7B6E;
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid #D1D9D0;
    grid-column: 1 / -1;
}

.loading-spinner i {
    font-size: 2.5rem;
    color: #E07A5F;
    margin-bottom: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Contact Card - Uniform Design */
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 20px;
    border: 1px solid #D1D9D0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #E07A5F;
    box-shadow: 0 15px 35px rgba(224, 122, 95, 0.12);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: #F5F7F2;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-card-icon {
    background: linear-gradient(135deg, #E07A5F, #8B5A2B);
}

.contact-card:hover .contact-card-icon i {
    color: white !important;
}

.contact-card-info {
    flex: 1;
}

.contact-card-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1B4D3E;
    margin-bottom: 8px;
}

.contact-card-info p {
    font-size: 14px;
    color: #6B7B6E;
    word-break: break-all;
    margin-bottom: 4px;
}

.contact-card-info small {
    font-size: 11px;
    color: #9CAF88;
}

.contact-card-arrow {
    width: 32px;
    height: 32px;
    background: #F5F7F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.contact-card-arrow i {
    font-size: 14px;
    color: #E07A5F;
}

/* Multiple items in one card */
.contact-card-multiple {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.contact-sub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #F5F7F2;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-sub-item:hover {
    background: #FEF9F0;
    transform: translateX(3px);
}

.contact-sub-item span {
    font-size: 13px;
    color: #1B4D3E;
}

.contact-sub-item i {
    font-size: 11px;
    color: #9CAF88;
}

/* Office Section */
.office-section {
    background: white;
    border-radius: 24px;
    padding: 28px 32px;
    border: 1px solid #D1D9D0;
}

.office-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.office-header i {
    font-size: 24px;
    color: #E07A5F;
}

.office-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1B4D3E;
}

.office-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.office-icon {
    width: 60px;
    height: 60px;
    background: #F5F7F2;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.office-icon i {
    font-size: 28px;
    color: #E63946;
}

.office-details {
    flex: 1;
}

.office-details p {
    margin-bottom: 12px;
    color: #6B7B6E;
    font-size: 15px;
    line-height: 1.5;
}

.directions-btn {
    padding: 10px 24px;
    background: white;
    border: 1px solid #D1D9D0;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6B7B6E;
}

.directions-btn:hover {
    border-color: #E07A5F;
    color: #E07A5F;
    background: rgba(224, 122, 95, 0.05);
    transform: translateY(-2px);
}

/* Toast Container */
#toastContainer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast-notification {
    background: #1B4D3E;
    color: white;
    padding: 12px 20px;
    border-radius: 40px;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease;
}

.toast-notification.error {
    background: #E63946;
}

.toast-notification.info {
    background: #E07A5F;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        padding: 24px 16px 40px 16px;
    }
    
    .contact-header h1 {
        font-size: 28px;
    }
    
    .contact-header p {
        font-size: 14px;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .office-section {
        padding: 20px;
    }
    
    .office-content {
        flex-direction: column;
        text-align: center;
    }
    
    .office-icon {
        margin-bottom: 16px;
    }
    
    .toast-notification {
        font-size: 12px;
        padding: 10px 16px;
        bottom: 70px;
    }
    
    #toastContainer {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .contact-card-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .contact-card-info h4 {
        font-size: 14px;
    }
    
    .contact-card-info p {
        font-size: 12px;
    }
    
    .contact-card-info small {
        font-size: 10px;
    }
    
    .office-details p {
        font-size: 13px;
    }
    
    .directions-btn {
        padding: 8px 20px;
        font-size: 12px;
    }
}
/* Live Chat Card Styles */
.live-chat-card {
    background: linear-gradient(135deg, #075E54, #128C7E);
    border: none;
}

.live-chat-card .contact-card-icon {
    background: rgba(255,255,255,0.2);
}

.live-chat-card .contact-card-icon i {
    color: white !important;
}

.live-chat-card .contact-card-info h4 {
    color: white;
}

.live-chat-card .contact-card-info p {
    color: rgba(255,255,255,0.9);
}

.live-chat-card .contact-card-info small {
    color: rgba(255,255,255,0.7);
}

.live-chat-card .contact-card-arrow {
    background: rgba(255,255,255,0.2);
}

.live-chat-card .contact-card-arrow i {
    color: white;
}

.live-chat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(7, 94, 84, 0.3);
}

.online-badge {
    background: #10b981;
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    display: inline-block;
    animation: pulse-online 1.5s infinite;
}

@keyframes pulse-online {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        opacity: 0.9;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    }
}