/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
.container.py-5.bg-secondary.pro-gap {
        padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/cta-banner.jpeg) top center no-repeat;
    background-size: cover;
}
.member-sec
{
        padding-bottom: 50px;
    
}
.prime-member-section
{
    padding-top: 50px;
}

.position-relative {
    position: relative !important;
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}
.img-cercle
{
    border-radius: 20px;
}
/* .display-1
{
    font-size: 50px;
} */
img.pickleball-logo {
    width: 25%;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    /* background: rgba(0, 0, 0, .7); */
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 300px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/inner-banner.jpeg) top center no-repeat;
    background-size: cover;
}

.amenities-page-header {
    padding-top: 150px;
    padding-bottom: 200px !important;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/amenities-banner.jpeg) top center no-repeat;
    background-size: initial;
}

.programs-page-header {
    padding-top: 200px;
    padding-bottom: 200px !important;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/programs-banner.jpg) top center no-repeat;
    background-size: initial;
}
.events-page-header {
    padding-top: 200px;
    padding-bottom: 200px !important;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/Events-Banner.jpg) top center no-repeat;
    background-size: initial;
}
.member-page-header {
    padding-top: 200px;
    padding-bottom: 200px !important;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/membership-banner.jpeg) top center no-repeat;
    background-size: initial;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 0rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

/* .title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
} */

/* .title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
} */

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 0px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
	background-image: url(../img/footer-bg.png);
	background-position: 0px 0px;
    background-repeat: repeat-x;
	animation: footerAnimatedBg 50s linear infinite;
}




/* ================================
   NAVBAR FIX – DESKTOP & MOBILE
================================ */



/* Desktop: prevent wrapping */
@media (min-width: 992px) {
    .navbar {
        flex-wrap: nowrap;
    }

    .navbar-nav {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .navbar-nav .nav-link {
        padding: 0 14px;
        font-size: 15px;
    }

    .navbar .btn {
        white-space: nowrap;
        padding: 8px 22px;
    }
}

/* Mobile fixes */
@media (max-width: 991px) {
    .pickleball-logo {
        height: 48px
       
    }

    img.pickleball-logo {
    width: 100%;
}

    .navbar-toggler {
        border: none;
    }

    .navbar-collapse {
        background: #000;
        text-align: center;
    }

    .navbar-nav {
        padding: 20px 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 16px;
    }
}


/* =========================================
   DESKTOP SLIDER – FINAL ALIGNMENT FIX
========================================= */

@media (min-width: 992px) {

.service-tab-1
{
    text-align: left;
}
.service-tab-2
{
    text-align: right;
}
.service-tab-3
{
    text-align: left;
}
.service-tab-4
{
    text-align: right;
}


    /* SLIDER HEIGHT */
    #header-carousel .carousel-item {
        height: 650px !important;
    }

    #header-carousel .carousel-item img {
        height: 700px !important;
        width: 100%;
        object-fit: cover !important;
        object-position: center center !important;
    }

    /* COMMON CAPTION RESET */
    .carousel-caption {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start;
        width: 100% !important;
        padding: 0 !important;
    }

    /* COMMON TEXT STYLE */
    .carousel-caption h1,
    .carousel-caption p {
        max-width: 650px !important;
        margin-bottom: 0px !important;
    }

    /* BUTTON FIX */
    .carousel-caption .btn {
        margin-top: 10px !important;
    }

    /* ========== SLIDE 1 : ALL LEFT ========== */
    #header-carousel .carousel-item:nth-child(1) .carousel-caption {
        align-items: flex-start !important;
        text-align: left !important;
        /* padding-left: 20px !important; */
    }

    #header-carousel .carousel-item:nth-child(1) h1,
    #header-carousel .carousel-item:nth-child(1) p,
    #header-carousel .carousel-item:nth-child(1) .btn {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    /* ========== SLIDE 2 : ALL RIGHT ========== */
    #header-carousel .carousel-item:nth-child(2) .carousel-caption {
        align-items: flex-end !important;
        text-align: right !important;
        /* padding-right: 20px !important; */
    }

    /* REMOVE CENTER PUSH */
    #header-carousel .carousel-item:nth-child(2) .title {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        text-align: right !important;
    }

    #header-carousel .carousel-item:nth-child(2) h1,
    #header-carousel .carousel-item:nth-child(2) p,
    #header-carousel .carousel-item:nth-child(2) .btn {
        text-align: right !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    /* HEADLINE SIZE */
    .carousel-caption h1 {
        font-size: 33px !important;
        line-height: 1.1 !important;
    }
}


