﻿/*Styles by Umair*/
.locationart h2.h1 {
    margin-bottom: 22px;
}

.locationart p {
    margin-bottom: 0;
}

.locationart .location-button {
    margin-top: 30px;
}

.hero-home-banner {
    position: relative;
    padding: 0;
}

    .hero-home-banner .owl-carousel, .hero-home-banner .owl-carousel .owl-stage-outer, .hero-home-banner .owl-carousel .owl-stage-outer .owl-stage, .hero-home-banner .owl-carousel .owl-stage-outer .owl-item, .hero-home-banner .owl-carousel .owl-stage-outer .owl-item .item, .hero-home-banner .owl-carousel .owl-stage-outer .owl-item .item .single-slide, .hero-home-banner .owl-carousel .owl-stage-outer .owl-item .item .single-slide .container {
        height: 100%;
    }

    .hero-home-banner .bg-img {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        filter: brightness(80%);
    }

html[dir=rtl] .hero-home-banner .bg-img {
    transform: scaleX(-1);
}

.hero-home-banner .container {
    position: relative;
}

.hero-home-banner .slide-content-wrapper {
    padding-right: 100px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 470px;
    max-width: 100%;
    height: 100%;
}

html[dir=rtl] .hero-home-banner .slide-content-wrapper {
    padding-left: 100px;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 470px;
    max-width: 100%;
    height: 100%;
}

.hero-home-banner .slide-content-wrapper h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
    color: #ffffff;
    margin-bottom: 25px;
}

.hero-home-banner .slide-content-wrapper p {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #ffffff;
}

.hero-home-banner .owl-dots button {
    margin: 0 5px;
}

    .hero-home-banner .owl-dots button:first-child {
        /*margin-left: 0;
	*/
    }

    .hero-home-banner .owl-dots button span {
        width: 10px;
        height: 10px;
        background: #ffffff;
        display: block;
        border-radius: 5px 0 5px 5px;
        border: 1px solid #ffffff;
    }

    .hero-home-banner .owl-dots button.active span {
        background: transparent;
    }

section.communityclass .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

    section.communityclass .owl-nav button {
        margin: 0 24px;
        box-shadow: 0px 4px 5px 0px #00000030;
        border-radius: 0 28px 28px 0;
    }

        section.communityclass .owl-nav button.owl-prev {
            border-radius: 28px 0 0 28px;
        }

html[dir=rtl] section.communityclass .owl-nav button {
    border-radius: 28px 0 0 28px;
}

    html[dir=rtl] section.communityclass .owl-nav button.owl-prev {
        border-radius: 0 28px 28px 0;
    }

@media (max-width: 767px) {
    section.communityclass {
        position: relative;
    }

        section.communityclass:before {
            content: "";
            position: absolute;
            top: 210px;
            left: 0;
            bottom: 0;
            right: 0;
            background-image: url(../imgs/patterns/community_art.svg);
            background-position: 100% -40%;
            background-size: 145px auto;
            background-repeat: no-repeat;
            overflow: visible;
        }
}

@media (max-width: 992px) {
    .hero-home-banner .bg-img {
        display: none !important;
    }

    .hero-home-banner .slide-content-wrapper h2 {
        color: #575858;
        font-size: 38px;
        font-weight: 400;
    }

    .hero-home-banner .slide-content-wrapper p {
        color: #575858;
        font-size: 16px;
        font-weight: 400;
    }

    .hero-home-banner .owl-dots {
        position: absolute;
        margin-top: -10%;
        top: 150px;
        left: 30px;
    }
    /*.communityclass .owl-carousel {
		padding-right: 10px;
	}
	*/
    .communityclass .owl-carousel .owl-stage-outer {
        padding: 15px;
    }

        .communityclass .owl-carousel .owl-stage-outer .owl-stage {
            padding-left: 0 !important;
        }
}

