.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.caps-text {
    text-transform: uppercase;
    color: #0069A8;
    font-size: 18px;
    text-align: center;
}

.hero {
    width: 100%;
    box-sizing: border-box;
    height: 330px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.hero-gradient {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(270deg, rgba(237, 246, 250, 0) 0%, #EDF6FA 650px);
    padding: 119px 70px;
    box-sizing: border-box;
}

.hero h1 {
    color: #0F1822;
    font-family: "Poppins";
    font-size: 44px;
    font-weight: 600;
}

.contacts-section {
    padding: 0 46px 70px;
    display: flex;
    gap: 60px;
    box-sizing: border-box;
    justify-content: center;
}

.form-section h2 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 24px;
    color: #0069A8;
    margin: 0 0 16px;
    text-align: center;
}

.contacts-image {
    height: 484px;
    width: 580px;
    box-sizing: border-box;
}

.contacts-image img {
    height: 100%;
    object-fit: cover;
}

.contacts-items {
    display: flex;
    gap: 20px;
    flex-direction: column;
    width: 660px;
}

.contacts-row {
    display: flex;
    gap: 20px;
}

.contacts-item {
    max-height: 236px;
    padding: 32px 20px;
    text-align: center;
    background: #EDF6FA;
    width: 100%;
    color: #0F1822;
}

.item-header {
    padding: 40px 0 16px;
    font-weight: 500;
    font-size: 24px;
    font-family: "Poppins";
}

.item-description {
    font-weight: 400;
    font-size: 18px;
}

.form-section {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 70px 0;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.two-columns > .form-group {
    flex: 1 1 45%;
}

.form-group {
    width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid #0F18224D !important;
    border-radius: 4px !important;
    font-family: Source Sans Pro;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 130%;
}

textarea {
    min-height: 120px;
}

label {
    color: #0F1822;
    font-size: 14px;
    font-weight: 600;
    font-family: "Source Sans Pro";
    line-height: 130%;
}

.form-text {
    text-align: center;
    margin-bottom: 24px !important;
    font-size: 16px;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.wpcf7 form>div {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .hero {
        background-position: bottom !important;
        height: 400px;
    }

    .hero-gradient {
        background: linear-gradient(360deg, rgba(237, 246, 250, 0) 0%, #EDF6FA 44.16%);
        height: 100%;
        padding: 60px 16px;
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 32px;
    }

    .caps-text {
        font-size: 16px;
    }

    .contacts-section, .contacts-row {
        flex-direction: column;
    }

    .contacts-section {
        padding: 0 16px 50px;
    }

    .contacts-image {
        width: 100%;
        height: auto;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contacts-items {
        width: 100%;
        box-sizing: border-box;
    }

    .form-section {
        width: 100%;
        box-sizing: border-box;
        padding: 50px 16px;
    }

    .contacts-item {
        padding: 32px 20px 40px;
    }

    .item-header {
        font-size: 20px;
    }

    .contacts-item svg {
        height: 40px;
        width: 40px;
    }
	
	.contacts-image img {
 	    height: auto;
    	object-fit: cover;
	}

}