/* Prevent any horizontal bleed from carousels or skewed elements */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure every full-width section never creates horizontal scroll */
.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

/*** Spinner Start ***/
#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;
}

/*** Spinner End ***/

/* back-to-to */
.back-to-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 50px;
    right: 40px;
    width: 50px;
    height: 40px;
    margin: 0px;
    font-size: 18px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
    z-index: 999;
    transform: skew(18deg);
}

.back-to-top a i {
    transform: skew(-18deg);
}

.back-to-top a:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 40px;
    height: 40px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-xl-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
    transform: skew(18deg);
    transition: 0.5s;
}

.btn.btn-primary span,
.btn.btn-primary i {
    display: inline-block;
    transform: skew(-18deg);
}

.btn.btn-primary:hover {
    background: var(--bs-white);
    color: var(--bs-dark);

}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
    transform: skew(18deg);
    transition: 0.5s;
}

.btn.btn-light span,
.btn.btn-light i {
    display: inline-block;
    transform: skew(-18deg);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


.btn.btn-dark {
    color: var(--bs-primary);
    border: none;
    transform: skew(18deg);
    transition: 0.5s;
}

.btn.btn-dark span,
.btn.btn-dark i {
    display: inline-block;
    transform: skew(-18deg);
}

.btn.btn-dark:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

/*** Navbar Start ***/
.header-top {
    height: 100%;
    position: relative;
}

.header-top::after {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 16%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bs-dark);
    z-index: 1;
}

.topbar .login-btn {
    position: relative;
}

.topbar .login-btn::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    top: 0;
    right: -1px;
    background: var(--bs-primary);
    transform: skew(18deg);
}

@media (min-width: 992px) {
    .header-top::before {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 100%;
        height: 45px;
        top: 0;
        right: 0;
        background: var(--bs-dark);
        z-index: -1;
    }

    .navbar-brand-2 {
        display: none;
    }
}

@media (max-width: 991px) {
    .header-top {
        max-height: none;
        overflow: visible;
        background: var(--bs-dark);
    }

    .header-top::after,
    .navbar-brand-2::before,
    .nav-shaps-1,
    .nav-shaps-2 {
        display: none;
    }

    .navbar {
        justify-content: space-between;
        position: relative;
        min-height: 80px;
        margin-bottom: 0;
        background: var(--bs-dark);
    }

    .header-top .container {
        width: 100%;
        max-height: none;
        overflow: visible;
        align-items: stretch !important;
    }

    .navbar-brand {
        display: none;
    }

    .navbar-brand-2 {
        position: relative;
        overflow: visible;
        width: auto;
        height: 100%;
        padding: 0 12px;
        display: flex;
        align-items: center;
        z-index: 99;
        max-width: calc(100% - 74px);
    }

    .navbar-brand-2 h1 {
        font-size: 1.05rem !important;
        line-height: 1;
    }

    .navbar-brand-2 img {
        height: 28px !important;
    }

    .navbar.navbar-light {
        height: auto;
        min-height: 64px;
        padding: 0;
        width: 98%;
    }

    .navbar .navbar-collapse {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        width: 100%;
        margin-top: 0;
        padding: 0 6px;
        z-index: 120;
    }

}

.navbar-brand {
    position: relative;
    overflow: hidden;
    padding: 40px 50px 40px 0;
}

.navbar-brand::before {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 300px;
    height: 600px;
    top: -200px;
    right: 18px;
    background: var(--bs-dark);
    transform: rotate(-18deg);
    z-index: -1;
}

.header-top .navbar-brand {
    position: relative;
    z-index: 99;
}

