.hero_jd {
    position: relative;
    width: 92%;
    height: 475px;
    background: url(../images/wholegroup.jpg) center / cover no-repeat;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
    margin: auto !important;
    margin-top: 4% !important;
}

/* Dark Overlay */

.hero_jd .overlay_jd {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Content Styling */

.hero_jd .contenttext_jd {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 400px;
}

.hero_jd .contenttext_jd h2 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.3;
    font-family: 'latoregular';
}

/* Button */

.hero_jd .btn_jd {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #40C6D6;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: normal;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.2);
    outline: none;
}

/* Hover Effect */

.hero_jd .btn_jd:hover {
    background: #414a56;
    color: white;
    box-shadow: 0 0 15px rgba(64, 198, 214, 0.7);
}

/* Vertical Lines */

.hero_jd .btn_jd::before,
.hero_jd .btn_jd::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 0;
    background: #40C6D6;
    transition: height 0.5s ease-in-out;
}

.hero_jd .btn_jd::before {
    right: 0;
    top: 0;
}

.hero_jd .btn_jd::after {
    left: 0;
    bottom: 0;
}

/* Horizontal Lines */

.hero_jd .btn_jd span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.hero_jd .btn_jd span::before,
.hero_jd .btn_jd span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #40C6D6;
    transition: width 0.5s ease-in-out;
}

.hero_jd .btn_jd span::before {
    left: 0;
    top: 0;
}

.hero_jd .btn_jd span::after {
    right: 0;
    bottom: 0;
}

.hero_jd .btn_jd:hover span::before,
.hero_jd .btn_jd:hover span::after {
    width: 100%;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
    display: block;
    height: auto;
    max-width: 100% !important;
    width: auto;
    border-radius: 0px !important;
    margin-bottom: 5%;
}

figure.wp-block-gallery.has-nested-images.columns-default.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex {
    width: 92%;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    width: 100% !important;
    margin-left: 0;
    margin-bottom: 30px;
}

.wp-block-gallery:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter) {
    margin-top: 6%;
}

/* Remove focus outline */

.hero_jd .btn_jd:focus-visible {
    outline: none;
}

/* Responsive Design */

@media screen and (min-width: 1537px) and (max-width: 1920px) {
    .hero_jd {
        height: 630px;
    }

    .galleryimg_jd {
        grid-template-columns: auto auto auto auto !important;
    }
}

@media screen and (min-width: 1367px) and (max-width: 1440px) {
    .galleryimg_jd {
        grid-template-columns: auto auto auto !important;
    }
}

@media (max-width: 1366px) {
    .hero_jd {
        height: 500px;
    }

    .galleryimg_jd {
        grid-template-columns: auto auto auto !important;
    }
}

@media (max-width: 1280px) {
    .hero_jd {
        height: 420px;
    }

    .galleryimg_jd {
        grid-template-columns: auto auto !important;
        gap: 40px 21px !important;
    }

}

@media (max-width: 1024px) {
    .hero_jd {
        height: 300px;
    }

    .hero_jd .contenttext_jd h2 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero_jd {
        height: 250px;
    }

    .hero_jd .contenttext_jd h2 {
        font-size: 20px;
        margin: auto;
        text-align: center;
        width: 80%;
    }

    .hero_jd .btn_jd {
        font-size: 14px;
        position: absolute;
        left: 32%;
    }

    .galleryimg_jd {
        grid-template-columns: auto !important;
        gap: 40px 21px !important;
    }
}

.flex-content_jd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 5%;
}

/* Left Side - Text */

.text-content_jd {
    width: 45%;
}

.text-content_jd h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.text-content_jd p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

/* Button */

.button_jd {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: #40C6D6;
    color: white;
    text-decoration: none;
    font-weight: normal;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.2);
    outline: none;
    border: none;
    cursor: pointer;
}

/* Hover Effect */

.button_jd:hover {
    background: #414a56;
    color: white;
    box-shadow: 0 0 15px rgba(64, 198, 214, 0.7);
}

/* Vertical Lines */

.button_jd::before,
.button_jd::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 0;
    background: #40C6D6;
    transition: height 0.5s ease-in-out;
}

.button_jd::before {
    right: 0;
    top: 0;
}

.button_jd::after {
    left: 0;
    bottom: 0;
}

/* Horizontal Lines */

.button_jd span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.button_jd span::before,
.button_jd span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #40C6D6;
    transition: width 0.5s ease-in-out;
}

.button_jd span::before {
    left: 0;
    top: 0;
}

.button_jd span::after {
    right: 0;
    bottom: 0;
}

.button_jd:hover span::before,
.button_jd:hover span::after {
    width: 100%;
}

/* Remove focus outline */
.button_jd:focus-visible {
    outline: none;
}

/* Right Side - Image */
.images-content_jd {
    width: 50%;
}

.images-content_jd img {
    width: 100%;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .flex-content_jd {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .text-content_jd {
        width: 100%;
        margin-bottom: 20px;
    }

    .images-content_jd {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .flex-content_jd {
        padding: 20px;
    }

    .text-content_jd h2 {
        font-size: 24px;
        letter-spacing: normal !important;
    }

    .text-content_jd p {
        font-size: 14px;
    }

    .button_jd {
        font-size: 14px;
    }
}

.wrapper_jd {
    background-color: #313945;
    color: white;
    text-align: center;
    margin-top: 5%;
    padding: 0;
}

.bggrey_jd {
    padding: 20px;
}

h2.head_jd {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    font-size: 28px;
}

.galleryimg_jd {
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-content: space-evenly;
    gap: 45px 0px;
    margin: auto;
    margin-top: 4%;
}

.cards_jd {
    position: relative;
    width: 400px;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-bottom: 4%;
}

.cards_jd img {
    width: 100%;
    height: 325px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.overlayeffect_jd {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgb(0 0 0/ 85%), rgb(0 0 0 / 31%));
    opacity: 1;
}

.cards_jd p {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-family: 'latoregular' !important;
    font-weight: bold;
    color: white;
    text-align: center;
    opacity: 1;
}

.cards_jd:hover img {
    transform: scale(1.1);
}

button#load-more-gallery {
    display: inline-block;
    font-family: 'latoregular' !important;
    margin-bottom: 35px;
    padding: 12px 24px;
    background: #40C6D6;
    color: white;
    text-decoration: none;
    font-weight: normal;
    font-size: 16px;
    border-radius: 25px;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.2);
    outline: none;
    border: none;
    cursor: pointer;
}

