@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* ========== 1. CSS Reset (Modern) ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== 2. Root Variables (Colors, Fonts) ========== */
:root {
    /* Primary Colors */
    --primary: #ED1A24;
    --primary-dark: #b71c1c;
    --primary-light: #ff6f60;

    /* Backgrounds */
    --bg-white: #fff;
    --bg-main: #F5F5F5;
    --bg-dark: #0a0a0a;

    /* Text */
    --text: #ffffff;
    --text-dark: #000;
    --text-light: #e0e0e0;
    --text-muted: #bdbdbd;

    /* Fonts */
    --body-font: "Montserrat", sans-serif;
}

/* ========== 3. Global Base Styles ========== */
html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: var(--body-font);
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar (optional) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 999px;
}

/* ========== 4. Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 0;
    color: var(--color-text-muted);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--bg-main);
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

/* .full-wrap {
    overflow: hidden;
} */

section {
    padding: 60px 0;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title {
    position: relative;
    z-index: 1;
}
.one li.nav-item {
    line-height: 68px;
}

/* .container,
.row {
    height: 100%;
} */

.primery-btn {
    background: var(--primary);
    padding: 12px 20px;
    display: inline-block;
    border-radius: 35px;
    font-weight: 600;
    transition: all 0.3s;
}

.primery-btn:hover {
    background: var(--bg-dark);
    color: var(--text);
}

.secondry-btn {
    background: #FBD2D3;
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 35px;
    font-weight: 600;
    transition: all 0.3s;
}

.secondry-btn:hover {
    background: var(--primary);
    color: var(--text);
}

.secondry-btn:hover img {
    filter: invert(1);
}

.section-title p {
    font-size: 16px;
    font-weight: 500;
}

.card-img {
    position: relative;
}

.bookmark-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary);
    background: var(--text);
    height: 30px;
    width: 30px;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-unlock-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    background: linear-gradient(135deg, #FFD700, #ff4900);
    height: 32px;
    width: 32px;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.video-card a {
    color: var(--bg-dark);
}

.range-wrapper {
    position: relative;
    width: 100%;
}

.range-wrapper input[type=range] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    height: 6px;
}

.range-wrapper input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    position: relative;
    z-index: 2;
}

.range-wrapper input[type=range]::-moz-range-thumb {
    pointer-events: all;
}

.range-values {
    margin-top: 30px;
    text-align: center;
}

.time-fet {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.time-fet span {
    min-width: 0;
}

.time-fet span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
    
/* Center Links */
.header-link {
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    color: var(--bg-dark);
}

.header-link:hover {
    color: var(--primary);
}

/* Bottom thin red line */
.header-bar {
    border-bottom: 2px solid var(--primary) !important;
    line-height: 60px;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.user-profile span {
    background: #000;
    padding: 6px;
    border-radius: 50%;
    margin: 2px;
    border: 1px solid #fff;
}

/* Login Red Box */
.login-box {
    background: var(--primary);
    color: var(--text);
    height: 100%;
    padding: 10px 30px;
    line-height: 32px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
}

.header-bar .container-fluid {
    padding-right: 0;
}

button.navbar-toggler {
    margin-right: 15px;
}



/* FULL WIDTH Mega Menu */
.programs-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    background: var(--text);
    border-top: 3px solid var(--primary);
    padding: 0;
    z-index: 999;
}

.dropdown-menu.profile {
    right: 0;
}

/* Left Black Section */
.programs-left {
    background: var(--bg-dark);
    text-align: right;
    height: 100%;
}

.programs-right {
    background: var(--bg-main);
}

/* Right Cards */
.programs-right img {
    width: 100%;
    border-radius: 6px;
}

.programs-left .prog-text {
    font-size: 18px;
    margin-bottom: 15px;
}

.dropdown.full {
    position: inherit;
}

.header-program-btn {
    text-align: end;
    line-height: 15px;
}

.programs-menu.workout {
    background: var(--bg-dark);
}

ul.drowdown-menu li a {
    color: var(--text);
    line-height: 20px;
}

ul.drowdown-menu li a:hover {
    color: var(--text);
}

button.btn.px-4.rounded-pill.fw-semibold {
    background: var(--bg-dark);
    color: var(--text);
}

.dropdown-menu {
    min-width: 240px;
    background: var(--bg-dark);
}

.card-box {
    border-right: 2px solid #C8C8C8;
}

.card-box.last {
    border-right: none;
}

.view-all {
    color: #d10000;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
}

.view-all:hover {
    color: #ff2020;
}


/* Banner */
section.banner {
    background: url(../img/banner/banner.png);
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 0;
}

.banner-title h1 {
    font-size: 58px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text);
}