.nav-bar .navbar {
    z-index: 9;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 20px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

@media (max-width: 991px) {
    .navbar {
        padding: 4px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        width: 100%;
        margin-right: 0;
        padding: 12px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 0;
        padding: 10px 12px 14px;
        margin-left: 0;
        background: rgba(8, 13, 25, 0.95);
        border: 1px solid rgba(200, 0, 54, 0.35);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-link {
        color: var(--bs-white) !important;
    }

    .navbar .navbar-nav .nav-item.active .nav-link,
    .navbar .navbar-nav .nav-item .nav-link:hover {
        color: var(--bs-primary) !important;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        flex-direction: column;
    }

    .navbar .navbar-nav .nav-btn a.btn {
        width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        width: 40px;
        height: 40px;
        padding: 0;
        border: none;
        background: var(--bs-primary);
        color: var(--bs-dark);
        transform: skew(18deg);
    }

    .navbar.navbar-expand-lg .navbar-toggler span {
        transform: skew(-18deg);
    }

    .nav-bar {
        height: 58px !important;
    }

    .nav-bar .navbar,
    .navbar.navbar-light {
        min-height: 58px !important;
        height: 58px !important;
    }

    .navbar-brand-2 {
        max-width: calc(100% - 52px);
        padding: 0 6px;
    }

    .navbar-brand-2 img {
        height: 26px !important;
    }

    .navbar-brand-2 h1 {
        font-size: 0.95rem !important;
        letter-spacing: 0.5px;
    }

    .navbar-brand-2 h1 i {
        display: none !important;
    }

    .navbar .navbar-collapse {
        top: 100%;
        padding: 4px 6px 0;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-btn {
        display: inline-flex;
        margin-left: auto;
        background: transparent;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 19px;
        background: var(--bs-white);
        transition: .5s;
        opacity: 1;
    }

    .navbar-nav {
        background: transparent !important;
    }

    .nav-shaps-1 {
        position: absolute;
        overflow: hidden;
        min-width: calc(100% - 81%);
        height: 100%;
        top: 0;
        right: 0;
        transform: skew(18deg);
        background: var(--bs-dark);
        z-index: -1;
    }

    .nav-shaps-2 {
        position: absolute;
        overflow: hidden;
        width: 12%;
        height: 100%;
        top: 0;
        right: 0;
        background: var(--bs-dark);
        z-index: -1;
    }
}

/*** Navbar End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(12, 24, 68, 0.7), rgba(12, 24, 68, 0.7)), url(../storage/home/iStock.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

/*** Single Page Hero Header End ***/


/*** Carousel Hero Header Start ***/
.hero-section {
    background-image: url(../storage/home/fit1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-half-1 {
    background-image: url(../storage/home/fit2.jpg);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: grayscale(15%);
    transform: scale(100% - 50%);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 58%;
    height: 100%;
    right: 0;
    top: 0;
}

.hero-bg-half-2 {
    background-image: url(../storage/home/about.jpeg);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: grayscale(15%);
    transform: scale(100% - 50%);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 58%;
    height: 100%;
    right: 0;
    top: 0;
}

@media (max-width: 991px) {
    .header-carousel {
        margin-top: 0;
        width: 100%;
        overflow: hidden;
    }

    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 0;
    }

    .hero-bg-half-1 {
        /* Full-width cover on mobile — no diagonal clip */
        clip-path: none;
        filter: grayscale(0%);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: absolute;
        width: 100%;
        height: 100%;
        right: 0;
        top: 0;
    }

    .hero-bg-half-2 {
        /* Full-width cover on mobile — no diagonal clip */
        clip-path: none;
        filter: grayscale(0%);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: absolute;
        width: 100%;
        height: 100%;
        right: 0;
        top: 0;
    }
}

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    transform: skew(18deg);
    background: var(--bs-white);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 51%;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 51%;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
    z-index: 9;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel.owl-carousel,
    .header-carousel .header-carousel-item {
        height: 700px;
    }
}

/*** Carousel Hero Header End ***/


/*** About Start ***/
.about {
    position: relative;
    overflow: hidden;
    background: var(--bs-dark);
}

@media (min-width: 992px) {
    .about::before {
        content: "";
        position: absolute;
        width: 70%;
        height: 100%;
        top: 0;
        right: -400px;
        background: var(--bs-primary);
        transform: skew(28deg);
    }

    .about .about-content {
        margin-bottom: 60px;
    }
}

@media (max-width: 991px) {
    .about::after {
        content: "";
        position: absolute;
        width: 70%;
        height: 100%;
        top: 0;
        left: -400px;
        background: var(--bs-primary);
        transform: skew(28deg);
    }

    .about .about-content {
        margin-bottom: 0px !important;
    }
}

.about .about-content {
    position: relative;
    z-index: 9;
}

.about .about-img {
    position: relative;
    z-index: 10;
}

.about .tab-class .nav .nav-item a {
    position: relative;
    transform: skew(18deg);
    text-align: center;
    background: var(--bs-white);
    color: var(--bs-dark);
}

.about .tab-class .nav .nav-item a span {
    transform: skew(-18deg);
}

.about .tab-class .nav .nav-item a.active {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/*** About End ***/

/*** Fitness Goal Start ***/
.goal {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(255, 245, 225, 0.9), rgba(12, 24, 68, 0.9)), url(../storage/home/iStock.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.goal::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 100%;
    top: 0;
    right: 0;
    margin-right: -200px;
    transform: skew(18deg);
    background: rgba(200, 0, 54, .1);
}

.goal .goal-item {
    transform: skew(10deg);
    box-shadow: 0 0 45px rgba(12, 24, 68, 0.4);
    margin: 0 15px 15px 15px;
}

@media (min-width: 992px) {
    .goal .goal-content {
        padding-bottom: 80px;
    }
}

@media (max-width: 991px) {
    .goal .goal-content {
        padding-bottom: 0;
    }
}

/*** Fitness Goal End ***/

/*** Features Start ***/
.feature {
    overflow: hidden;
}

.feature-carousel.owl-carousel {
    z-index: 9;
    padding: 0 60px;
    transform: skew(10deg);
}

.feature .feature-shaps {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    margin-top: -200px;
    transform: skewX(-10deg);
    border: 3px solid var(--bs-primary);
    z-index: 2;
}

@media (max-width: 576px) {
    .feature .feature-shaps {
        width: 90%;
        margin-left: 5%;
    }
}

.feature .feature-item {
    position: relative;
}

.feature .feature-item .feature-img {
    position: relative;
    overflow: hidden;
}

.feature .feature-item .feature-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(255, 245, 225, .5);
    transition: 0.5s;
}

.feature .feature-item:hover .feature-img::after {
    height: 100%;
    transform: scaleX(-1.1);
}

.feature .feature-item .feature-img img {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-img img {
    transform: scaleX(-1.1);
}

.feature .feature-item .feature-content {
    position: relative;
    background: var(--bs-white);
    z-index: 1;
}

.feature .feature-item .feature-content h4 {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-content h4 {
    color: var(--bs-primary);
}

.feature .feature-item .feature-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: -1;
}

.feature .feature-item:hover .feature-content::after {
    height: 100%;
}

.feature-carousel .owl-nav .owl-prev,
.feature-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: -122px;
    transform: skew(18deg);
    background: var(--bs-dark);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.feature-carousel .owl-nav .owl-prev i,
.feature-carousel .owl-nav .owl-next i {
    transform: skew(-18deg);
}

.feature-carousel .owl-nav .owl-prev {
    left: 0;
}

.feature-carousel .owl-nav .owl-next {
    right: 150px;
}

.feature-carousel .owl-nav .owl-prev:hover,
.feature-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/*** Features End ***/

/*** Courses Start ***/
/* Image sizing fixes */
.card-img-top {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

/*** Courses Start ***/
.courses {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(12, 24, 68, 0.94), rgba(8, 13, 25, 0.94));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.courses .courses-item {
    position: relative;
    overflow: hidden;
}

.courses .courses-item p {
    color: var(--bs-white);
    transition: 0.5s;
}

.courses .courses-item:hover p {
    color: var(--bs-body);
}

.courses-item .courses-item-inner {
    position: relative;
    transform: skew(4deg);
    margin: 0 15px;
    background: rgba(255, 245, 225, .5);
    transition: 0.5s;
}

.courses-item:hover .courses-item-inner {
    background: none;
}

.courses-item .courses-item-inner:hover {
    transform: skew(-4deg);
}

.courses-item .courses-item-inner .data-info .courses-trainer {
    color: var(--bs-white);
    transition: 0.5s;
}

.courses-item:hover .courses-item-inner .data-info .courses-trainer {
    color: var(--bs-body);
}

.courses-item .courses-item-inner .data-info .courses-date {
    font-size: 13px;
}

.courses-item .courses-item-inner .courses-icon-img {
    width: 80px;
    height: 80px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.courses-item .courses-item-inner .courses-icon-img img {
    filter: grayscale(100%);
    transition: 0.5s;
}

.courses-item:hover .courses-item-inner .courses-icon-img img {
    filter: grayscale(0%);
}

.courses-item-inner:hover a {
    color: var(--bs-white);
    transition: 0.5s;
}

.courses-item-inner:hover a:hover {
    color: var(--bs-primary);
}

.courses-item-inner::after {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 4px;
    bottom: 0;
    left: 0;
    background: rgba(12, 24, 68, 0.9);
    transition: 0.5s;
    z-index: -1;
}

.courses-item-inner:hover:after {
    height: 100%;
}

.exercise-carousel {
    position: relative;
    padding: 20px 0 70px;
    overflow: hidden;
}

.exercise-carousel .owl-stage-outer {
    overflow: visible;
}

.exercise-slide {
    padding: 28px 0;
    perspective: 1200px;
}

.exercise-card {
    position: relative;
    height: 540px;
    cursor: pointer;
    outline: none;
    transform: scale(0.84);
    opacity: 0.45;
    transition: transform 0.55s ease, opacity 0.55s ease;
}

.exercise-carousel .owl-item.center .exercise-card {
    transform: scale(1);
    opacity: 1;
}

.exercise-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.75s ease;
}

.exercise-card:hover .exercise-card-inner,
.exercise-card:focus-visible .exercise-card-inner,
.exercise-card.is-flipped .exercise-card-inner {
    transform: rotateY(180deg);
}

.exercise-card-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    backface-visibility: hidden;
    border: 1px solid rgba(200, 0, 54, 0.35);
    border-radius: 18px;
    background: #080d19;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.exercise-carousel .owl-item.center .exercise-card-face {
    border-top-color: var(--bs-primary);
    box-shadow: 0 26px 70px rgba(200, 0, 54, 0.24);
}

.exercise-card-face::before,
.exercise-card-face::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 2px;
    background: var(--bs-primary);
    z-index: 3;
}

.exercise-card-face::before {
    top: 30px;
    left: 28px;
}

.exercise-card-face::after {
    right: 28px;
    bottom: 30px;
}

.exercise-card-back {
    transform: rotateY(180deg);
    background: radial-gradient(circle at top left, rgba(200, 0, 54, 0.24), transparent 42%), #080d19;
}

.exercise-card-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.exercise-card-img-empty {
    background: linear-gradient(135deg, rgba(200, 0, 54, 0.32), rgba(12, 24, 68, 0.96));
}

.exercise-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(35%);
    transform: scale(1.06);
    transition: transform 0.55s ease, filter 0.55s ease;
}

.exercise-carousel .owl-item.center .exercise-card-img img {
    filter: grayscale(0%);
    transform: scale(1);
}

.exercise-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 13, 25, 0.08) 0%, rgba(8, 13, 25, 0.38) 45%, rgba(8, 13, 25, 0.96) 100%);
}

