.contact-hero-section {
    position: relative;
    padding-block: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    @media (min-width: 991.8px) {
        padding-block: 80px;
        /*min-height: 756px;*/
        background-image: url("/wp-content/uploads/2025/06/contact-hero-new.webp");
        background-size: contain;
        background-position: bottom right;
        background-repeat: no-repeat;
    }
}

.contact-hero-section .container {
    position: relative;
}

.contact-hero-section .row {
    align-items: center;
    row-gap: 32px;
}

.contact-hero-section .row {
    row-gap: 32px;
}

.contact-hero-section__text-wrapper h1 {
    margin-bottom: 14px;
    @media screen and (min-width: 767.8px) {
        margin-bottom: 24px;
    }
}

.contact-hero-section__text-wrapper .contact-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
}

.contact-hero-section__text-wrapper .contact-list li {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.contact-hero-section__text-wrapper .contact-list a {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    text-decoration-line: none;
    color: var(--black);
    gap: 12px;
    width: auto;
    flex-basis: auto;
}

.contact-hero-section__text-wrapper .contact-list a .icon {
    width: 24px;
}

.contact-hero-section__text-wrapper .contact-list a .icon svg path {
    /*fill: var(--black);*/
    stroke: var(--black);
    transition: 0.4s all;
}

.contact-hero-section__text-wrapper .contact-list a .text {
    flex: 1;
}

.contact-hero-section__text-wrapper .contact-list a:hover {
    color: var(--orange-200);
}

.contact-hero-section__text-wrapper .contact-list a:hover .icon svg path {
    stroke: var(--orange-200);
}

.contact-hero-section__text-wrapper p {
    margin-bottom: 18px;
    @media screen and(min-width: 767.8px) {
        margin-bottom: 32px;
    }
}

.contact-hero-section__button-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    @media screen and (min-width: 991.8px) {
        justify-content: flex-start;
    }
}

.contact-hero-section__button-wrapper .btn {
    width: 100%;
    @media screen and (min-width: 575.8px) {
        width: auto;
    }
}

.contact-hero-section-image-holder {
    position: relative;
}

.contact-hero-section__iframe-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-block: 40px;
}

.contact-hero-section__iframe-wrapper img {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 48px);
    max-height: 100%;

}

.contact-hero-section__iframe-wrapper iframe {
    position: relative;
    border-radius: 16px;
    z-index: 4;
}

.contact-hero-section__teacher-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-hero-section__teacher-inner {
    position: relative;
    width: 100%;
    /*padding-top: 100%;*/
}

