:root {
    --contact-primary:        #1e3d82;
    --contact-accent:         #e10004;
    --contact-heading-color:  #3f3f3f;
    --contact-division-color: #1e3d82;
    --contact-text-dark:      #000000;
    --contact-field-bg:       #f4f4f4;
    --contact-field-border:   #c6c6c6;
    --contact-card-border:    #ededed;
    --contact-white:          #ffffff;
    --contact-radius-field:   11px;
    --contact-radius-card:    15px;
    --contact-radius-btn:     11px;
    --contact-radius-section: 40px;
    --contact-field-height:   52px;
    --contact-section-gap:    80px;
}

.contact-hero {
    background-color: var(--contact-primary);
    background-image: url(/wp-content/themes/pronat/images/contant_header.svg);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: bottom 0px center;
    height: 500px;
}

@media (max-width: 991.98px) {
    .contact-hero {
        height: 140px;
    }
}

@media (max-width: 575.98px) {
    .contact-hero {
        height: 80px;
    }
}
.contact-banner {
    padding-top: 0;

}
.contact-banner .container{
        position: relative;
            padding-top: 60px;
}

.contact-form-group br{
    display: none;
}
.contact-form-group p{
    margin-bottom: 0;
}
.contact-content-wrapper {
    background: var(--contact-white);
    border-radius: var(--contact-radius-section) var(--contact-radius-section) 0 0;
    margin-top: calc(var(--contact-radius-section) * -1); 
    padding-bottom: 100px;
    color: var(--contact-text-dark);
}

.contact-page-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px, 3.5vw, 55px);
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--contact-heading-color);
    text-align: center;
    margin-bottom: 12px;
}

.contact-title-bar {
    width: 60px;
    height: 6px;
    background: var(--contact-accent);
    margin: 0 auto 48px;
    border-radius: 3px;
}

.contact-address-card {
    background: var(--contact-white);
    border: 1px solid var(--contact-card-border);
    border-radius: var(--contact-radius-card);
    overflow: hidden;
    margin-bottom: 72px;
    box-shadow: 0 4px 24px rgba(30, 61, 130, 0.07);
}

.contact-address-info {
    padding: 40px 36px;
    border-left: 6px solid var(--contact-accent);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-address-country {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 700;
    color: var(--contact-heading-color);
    margin-bottom: 16px;
}

.contact-address-text {
    font-family: 'Roboto', sans-serif;
    color: #000; 
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5; 
}

.contact-building-photo {
    width: 100%;
    height: 100%;
    min-height: 220px;
}

.contact-building-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-form-heading,
.contact-divisions-heading {
    font-family: 'Roboto', sans-serif;
    color: #000;
    text-align: justify; 
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 82.5%; 
}

.contact-form-subtext {
    font-family: 'Roboto', sans-serif;
    color: #000; 
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
        margin-top: 25px;
    margin-bottom: 70px;
}

.contact-page .wpcf7-form .contact-label {
    display: block;
    font-family: 'Roboto', sans-serif;
    color: #000; 
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.65;  
}

.contact-page .wpcf7-form .contact-field,
.contact-page .wpcf7-form input.contact-field,
.contact-page .wpcf7-form select.contact-field,
.contact-page .wpcf7-form textarea.contact-field {
    display: block;
    width: 100%;
    height: var(--contact-field-height);
    background: var(--contact-field-bg);
    border: 1px solid var(--contact-field-border);
    border-radius: var(--contact-radius-field);
    padding: 0 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #333;
    outline: none;
    height: 62px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.contact-page .wpcf7-form select.contact-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-page .wpcf7-form textarea.contact-field {
    height: auto;
    min-height: 120px;
    padding: 14px 16px;
    resize: vertical;
}

.contact-page .wpcf7-form .contact-field:hover {
    background-color: #ededed;
    border-color: #dacbcb;
    box-shadow: none;
}

.contact-page .wpcf7-form .contact-field:focus {
    background-color: var(--contact-field-bg);
    border-color: var(--contact-primary);
    box-shadow: 0 0 0 1px var(--contact-primary);
}

.contact-page .wpcf7-form input.contact-field.wpcf7-not-valid,
.contact-page .wpcf7-form select.contact-field.wpcf7-not-valid,
.contact-page .wpcf7-form textarea.contact-field.wpcf7-not-valid {
    background-color: var(--contact-field-bg);
    border-color: var(--contact-accent);
    box-shadow: 0 0 0 1px var(--contact-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7.5' fill='%23e10004'/%3E%3Cpath d='M8 4.5v4' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11' r='.9' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
}

.contact-page .wpcf7-form input.contact-field.wpcf7-not-valid:hover,
.contact-page .wpcf7-form select.contact-field.wpcf7-not-valid:hover,
.contact-page .wpcf7-form textarea.contact-field.wpcf7-not-valid:hover {
    background-color: #ededed;
    box-shadow: none;
}

.contact-phone-field {
    display: flex;
    align-items: center;
    height: 62px;
    background: var(--contact-field-bg);
    border: 1px solid var(--contact-field-border);
    border-radius: var(--contact-radius-field);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-phone-field:focus-within {
    border-color: var(--contact-primary);
    box-shadow: 0 0 0 1px var(--contact-primary);
}

.contact-phone-field p {
    display: contents;
}

.contact-phone-field br {
    display: none;
}

.contact-phone-select {
    flex: 0 0 auto;
    width: 110px;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 8px 0 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #3f3f3f;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.contact-phone-divider {
    width: 1px;
    height: 65%;
    background: var(--contact-field-border);
    flex-shrink: 0;
}

.contact-phone-field .wpcf7-form-control-wrap {
    flex: 1;
    height: 100%;
}

.contact-phone-field input.contact-phone-input {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #333;
    outline: none;
    border-radius: 0 var(--contact-radius-field) var(--contact-radius-field) 0;
}

.contact-page .wpcf7-form .wpcf7-list-item {
    margin: 0;
}

.contact-page .wpcf7-form .wpcf7-list-item-label {
    cursor: pointer;
}

.contact-page .wpcf7-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.contact-page .wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--contact-primary);
    flex-shrink: 0;
    margin: 0;
    top: 3px;
    position: relative;
    margin-right: 4px;
}

.contact-page .wpcf7-form input.contact-submit,
.contact-page .wpcf7-form input[type="submit"].contact-submit {
    display: block;
    width: 100%;
    height: 60px;
    background: var(--contact-primary);
    color: var(--contact-white);
    border: none;
    border-radius: var(--contact-radius-btn);
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    margin-top: 8px;
}

.contact-page .wpcf7-form input.contact-submit:hover,
.contact-page .wpcf7-form input[type="submit"].contact-submit:hover {
    background: #2952AE; 
}

.contact-page .wpcf7-form input.contact-submit:active,
.contact-page .wpcf7-form input[type="submit"].contact-submit:active {
    transform: translateY(0);
}

.contact-page .wpcf7-not-valid-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--contact-accent);
    line-height: 33px;
    margin-top: 4px;
}