.exercise-card-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px 30px;
}

.exercise-card-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--bs-primary);
    font-size: 1.45rem;
}

.exercise-card-count {
    display: block;
    margin-bottom: 12px;
    color: var(--bs-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.exercise-card h3 {
    margin-bottom: 0;
    color: var(--bs-white);
    font-family: 'Teko', sans-serif;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.exercise-card-back-content {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    flex-direction: column;
    padding: 64px 34px 38px;
}

.exercise-card-back h3 {
    margin-bottom: 22px;
    font-size: 2.2rem;
}

.exercise-card-scroll {
    min-height: 0;
    overflow-y: auto;
    padding-right: 10px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.exercise-card-scroll::-webkit-scrollbar {
    width: 5px;
}

.exercise-card-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--bs-primary);
}

.exercise-card-scroll p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.75;
}

.exercise-carousel .owl-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 14px;
}

.exercise-carousel .owl-nav .owl-prev,
.exercise-carousel .owl-nav .owl-next {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--bs-white) !important;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.exercise-carousel .owl-nav .owl-prev:hover,
.exercise-carousel .owl-nav .owl-next:hover {
    border-color: var(--bs-primary) !important;
    background: var(--bs-primary) !important;
}

.exercise-carousel .owl-dots {
    position: absolute;
    left: 0;
    bottom: 18px;
    display: flex;
    gap: 10px;
}