.banner-des p {
    color: var(--text);
    font-size: 16px;
}


/* Learn */

.section-title h2 {
    text-transform: uppercase;
    font-size: 38px;
    font-weight: 800;
}

.section-sub-title h4 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary);
}

.full-card .card-text .time-fet span {
    background: #FFEFF0;
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 5px;
    border-radius: 20px;
    display: inline-block;
}

.card-title {
    margin-top: 15px;
    min-height: 60px;
}

.card-title h4 {
    font-size: 24px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: inherit;
}


.card-des {
    min-height: 40px;
}

.time-fet {
    margin-top: 10px;
}

.full-card {
    box-shadow: 0px 2px 18.1px 0px #8B8B8B26;
    border-radius: 16px;
    margin: 0px 0 15px;
}

.full-card .card-img img {
    width: 100%;
    border-radius: 16px 16px 0 0;
}

.card-text {
    padding: 10px;
}

/* feature */

section.feature {
    background: url(../img/feature/feature-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.feature .owl-item {
    transition: transform 0.4s ease-in-out;
    transform: scale(0.85);
}

.feature .item {
    margin: 20px 0;
}

.feature .owl-item.center {
    transform: scale(1.15) !important;
    opacity: 1;
    z-index: 10;
}

.feature-img img {
    width: 100%;
    transition: 0.4s ease;
    border-radius: 10px;
}

.feature .owl-nav.disabled {
    display: block !important;
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    background: #ddd !important;
    color: #333 !important;
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    font-size: 18px !important;
    border: none;
    transition: 0.3s ease;
    position: relative;
}

.feature .owl-nav button.active-nav {
    background: var(--primary) !important;
    color: var(--text) !important;
}

.feature .owl-nav button:hover {
    background: var(--primary) !important;
    color: var(--text) !important;
}

.feature .owl-nav {
    text-align: center;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-radius: 50%;
}

.feature .section-title h2 {
    color: var(--text);
}

.feature .section-title p {
    color: var(--text);
}

/* fitness plane */

.fitness-plan {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.fitness-plan .section-title h2 {
    color: var(--text);
}

.fitness-plan .section-title p {
    color: var(--text);
}

.layer1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.layer2 {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
}


.breadcrumbs img {
    width: 100%;
}


/* Wrapper */
.plans-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20%;
    margin-top: 100px;
    position: relative;
    z-index: 1;
}

/* Card Base */
.plan-card {
    background: var(--text);
    width: 28%;
    padding: 35px 30px;
    border-radius: 18px;
    transition: 0.3s;
    text-align: left;
}

.plan-card h3 {
    font-size: 22px;
    font-weight: 800;
}

.plan-card h4 {
    margin-top: 10px;
    font-size: 18px;
    opacity: 0.9;
}

.plan-card p {
    margin-top: 8px;
    color: #555;
    font-size: 15px;
}

.plan-card ul {
    margin-top: 20px;
}

.plan-card ul li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Button */
.plan-btn {
    display: block;
    margin-top: 15px;
    background: #ffdcdc;
    color: #ff3c3c;
    padding: 10px 18px;
    text-align: center;
    font-weight: 700;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.plan-btn:hover {
    background: #ff3c3c;
    color: #fff;
}

/* CENTER CARD SPECIAL */
.center-card {
    background: #831B19;
    color: #fff;
    z-index: 10;
    position: relative;
    margin-top: -60px;
    position: absolute;
    box-shadow: 0px 4px 10px 0px #FF00002E;
}

.center-card p,
.center-card ul li {
    color: #ffeaea;
}

/* Badge */
.center-card .badge {
    position: absolute;
    right: 20px;
    top: -10px;
    padding: 6px 12px;
    font-size: 12px;
    background: #fff;
    color: #b50c0c;
    border-radius: 20px;
    font-weight: 700;
}

.center-btn {
    background: #fff;
    color: #b50c0c;
}

.center-btn:hover {
    background: #000;
    color: #fff;
}

.plan-card.left-card {
    padding: 40px 65px 40px 30px;
    box-shadow: 0px 4px 27px 0px #E1E0E0C9;
}

.plan-card.right-card {
    padding: 40px 30px 40px 65px;
    box-shadow: 0px 4px 27px 0px #E1E0E0C9;
}

img.layer3 {
    position: absolute;
    width: 80%;
    left: 5%;
    z-index: 0;
    bottom: 0;
}

.center-card h3 {
    color: var(--text);
}

.center-card h4 {
    color: var(--text);
}

/* Workout */

.third-btn {
    background: var(--primary);
    padding: 12px 25px;
    display: inline-block;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.third-btn:hover {
    background: var(--bg-dark);
    color: var(--text);
}

.workouts {
    background: url(../img/workout/workout-bg.png);
    height: 70vh;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Program */

.program {
    background: url(../img/program/program-bg.png);
    height: 60vh;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 100px;
    padding: 0;
}

.program2 {
    background: url(../img/program/program-bg2.png);
    height: 65vh;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 0;
}

.program3-img {
    position: relative;
    height: 65vh;
}

.program3-img img {
    position: absolute;
    bottom: 0;
    width: 70%;
    right: 0;
}

.program3 {
    height: 65vh;
    background: url(../img/program/program-bg3.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    margin: 50px 0;
    padding: 0;
}

.program-img {
    position: relative;
    height: 60vh;
    width: 100%;
}

.program-img img {
    right: 50px;
    position: absolute;
    width: 67%;
    z-index: 99;
    bottom: 0;
}

.program .section-title h2 {
    color: var(--text);
}

.program .section-title p {
    color: var(--text);
}

.program2 .section-title h2 {
    color: var(--text);
}

.program2 .section-title p {
    color: var(--text);
}

.program-img2 {
    position: relative;
    width: 100%;
    height: 65vh;
}

.program-img2 img {
    position: absolute;
    width: 92%;
    left: -30px;
    bottom: 0;
}

.program3 .section-title h2 {
    color: var(--text);
}

.program3 .section-title p {
    color: var(--text);
}

/* Hasfit App */

.hasfit-app {
    margin-top: 100px;
}

.app-wrap {
    background: url(../img/hasfit-app/hasfit-app-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 0 30px;
    border-radius: 25px;
}

.app-img {
    position: relative;
    height: 60vh;
}

.app-img img {
    position: absolute;
    width: 100%;
    right: -5%;
    bottom: 0;
}

.app-wrap .section-title h2 {
    color: #fff;
}

.app-wrap .section-title p {
    color: #fff;
    font-size: 18px;
}

.third-btn.light {
    background: #FBD2D3;
    color: var(--primary);
}

.full-btn {
    display: flex;
    gap: 5px;
    align-items: center;
}

span.top-text {
    display: block;
    font-size: 10px;
}

.btn-icon i {
    font-size: 24px;
}

footer {
    background: var(--bg-dark);
    padding: 60px 0 0 0;
}

footer .section-title h2 {
    color: var(--text);
    text-transform: capitalize;
}

.footer-info h4 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.footer-menu h4 {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-menu .menu-list li {
    margin-bottom: 15px;
}

.footer-menu .social-list li {
    margin-bottom: 15px;
}

.footer-logo a img {
    width: 120px;
}

.copyright-menu .list {
    display: flex;
    gap: 20px;
    justify-content: end;
}

.copyright-text p {
    color: var(--text);
}

.copyright-text p a {
    color: var(--primary);
}

.border-right {
    border-right: 2px solid #fff;
    padding-right: 10px;
}

.copyright {
    padding: 10px 0;
    border-top: 1px solid #fff;
    margin-top: 10px;
}


.detail-top-icon {
    display: flex;
    gap: 10px;
    justify-content: end;
    align-items: center;
}

.detail-top-icon .bookmark i {
    color: var(--primary);
    font-size: 20px;
}

.detail-top-icon .share i {
    color: var(--bg-dark);
    font-size: 20px;
}

.detail-top-icon a {
    color: var(--bg-dark);
    text-align: center;
    font-size: 14px;
}

.detail-img img {
    width: 100%;
    position: relative;
}

.detail-features {
    background: #F6F8FA;
    padding: 15px;
    border-radius: 10px;
}

.feature-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.feature-text p {
    font-size: 14px;
    font-weight: 600;
}

div#myTabContent {
    padding: 20px 0;
}

.des-feature-list {
    margin-top: 20px;

}

.des-feature-list .twos {
    display: flex;
    gap: 50px;

}

.detail-des {
    margin-top: 30px;
}

button.nav-link {
    color: #767676 !important;
    font-weight: 600;
    border: none !important;
    outline: none !important;
}

.nav-link.active {
    color: #000 !important;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid #000 !important;
}


/* Comment Box */
.comment-box {
    display: flex;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffdddd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #d00;
    font-weight: 600;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comment-content {
    width: 100%;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}

.name {
    font-weight: 600;
    font-size: 15px;
}

.date {
    font-size: 12px;
    color: #666;
}

.text {
    font-size: 14px;
    margin-bottom: 5px;
}

.reply {
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
    border-bottom: 1px solid var(--primary);
    display: inline;
}

/* Add comment area */
.add-comment {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-comment input {
    width: 90%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    font-size: 14px;
}

.send-btn {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.send-btn img {
    width: 22px;
    filter: brightness(0) invert(1);
}

.sidebar-box {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 6px;
    border-radius: 10px;
}

.sidebar-img {
    width: 40%;
}

.siderbar-text {
    width: 60%;
}

.sidebar-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.siderbar-text h3 {
    font-size: 15px;
    color: #545356;
}

.siderbar-text ul li {
    font-size: 12px;
    color: #9E9E9E;
}

.detail-sidebar {
    background: #F8F8F8;
    padding: 30px 12px;
}

.sidebar-title h3 {
    text-transform: uppercase;
    font-weight: 600;
}

.breadcrumbs-banner {
    background: url(../img/bg/find-workout.png);
    background-size: cover;
    min-height: 41vh;
    display: flex;
    align-items: center;
}

.breadcrumbs-menu ul {
    display: flex;
    gap: 3px;
}

.breadcrumbs-menu ul li .active {
    color: red;
}

.breadcrumbs-menu ul li {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.breadcrumbs-text p {
    color: #fff;
    font-weight: 500;
}

.breadcrumbs-menu {
    margin-top: 15px;
}


/* sidebar filter */

.sidebar-filter-box {
    padding: 20px 10px;
    background: #F8F8F8;
}

/* Tabs */
.filter-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.filter-tab {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    cursor: pointer;
    font-weight: 600;
    color: #777;
}

.filter-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: #F0F0F0;
}

.sidebar-filter-box h6 {
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #606060;
}

.sidebar-filter-box .form-control {
    border-radius: 20px;
    height: 42px;
}

.sidebar-filter-box label {
    font-size: 14px;
    color: #747272;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 0;
}

/* SEARCH PANEL */
.search-input {
    height: 45px;
    border-radius: 40px;
    padding-left: 15px;
}

.search-item {
    background: #f1f1f1;
    padding: 10px 14px;
    margin-bottom: 12px;
    align-items: center;
    cursor: pointer;
}

.search-item i {
    color: var(--text);
    margin-right: 6px;
    font-style: normal;
    font-size: 20px;
    height: 32px;
    width: 32px;
    display: inline-block;
    background: var(--primary);
    text-align: center;
    border-radius: 50%;
}

.workouts-content h4 {
    font-size: 18px;
}

/* Mobile filter button */
.mobile-filter-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #d7263d;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

/* Sidebar drawer */
.sidebar-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 90%;
    height: 100vh;
    background: #fff;
    z-index: 3000;
    overflow-y: auto;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
}

/* When drawer is active */
.sidebar-drawer.active {
    left: 0;
}

/* Close Button */
.close-drawer-btn {
    font-size: 20px;
    cursor: pointer;
    padding: 10px 6px;
    text-align: right;
    position: absolute;
    right: 8px;
    top: -5px;
}

.breadcrumbs-text h1 {
    text-transform: uppercase;
    font-size: 28px;
    color: #fff;
    font-weight: 700;
}

/* Hide drawer on desktop */
@media (min-width: 992px) {
    .sidebar-drawer {
        position: static;
        width: 100%;
        height: auto;
        box-shadow: none;
        left: 0 !important;
    }

    .close-drawer-btn {
        display: none;
    }

}


/* model */

/* Modal Style */
.custom-modal {
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    border: none;
}

/* Close button */
.modal-content .close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
}

/* Title */
.modal-title-main {
    font-size: 28px;
    font-weight: 800;
    margin-top: 10px;
}

/* Subtitle */
.modal-subtitle {
    font-size: 14px;
    color: #777;
    margin-top: -5px;
}

/* Inputs */
.custom-input {
    height: 45px;
    border-radius: 10px;
    background: #f3f3f3;
    border: none;
    font-size: 14px;
}

/* Main Red Button */
.signup-btn {
    background: #e40813;
    color: white;
    font-weight: 700;
    height: 48px;
    border-radius: 10px;
    font-size: 16px;
    border: none;
}

/* Facebook Button */
.fb-btn {
    background: #1877f2;
    color: white;
    font-weight: 600;
    height: 48px;
    border-radius: 10px;
    font-size: 16px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-btn:hover {
    background: #1877f2;
    color: #fff;
}

/* Divider */
.divider {
    margin: 18px 0;
    position: relative;
    font-size: 14px;
    color: #999;
    text-align: center;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    width: 38%;
    background: #ddd;
    position: absolute;
    top: 50%;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

/* OTP input boxes */
.otp-group input {
    width: 45px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    outline: none;
}

.otp-group input:focus {
    border-color: #e40813;
    background: #fff;
}

/* Forgot password link */
.forgot-link {
    color: #d7263d !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

/* Input labels */
.form-label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

/* Bottom SignUp / Login Link */
.modal-bottom-link {
    font-size: 14px;
    margin-top: 10px;
}

.modal-bottom-link a {
    color: #d7263d;
    font-weight: 700;
    text-decoration: none;
}


/* Success Modal Box */
.custom-success-modal {
    border-radius: 20px;
    padding: 40px 20px;
}

/* Tick Icon box */
.success-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Text */
.success-text {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.modal-screen button:hover {
    background: #000;
    color: #fff;
}




/* app */

.app-image img {
    height: 100%;
    width: 65%;
    transform: rotate(45deg);
    z-index: 1;
    position: relative;
    top: -7%;
    left: -11%;
}

.app-image:before {
    position: absolute;
    content: "";
    min-height: 90%;
    min-width: 110%;
    background: #F7F7F7;
    top: 3%;
    left: -26%;
    border-radius: 50%;
    z-index: 0;
}

.app-image {
    position: relative;
}

.app-content p {
    font-size: 24px;
}

.app-workout-content ul li {
    list-style: disc;
    margin-left: 15px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #5B5B5B;
}

.workout-img img {
    width: 100%;
}

section.download-app {
    padding-bottom: 0;
}


/* Program */

.recommend-card {
    background: #F9F9F9;
    padding: 40px 15px;
}

.recommend-card h2 {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.recommend-card p {
    font-size: 16px;
    color: #777;
    font-weight: 600;
    margin-bottom: 25px;
}

.program-banner {
    background: url(../img/bg/program-bg.png);
    height: 51vh;
    background-size: cover;
}

.program-detail-banner::before {
    z-index: 1;
}

.program-detail-banner img,
.program-detail-banner .play-btn {
    z-index: 2;
}

.program-detail-banner video {
    z-index: 3;
    opacity: 1;
}
.user-profile {
    display: flex;
    justify-content: center;
}

.user_profile_icon{
    height: 35px; 
    width: 35px; 
    border-radius: 50%; 
    background-color: #6c757d; 
    color: white; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: bold;
}
/* .after-assessment {
    display: none;
} */

/* .smart-coach-programs {
    display: none;
} */

.recommend-img img {
    width: 25%;
}

.program-top-card img {
    width: 100%;
}

.card-des p {
    font-size: 16px;
    color: #5E5E5E;
    font-weight: 500;
}

.workouts-content .card-des p {
    font-size: 12px;
    color: #5E5E5E;
    font-weight: 500;
}


/* Program detail */

.card-text .time-fet span {
    background: #FFEFF0;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    padding: 7px 10px;
    border-radius: 20px;
    display: inline-block;
}

.card-text {
    padding: 0;
}

.program-title h2 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.program-title h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0;
}

.follow-program {
    padding-bottom: 25px;
    border-bottom: 1px solid #E5E5E5;
}

.card-list-title h6 {
    font-size: 16px;
    font-weight: 700;
}

.reset-program a {
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
}

.reset-program {
    text-align: end;
}

.program-card-list {
    padding: 30px 0;
}

.programs-img img {
    width: 100%;
}

p.program-day {
    font-size: 14px;
    font-weight: 600;
    color: #303030;
}

.programs-text h4 {
    font-size: 16px;
    font-weight: 600;
}

.programs-text .due {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.programs {
    padding: 15px;
    background: #FAFAFA;
    border: 1px solid #F5F5F5;
}

.programs.complete {
    background: #FFF4F4 !important;
    border: 1px solid #FFD4D6 !important;
}

span.complete-tab {
    background: #75CC0C2E;
    color: #045920;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    display: inline-block;
}

.watch-title h2 {
    font-size: 24px;
    font-weight: 700;
}

.watch-icon a {
    background: #EBF0F8;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 25px;
}

.program-banner .container {
    height: 100%;
}

.program-banner .row {
    height: 100%;
}

.full-card .card-text {
    padding: 10px;
}

.content-title h4 {
    font-size: 16px;
    font-weight: 700;
}

.content-title.top-des {
    border-bottom: 1px solid #333;
    margin: 15px 0;
}

.tab-details .des p {
    font-size: 16px;
    font-weight: 400;
    color: #535353;
}

.tab-details ul li {
    font-size: 16px;
    color: #535353;
    font-weight: 400;
}

.tab-details.watch ul li {
    font-size: 16px;
    color: #535353;
    font-weight: 400;
    list-style: disc;
    margin-left: 25px;
}

.tab-details.workout .twos {
    display: flex;
    gap: 40px;
}

.watch-detail .nav-link.active {
    color: var(--primary) !important;
    border-bottom: 3px solid var(--primary) !important;
}

/* fitness-journey */

.fitness-journey {
    background: url(../img/bg/fitness-journey-bg.png);
    background-size: cover;
}

.fitness-journey .section-title h2 {
    color: var(--text);
}

.fitness-journey .section-title p {
    color: var(--text);
}

.fitness-img img {
    border-radius: 20px;
}

.fitness-img.small {
    margin-top: 10px;
}

.fitness-img.small img {
    padding: 12px;
}

.fitness-journey .owl-nav {
    display: none;
}

.workouts .container {
    height: 100%;
}

.workouts .row {
    height: 100%;
}


/* Pricing */

/* MAIN BOX */
.pricing-box {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin: auto;
}

/* HEADER */
.pricing-header {
    margin-bottom: 20px;
}

.pricing-top-btn {
    display: flex;
    justify-content: space-evenly;
}

.pricing-header h4 {
    font-size: 28px;
    font-weight: 600;
}

.badge-free {
    background: orange;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-premium {
    background: red;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 600;
}

/* FEATURE ROW */
.feature-row {
    background: #f2f2f2;
    border-radius: 12px;
    padding: 13px 14px;
    margin-bottom: 12px;
}

.feature-row-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.statys-icon {
    display: flex;
    justify-content: space-evenly;
}

.feature-icon {
    width: 20%;
}

.feature-text {
    width: 80%;
}

.feature-icon i {
    width: 40px;
    height: 40px;
    background: #ff2c2c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature-name p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* STATUS COLUMN */
.feature-row .d-flex {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    column-gap: 18px;
}

.status {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.yes {
    background: #4CAF50;
    color: #fff;
}

.no {
    background: #9fa8c9;
    color: #fff;
}

.des p {
    font-size: 16px;
    font-weight: 400;
    color: #5B5B5B;
}


.app-workout-content .section-title p {
    font-size: 20px;
    font-weight: 500;
    color: #5B5B5B;
}

.subscribe-content ul li {
    font-size: 16px;
    color: #535353;
    font-weight: 400;
    list-style: disc;
    margin-left: 25px;
    list-style: auto;
    line-height: 33px;
}


/* Contact */

.section-title.contact h2 {
    text-transform: capitalize;
}

.input-fields input {
    width: 100%;
    border: 1px solid #00000033;
    border-radius: 5px;
    height: 42px;
    outline: none;
    padding: 5px 15px;
    font-size: 16px;
    color: #09090999;
    font-weight: 400;
}

.input-fields textarea {
    width: 100%;
    border: 1px solid #00000033;
    border-radius: 5px;
    outline: none;
    padding: 5px 15px;
    font-size: 16px;
    color: #09090999;
    font-weight: 400;
}

.contact-img {
    position: relative;
}

.contact-img img {
    position: absolute;
    top: -60px;
    height: 83vh;
    max-width: 100%;
    object-fit: cover;
}

section.contact-detail {
    overflow: hidden;
    height: 83vh;
}

.section-title.contact p {
    font-size: 16px;
    font-weight: 400;
    color: #3C3B3B;
}


/* Profile */

.account-sidebar {
    background: #f8f8f8;
    padding: 20px;
}
 
.account-setting .setting-title {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: #5A5A5A;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 12px;
}
 
.account-setting .profile-menu {
    margin-left: 5px;
    padding-left: 5px;
}
 
.profile-menu {
    display: none;
}
 
/* when open */
.account-setting.open .profile-menu {
    display: block;
}
 
/* rotate arrow */
.account-setting.open .down-arow i {
    transform: rotate(180deg);
    transition: 0.3s;
}
 
/* active link */
.profile-menu a.active {
    color: #d10000;
    font-weight: 600;
}
 
ul.list-unstyled.sidebar-menu li a {
    color: #7A7979;
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    width: 100%;
}
 
ul.list-unstyled.sidebar-menu li {
    margin-bottom: 10px;
}
 
ul.list-unstyled.sidebar-menu li a.active {
    background: #FFEFF0;
    color: var(--primary) !important;
}
 
 

/* Main Card Container */
.profile-card,
.delete-card,
.logout-detail {
    background-color: #F8F8F8;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Avatar Section */
.avatar-section {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.avatar-container {
    position: relative;
    width: 90px;
    height: 90px;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
}

.profile-card .edit-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #e5e7eb;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #f9fafb;
    cursor: pointer;
    color: #374151;
    font-size: 12px;
}

.profile-card .edit-badge:hover {
    background-color: #d1d5db;
}

/* Form Styling */
.profile-card .form-group {
    margin-bottom: 20px;
}

.profile-card .custom-label {
    font-weight: 600;
    color: #211C18;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

/* Custom Input Wrapper */
.profile-card .input-wrapper {
    background-color: #f3f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 48px;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}

.profile-card .input-wrapper:focus-within {
    border-color: #d1d5db;
}

.profile-card .input-icon {
    color: #324252;
    font-size: 14px;
    width: 20px;
    font-weight: 500;
    text-align: center;
}

.profile-card .custom-input {
    border: none;
    background: transparent;
    width: 100%;
    margin-left: 10px;
    outline: none;
    color: #324252;
    font-size: 14px;
}

.profile-card .custom-input::placeholder {
    color: #324252;
}

.profile-card .toggle-password {
    color: #324252;
    cursor: pointer;
    font-size: 14px;
}

.profile-card .toggle-password:hover {
    color: #374151;
}

/* Save Button */
.profile-card .btn-save {
    background-color: #fff1f2;
    color: var(--primary);
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
}

.profile-card .btn-save:hover {
    background-color: #ffe4e6;
}

.account-sidebar {
    background: #f8f8f8;
    padding: 20px;
    height: 100%;
}


.delete-btns {
    display: flex;
    justify-content: space-between;
}

.confirm-card {
    width: 70%;
    margin: auto;
    background: var(--text);
    padding: 30px 40px;
    text-align: center;
    border-radius: 10px;
}

.confirm-card .icon-container i {
    color: var(--primary);
    font-size: 60px;
}

.confirm-card .card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 22px 0;
}

.confirm-card .card-text {
    font-size: 18px;
    color: #868686;
    font-weight: 500;
}

.account-sticky {
    position: sticky;
    top: 40px;
    height: 100%;
}


/* plans */

.subscription-plans h2 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 27px;
}

/* --- Common Card Styles --- */
.plans-card {
    background-color: #fcfcfc;
    /* Very light gray */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 30px;
}

.plans-feature-icon {
    color: #4ade80;
    /* Green checkmark color */
    font-size: 1.1rem;
}

/* --- Current Plan Section --- */
.logo-box {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.crown-icon {
    color: #ff9f43;
    /* Orange crown */
    font-size: 1.2rem;
}

.current-plan-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.expiry-text {
    font-size: 16px;
    margin-top: 15px;
    font-weight: 600;
}

/* --- Upgrade Section --- */
.upgrade-card {
    height: 100%;
    position: relative;
    background-color: #fcfcfc;
    border-radius: 12px;
    padding: 30px 20px;
    transition: transform 0.2s;
}

/* The Annual Card Highlight */
.card-highlight {
    border: 1px solid #ff4d4f;
    /* Red border */
}

.card-standard {
    border: 1px solid #e5e7eb;
    /* Standard border */
}

/* Icons for Monthly/Annual */
.plan-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: inline-block;
    color: #ff4d4f;
    opacity: 0.8;
}

.current-plan-header h5 {
    font-size: 24px;
    font-weight: 600;
    color: #1E1E1E;
}

.current-plan-header .text-muted {
    font-size: 16px;
    color: #6F6C6C;
    font-weight: 500;
}

.subscription-plans .section-title {
    font-size: 16px;
    color: #363535;
    font-weight: 600;
    margin-bottom: 15px;
}

.plans-card .feature-item {
    font-size: 15px;
    color: #696969;
    font-weight: 600;
    margin-bottom: 15px;
}

.expiry-text span {
    color: var(--primary);
    font-weight: 500;
}

.trial-text {
    color: var(--primary);
    font-size: 18px;
    font-weight: 500;
}

/* Specific fix for "Monthly" capitalization in design */
.plan-name {
    font-size: 24px;
    font-weight: 600;
}


/* Buttons */
.btn-upgrade-gray {
    background-color: #f1f3f5;
    color: #495057;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
}

.btn-upgrade-gray:hover {
    background-color: #e9ecef;
}

.btn-upgrade-red {
    background-color: var(--primary);
    /* Bright red */
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(245, 34, 45, 0.3);
}

.btn-upgrade-red:hover {
    background-color: var(--primary);
}

/* Badge for Annual Plan */
.save-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #fff;
    color: #ff4d4f;
    border: 1px solid #ff4d4f;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Footer Text */
.plans-footer-list li {
    color: #6D6A6A;
    font-size: 16px;
    list-style: disc;
    margin-bottom: 5px;
}

.upgrade-card .price {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.upgrade-card .feature-list .feature-item {
    margin-bottom: 10px;
    font-size: 16px;
    color: #696969;
    font-weight: 500;
}

ul.plans-footer-list {
    padding-left: 15px;
    margin-top: 20px;
}

p.plans-footer-note {
    font-size: 16px;
    font-weight: 500;
    color: #615E5E;
    margin-top: 15px;
}

p.plans-footer-note a {
    color: var(--primary);
}

.watch-later-content h4 {
    font-size: 16px;
}


.breadcrumbs-banner .container {
    height: 100%;
}

.breadcrumbs-banner .row {
    height: 100%;
}

section.subscribe-app {
    overflow: hidden;
}

.section-content .des p {
    color: #5B5B5B;
    font-size: 18px;
    font-weight: 500;
}

.section-content .des p {
    color: #5B5B5B;
    font-size: 18px;
    font-weight: 500;
}

.section-content .des ul li a {
    font-size: 18px;
    color: #282727;
    text-decoration: underline;
    font-weight: 600;
}

.section-content .des ul li {
    list-style: disc;
    margin-left: 20px;
}

.section-content .des h2 {
    font-size: 32px;
    font-weight: 800;
}
.form-btn{
    border: none;
    color: white;
}
.detail-img.girl-exe {
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.breadcrumbs.program-detail-banner img {
    width: 60%;
    position: relative;
}

.breadcrumbs.program-detail-banner:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    background: #a1a1a1d4;
    z-index: -2;
    left: 0;
}

.breadcrumbs.program-detail-banner {
    text-align: center;
    background: #4a4a4a40;
}

/* red circular button */
.play-btn {
    width: 70px;
    height: 70px;
    background: #e50914;      /* YouTube red */
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* white triangle in middle */
.play-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent #ffffff;
}

/* hover effect */
.play-btn:hover {
    transform: scale(1.08);
}

#videoPlayer,
#youtubePlayer {
    display: none;
    width: 100%;
}

.workout-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    cursor: pointer;
}

.video-wrapper {
    position: relative;
    width: 100%;
}

.video-close-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    font-size: 20px;
    padding: 4px 10px;
    cursor: pointer;
}
    
.workout-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;

    width: 60px;
    height: 60px;
    background: #e40813;
    border-radius: 50%;
    cursor: pointer;
}

/* Optional play icon */
.workout-play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}


.pre-desc {
    white-space: pre-wrap;
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    font-size: 16px;
    line-height: 1.6;
    font-family: "Montserrat", Arial, sans-serif;
}

.detail-img.girl-exe:before {
    position: absolute;
    content: "";
    height: 77%;
    width: 123%;
    background: #F7F7F7;
    bottom: 0;
    right: -28%;
    border-radius: 50%;
}

.section-content .des p a {
    color: #5B5B5B;
}

.modal-dialog.plans-modal-dialog {
    max-width: 80%;
    margin: auto;
}

.plans-modal-dialog .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
}

/* Scope everything only inside .hasfit-pagination */
.hasfit-pagination .pagination {
    display: inline-flex;
    gap: 6px;
    padding-left: 0;
    list-style: none;
    flex-wrap: wrap;
}

.hasfit-pagination .pagination .page-link {
    padding: 9px 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-weight: 600;
    font-size: 14px;  /* fixed: NOT 1px */
    text-decoration: none;
    transition: all .25s ease-in-out;
    white-space: nowrap;
}

.hasfit-pagination .pagination .page-link:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.hasfit-pagination .pagination .active .page-link {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

.truncate-2-lines {
    display: -webkit-box;        /* Needed for WebKit-based browsers */
    -webkit-line-clamp: 2;       /* Number of lines to show */
    -webkit-box-orient: vertical; 
    overflow: hidden;            /* Hide the rest */
    text-overflow: ellipsis;     /* Show ... */
}
