.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 100px;
    background: #fff;
}

.contact-info-side {
    background: #f6fbff;
    padding: 30px;
    border-radius: 10px;
    flex: 1 1 400px;
    max-width: 350px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-block {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    width: 30px;
    margin-top: 4px;
}

.info-block h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.info-block p,
.info-block a {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    text-decoration: none;
}

.contact-form-side {
    flex: 1 1 500px;
    max-width: 700px;
}

.contact-form-side h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #222;
}

.contact-form-side p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.input-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    border-radius: 5px;
    background: #fff;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    width: fit-content;
    padding: 12px 25px;
    background-color: #0072c6;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    border: 1px solid #ccc;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .input-row {
        flex-direction: column;
    }

    .contact-info-side,
    .contact-form-side {
        max-width: 100%;
    }
}


.contact-hero {
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;

    /* transition: opacity 0.5s ease; */

    z-index: 2;
    padding: 0 20px;
}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);

}

.hero-image-wrapper:hover::before,
.hero-image-wrapper:hover .hero-text {
    opacity: 1;
}

.contact-hero h2 {
    font-size: 42px;
    margin-bottom: 10px;

    z-index: 2;
    position: relative;
}

.contact-hero p {


    z-index: 2;
    position: relative;
}



@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .contact-section {
        flex-direction: column;
        gap: 30px;
    }

    .form-container,
    .info-card {
        max-width: 100%;
    }

    .contact-info-cards {
        justify-content: flex-start;
    }

    .info-card {
        flex: 1 1 100%;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .hero-text p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 20px;
    }

    .form-container h2 {
        font-size: 20px;
    }

    .form-container p,
    form label,
    .info-card p,
    .info-card h4 {
        font-size: 14px;
    }

    .submit-btn,
    .reset-btn {
        flex: 1;
        padding: 10px;
        font-size: 14px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .hero-text {
        padding: 0 10px;
    }

    .contact-hero {
        height: 200px;
    }

    .hero-text h2 {
        font-size: 18px;
    }

    .hero-text p {
        font-size: 12px;
    }
}