.exercise-carousel .owl-dot {
    width: 28px;
    height: 4px;
    background: rgba(255, 255, 255, 0.22) !important;
    transition: width 0.35s ease, background 0.35s ease;
}

.exercise-carousel .owl-dot.active {
    width: 54px;
    background: var(--bs-primary) !important;
}

@media (max-width: 991px) {
    .exercise-carousel .owl-stage-outer {
        overflow: hidden;
    }

    .exercise-card {
        height: 500px;
    }

    .exercise-card h3 {
        font-size: 1.85rem;
    }
}

@media (max-width: 575px) {
    .exercise-carousel {
        padding: 12px 12px 110px;
    }

    .exercise-slide {
        padding: 12px 0;
    }

    .exercise-card {
        width: min(100%, 320px);
        height: 470px;
        margin: 0 auto;
    }

    .exercise-card {
        transform: scale(1);
        opacity: 1;
    }

    .exercise-card.is-flipped {
        z-index: 25;
    }

    .exercise-card.is-flipped .exercise-card-face {
        box-shadow: 0 24px 60px rgba(200, 0, 54, 0.22);
    }

    .exercise-card-content {
        padding: 32px 24px;
    }

    .exercise-card-back-content {
        padding: 54px 22px 28px;
    }

    .exercise-card-scroll {
        padding-right: 6px;
        touch-action: pan-y;
    }

    .exercise-card-scroll p {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    /* Arrows sit above the dots — no overlap */
    .exercise-carousel .owl-nav {
        left: 50%;
        bottom: 58px;
        right: auto;
        transform: translateX(-50%);
        gap: 10px;
    }

    .exercise-carousel .owl-nav .owl-prev,
    .exercise-carousel .owl-nav .owl-next {
        width: 46px;
        height: 46px;
    }

    /* Dots sit at the very bottom, centred */
    .exercise-carousel .owl-dots {
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        justify-content: center;
        width: auto;
    }
}

/*** Courses End ***/

/*** Video Showcase Start ***/
.video-showcase {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 12% 18%, rgba(200, 0, 54, 0.16), transparent 28%), #202428;
}

