/* contact.css - Professional Contact Page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
    min-height: 100vh;
}

/* Mobile spacer to prevent header overlap */
.mobile-spacer {
    display: none;
}

@media (max-width: 768px) {
    .mobile-spacer {
        display: block;
        height: 60px;
    }
}

.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(242, 168, 58, 0.15);
    padding: 8px 20px;
    border-radius: 60px;
    margin-bottom: 20px;
}

.header-badge i {
    color: #f2a83a;
    font-size: 14px;
}

.header-badge span {
    color: #f2a83a;
    font-size: 13px;
    font-weight: 500;
}

.contact-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1f2a44;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.contact-header p {
    font-size: 16px;
    color: #64748b;
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    grid-column: 1 / -1;
}

.loading-spinner i {
    font-size: 2.5rem;
    color: #f2a83a;
    margin-bottom: 16px;
}

/* Contact Card - Uniform Design */
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #f2a83a;
    box-shadow: 0 15px 35px rgba(242, 168, 58, 0.12);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: #f8fafc;
    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, #f2a83a, #e5982b);
}

.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: #1f2a44;
    margin-bottom: 8px;
}

.contact-card-info p {
    font-size: 14px;
    color: #475569;
    word-break: break-all;
    margin-bottom: 4px;
}

.contact-card-info small {
    font-size: 11px;
    color: #94a3b8;
}

.contact-card-arrow {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    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: #f2a83a;
}

/* 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: 6px 10px;
    background: #f8fafc;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-sub-item:hover {
    background: #fef3c7;
}

.contact-sub-item span {
    font-size: 13px;
    color: #1f2a44;
}

.contact-sub-item i {
    font-size: 11px;
    color: #94a3b8;
}

/* Office Section */
.office-section {
    background: white;
    border-radius: 24px;
    padding: 28px 32px;
    border: 1px solid #e2e8f0;
}

.office-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.office-header i {
    font-size: 24px;
    color: #f2a83a;
}

.office-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2a44;
}

.office-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.office-icon {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.office-icon i {
    font-size: 28px;
    color: #ef4444;
}

.office-details {
    flex: 1;
}

.office-details p {
    margin-bottom: 12px;
    color: #475569;
    font-size: 15px;
}

.directions-btn {
    padding: 10px 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.directions-btn:hover {
    border-color: #f2a83a;
    color: #f2a83a;
    background: rgba(242, 168, 58, 0.05);
}

/* Toast */
#toastContainer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast-notification {
    background: #10b981;
    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: #ef4444;
}

@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-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .office-section {
        padding: 20px;
    }
    
    .office-content {
        flex-direction: column;
        text-align: center;
    }
}

@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;
    }
}