/* ========== CONTACT PAGE STYLES ========== */

.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 40px 35px;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-info-card::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%);
    pointer-events: none;
}

.info-header {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.info-header h2 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.info-header p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.contact-items-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.info-icon.email {
    color: #60a5fa;
}

.info-icon.phone {
    color: #34d399;
}

.info-icon.location {
    color: #f472b6;
}

.info-icon.hours {
    color: #fbbf24;
}

.info-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.info-content p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.form-header {
    margin-bottom: 35px;
}

.form-header h2 {
    margin: 0 0 12px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.form-header p {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary-text-color);
    line-height: 1.6;
}

/* Modern Contact Form */
.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

.required {
    color: #ef4444;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit-modern {
    margin-top: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    align-self: flex-start;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-submit-modern:active {
    transform: translateY(0);
}

.btn-submit-modern i {
    font-size: 1rem;
}

/* Alert Messages */
.alert-message {
    padding: 18px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 500;
    animation: slideDown 0.4s ease-out;
}

.alert-message.success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-message.error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-message i {
    font-size: 1.5rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-card {
        padding: 35px 30px;
    }
    
    .contact-form-card {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        gap: 25px;
    }
    
    .contact-info-card {
        padding: 30px 25px;
    }
    
    .info-header h2,
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-form-card {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-item {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 50px 0 !important;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 25px 20px;
    }
    
    .info-header h2,
    .form-header h2 {
        font-size: 1.3rem;
    }
    
    .info-header p,
    .form-header p {
        font-size: 0.9rem;
    }
    
    .contact-info-item {
        padding: 15px;
        gap: 15px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .info-content h4 {
        font-size: 1rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .btn-submit-modern {
        width: 100%;
        padding: 14px 30px;
        font-size: 1rem;
    }
}