.video-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 13, 25, 0.45), transparent 50%, rgba(8, 13, 25, 0.35));
    pointer-events: none;
}

.video-showcase .container {
    position: relative;
    z-index: 1;
}

.video-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 36px;
    align-items: stretch;
}

.video-panel,
.video-copy {
    border: 1px solid rgba(200, 0, 54, 0.45);
    border-radius: 16px;
    background: rgba(8, 13, 25, 0.72);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.video-panel {
    position: relative;
    overflow: hidden;
    padding: 12px;
}

.video-panel-featured {
    min-height: 620px;
}

.video-panel-small {
    min-height: 300px;
}

.video-frame {
    position: relative;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
    border-radius: 10px;
    background: #050914;
}

.video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 9, 20, 0.92) 100%);
    pointer-events: none;
}

.video-panel-caption {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 30px;
    z-index: 2;
}

.video-panel-caption span {
    display: block;
    margin-bottom: 8px;
    color: var(--bs-primary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.video-panel-caption h3,
.video-copy h3 {
    margin: 0;
    color: var(--bs-white);
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-panel-caption h3 {
    font-size: 2.2rem;
}

.video-side {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 28px;
}

.video-copy {
    padding: 42px 38px;
}

.video-copy h3 {
    margin-bottom: 18px;
    font-size: 2.5rem;
    line-height: 1;
}

.video-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.75;
}

@media (max-width: 991px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
    }

    .video-panel-featured {
        min-height: 460px;
    }

    .video-panel-small {
        min-height: 360px;
    }
}

@media (max-width: 575px) {

    .video-panel-featured,
    .video-panel-small {
        min-height: 300px;
    }

    .video-copy {
        padding: 30px 24px;
    }

    .video-copy h3 {
        font-size: 2rem;
    }

    .video-panel-caption {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }
}

/*** Video Showcase End ***/

/*** Blog Start ***/
.blog {
    overflow: hidden;
}

.blog .blog-item {
    position: relative;
    border: 1px solid var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: skew(100deg);
    background: rgba(200, 0, 54, 1);
    border: none;
    transition: 0.5s;
    z-index: -1;
}

.blog .blog-item .blog-img::before {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: skew(-100deg);
    background: rgba(12, 24, 68, 1);
    border: none;
    transition: 0.5s;
    z-index: -1;
}

.blog-content .blog-comment {
    transform: skew(8deg);
    background: rgba(12, 24, 68, 1);
}

.blog-content .blog-comment div.small,
.blog-content .blog-comment span {
    transform: skew(-4deg);
}

.blog-carousel .owl-stage-outer {
    margin-right: -1px;
}

.blog-carousel .owl-dots {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    margin: 30px 10px 0 10px;
    background: var(--bs-dark);
    transform: skew(18deg);
    transition: 0.5s;
}

.blog-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 50px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    margin-right: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-white);
    height: 30px;
    margin-top: 10px;
}