.contact-page .wpcf7-not-valid-tip::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7.5' fill='%23e10004'/%3E%3Cpath d='M8 4.5v4' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11' r='.9' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.contact-page .wpcf7-response-output {
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
}

.contact-form-group {
    margin-bottom: 20px;
    padding: 0;
}
.contact-form-main{
    padding-left: 30px;
    padding: 0 110px 0 75px;
}
.contact-form-main .col-12{ 
    padding: 0;
}
.contact-form-main ~ .col-lg-4{
    padding: 0 20px 0;
}
.contact-form-main .wpcf7 form .col-md-6{
    width: calc(50%);
}
.contact-form-main .wpcf7 form .col-md-6:nth-last-of-type(odd){
    padding: 0 0 0 20px;

}
.contact-form-main .wpcf7 form .col-md-6:nth-last-of-type(even){
    padding: 0 20px 0 0;
}
.contact-map-wrapper {
    border-radius: var(--contact-radius-card);
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(30, 61, 130, 0.1);
    max-width: 560px;
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.contact-map-links {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 4px 4px;
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: var(--contact-primary);
    text-decoration: none; 
    border-radius: 8px;
    padding: 0;
    transition: background 0.2s ease;
}

.contact-map-link:hover {
    background: var(--contact-field-bg);
    color: var(--contact-primary);
}

.contact-map-link svg {
    flex-shrink: 0;
}

.contact-divisions-heading {
    margin-top: 70px;
    margin-bottom: 30px;
}

.contact-division-item {
    margin-bottom: 25px;
}

.contact-division-item:last-of-type {
    margin-bottom: 0;
}

.contact-division-name {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 700;
    color: var(--contact-division-color);
    margin-bottom: 10px;
}

.contact-division-body {
    font-family: 'Roboto', sans-serif;
    color: #000; 
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 2;
}

.contact-division-body strong {
    font-weight: 700;
}

.contact-availability {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(13px, 1vw, 16px);
    color: #000;
    line-height: 1.6;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--contact-card-border);
}

.contact-banner{
    border-radius: 0 0 60px 60px;
    background: #F7F7F7;
}

@media (max-width: 991.98px) {
 
    .contact-content-wrapper {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .contact-address-info {
        padding: 28px 24px;
        border-left: 5px solid var(--contact-accent);
        border-bottom: none;
    }

    .contact-building-photo {
        min-height: 200px;
    }
}

@media (max-width: 767.98px) {
    .contact-address-card .row {
        flex-direction: column;
    }

    .contact-address-info {
        border-left: 5px solid var(--contact-accent);
        border-bottom: 1px solid var(--contact-card-border);
    }

    .contact-map-wrapper iframe {
        height: 200px;
    }
    .contact-address-card{
        background-color: transparent;
        box-shadow: unset;
        border: unset;
        margin-bottom: 0;
        
    }
    .contact-address-card .contact-address-info{
        background-color: #fff;
        margin-bottom: 30px;
        border-radius: 6px;
    }
    .contact-form-heading, .contact-divisions-heading{
        font-size: 32px; 
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
        text-align: left;
    }
    .contact-form-main{
        padding: 0 45px 0;
    }
    .contact-form-main .wpcf7 form .col-md-6:nth-last-of-type(even),
    .contact-form-main .wpcf7 form .col-md-6:nth-last-of-type(odd) {
        padding: 0;
    }
    .contact-form-subtext{
        font-size: 19px;
    }
    .contact-form-main .wpcf7 form .col-md-6{
        width: 100%;
    }
    .contact-form-main .col-12{
        padding: 0;
    }
    .contact-page .wpcf7-form .wpcf7-list-item input[type="checkbox"]{
        top: 3px;
        position: relative;
    }
 
}

@media (max-width: 575.98px) {

    :root {
        --contact-section-gap: 48px;
        --contact-field-height: 48px;
    }

    .contact-page-title {
        font-size: 28px;
    }

    .contact-title-bar {
        margin-bottom: 32px;
    }
}