/* =====================================
   DESKTOP SLIDER – HARD RESET ALIGNMENT
===================================== */

@media (min-width: 992px) {

.service-tab-1
{
    text-align: left;
}
.service-tab-2
{
    text-align: right;
}
.service-tab-3
{
    text-align: left;
}
.service-tab-4
{
    text-align: right;
}

    #header-carousel .carousel-item {
        height: 600px !important;
        
    }

    #header-carousel .carousel-item img {
        height: 900px !important;
        width: 100%;
        object-fit: cover !important;
        object-position: center center !important;
    }

    /* RESET CAPTION */
    .carousel-caption {
        position: absolute;
        inset: 0;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 20px;
       padding-top: 60px;
    }

    /* REMOVE ALL BOOTSTRAP PUSH */
    .carousel-caption * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* ---------- SLIDE 1 : LEFT ---------- */
    #header-carousel .carousel-item:nth-child(1) .carousel-caption {
        align-items: flex-start !important;
        text-align: left !important;
        padding-left: 150px !important;
        padding-top: 120px !important;

    }

    #header-carousel .carousel-item:nth-child(1) h1,
    #header-carousel .carousel-item:nth-child(1) p,
    #header-carousel .carousel-item:nth-child(1) .btn {
        text-align: left !important;
        margin-right: auto !important;
    }

    /* ---------- SLIDE 2 : RIGHT ---------- */
    #header-carousel .carousel-item:nth-child(2) .carousel-caption {
        align-items: flex-end !important;
        text-align: right !important;
        padding-right: 150px !important;
                padding-top: 120px !important;

    }

    #header-carousel .carousel-item:nth-child(2) h1,
    #header-carousel .carousel-item:nth-child(2) p,
    #header-carousel .carousel-item:nth-child(2) .btn {
        text-align: right !important;
        margin-left: auto !important;
    }

    /* TEXT SIZE */
    .carousel-caption h1 {
        max-width: 650px;
        font-size: 33px !important;
        line-height: 1.1 !important;
    }

    .carousel-caption p {
        max-width: 600px;
        font-size: 16px;
    }
}


/* =====================================
   MOBILE SLIDER – PERFECT CENTER
===================================== */

@media (max-width: 768px) {

    #header-carousel .carousel-item {
        height: 550px !important;

    }

.events-page-header {
    padding-top: 200px;
    padding-bottom: 200px !important;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/Events-Banner.jpg) top center no-repeat;
    background-size: cover;
}    
.service-tab-1
{
    text-align: left;
}
.service-tab-2
{
    text-align: right;
}
.service-tab-3
{
    text-align: left;
}
.service-tab-4
{
    text-align: right;
}
    #header-carousel .carousel-item img {
        height: 500px !important;
        width: 100%;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .carousel-caption {
        position: absolute;
        inset: 0;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 20px !important;
        gap: 16px;
    }

    .carousel-caption h1 {
        font-size: 23px !important;
        line-height: 1.25 !important;
        max-width: 90%;
        margin: 0 auto 12px;
        text-align: center;
       
    }

    

    .carousel-caption p {
        font-size: 15px;
        max-width: 100%;
    }

    .carousel-caption .btn {
        margin-top: 10px;
    }
}
