/* ================================================== */
/* Modern Contact Section Styles */
/* ================================================== */

.contact-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(var(--primary-color-rgb, 0, 123, 255), 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(var(--secondary-color-rgb, 108, 117, 125), 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Contact Info Cards */
.contact-info-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #007bff) 0%, var(--secondary-color, #6c757d) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, var(--secondary-color, #6c757d) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 36px;
    color: #ffffff;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-info-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--heading-font-color, #1a1a1a);
}

.contact-info-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-info-card p a {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card p a:hover {
    color: var(--secondary-color, #6c757d);
}

.contact-label {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(var(--primary-color-rgb, 0, 123, 255), 0.1);
    color: var(--primary-color, #007bff);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 10px;
}

.address-title {
    font-weight: 600;
    color: var(--heading-font-color, #1a1a1a);
    margin-bottom: 8px !important;
}

.address-text {
    color: #666;
    margin-bottom: 15px !important;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #007bff);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-link:hover {
    gap: 12px;
    color: var(--secondary-color, #6c757d);
}

.map-link i {
    font-size: 1rem;
}

/* Map Wrapper */
.contact-map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.contact-map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.contact-map {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.contact-map-placeholder {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 20px;
    color: #999;
}

.contact-map-placeholder i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.contact-map-placeholder p {
    font-size: 1.1rem;
}

/* Form Wrapper */
.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-form-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--heading-font-color, #1a1a1a);
}

.contact-form-header p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

/* Modern Contact Form */
.modern-contact-form {
    position: relative;
}

.modern-contact-form .form-group {
    margin-bottom: 20px;
}

.modern-contact-form .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: var(--heading-font-color, #1a1a1a);
}

.modern-contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color, #007bff);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb, 0, 123, 255), 0.1);
}

.modern-contact-form .form-control::placeholder {
    color: #999;
}

.modern-contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Submit Button */
.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, var(--secondary-color, #6c757d) 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.btn-contact-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-contact-submit:hover::before {
    left: 100%;
}

.btn-contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.4);
    gap: 20px;
}

.btn-contact-submit:active {
    transform: translateY(-1px);
}

.btn-contact-submit i {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.btn-contact-submit:hover i {
    transform: translateX(-5px);
}

/* Alert Styles */
.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-wrapper {
        padding: 30px;
        margin-top: 30px;
    }
    
    .contact-map-container {
        height: 400px;
    }
    
    .contact-info-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .contact-form-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-map-container {
        height: 350px;
    }
    
    .contact-info-card {
        padding: 25px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 28px;
    }
    
    .btn-contact-submit {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