.contact-hero-section__teacher-image {
    background-image: url("/wp-content/plugins/twoforty-acf-blocks/blocks/hero-section/assets/images/hero-holder.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
}

.contact-hero-section__teacher-image img {
    max-height: calc(100% - 30px);
    margin-inline: auto;
}

.contact-hero-section__teacher-image {
    position: relative;
    width: 100%;
    height: 100%;
}

/*.contact-hero-section__teacher-inner {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    width: 100%;*/
/*    height: auto;*/
/*}*/

.contact-hero-section__teacher-info {
    position: absolute;
    bottom: 0;
    width: 500px;
    max-width: calc(100% - 48px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    border-radius: 24px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    @media screen and (min-width: 575.8px) {
        padding: 24px 32px;
    }

}

.contact-hero-section__teacher-info .teacher-name {
    font-size: 14px;
    line-height: 100%;
    font-weight: 700;
    width: 100%;
    flex-basis: 100%;
    @media screen and (min-width: 575.8px) {
        font-size: 24px;
    }
}

.contact-hero-section__teacher-info .teacher-experience {
    font-size: 12px;
    line-height: 100%;
    font-weight: 400;
    width: 100%;
    flex-basis: 100%;
    @media screen and (min-width: 575.8px) {
        font-size: 18px;
    }
}

.contact-hero-section__teacher-info .teacher-position {
    font-size: 12px;
    line-height: 100%;
    font-weight: 400;
    width: 100%;
    flex-basis: 100%;
    @media screen and (min-width: 575.8px) {
        font-size: 18px;
    }
}

.dot {
    width: 12px;
    height: 12px;
    position: absolute;
    border-radius: 50%;
    animation-name: md-circle-rotate;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    display: none;
    z-index: 2;
    @media screen and (min-width: 991.8px) {
        display: block;
    }
}

.dot.orange {
    background-color: var(--orange-100);
}

.dot.purple {
    background-color: var(--purple-100);
}

.dot.blue {
    background-color: var(--blue-200);
}

.dot.green {
    background-color: var(--green-200);
}


.contact-hero-section .dot-1 {
    left: 0;
    top: -50px;
}

.contact-hero-section .dot-2 {
    left: 400px;
    top: 0;
}

.contact-hero-section .dot-3 {
    right: calc(50% - 50px);
    top: 50px;
}

.contact-hero-section .dot-4 {
    right: 120px;
    top: -50px;
}

.contact-hero-section .dot-5 {
    right: 50px;
    top: 50px;
}

.contact-hero-section .dot-6 {
    left: 0;
    bottom: -50px;
}

.contact-hero-section .dot-7 {
    left: calc(50% - 50px);
    bottom: 50px;
}

.contact-hero-section .dot-8 {
    right: 0;
    bottom: 50px;
}

@keyframes md-circle-rotate {
    0% {
        transform: translate(0, 25px);
    }

    12.5% {
        transform: translate(-20px, 15px);
    }

    25% {
        transform: translate(-25px, 0);
    }

    37.5% {
        transform: translate(-20px, -15px);
    }

    50% {
        transform: translate(0, -25px);
    }

    62.5% {
        transform: translate(20px, -15px);
    }

    75% {
        transform: translate(25px, 0);
    }

    87.5% {
        transform: translate(20px, 15px);
    }

    100% {
        transform: translate(0, 25px);
    }
}

.contact-hero-section__form-wrapper {
    position: relative;
    z-index: 9;
}

.contact-hero-section__form-inner form {
    display: flex;
    padding: 24px;
    border-radius: 32px;
    background-color: var(--white);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.contact-hero-section__form-inner form .gform_body {
    width: 100%;
    flex-basis: 100%;
}

.contact-hero-section__form-inner .gform_heading {
    display: none;
}

.contact-hero-section__form-inner .gform_wrapper {
    width: 100%;
}

.contact-hero-section__form-inner .gfield label,
.contact-hero-section__form-inner .gfield legend {
    display: none;
}

.contact-hero-section__form-inner .gform-theme--foundation .gform_fields {
    row-gap: 24px;
    column-gap: 16px;
}

.contact-hero-section__form-inner .gform-theme--foundation .gform_fields input {
    border: 1px solid #D4D4D4;
    border-radius: 12px;
    padding: 16px;
    background-color: var(--white);
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: var(--black-200);
    height: 48px;
}

.contact-hero-section__form-inner .gform-theme--foundation .gform_fields textarea {
    border: 1px solid #D4D4D4;
    border-radius: 12px;
    padding: 16px;
    background-color: var(--white);
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: var(--black-200);
    overflow: auto;
    resize: vertical;
    min-height: 130px !important;
}

.contact-hero-section__form-inner .gform-theme--foundation .gform_fields input::placeholder,
.contact-hero-section__form-inner .gform-theme--foundation .gform_fields textarea::placeholder {
    color: #A3A3A3;
}

.contact-hero-section__form-inner .gform-theme--foundation .gform_footer {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin-block-start: 24px;
}

.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn)) > button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],
.contact-hero-section__form-inner [type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    border-radius: 100px;
    width: 100%;
    display: block;
    background-color: var(--orange-200);
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    height: 48px;
    outline: none;
}

.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn)) > button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button]:hover,
.contact-hero-section__form-inner [type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.contact-hero-section__form-inner .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover {
    background-color: var(--purple-100);
}

.contact-hero-section__form-inner .gform_confirmation_message_1.gform_confirmation_message {
    background-color: #DCFCE7;
    padding: 24px;
    border-radius: 32px;
}

.contact-hero-section__form-inner p {
    font-size: 14px;
    color: #404040;
    line-height: 20px;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-hero-section__form-inner .confirmation-title {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    display: flex;
    color: #166534;
    font-size: 14px;
}