#contact-hero-section {
    position: relative;
    padding: 160px 0 530px;
}

#contact-hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47,63,80, .9);
}

#contact-hero-section:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-image: url("/wp-content/uploads/2025/07/Before-Market.svg");
    background-position: bottom center;
    background-size: cover;
    z-index: 4;
}

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

#contact-hero-section h1 {
    color: var(--goldm);
}

#contact-hero-section p {
    color: #f7f4ea;
    width: 960px;
    max-width: 100%;
    margin-inline: auto;
    font-size: 18px;
}

.contact-info {
    background-color: #ffffff;
    border-radius: 10px;
    border-top: 5px solid var(--goldm);
}

.contact-info p {
    color: var(--blue);
}

.first-part p {
    margin-bottom: 35px;
    font-size: 18px;
}

.contact-address-row span {
    font-size: 18px;
}

.contact-info .first-part {
    padding-block: 50px;
    border-bottom: 1px solid rgba(47,63,80,.10);
}

.contact-links-row, .contact-links-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-links-row a:nth-of-type(2) img {
    position: relative;
    top: 3px;
}

.contact-links-row {
    column-gap: 35px;
}

.contact-links-row a {
    column-gap: 10px;
    color: var(--blue);
    font-size: 30px;
}

.contact-links-row a:hover {
    color: var(--goldm);
}

.contact-links-row a span {
    font-weight: 600;
}

.first-part, .second-part {
    padding-inline: 15px;
}

#contact-section {
    position: relative;
}

.contact-address-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

.second-part {
    padding-block: 50px;
}

.show-map-text {
    border-bottom: 1px solid rgba(229, 192, 159,.3);
}

.show-map-text span {
    color: #e1916d;
}

.contact-address-row span.blue {
    margin-right: 20px;
}

.contact-wrapper {
    background-color: #2f3f50;
    margin-top: -500px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: relative;
    z-index: 20;
    margin-bottom: 130px;
}

.contact-wrapper .contact-form {
    padding: 65px 165px 85px;
}

.contact-wrapper .contact-form h3 {
    margin-bottom: 40px;
    color: var(--goldm);
    text-align: center;
}

.contact-wrapper .contact-form input, .contact-wrapper .contact-form textarea {
    border-radius: 5px;
    box-shadow: inset 1.06px 1.696px 0.5px rgba(0,0,0,0.07);
    background-color: #233140;
    border: 0px solid #171718;
}

.contact-wrapper .contact-form textarea {
    height: 120px !important;
}

.contact-wrapper legend, .contact-wrapper label {
    color: var(--goldm);
}

.contact-wrapper legend .gfield_required, .contact-wrapper label .gfield_required {
    display: none !important;
}

.contact-wrapper .contact-form .button {
    display: block;
    width: 100%;
    padding: 15px;
    border: 2px solid #e5bf9f;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    text-align: center;
    color: var(--white);
    text-transform: uppercase;
    background-color: rgba(255,255,255,0);
}

.contact-wrapper .contact-form .button:hover {
    background-color: var(--goldm);
    color: #ffffff;
}

.contact-wrapper .gform_description {
    display: none;
}

.contact-wrapper .gform_wrapper.gravity-theme .gform_footer {
    margin-top: 20px;
}


@media(max-width: 1200px) {
    .contact-wrapper .contact-form {
        padding-inline: 50px;
    }
}

@media(max-width: 991px) {
    .contact-wrapper .contact-form textarea {
       height: 200px !important;
    }
}

@media(max-width: 768px) {
    #contact-section .container:first-child {
        padding-inline: 0;
    }

    #contact-hero-section {
       padding-top: 120px;
    }

    .contact-address-row {
        justify-content: flex-start;
    }


    .contact-links-row, .contact-links-row a {
        justify-content: flex-start;
    }

    .first-part .text-center {
       text-align: left !important;
    }

    .contact-links-row a:first-child {
        padding-left: 5px;
    }

    .contact-links-row a:first-child span {
        padding-left: 3px;
    }

    .contact-info .first-part, .second-part {
        padding: 35px;
    }

    .contact-address-row span {
        width: 240px;
        max-width: 100%;
    }

    .contact-address-row {
        align-items: flex-start;
        row-gap: 20px;
    }

    .contact-address-row img:first-child {
        position: relative;
        top: 3px;
    }

    .contact-links-row {
        row-gap: 10px;
    }
}


/*
==========================
SLIDER
==========================
 */
.market-slider {
    background-color: #2b3d50;
}

.gallery-item-inner {
    background-color: #2b3d50;
    margin: 6px 3px;
    position: relative;
    height: 430px;
    overflow: hidden;
}

.gallery-item-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.market-slider .arrow-holder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--goldm);
    background-color: var(--goldm);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
}

.market-slider .slick-arrow {
    position: absolute;
    top: calc(50% - 32px);
    z-index: 3;
}

.market-slider .slick-prev {
    left: calc(33% - 30px);
    right: auto;
}

.market-slider .slick-next {
    right: calc(33% - 30px);
    left: auto;
}

.market-slider .arrow {
    width: 22px;
    height: 16px;
    display: inline-flex;
    background-color: #2f3f50;
    z-index: 2;
    display: block;
}

.market-slider .arrow-right {
    mask: url('/wp-content/uploads/2025/07/calendar-right.svg') no-repeat center;
    -webkit-mask: url('/wp-content/uploads/2025/07/calendar-right.svg') no-repeat center;
    webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
}

.market-slider .arrow-left {
    mask: url('/wp-content/uploads/2025/07/calendar-right.svg') no-repeat center;
    -webkit-mask: url('/wp-content/uploads/2025/07/calendar-right.svg') no-repeat center;
    webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
    rotate: 180deg;
}

@media (max-width: 991.8px) {
    .market-slider .slick-prev {
        left: calc(120px - 33px);
    }

    .market-slider .slick-next {
        right: calc(120px - 33px);
    }
}

@media (max-width: 767.8px) {
    .gallery-item-inner {
        height: 350px;
    }
}

@media (max-width: 575.8px) {
    .gallery-item-inner {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .market-slider .slick-prev {
        left: calc(43px - 33px);
    }

    .market-slider .slick-next {
        right: calc(43px - 33px);
    }
}


@media(max-width: 575px) {
    .contact-wrapper .contact-form {
        padding: 45px 20px;
    }

    .contact-wrapper {
        margin-bottom: 0;
        border-radius: 0;
    }

    .contact-links-row a {
        top: unset;
    }
}

@media(max-width: 420px) {

    .contact-links-row a {
        font-size: 20px;
    }
}


@media(max-width: 375px) {
    .contact-info .first-part, .second-part {
        padding-inline: 15px;
    }
}