@media (min-width: 992px) {
    .hero-home-banner {
        position: relative;
        height: 620px;
        padding: 0;
    }

    .home-life.communityclass .owl-stage-outer {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (min-width: 1200px) {
    .hero-home-banner .owl-dots {
        position: relative;
        max-width: 1170px;
        width: 100%;
        margin: auto;
        margin-top: -10% !important;
        z-index: 222;
    }
}

.custom-test-scroll-odd {
    max-height: 15.5rem;
    /* Adjust height as needed */
    overflow-y: auto;
    /* Enable vertical scrolling */
}

.custom-test-scroll-even {
    max-height: 15.5rem;
    /* Adjust height as needed */
    overflow-y: auto;
    /* Enable vertical scrolling */
}

.custom-test-odd {
    width: 100%;
    background: linear-gradient(90deg, #9DD1C8 0%, #80B6BF 60%, #69A1B8 100%);
    border-radius: 0% 2rem 2rem 2rem;
    color: white;
    box-shadow: 0px 0px 10px -5px #000;
    height: 20rem;
    box-sizing: border-box;
}

.custom-test-even {
    width: 100%;
    border-radius: 0% 2rem 2rem 2rem;
    box-shadow: 0px 0px 10px -5px #000;
    height: 20rem;
    background: white;
    box-sizing: border-box;
}

.custom-test-scroll-odd::-webkit-scrollbar {
    width: 6px;
    /* Scrollbar width */
}
/* Handle (the draggable part of the scrollbar) */
.custom-test-scroll-odd::-webkit-scrollbar-thumb {
    background: white;
    /* Color of the scrollbar handle */
    border-radius: 10px;
    /* Rounded edges for the handle */
    transition: background-color 0.3s ease;
    /* Smooth transition */
}
/* Scrollbar track when not being used */
.custom-test-scroll-odd::-webkit-scrollbar-track {
    background: transparent;
    /* Background of scrollbar track */
}
/* Optional: Styling for when the scrollbar is active or hovered */
.custom-test-scroll-odd::-webkit-scrollbar:active {
    background: transparent;
    /* Lighter background when active */
}

.custom-test-scroll-even::-webkit-scrollbar {
    width: 6px;
    /* Scrollbar width */
}
/* Handle (the draggable part of the scrollbar) */
.custom-test-scroll-even::-webkit-scrollbar-thumb {
    background: #68a2b9;
    /* Color of the scrollbar handle */
    border-radius: 10px;
    /* Rounded edges for the handle */
    transition: background-color 0.3s ease;
    /* Smooth transition */
}
/* Scrollbar track when not being used */
.custom-test-scroll-even::-webkit-scrollbar-track {
    background: transparent;
    /* Background of scrollbar track */
}
/* Optional: Styling for when the scrollbar is active or hovered */
.custom-test-scroll-even::-webkit-scrollbar:active {
    background: transparent;
    /* Lighter background when active */
}

@media (max-width: 1399px) {
    .locationcss {
        padding-left: 5rem;
        padding-right: 0;
    }
}
/* Below 1200px: Increase further */
@media (max-width: 1250px) {
    .locationcss {
        padding-left: 10rem;
        padding-right: 0;
    }
}

@media (max-width: 1024px) {
    .locationcss {
        padding-left: 7rem;
        padding-right: 0;
    }
}

@media (max-width: 900px) {
    .locationcss {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1399px) {
    html[dir=rtl] .locationcss {
        padding-right: 5rem;
        padding-left: 0;
    }
}
/* Below 1200px: Increase further */
@media (max-width: 1250px) {
    html[dir=rtl] .locationcss {
        padding-right: 10rem;
        padding-left: 0;
    }
}

@media (max-width: 1024px) {
    html[dir=rtl] .locationcss {
        padding-right: 7rem;
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    html[dir=rtl] .locationcss {
        padding-right: 0;
        padding-left: 0;
    }
}

.slidingImg {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.textoverimg {
    padding: 2rem;
}

@media (max-width: 768px) {
    .textoverimg {
        padding: 1rem;
    }

    .banner-heading {
        font-size: 1.8rem;
    }

    .banner-paragraph {
        font-size: 1rem;
        line-height: 1.6;
    }

    .btn-xl {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .owl-carousel .owl-dots {
        display: none !important;
    }
}

.doctify-overlap-section {
    position: relative;
    z-index: 10;
    margin-top: -10%;
    display: flex;
    justify-content: center;
}

.doctify-box {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 12px;
    width: 70%;
    overflow: visible;
    /* Allow iframe to resize */
}

    .doctify-box iframe {
        width: 100%;
        border: none;
        display: block;
    }

@media (max-width: 768px) {
    .doctify-overlap-section {
        margin-top: 0;
        margin-bottom: 0;
        padding: 20px 0;
    }

    .doctify-box {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

        .doctify-box iframe {
            height: 262px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            border-radius: 5px;
        }
}