.blog-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-primary);
    transition: 0.5s;
}

/*** Blog End ***/

/*** Explore Fitness Start ***/
.explore {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(12, 24, 68, 0.7), rgba(12, 24, 68, 0.7)), url(../storage/home/contact.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Explore Fitness End ***/

/*** Team Start ***/
.team {
    overflow: hidden;
}

.team .team-item {
    position: relative;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    transform: matrix(1, -0.1, 0, 1, 0, 0);
    transition: 0.5s;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    transition: 0.5s;
    z-index: 1;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 245, 225, .5);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.team .team-item .team-img .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-img .team-icon a {
    margin: 0 7px;
}

.team .team-item .team-content {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 25px;
    border: 1px solid var(--bs-primary);
    border-top: none;
    transform: matrix(1, -0.1, 0, 1, 0, 0);
    transition: 0.5s;
}

.team .team-item .team-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover .team-content,
.team .team-item:hover .team-img {
    transform: matrix(1, 0.1, 0, 1, 0, 0);
    border: none;
}

.team .team-item:hover .team-content::after {
    height: 100%;
    background: var(--bs-dark);
}

.team .team-item .team-content h4 {
    transition: 0.5s;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white);
}

/*** Team End ***/

/*** Testimonial Start ***/
.testimonial {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(200, 0, 54, 0.14), transparent 30%), linear-gradient(rgba(8, 13, 25, 0.94), rgba(12, 24, 68, 0.96)), url(../storage/home/contact.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 13, 25, 0.72), transparent 45%, rgba(8, 13, 25, 0.72));
    pointer-events: none;
}

.testimonial .container {
    position: relative;
    z-index: 1;
}

.testimonial-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 12px;
}

.testimonial-card {
    position: relative;
    width: min(920px, 100%);
    overflow: hidden;
    border: 1px solid rgba(200, 0, 54, 0.42);
    border-radius: 18px;
    padding: 44px 48px;
    background: rgba(8, 13, 25, 0.78);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.testimonial-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: rgba(200, 0, 54, 0.22);
    filter: blur(3px);
}

.testimonial-quote {
    position: absolute;
    right: 42px;
    top: 34px;
    color: rgba(200, 0, 54, 0.28);
    font-size: 5rem;
    line-height: 1;
}

.testimonial-person {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 22px;
    align-items: center;
    margin-bottom: 30px;
}

.testimonial-img {
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    overflow: hidden;
    border: 2px solid var(--bs-primary);
    border-radius: 50%;
    padding: 5px;
    background: rgba(255, 255, 255, 0.08);
}