/* Hover Effect */
button#load-more-gallery:hover {
    background: #414a56;
    color: white;
    box-shadow: 0 0 15px rgba(64, 198, 214, 0.7);
}

/* Vertical Lines */
button#load-more-gallery::before,
button#load-more-gallery::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 0;
    background: #40C6D6;
    transition: height 0.5s ease-in-out;
}

button#load-more-gallery::before {
    right: 0;
    top: 0;
}

button#load-more-gallery::after {
    left: 0;
    bottom: 0;
}

/* Horizontal Lines */
button#load-more-gallery span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

button#load-more-gallery span::before,
button#load-more-gallery span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #40C6D6;
    transition: width 0.5s ease-in-out;
}

button#load-more-gallery span::before {
    left: 0;
    top: 0;
}

button#load-more-gallery span::after {
    right: 0;
    bottom: 0;
}

button#load-more-gallery:hover span::before,
button#load-more-gallery:hover span::after {
    width: 100%;
}

/* Remove focus outline */
button#load-more-gallery:focus-visible {
    outline: none;
}

@media (max-width: 767px) {

    .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
    .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
        width: 100% !important;
        margin-bottom: 0% !important;
    }

    .galleryimg_jd {
        grid-template-columns: auto !important;
        align-items: center;
    margin-bottom: 0 !important;
    }


.cards_jd {
    width: 90%;
    height: auto;
    margin-bottom: 10%;
    display: flex;
    margin: auto !important;
}

h2.head_jd {
    font-size: 24px;
    margin-bottom: 25px !important;
}

.cards_jd p {
    bottom: 4px;
    font-size: 14px;
}

.bggrey_jd {
    padding: 20px 0px 30px 0px;
}

button#load-more-gallery {
    margin-top: 30px !important;
}
}

.textbg_jd h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3;
    font-family: 'latoregular';
    text-align: center;
    color: #fff;
    padding-top: 8%;
    letter-spacing: normal;
    margin-top: 0 !important;
}

.hero_area_jd {
    position: relative;
    height: 50vh;
    background-color: #40C6D6;
    width: 92%;
    border-radius: 20px;
}

.waves_jd {
    position: absolute;
    width: 100%;
    height: 15vh;
    min-height: 100px;
    max-height: 150px;
    bottom: 0;
    left: 0;
}

.parallax_jd>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax_jd>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax_jd>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax_jd>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax_jd>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}


/*Shrinking for mobile*/

@media only screen and (min-width: 360px) and (max-width: 750px) {
    /* .hero_jd .contenttext_jd {
        left: 3%;
    } */
}

@media (max-width: 768px) {
    .waves_jd {
        height: 40px;
        min-height: 40px;
    }

    .hero_area_jd {
        height: 25vh;
        width: 87% !important;
    }

    .textbg_jd h2 {
        font-size: 24px;
        padding-top: 18%;
    }
}

@media (max-width: 768px) {

    figure.wp-block-gallery.has-nested-images.columns-default.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex {
        width: 87% !important;
    }

    .wp-block-gallery.has-nested-images {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        gap: 10px !important;
    }

    .wp-block-gallery.has-nested-images figure.wp-block-image {
        width: 100% !important;
        overflow: hidden;
    }

    .wp-block-gallery.has-nested-images figure.wp-block-image img {
        width: 100%;
        height: auto;
        border-radius: 0px !important;
    }

    .wp-block-image img {
        padding-top: 0% !important;
    }
}

/* Zoom effect on hover */
.wp-block-gallery.has-nested-images figure.wp-block-image img {
    transition: transform 0.3s ease-in-out;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img:hover {
    transform: scale(1.05);
}


.st0 {
    font-family: 'FootlightMTLight';
}

.st1 {
    font-size: 83.0285px;
}

.st2 {
    fill: gray;
}

#container-error svg {
    width: 500px;
    height: 400px;
    text-align: center;
    margin: auto;
    fill: #40c6d6;
}

path#XMLID_5_ {

    fill: #40c6d6;
    filter: url(#blurFilter4);
}

path#XMLID_11_,
path#XMLID_2_ {
    fill: #40c6d6;
}

.circle {
    animation: out 2s infinite ease-out;
    fill: #40c6d6;
}

#container-error {
    text-align: center;
    margin-bottom: 10%;
}

.message_error {
    color: #40c6d6;
}

.message_error:after {
    content: "]";
}

.message_error:before {
    content: "[";
}

.message_error:after,
.message_error:before {

    color: #40c6d6;
    font-size: 20px;
    -webkit-animation-name: opacity;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: opacity;
    animation-name: opacity;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    margin: 0 50px;
}

@-webkit-keyframes opacity {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes opacity {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes out {
    0% {
        r: 1;
        opacity: 0.9;
    }

    25% {
        r: 5;
        opacity: 0.3;
    }

    50% {
        r: 10;
        opacity: 0.2;
    }

    75% {
        r: 15;
        opacity: 0.1;
    }

    100% {
        r: 20;
        opacity: 0;
    }
}