.contact-section {
    position: relative;
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.contact-section .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.contact-section .section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.contact-section .section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.contact-container {
    position: relative;
    z-index: 1;
}

.contact-info-card {
    background-color: var(--bs-body-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background-color: var(--primary);
}

.contact-info-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon i {
    color: #fff;
}

.contact-info-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-info-text {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
}

.contact-form-card {
    background-color: var(--bs-body-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    z-index: 2;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    color: var(--text-dark);
}

.contact-form-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.form-floating {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid rgba(128, 128, 128, 0.2);
    transition: all 0.3s ease;
    background-color: var(--bs-body-bg);
    color: var(--text-dark);
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.2);
    border-color: var(--primary);
}

.form-floating label {
    color: var(--text-dark);
    opacity: 0.7;
}

.form-select {
    background-color: var(--bs-body-bg);
    color: var(--text-dark);
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.2);
}

.contact-submit-btn {
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.3);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 991.98px) {
    .contact-info-row {
        margin-bottom: 30px;
    }
    
    .contact-form-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .contact-info-card {
        margin-bottom: 20px;
    }
}