.testimonial-img img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-person h4 {
    margin: 0 0 2px;
    color: var(--bs-white);
    font-family: 'Teko', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.testimonial-person p {
    margin: 0 0 8px;
    color: var(--bs-primary);
    font-weight: 700;
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    color: var(--bs-primary);
    font-size: 0.95rem;
}

.testimonial-message {
    position: relative;
    z-index: 1;
    max-height: 150px;
    overflow-y: auto;
    margin: 0;
    padding-right: 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-message::-webkit-scrollbar {
    width: 5px;
}

.testimonial-message::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    width: 54px;
    height: 54px;
    top: 50%;
    transform: skew(18deg);
    background: rgba(255, 255, 255, 0.06);
    color: var(--bs-white);
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev i,
.testimonial-carousel .owl-nav .owl-next i {
    transform: skew(-18deg);
}

.testimonial-carousel .owl-nav .owl-prev {
    left: 10px;
}

.testimonial-carousel .owl-nav .owl-next {
    right: 10px;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    border-color: var(--bs-primary) !important;
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 767px) {
    .testimonial-card {
        padding: 34px 24px;
    }

    .testimonial-person {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-stars {
        justify-content: center;
    }

    .testimonial-carousel .owl-nav {
        display: none;
    }
}

/*** Testimonial End ***/

/*** Conatct Start ***/
.contact {
    overflow: hidden;
}

.contact .form-section form .form-section-col {
    transform: skewX(18deg);
    margin: 0 12px;
}

.contact .contact-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    border: 2px solid var(--bs-dark);
    background: linear-gradient(rgba(255, 245, 225, 0.2), rgba(12, 24, 68, 0.1), rgba(200, 0, 54, 0.3));
}

.contact .contact-banner::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    bottom: 0;
    right: 0;
    background-image: url(../storage/home/contact.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.contact form button {
    border: none;
    transition: 0.5s;
}

.contact form button:hover {
    background: var(--bs-white);
    color: var(--bs-primary);
}

/*** Contact End ***/

/*** Footer Start ***/
.footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(5, 11, 26, 0.88), rgba(5, 11, 26, 0.94)), url('/storage/home/1642571973.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 11, 26, 0.96), rgba(5, 11, 26, 0.72), rgba(5, 11, 26, 0.96));
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer button {
    border: none;
    transition: 0.5s;
}

.footer button:hover {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item .footer-item-img {
    transform: matrix(1, -0.09, 0, 1, 0, 0);
    transition: 0.5s;
}

.footer .footer-item .footer-item-img:hover {
    transform: matrix(1, 0.09, 0, 1, 0, 0);
}

.footer .footer-item .footer-item-img img {
    filter: grayscale(50%);
    transition: 0.5s;
}

.footer .footer-item .footer-item-img:hover img {
    filter: grayscale(0%);
}

.footer .footer-item a {
    line-height: 35px;
    font-size: 16px;
    font-weight: 500;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover {
    color: var(--bs-primary);
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}

/*** copyright end ***/

/*** Team Start ***/
.team {
    overflow: hidden;
}

.team .team-item {
    position: relative;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden !important;
    transform: matrix(1, -0.1, 0, 1, 0, 0);
    transition: 0.5s;
}

.team .team-item .team-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center;
    transform: matrix(1, 0.1, 0, 1, 0, 0) scale(1.2);
    /* Counter-skew normal state to keep photo straight */
    transition: 0.5s;
    display: block;
}

.team .team-item:hover .team-img img {
    transform: matrix(1, -0.1, 0, 1, 0, 0) scale(1.3);
    /* Counter-skew hover state */
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    transition: 0.5s;
    z-index: 1;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 245, 225, .5);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) matrix(1, 0.1, 0, 1, 0, 0);
    /* Counter-skew icon row */
    display: flex;
    z-index: 2;
    transition: 0.5s;
}

.team .team-item:hover .team-img .team-icon {
    transform: translateX(-50%) matrix(1, -0.1, 0, 1, 0, 0);
    /* Counter-skew icon row hover */
}

.team .team-item .team-img .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-img .team-icon a {
    margin: 0 7px;
}

.team .team-item .team-content {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 25px;
    border: 1px solid var(--bs-primary);
    border-top: none;
    transform: matrix(1, -0.1, 0, 1, 0, 0);
    transition: 0.5s;
}

.team .team-item .team-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover .team-content,
.team .team-item:hover .team-img {
    transform: matrix(1, 0.1, 0, 1, 0, 0);
    border: none;
}

.team .team-item:hover .team-content::after {
    height: 100%;
    background: var(--bs-dark);
}

.team .team-item .team-content h4 {
    transition: 0.5s;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white);
}

/*** Team End ***/

/* Customize CDN Bootstrap buttons to match Fitness Crimson Red Theme */
.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #111827 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #A0002B !important;
    border-color: #A0002B !important;
    color: #FFFFFF !important;
}

.btn-light {
    background-color: #FFF5E1 !important;
    border-color: #FFF5E1 !important;
    color: #111827 !important;
}

.btn-light:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #FFFFFF !important;
}