/* Contact Page Styles */
.contact-page-wrapper {
    min-height: calc(100vh - 200px);
    background: var(--theme-bg-light, #f8f9fa);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-header {
    text-align: center;
    padding: 3rem 2.25rem;
    background: linear-gradient(to bottom left, #886ab5 0% 20%, #667eea 100%);
    color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.25);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.contact-header h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.contact-header h1 i {
    margin-right: 0.75rem;
    font-size: 2.5rem;
    opacity: 0.95;
}

.contact-header p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-weight: 300;
}

.contact-header-cta {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

.btn-cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta-contact:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.btn-cta-contact i {
    font-size: 1.2rem;
}

.contact-info-card {
    background: linear-gradient(to bottom left, #886ab5 0% 20%, #667eea 100%);
    color: white;
    border-radius: 1rem;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.25rem;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.contact-info-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-card h3 i {
    font-size: 2rem;
}

.contact-info-items-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
    flex: 1;
    min-width: 250px;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    min-width: 30px;
}

.contact-info-item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.contact-info-item-content p {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.contact-form-card {
    background: white;
    border-radius: 1rem;
    padding: 2.25rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.contact-form-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.contact-form-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #2d2a44;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-form-card h3 i {
    color: #667eea;
}

.alert-enhanced {
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.alert-success.alert-enhanced {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger.alert-enhanced {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

@media (max-width: 992px) {
    .contact-page-wrapper {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding: 2.25rem 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-header h1 i {
        font-size: 1.75rem;
        margin-right: 0.5rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info-card h3,
    .contact-form-card h3 {
        font-size: 1.5rem;
    }
    
    .contact-info-items-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info-item {
        min-width: 100%;
    }
}

/* Contact Modal Styles */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.contact-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(4px);
}

.contact-modal-content {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    padding-top: 3rem;
    max-width: 42rem;
    width: 40%;
    height: 90%;
    max-height: 85vh;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.contact-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    z-index: 20;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    line-height: 1;
}

.contact-modal-close:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.1);
}

.contact-modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 0;
    padding-right: 2rem;
}

.calendly-inline-widget {
    min-width: 320px;
    height: 600px;
    flex: 1;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-modal-content {
        max-height: 90vh;
        width: 95%;
        padding: 1rem;
    }
    
    .calendly-inline-widget {
        height: 400px;
    }
}

