* {
    box-sizing: border-box;
}

:root {
    --main-color: rgba(255, 74, 42, 1);
    --main-color-female: rgba(115, 210, 223, 1);
    --secondary-color: #fff;
    --font-color: rgba(26, 29, 26, 1);
    --main-height: 100vh;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
    --title-font: "Alexandria", sans-serif;
    --female-font: "Niconne", cursive;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: rgba(27, 29, 26, 1);
    position: relative;
    color: var(--secondary-color);
    overflow-x: hidden;
}

.rtl-section {
    direction: rtl;
    text-align: right;
}

/* Start Main Section Style  */

.main-section,
.female-main-section,
.job-summary-main-section,
.login-section {
    background-image: url("../imgs/3d-gym-equipment 1.png");
    background-size: cover;
    background-position: center;
    height: var(--main-height);
    position: relative;
    color: var(--secondary-color);
}

.main-section {
    height: 100vh;
}

.female-main-section {
    background-image: url("../imgs/Group.png");
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.navbar-custom {
    background: transparent;
    z-index: 99999999;
}

.nav-female {
    background-color: var(--main-color-female) !important;
}

.female-subscribe-btn.female-login-btn {
    background-color: #fff !important;
    color: var(--main-color-female) !important;
}

.female-subscribe-btn.female-login-btn:hover {
    color: var(--secondary-color) !important;
}

.navbar-light {
    background: transparent;
    background-color: var(--main-color);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 99999999;
}

.nav-link {
    position: relative;
    color: var(--secondary-color) !important;
    font-weight: 500;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    z-index: 10000000;
}

.nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-light .nav-link::before {
    content: "";
    background-color: var(--font-color);
    transition: width 0.3s ease;
}

.navbar-light .nav-link:hover {
    color: #545454 !important;
}

.navbar-light .nav-link {
    color: var(--secondary-color) !important;
}

.nav-link:hover::before {
    width: 100%;
}

.subscribe-btn,
.female-subscribe-btn {
    background: linear-gradient(178deg,
            rgba(255, 74, 42, 1),
            rgba(255, 74, 42, 1));
    color: var(--secondary-color);
    transition: background 0.4s ease, color 0.4s ease;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    z-index: 10000000;
    font-family: var(--title-font);
}

.subscribe-btn:hover {
    background: linear-gradient(178deg,
            rgba(255, 74, 42, 1),
            rgba(26, 29, 26, 1));
    color: var(--secondary-color);
}

.main-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.overlay-content {
    z-index: 2;
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    padding: 20px;
    color: var(--secondary-color);
}

.title .line1 {
    font-family: var(--title-font);
    font-size: 5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.title .line2 {
    font-family: var(--title-font);
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.description {
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: 400;
    color: #eee;
}

.btn-main {
    background: linear-gradient(135deg,
            rgba(255, 74, 42, 1),
            rgba(255, 74, 42, 1));
    color: var(--secondary-color);
    border: none;
    font-family: var(--title-font);
    font-size: 1.5rem;
}

.hero-section {
    position: relative;
}

@media (max-width: 1200px) {
    .title .line1 {
        font-size: 4rem;
    }

    .title .line2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .title .line1 {
        font-size: 3rem;
    }

    .title .line2 {
        font-size: 2rem;
    }

    .description {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .title .line1 {
        font-size: 2.5rem;
    }

    .title .line2 {
        font-size: 1.8rem;
    }

    .description {
        font-size: 1rem;
    }

    .overlay-content {
        text-align: center !important;
    }

    .buttons {
        justify-content: center !important;
    }

    .btn-main {
        font-size: 1rem;
    }

    .main-section .row>.col-md-6:last-child {
        display: none !important;
    }


    .main-section .row>.col-12.col-md-6:first-child {
        min-height: 90vh;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }


    .overlay-content {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
    }

    .overlay-content .title {
        font-size: 26px;
        line-height: 1.3;
    }

    .overlay-content .description {
        font-size: 15px;
        margin-top: 10px;
    }

    .overlay-content .buttons {
        justify-content: center !important;
    }
}

.btn-main:hover {
    background: linear-gradient(178deg,
            rgba(255, 74, 42, 1),
            rgba(26, 29, 26, 1));
}

.btn-gradient-outline {
    background: linear-gradient(135deg, #fff, #fff);
    color: var(--font-color);
    border: none;
    transition: background 0.4s ease, color 0.4s ease;
}

.btn-gradient-outline:hover {
    background: linear-gradient(135deg,
            rgba(255, 74, 42, 1),
            rgba(255, 74, 42, 1)) !important;
    color: var(--secondary-color) !important;
}

.navbar-brand {
    z-index: 10000000;
}

/* End Main Section Style  */

/* Start avengerz Section */
.avengerz {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    overflow: hidden !important;
}

.main-info-avengerz .avengerz-title {
    font-family: var(--title-font) !important;
    color: var(--main-color) !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
}

.main-info-avengerz h3 {
    font-family: var(--title-font) !important;
    font-size: 2.5rem !important;
    font-weight: 600 !important;
}

.main-info-avengerz p {
    font-family: var(--title-font) !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: rgba(254, 249, 245, 0.64) !important;
}

.num-box {
    font-family: var(--title-font);
    font-size: 1.3rem;
    background-color: rgba(255, 74, 42, 0.25);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-data {
    position: relative;
    z-index: 5;
}

.service-box h5 {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--title-font);
}

.service-box p {
    font-family: var(--title-font);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.64);
}

.service-box {
    animation: swingBox 5s ease-in-out infinite;
}

.phone-frame {
    width: 320px;
    height: 600px;
    border-radius: 40px;
    padding: 10px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.phone-wrapper {
    position: relative;
    display: inline-block;
}

.phone-shadow {
    position: absolute;
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 950px;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.phone-pagination {
    position: absolute !important;
    bottom: -55px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    z-index: 5 !important;
}

.phone-pagination .swiper-pagination-bullet {
    background: #d1d1d1 !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}


.phone-pagination .swiper-pagination-bullet-active {
    background: var(--main-color) !important;
    width: 30px !important;
    border-radius: 5px !important;
}

#mobile-layout {
    padding: 30px 0;
}


@keyframes swingBox {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 767.98px) {
    #desktop-layout {
        display: none !important;
    }

    #mobile-layout {
        display: flex !important;
    }

    .address-text {
        font-size: 13px !important;
    }

    .portfolio-details .custom-card-title {
        font-size: 2rem;
    }

    .services-details-card .title-main-section {
        font-size: 3rem;
    }

    .services .main-img {
        right: 0 !important;
    }

    .portfolio-details .custom-card-title {
        font-size: 2rem !important;
    }

    .phone-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .phone-pagination {
        position: absolute !important;
        bottom: -50px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
    }

    .phone-pagination .swiper-pagination-bullet {
        background: #d1d1d1 !important;
        opacity: 1 !important;
        width: 10px !important;
        height: 10px !important;
        border-radius: 50px !important;
        transition: all 0.3s ease !important;
    }

    .phone-pagination .swiper-pagination-bullet-active {
        background: var(--main-color) !important;
        width: 30px !important;
        border-radius: 5px !important;
    }


    .phone-shadow {
        bottom: -70px !important;
        width: 550px !important;
        opacity: 0.6 !important;
    }

    .service-box-mobile {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        padding: 25px 20px;
        min-height: 230px;
        color: #fff;
        text-align: start;
        font-family: var(--title-font);
    }

    .service-box-mobile h5 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: var(--main-color);
    }

    .service-box-mobile p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.7);
    }


    .service-pagination {
        text-align: center !important;
    }

    .service-pagination .swiper-pagination-bullet {
        background: #d1d1d1;
        opacity: 1;
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    .service-pagination .swiper-pagination-bullet-active {
        background: var(--main-color);
        width: 25px;
        border-radius: 5px;
    }

    .main-info-avengerz h3 {
        font-size: 2rem;
    }

    .main-info-avengerz p {
        font-size: 1rem;
        margin-top: 2rem !important;
    }
}

@media (min-width: 768px) {
    #mobile-layout {
        display: none !important;
    }

    #desktop-layout {
        display: flex !important;
    }


}

@media (max-width: 990px) and (min-width: 768px) {
    .phone-frame {
        height: 480px;
    }

    .service-box .img-fluid {
        max-width: 50px !important;
    }

    .service-box h5 {
        font-size: 1rem !important;
    }

    .service-box p {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 320px) {
    .phone-frame {
        width: 280px;
        height: 520px;
    }
}


[data-aos="fade-right"] {
    transform: translate3d(30px, 0, 0) !important;
}

[data-aos="fade-left"] {
    transform: translate3d(-30px, 0, 0) !important;
}

[data-aos="fade-up"] {
    transform: translate3d(0, 30px, 0) !important;
}

[data-aos="fade-down"] {
    transform: translate3d(0, -30px, 0) !important;
}

[data-aos].aos-animate {
    transform: none !important;
}

/* End avengerz Section */

/* Start About Section Style  */
.about {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: rgba(255, 74, 42, 0.05);
    overflow: hidden !important;
}

.about-title,
.service-title,
.discover-title,
.partners-title,
.journey-title,
.training-title,
.champion-title,
.jobs-title {
    font-family: var(--title-font);
    font-size: 3rem;
    color: var(--main-color);
    position: relative;
}

.about-title::after,
.service-title::after,
.discover-title::after,
.journey-title::after,
.training-title::after,
.champion-title::after,
.jobs-title::after {
    content: "";
    width: 5px;
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    background-color: var(--main-color);
    transition: height 0.5s ease;
}

.rtl-section .about-title::after,
.rtl-section .service-title::after,
.rtl-section .discover-title::after,
.rtl-section .journey-title::after,
.rtl-section .training-title::after,
.rtl-section .champion-title::after,
.rtl-section .jobs-title::after {
    left: auto;
    right: -10px;
}

.about-title:hover::after,
.service-title:hover::after,
.discover-title:hover::after,
.journey-title:hover::after,
.training-title:hover::after,
.champion-title:hover::after,
.jobs-title:hover::after {
    height: 0;
}

.about p,
.discover p {
    font-family: var(--title-font);
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 400;
}

.about-images {
    position: relative;
    display: inline-block;
}

.about-images img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.about-images .main-img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.about-images .top-img {
    position: absolute;
    top: 0;
    right: -15%;
    width: 45%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.about-images .bottom-img {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.about-images img:hover {
    transform: scale(1.03);
}

@media (max-width: 767px) {
    .about-images {
        max-width: 320px;
    }

    .about-images .top-img {
        right: -5%;
        width: 40%;
    }

    .about-images .bottom-img {
        left: -5%;
        width: 35%;
    }

    .about-title {
        text-align: center;
    }

    .about-title::after {
        height: 0 !important;
    }

    .about p {
        text-align: center;
        font-size: 1rem;
        font-weight: 400;
    }
}


/* End About Section Style  */

/* Start Food Plan Style */
.food-plan {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    overflow: hidden !important;
}

.food-plan .main-info-avengerz p {
    font-size: 1.2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    font-family: var(--title-font);
}

.feature-text {
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.64);
}

/* End Food Plan Style */

/* Start Clients Style */
.clients {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: rgba(255, 74, 42, 0.05);
}

.image-slanted {
    position: relative;
    width: 100%;
    max-width: 397px;
    max-height: 310px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
}

.image-slanted img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    transition: transform 0.4s ease;
}

.image-slanted:hover img {
    transform: scale(1.05);
}

.clients .lead {
    font-family: var(--title-font);
    font-size: 1.3rem;
    font-weight: 400;
}

.full-bleed-hr {
    border: none;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.25);
    margin: 40px 0;
    width: 100%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.client-name {
    font-family: var(--title-font);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--main-color);
}

/* === Custom Carousel Arrows === */
.custom-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--main-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    z-index: 5;
    transition: all 0.3s ease;
}

.custom-carousel-control:hover {
    background: var(--main-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

@media (max-width: 768px) {
    .custom-carousel-control {
        width: 36px;
        height: 36px;
        font-size: 14px;
        background: var(--main-color);
    }
}

@media (min-width: 992px) {
    .carousel-control-prev {
        left: -6%;
    }

    .carousel-control-next {
        right: -6%;
    }

    .main-section .title {
        line-height: 1.5;
    }

    .title .line1,
    .title .line2 {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
    }
}




/* End Clients Style */



/* Start Our Section Style  */
.our-services,
.discover,
.our-partners,
.training,
.jobs {
    padding-bottom: var(--main-padding-bottom);
}

.our-services .card {
    border: none;
    transition: all 0.5s ease;
}

.our-services .card:hover {
    background: linear-gradient(179deg,
            rgba(255, 74, 42, 1),
            rgba(255, 74, 42, 1) 80%);
    color: var(--secondary-color);
    transition: background 0.3s ease;
}

.our-services .card-title {
    font-family: var(--title-font);
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: bold;
}

.our-services .card-text {
    font-family: var(--title-font);
    font-size: 20px;
    color: var(--secondary-color);
}

.our-services .card:hover .card-title,
.our-services .card:hover .card-text {
    color: var(--secondary-color);
}

.our-services .card:hover .custom-img {
    background-color: var(--secondary-color);
}

.our-services .custom-card {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: rgba(236, 236, 236, 0.05);
    color: var(--secondary-color);
}

.our-services .custom-img {
    max-width: 100px;
    height: 100px;
    background-color: transparent;
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .our-services .custom-card {
        min-height: auto;
    }
}

/* End Our Service Section Style  */

/* Start Discover Section Style  */
.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* End Discover Section Style  */

/* Start Our Partners Section Style  */
.our-partners,
.our-packages,
.client-says {
    text-align: center;
}

.partners-title,
.packages-title,
.client-title {
    font-family: var(--title-font);
    font-size: 3rem;
    color: var(--main-color);
    text-align: center;
    display: inline-block;
    position: relative;
}

.partners-title::after,
.packages-title::after,
.client-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 5px;
    background-color: var(--main-color);
    transition: width 0.5s ease;
}

.partners-title:hover:after,
.packages-title:hover:after,
.client-title:hover:after {
    width: 0;
}

.our-partners p,
.our-packages p,
.client-says p {
    font-family: var(--title-font);
    font-size: 20px;
    color: var(--secondary-color);
}

.client-says .row.g-4>div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* End Our Partners Section Style  */

/* Start The Journey Section Style  */
.journey {
    padding-bottom: var(--main-padding-bottom);
}

.journey .custom-card {
    background: rgba(236, 236, 236, 0.05);
    border: 1px solid rgba(236, 236, 236, 0.2);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(151, 214, 223, 0.2);
    transition: all 0.3s ease;
    height: 300px;
}

.journey .card-number {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    padding: 0 10px;
    min-width: 45px;
}

.journey .custom-card:hover .card-number {
    background-color: var(--main-color);
    color: var(--secondary-color);
    text-align: center;
}

.journey .custom-card h5 {
    font-family: var(--title-font);
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: bold;
}

.journey .custom-card p {
    font-family: var(--title-font);
    color: var(--secondary-color);
    font-size: 16px;
}

/* End The Journey Section Style  */

/* Start Training Programs Section Style  */
.training {
    padding-top: var(--main-padding-top);
}

.training p,
.frequently p {
    font-family: var(--title-font);
    color: var(--secondary-color);
    font-size: 20px;
}

.training-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.training-image-wrapper {
    /* height: 675px; */
    overflow: hidden;
}

.training-img {
    /* height: 100%; */
    object-fit: cover;
}

.training-overlay h2 {
    font-size: 2rem;
    color: #000;
}

.training .custom-carousel-btn {
    color: var(--main-color);
    border-radius: 50%;
    z-index: 10;
    font-size: 1.2rem;
    padding: 0 15px;
    opacity: 1;
    transition: background-color 0.3s ease;
}

.training .custom-carousel-btn:hover {
    color: #951626;
}

.training .carousel-inner {
    background: rgba(255, 255, 255, 0.2);
}

/* .carousel-item {
  height: 50em;
} */

.training .carousel-item h2 {
    font-family: var(--title-font);
    font-weight: bold;
    font-size: 24px;
    color: var(--secondary-color);
}

.training .carousel-item p {
    font-family: var(--title-font);
    /* font-weight: bold; */
    font-size: 20px;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .training-image-wrapper {
        /* height: 400px; */
    }

    .training-overlay h2 {
        font-size: 1.4rem;
    }
}

/* End Training Programs Section Style  */
/* Start Our Packages Section Style  */
.our-packages {
    padding-bottom: var(--main-padding-bottom);
    padding-top: var(--main-padding-top);
}

.our-packages .toggle-btn {
    background-color: var(--secondary-color);
    color: var(--font-color);
    padding: 4px 24px;
    min-width: 120px;
    transition: all 0.3s ease;
    font-size: 20px;
}

.our-packages .toggle-btn.active {
    background-color: var(--main-color);
    color: var(--secondary-color);
}

.our-packages .custom-card {
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid transparent;
}

.our-packages .custom-card:hover {
    border: 1px solid var(--main-color);
}

.image-wrapper {
    position: relative;
}

.price {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background-color: var(--main-color);
    color: var(--secondary-color);
    font-family: var(--title-font);
    font-weight: bold;
    font-size: 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
    line-height: 1.2;
}

.price .old-price {
    text-decoration: line-through;
    text-decoration-color: #222;
    font-size: 14px;
    opacity: 0.8;
}

.price .new-price {
    font-size: 18px;
    color: #fff;
}

.our-packages .custom-card img {
    width: 100%;
    height: 256px;
    object-fit: cover;
}

.our-packages .custom-card-body {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    background-color: rgba(236, 236, 236, 0.05);
}

.our-packages .custom-card-list {
    max-height: 270px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) transparent;
}

.our-packages .custom-card-list::-webkit-scrollbar {
    width: 6px;
}

.our-packages .custom-card-list::-webkit-scrollbar-track {
    background: transparent;
}

.our-packages .custom-card-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.our-packages .custom-card-title {
    font-family: var(--title-font);
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.our-packages .custom-card-list {
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.our-packages .custom-card-list li {
    font-family: var(--title-font);
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 400;
    text-align: center !important;
}

.our-packages .btn-join {
    color: var(--secondary-color);
    font-family: var(--title-font);
    font-size: 1.5rem;
    background: linear-gradient(135deg,
            rgba(255, 74, 42, 1),
            rgba(255, 74, 42, 1));
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

.our-packages .btn-join:hover {
    background: linear-gradient(178deg,
            rgba(255, 74, 42, 1),
            rgba(26, 29, 26, 1));
}

.our-packages .swiper-slide {
    display: flex;
    justify-content: center;
    height: auto;
}

.our-packages .swiper-slide .custom-card {
    width: 100%;
    max-width: 360px;
    height: 100%;
}

.our-packages .swiper-button-next,
.our-packages .swiper-button-prev {
    color: var(--main-color);
    transition: opacity 0.3s ease;
}

.our-packages .swiper-button-next:hover,
.our-packages .swiper-button-prev:hover {
    opacity: 0.7;
}

/* End Our Packages Section Style  */

/* Start Market App Section */
.market-app {
    height: 330px;
}

.market-app-info {
    background-color: var(--main-color);
    height: 100%;
}

.market-app-info h3,
.market-app-info p {
    font-family: var(--title-font);
    font-weight: 600;
    font-size: 2.5rem;
}

.market-app-info p {
    font-weight: 400;
    font-size: 1.3rem;
}

@media (max-width: 992px) {
    .market-app {
        height: auto;
    }

    .market-app .row {
        flex-direction: column-reverse;
    }

    .market-app-info {
        text-align: center;
        padding: 40px 20px;
        height: auto;
    }

    .market-app-info h3 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .market-app-info p {
        font-size: 1.1rem;
        margin-top: 10px;
    }

    .market-app-info .d-flex {
        justify-content: center !important;
        margin-top: 30px;
    }

    .market-app img {
        object-fit: contain;
    }
}

@media (max-width: 576px) {
    .market-app-info {
        padding: 30px 15px;
    }

    .market-app-info h3 {
        font-size: 1.8rem;
    }

    .market-app-info p {
        font-size: 1rem;
    }

    .store-btn {
        width: 130px;
    }
}

/* End Market App Section */

/* Start Our Champions Section Style  */
.our-champion {
    background-image: url("../imgs/image\ 11.png");
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.champion-title {
    color: var(--secondary-color);
}

.our-champion .lead {
    font-family: var(--title-font);
    font-size: 1.5rem;
    color: var(--secondary-color);
}

@media (max-width: 991.98px) {
    .our-champion .lead {
        font-size: 1.25rem;
    }

    .navbar-collapse img {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .our-champion .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .our-champion .lead {
        font-size: 1rem;
    }
}

.our-champion h5 {
    font-family: var(--title-font);
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.our-champion .carousel-inner {
    min-height: 80vh;
}

.our-champion .carousel-indicators button {
    border-radius: 12px;
    width: 5%;
    height: 6px;
    background-color: var(--secondary-color);
    border: none;
    transition: background-color 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--main-color) !important;
}

.our-champion .modal .modal-title,
.our-champion .modal .second-title {
    color: var(--main-color);
}

.our-champion .modal .btn-modal-after,
.our-champion .modal .btn-modal-before {
    background-color: var(--main-color);
}

/* End Our Champions Section Style  */
/* Start Frequently Section Style  */
.frequently {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.accordion-button::after {
    background-image: none !important;
    mask-image: none !important;
    /* width: 28px;
  height: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  border-radius: 50%;
  margin-left: 1rem;
  flex-shrink: 0; */
}

/* .accordion-button.collapsed::after {
  content: "+";
}

.accordion-button:not(.collapsed)::after {
  content: "-";
} */

.accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-family: var(--title-font);
    font-weight: bold;
    color: var(--font-color);
    font-size: 1.4rem;
}

.accordion-button>.accordion-title {
    flex-grow: 1;
    text-align: left;
}

.accordion-icon {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 50%;
    position: absolute;
    right: 2%;
    transition: all 0.3s ease;
}

.accordion-button.collapsed .accordion-icon::before {
    content: "+";
}

.accordion-button:not(.collapsed) .accordion-icon::before {
    content: "-";
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
}

.accordion-body {
    font-family: var(--title-font);
    font-weight: 400;
    color: rgba(254, 249, 245, 0.64);
    font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: var(--font-color) !important;
}

.accordion-button:focus {
    box-shadow: none;
    color: var(--secondary-color) !important;
}

.accordion-button {
    color: rgba(254, 249, 245, 1) !important;
    background-color: transparent;
}

/* End Frequently Section Style  */

/* Start Client Section Style  */
.client-says {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background: linear-gradient(to bottom,
            rgba(255, 63, 26, 1),
            rgba(114, 24, 7, 1));
}

.client-title {
    color: var(--secondary-color);
}

.client-title::after {
    background-color: var(--secondary-color);
}

.client-says p {
    color: var(--secondary-color);
}

/* End Client Section Style  */

/* Start Jobs Section Style  */
.jobs {
    padding-top: var(--main-padding-top);
}

.jobs .our-services .custom-card {
    min-height: unset !important;
}

/* End Jobs Section Style  */
/* Start Footer Style  */
footer {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    background-color: rgba(0, 0, 0, 1);
}

footer .info {
    font-family: var(--title-font);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

footer .social h3,
.contact .social h3 {
    font-family: var(--title-font);
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: bold;
}

footer .social .icons a,
.contact .social .icons a {
    font-size: 1rem;
    color: var(--secondary-color);
    background-color: var(--main-color);
    padding: 5px 10px;
    border-radius: 50%;
}

footer .pages {
    text-align: center;
}

footer h5 {
    font-family: "Outfit", sans-serif;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.5);
}

footer .pages li {
    margin: 1.5rem;
}

footer .pages li a {
    text-decoration: none;
    font-family: "Outfit", sans-serif;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 300;
}

footer .contact-info {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

footer .contact-info i {
    color: var(--main-color);
}

/* End Footer Style  */

/* Start Price Page */

/* Start Price Main section */
.price-main-section .title-form,
.form-section .title-form,
.contact .title-form {
    font-family: var(--title-font);
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.contact .title-form {
    color: var(--main-color);
}

.price-main-section .form-label,
.form-section .form-label,
.contact .form-label,
.free-plan-section .form-label,
.form-login label,
.form-signup label,
.number {
    font-family: var(--title-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

.price-main-section .form-label::after,
.form-section .form-label::after,
.number::after {
    content: "*";
    position: absolute;
    color: red;
    font-size: 1.3rem;
}

.price-main-section .form-control,
.form-section .form-control,
.contact .form-control,
.free-plan-section .form-control,
.form-login input,
.form-signup input,
.promo input {
    border: none;
    font-family: var(--title-font);
    font-size: 1.1rem;
    color: var(--font-color);
    border-bottom: 1px solid var(--main-color);
    transition: border-bottom 0.3s ease;
    width: 50%;
    border-radius: unset;
    outline: none;
    background-color: rgba(236, 236, 236, 0.08) !important;
}

.form-control:focus,
.form-section:focus,
.promo input:focus {
    box-shadow: none;
    border-bottom: 1px solid var(--main-color);
    color: var(--secondary-color);
}

#phone {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
    outline: none;
    color: var(--secondary-color);
}

#phone:focus {
    border-bottom: 1px solid var(--main-color);
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
    display: block !important;
    /* margin-top: 1rem; */
}

.content h4 {
    font-family: var(--title-font);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--font-color);
}

.content .sale-price {
    font-weight: bold;
    font-weight: 1.5rem;
}

.save {
    background: linear-gradient(181deg, #ffe906 20%, #ffb600 80%);
    font-size: 0.9rem;
    font-weight: 500;
    border: none !important;
}

.vip .title-form {
    font-size: 1.5rem;
}

.vip h5 {
    font-family: var(--title-font);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--main-color);
}

.vip ul li {
    font-family: var(--title-font);
    color: var(--font-color);
    font-weight: 400;
    font-size: 1.1rem;
}

.promo h4 {
    font-family: var(--title-font);
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.2rem;
}

.order-summary {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.order-summary h4 {
    font-family: var(--title-font);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.order-summary .text {
    font-family: var(--title-font);
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.order-summary .value,
.total-title,
.total-value {
    font-family: var(--title-font);
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.total-value {
    color: var(--main-color);
}

.duration-details {
    border: 1px solid transparent;
    border-radius: 10px;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.duration-details.selected {
    border-color: var(--main-color);
}

.duration-details .save {
    transition: 0.3s ease;
}

.duration-details.selected .save {
    background: linear-gradient(178deg, #b2404f, #951626);
    color: var(--secondary-color);
}

.box-payment {
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    cursor: pointer;
    background-color: var(--secondary-color);
}

.box-payment.selected {
    border: 1px solid var(--main-color);
}

.box-payment input {
    border: 1px solid #ccc;
}

.form-check-input:checked {
    background-color: var(--main-color);
    box-shadow: none;
}

.box-payment label,
.form-section .form-check-label {
    font-family: var(--title-font);
    font-size: 1.2rem;
    color: var(--font-color);
    font-weight: 400;
}

/* End Price Main Page */
/* Start Jobs Main Page */
.jobs-main-section,
.free-plan-section {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.jobs-main-section h1,
.job-summary h2 {
    font-family: var(--title-font);
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.jobs-main-section .card a {
    font-family: var(--title-font);
    font-size: 1.2rem;
    color: rgba(236, 236, 236, 1);
    font-weight: bold;
    text-decoration: none;
}

.jobs-main-section .card span {
    font-family: var(--title-font);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.jobs-main-section .card i {
    font-size: 1.2rem;
    color: rgba(236, 236, 236, 1);
}

.jobs-main-section .card ul li,
.job-summary ul li {
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: 400;
    color: var(--secondary-color);
}

/* 🌙 مودال التقديم فقط */
#applyModal .modal-content {
    background-color: #121212;
    /* خلفية داكنة */
    color: #f1f1f1;
    border-radius: 12px;
    border: 1px solid #2c2c2c;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

#applyModal .form-label {
    color: #ddd;
    font-weight: 500;
}

#applyModal input.form-control,
#applyModal textarea.form-control,
#applyModal select.form-control {
    background-color: #1e1e1e;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#applyModal input.form-control:focus,
#applyModal textarea.form-control:focus,
#applyModal select.form-control:focus {
    background-color: #222;
    border-color: #ff4a2a;
    /* نفس اللون المستخدم في العنوان */
    box-shadow: 0 0 5px rgba(255, 74, 42, 0.4);
    color: #fff;
}

#applyModal .btn-close {
    filter: invert(1);
}

#applyModal .alert {
    background-color: #1e1e1e;
    color: #f1f1f1;
    border: 1px solid #333;
}

#applyModal .subscribe-btn {
    background-color: #ff4a2a;
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#applyModal .subscribe-btn:hover {
    background-color: #e13e21;
    transform: translateY(-2px);
}

#applyModal .form-text {
    color: #aaa;
}

/* تحسين بسيط لشكل الـ input file */
#applyModal input[type="file"]::file-selector-button {
    background-color: #ff4a2a;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#applyModal input[type="file"]::file-selector-button:hover {
    background-color: #e13e21;
}

/* End Jobs Main Page */
/* Start Job Summary Page */
.job-summary-main-section,
.login-section {
    background-image: url("../imgs/image\ 21.png");
}

.job-summary-main-section .details span {
    font-family: var(--title-font);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--secondary-color);
}

.job-summary-main-section .details i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.job-summary,
.form-section {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.requirement ul li {
    font-size: 1.5rem !important;
}

.not-important::after {
    content: "" !important;
}

/* End Job Summary Page */
/* Start Contact Us Page */
.contact {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    text-align: center;
}

.contact h1 {
    font-size: 3rem;
}

.box-contact {
    text-align: left;
}

.box-contact p {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    color: var(--secondary-color);
}

.contact form {
    text-align: left;
}

.general-info {
    text-align: left;
}

.card-contact {
    background-color: rgba(236, 236, 236, 0.2);
    border: 1px solid transparent;
    border-radius: 30px;
}

.card-contact .icon i {
    font-size: 1.8rem;
    color: var(--main-color);
}

.card-contact .info {
    font-family: "Outfit", sans-serif;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.card-contact .info h6 {
    color: var(--secondary-color);
}

.contact .social h3 {
    color: var(--secondary-color);
}

.jobs-main-section .card {
    background-color: rgba(236, 236, 236, 0.05);
}

/* End Contact Us Page */
/* Start Free Plan Page */
.free-plan-section h1 {
    font-family: var(--title-font);
    font-size: 2.5rem;
    color: var(--font-color);
    font-weight: bold;
}

.free-plan-section p {
    font-family: var(--title-font);
    font-size: 1.5rem;
    color: var(--font-color);
}

.form-select:focus {
    border-color: var(--main-color);
    box-shadow: none;
}

.activity h3,
.goal h3 {
    font-family: var(--title-font);
    font-size: 2rem;
    color: var(--font-color);
    font-weight: bold;
}

.activity .card.custom-radio-card,
.goal .card.custom-radio-card {
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.goal .card.custom-radio-card {
    background-color: #f3f3f3;
    border: 1px solid #ccc;
}

.activity .custom-radio-wrapper,
.goal .custom-radio-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity .custom-radio-card:has(input:checked),
.goal .custom-radio-card:has(input:checked) {
    border-color: var(--main-color);
}

.activity .form-check-input,
.goal .form-check-input {
    margin: 0;
}

.activity .form-check-label,
.goal .form-check-label {
    font-family: var(--title-font);
    font-size: 1.1rem;
    color: var(--font-color);
    font-weight: 500;
}

.activity .card.custom-radio-card p,
.goal .card.custom-radio-card p {
    font-family: var(--title-font);
    font-size: 1rem;
    color: var(--font-color);
}

.goal .card.custom-radio-card p,
.goal .form-check-label {
    font-weight: 600;
}

.free-plan-form,
.result-info h5,
.result-info .result {
    font-family: var(--title-font);
    font-size: 1.5rem;
    color: var(--font-color);
    font-weight: 600;
}

.free-plan-form .close {
    font-weight: 600;
    font-size: 1.2rem;
}

.result-info h5 {
    color: var(--main-color);
}

.result-info p,
.result-info h6 {
    font-family: var(--title-font);
    font-size: 1.1rem;
    color: var(--font-color);
    font-weight: 400;
}

.result-info .result {
    color: var(--main-color) !important;
}

.results-box {
    display: flex;
    align-items: center;
}

.carb-square,
.protien-square,
.fats-square {
    width: 25px;
    height: 25px;
    background-color: #9747ff;
    border-radius: 4px;
    flex-shrink: 0;
}

.protien-square {
    background-color: #ffed00 !important;
}

.fats-square {
    background-color: #1e90ff !important;
}

.result-text {
    font-family: var(--title-font);
    font-size: 1.3rem;
    color: var(--font-color);
    font-weight: 500;
}

.result-text small {
    font-family: var(--title-font);
    font-size: 1rem;
    color: var(--font-color);
}

/* End Free Plan Page */

/* Start Login Page */
.form-login,
.form-signup {
    min-width: 500px;
    background-color: var(--font-color);
    color: var(--font-color);
    padding: 40px 40px;
    border-radius: 10px;
}

.form-login h3,
.diet-plan-info h2,
.form-signup h3,
.store-header h1,
.exercise-header h1 {
    font-weight: bold;
    text-align: center;
    font-family: var(--title-font);
    font-size: 2rem;
    color: var(--font-color);
}

.form-login h3,
.form-signup h3 {
    color: var(--secondary-color);
}

.form-login p,
.form-signup p {
    text-align: center;
    font-family: var(--title-font);
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1.3rem;
}

.form-login .sign,
.form-signup .sign {
    color: var(--main-color);
    text-decoration: none;
}

.form-login input,
.form-signup input {
    width: 100%;
    color: var(--secondary-color);
}

.login-section {
    height: auto;
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

@media (max-width: 576px) {

    .form-login,
    .form-signup {
        min-width: 50% !important;
        width: 80%;
        border-radius: 10px;
    }

    #editModal .form-signup {
        width: 100% !important;
    }

    .form-login .fa-solid {
        margin-top: 10px;
    }
}

/* End Login Page */

/* Start Diet Plan Page */
.diet-plan-section,
.product-section,
.profile-section {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
}

.diet-plan-info h2 {
    font-size: 2.5rem;
}

.pdf-name {
    background-color: #ccc;
    padding: 20px 100px;
    font-family: var(--title-font);
    font-weight: 600;
    color: var(--font-color);
    font-size: 1.5rem;
    border-radius: 5px;
}

.diet-plan-info .buttons {
    min-width: 20%;
}

/* End Diet Plan Page */

.overlay-female {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.female-subscribe-btn,
.female-main-section .subscribe-btn-female {
    background: transparent;
    background-color: var(--main-color-female) !important;
}

.female-subscribe-btn:hover,
.female-main-section .subscribe-btn:hover,
.female-main-section .female-btn:hover {
    background: linear-gradient(178deg,
            rgba(115, 210, 223, 1),
            rgba(62, 114, 121, 1));
    color: var(--secondary-color);
}

.female-main-section .female-btn {
    background: linear-gradient(178deg,
            var(--secondary-color),
            var(--secondary-color));
    color: var(--main-color-female);
    font-weight: 600;
}

.female-main-section .female-btn:hover {
    color: var(--secondary-color);
}

.female-main-section .overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.female-main-section .title .line1 {
    font-family: var(--female-font);
    font-size: 8rem;
    font-weight: 400;
    color: var(--main-color-female);
}

/* Ladies Story Section */
.ladies-stories h2 {
    font-family: var(--female-font);
    font-size: 5rem;
    color: var(--main-color-female);
}

.ladies-stories small {
    font-size: 1.5rem;
    color: var(--main-color-female);
}

.ladies-stories h6 {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.ladies-stories .card {
    background-color: transparent !important;
}

.border-pink {
    border: 1px solid var(--main-color-female) !important;
}

[id^="storyModal"] .modal-content {
    background-color: #121212;
    color: #f1f1f1;
    border: 1px solid #2c2c2c;
    border-radius: 15px;
}

[id^="storyModal"] .modal-header {
    border-bottom: 1px solid #2c2c2c;
    color: #fff;
}

[id^="storyModal"] .modal-title {
    color: #fff;
}

[id^="storyModal"] .btn-close {
    filter: invert(1);
}

[id^="storyModal"] .modal-body {
    color: #e0e0e0;
}

[id^="storyModal"] .text-muted {
    color: #bbb !important;
}

[id^="storyModal"] .btn-modal-before,
[id^="storyModal"] .btn-modal-after {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

[id^="storyModal"].fade .modal-dialog {
    transform: scale(0.9);
    transition: all 0.3s ease-out;
}

[id^="storyModal"].fade.show .modal-dialog {
    transform: scale(1);
}

/* Subscription Section */
.subscription {
    background-image: url("../imgs/Frame 1261156387.png");
    background-size: cover;
    background-position: center;
    min-height: 75vh;
    position: relative;
}

.subscription h2 {
    font-family: var(--title-font);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    z-index: 3;
}

.custom-border-pink {
    border-color: #e91e63 !important;
}

.step {
    position: relative;
    background-color: var(--main-color-female);
    width: 170px;
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 2;
    margin: 40px 20px;
}

.step::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--main-color-female);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.step-info {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--secondary-color);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    font-family: "Urbanist", sans-serif;
    color: var(--main-color-female);
}

.step-info .step-num {
    font-weight: bold;
    font-size: 2.8rem;
}

.step-info .step-text {
    font-size: 1.3rem;
    font-weight: 500;
}

.outer-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: white;
    border: 2px solid var(--main-color-female);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.left-dot {
    left: -22px;
}

.right-dot {
    right: -22px;
}

.subscription h4 {
    font-family: "Outfit", sans-serif;
    font-size: 1.3rem;
    color: var(--secondary-color);
    z-index: 2;
    font-weight: 300;
}

.step-pink {
    background: linear-gradient(178deg, var(--main-color-female), #be1b66);
}

.step-yl {
    background: linear-gradient(178deg, #fae006, #bf9504);
}

.step-gr {
    background: linear-gradient(178deg, #eef505, #50c335);
}

.step-sk {
    background: linear-gradient(178deg, #2ecde8, #2392a7);
}

.step-pink::before {
    border: 3px solid #be1b66;
}

.step-yl::before {
    border: 3px solid #bf9504;
}

.step-gr::before {
    border: 3px solid #50c335;
}

.step-sk::before {
    border: 3px solid #2392a7;
}

.step-pink .dot {
    border: 2px solid #be1b66;
}

.step-yl .dot {
    border: 2px solid #bf9504;
}

.step-gr .dot {
    border: 2px solid #50c335;
}

.step-sk .dot {
    border: 2px solid #2392a7;
}

/* female-partners Section */
.female-partners h2 {
    font-family: var(--female-font);
    color: var(--main-color-female);
}

.female-packages .custom-card-body {
    background-color: rgba(236, 236, 236, 0.08) !important;
}

.female-packages .custom-card-title,
.female-packages .custom-card-list li {
    color: var(--secondary-color) !important;
}

.female-packages .custom-card-list {
    scrollbar-color: var(--main-color-female) transparent;
}

.female-partners .partners-title::after,
.female-packages .packages-title::after {
    background-color: var(--main-color-female);
}

/* female-packages Section */

.female-packages h2 {
    color: var(--main-color-female);
}

.female-packages p {
    color: var(--secondary-color);
}

.female-packages .toggle-btn.active {
    background-color: var(--main-color-female);
}

.female-packages .price {
    background-color: var(--main-color-female);
}

.female-packages .custom-card:hover {
    border: 1px solid var(--main-color-female);
}

.female-packages .btn-join {
    border: 1px solid var(--main-color-female);
    color: var(--main-color-female);
}

.female-packages .btn-join:hover {
    background-color: var(--main-color-female);
}

/* frequently-female Section */

.frequently-female {
    background-color: rgba(132, 132, 132, 0.1);
}

.frequently-female h2,
.frequently-female .accordion-body,
.frequently-female .accordion-button,
.frequently-female p {
    color: var(--secondary-color);
}

.frequently-female .training-title::after {
    background-color: var(--main-color-female);
}

.frequently-female .accordion-icon {
    color: var(--main-color-female);
    border: 2px solid var(--main-color-female);
}

/* footer-female */
.footer-female {
    background-color: rgba(0, 0, 0, 1);
}

.footer-female .social .icons a {
    background-color: var(--main-color-female);
}

.footer-female .contact-info i {
    color: var(--main-color-female);
}

.footer-female h5 {
    color: rgba(255, 255, 255, 0.5);
}

.footer-female .info {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Model Story Ladies */

.modal-title,
.second-title {
    font-family: var(--title-font);
    font-weight: 600;
    font-size: 1.5rem;
}

.second-title {
    color: var(--main-color-female);
}

.btn-modal-before,
.btn-modal-after {
    position: absolute;
    padding: 10px 20px;
    background-color: var(--main-color-female);
    color: var(--secondary-color);
    font-family: var(--title-font);
    font-weight: 500;
    border-radius: 8px;
    font-size: 1rem;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
}

@media (max-width: 768px) {

    .btn-modal-before,
    .btn-modal-after {
        font-size: 0.9rem;
        padding: 8px 16px;
        bottom: 5px;
    }
}

/* exercise Page */
#filterToggle::after {
    display: none !important;
}

.exercise-header h1 {
    font-size: 2.5rem;
}

.exercise-header ul {
    border: none;
}

.exercise-header .dropdown-item {
    font-family: var(--title-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--font-color);
    border-radius: 5px;
}

.exercise-header .dropdown-item:hover {
    background-color: var(--main-color);
    color: var(--secondary-color);
}

.ex-title {
    font-family: var(--title-font);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Profile Page */
.profile-section h2,
.plan-header h4 {
    font-family: var(--title-font);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--font-color);
    text-align: center;
}

.profile-section .form-signup {
    background-color: transparent !important;
    color: var(--secondary-color) !important;
}

.profile-header h4 {
    color: var(--secondary-color) !important;
}

.edit h5 {
    font-family: var(--title-font);
    font-size: 1.1rem;
    color: var(--main-color);
    font-weight: 400;
    margin: 0.5rem;
}

.plan-header h4 {
    font-size: 2rem;
    font-weight: 600;
}

.active-plan {
    align-self: center;
    padding: 12px 40px;
    background-color: var(--main-color);
    color: var(--secondary-color);
    font-family: var(--title-font);
    font-weight: 400;
    font-size: 1.2rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.your-plan .card {
    border: none;
}

.your-plan .card h4 {
    font-family: var(--title-font);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--main-color);
}

.your-plan .card .duration {
    font-size: 1.2rem;
    color: #000;
    font-weight: 400;
}

.date-package {
    font-size: 1rem;
    font-family: var(--title-font);
    color: var(--font-color);
}

#editModal .iti.iti--allow-dropdown.iti--separate-dial-code {
    margin-top: 0 !important;
}

/* 🌙 مودال تعديل البيانات فقط */
#editModal .modal-content {
    background-color: #121212;
    color: #f1f1f1;
    border-radius: 12px;
    border: 1px solid #2c2c2c;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

#editModal .modal-body h4 {
    color: #ff4a2a;
    /* اللون المميز */
    font-weight: 600;
}

#editModal .form-label {
    color: #ddd;
    font-weight: 500;
}

#editModal input.form-control,
#editModal textarea.form-control,
#editModal select.form-select {
    background-color: #1e1e1e;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#editModal input.form-control:focus,
#editModal textarea.form-control:focus,
#editModal select.form-select:focus {
    background-color: #222;
    border-color: #ff4a2a;
    box-shadow: 0 0 5px rgba(255, 74, 42, 0.4);
    color: #fff;
}

#editModal .btn-close {
    filter: invert(1);
}

#editModal .subscribe-btn {
    background-color: #ff4a2a;
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#editModal .subscribe-btn:hover {
    background-color: #e13e21;
    transform: translateY(-2px);
}

/* تحسين شكل زر اختيار الملف */
#editModal input[type="file"]::file-selector-button {
    background-color: #ff4a2a;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#editModal input[type="file"]::file-selector-button:hover {
    background-color: #e13e21;
}

/* الصورة في وضع العرض */
#editModal img {
    border-radius: 8px;
    border: 1px solid #333;
    background-color: #1a1a1a;
}

@media (max-width: 768px) {
    .your-plan .card {
        width: 100% !important;
    }
}

/* Edits */
.box-fit {
    background-color: rgba(236, 236, 236, 0.08);
    border-radius: 5px;
    padding: 24px;
}

.transform h2 {
    font-family: var(--title-font);
    font-size: 2.5rem;
    color: var(--main-color-female);
    font-weight: bold;
}

.transform h5 {
    font-family: var(--title-font);
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.box-fit p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

#applyModal .form-section {
    padding-top: 0;
    padding-bottom: 0;
}

.job-summary .subscribe-btn,
.free-plan-section .subscribe-btn {
    z-index: 1;
}

hr {
    width: 50%;
}

/* Resposive */

@media (max-width: 767.98px) {
    #dietResultModal .modal-dialog-scrollable .modal-content {
        max-height: none !important;
        overflow: auto !important;
    }

    /* .training .custom-carousel-btn {
    margin-bottom: 20rem;
  } */

    body {
        overflow-x: hidden;
    }

    .female-main-section .title .line1 {
        font-size: 3rem;
    }

    .female-main-section .buttons {
        flex-direction: column;
    }

    .training .carousel-item p,
    .training .carousel-item h2 {
        font-size: 12px;
    }

    .price-main-section .form-control,
    .form-section .form-control,
    .contact .form-control,
    .free-plan-section .form-control,
    .form-login input,
    .form-signup input,
    .promo input {
        width: 100%;
    }

    .requirement ul li {
        font-size: 0.9rem !important;
    }

    hr {
        width: 100% !important;
    }

    .form-login p,
    .form-signup p {
        font-size: 0.8rem;
    }

    .form-login h3,
    .form-signup h3 {
        font-size: 1.8rem;
    }

    footer .info {
        font-size: 1rem;
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-collapse img {
        display: none;
    }

    .plan-header a {
        padding: 0.2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.8rem;
    }

    .plan-header a img {
        width: 15px !important;
        height: 15px !important;
        margin-left: 4px;
    }

    .title .line1,
    .title .line2 {
        font-size: 2rem;
    }

    .main-section .description {
        font-size: 0.9rem;
    }

    .female-main-section .description {
        font-size: 0.8rem;
    }

    .navbar-collapse {
        background-color: #f3f3f3;
        padding: 10px;
        border-radius: 5px;
    }

    .navbar-light .navbar-collapse {
        background-color: #1a1d1a;
        padding: 10px;
        border-radius: 5px;
    }

    .nav-link {
        color: var(--font-color) !important;
    }

    .nav-link:hover {
        color: var(--font-color) !important;
    }

    .navbar-nav {
        padding: 0 !important;
    }
}

@media (max-width: 320px) {
    .title .line1 {
        font-size: 2rem;
    }

    .title .line2 {
        font-size: 2rem;
    }

    .female-main-section .title .line1 {
        font-size: 2rem;
    }

    .female-main-section .description {
        font-size: 0.7rem;
    }

    .training .carousel-item p {
        font-size: 10px;
    }

    .partners-title::after,
    .packages-title::after,
    .client-title::after {
        width: 0;
    }

    .about-title,
    .service-title,
    .discover-title,
    .partners-title,
    .journey-title,
    .training-title,
    .champion-title,
    .jobs-title {
        font-size: 1.8rem;
    }

    .description {
        font-size: 0.8rem;
    }

    .price-main-section .form-control,
    .form-section .form-control,
    .contact .form-control,
    .free-plan-section .form-control,
    .form-login input,
    .form-signup input,
    .promo input {
        width: 100%;
    }

    .price-main-section .form-label,
    .form-section .form-label,
    .contact .form-label,
    .free-plan-section .form-label,
    .form-login label,
    .form-signup label,
    .number {
        margin-top: 1rem;
    }

    .result-text,
    .activity .form-check-label,
    .goal .form-check-label,
    .requirement ul li {
        font-size: 0.9rem !important;
    }

    .result-text small,
    .activity .card.custom-radio-card p,
    .goal .card.custom-radio-card p,
    .job-summary-main-section .details span {
        font-size: 0.8rem;
    }

    .result-info .card {
        padding: 0.2rem !important;
    }
}

.modal {
    z-index: 999999999 !important;
}

.modal-backdrop {
    z-index: 999999998 !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
}

.whatsapp-float img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    filter: brightness(0.9);
}

.chat-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    /* background: var(--main-color); */
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-float:hover {
    filter: brightness(1.2);
}

.chat-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 555px;
    max-width: 95%;
    height: 316px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 10000;
}

.chat-header {
    background: #d9d9d9;
    padding: 10px 15px;
    color: #000;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header button {
    background: none;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 15px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

.message {
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 14px;
}

.from-user {
    align-self: flex-start;
    background: var(--main-color);
    color: white;
}

.from-coach {
    align-self: flex-end;
    background: #f0baba;
    color: #000;
}

/* الفوتر */
.chat-footer {
    border-top: 1px solid #ddd;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-footer input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px;
    font-size: 14px;
    color: #555;
}

input::placeholder,
.chat-footer input::placeholder {
    color: var(--secondary-color) !important;
}

.chat-footer button {
    background: var(--main-color);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}

.iti__country-list,
#phone {
    background-color: var(--font-color) !important;
}

/* Responsive */
@media (max-width: 576px) {
    .chat-box {
        width: 90%;
        right: 5%;
        bottom: 80px;
        height: 70%;
    }

    .chat-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding: 0 15px;
}

.filter-exercise {
    display: flex;
    flex-wrap: wrap;
    border-radius: 6px;
    overflow: hidden;
    gap: 0;
    /* نمنع أي مسافات */
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(236, 236, 236, 0.08);
    border: 1px solid rgba(132, 132, 132, 0.25);
    font-family: var(--title-font);
    font-weight: 500;
    font-size: 20px;
    color: var(--secondary-color);
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 0;
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
}

.filter-btn:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.filter-btn:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.rtl-section .filter-btn:first-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.rtl-section .filter-btn:last-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.filter-btn.active {
    background: var(--main-color);
    color: white;
}

@media (max-width: 576px) {
    .filter-exercise {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        /* border-right: 1px solid var(--main-color); */
        border-bottom: none;
        width: 100%;
    }

    .filter-btn:last-child {
        border-bottom: 1px solid rgba(132, 132, 132, 0.4);
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        border-top-right-radius: 0;
    }

    .filter-btn:first-child {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}

/* Start Deal Section */
.deal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    min-height: 80px;
    width: 100%;
    background: linear-gradient(178deg, #b2404f, #951626);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.deal-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.deal-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    color: #fff;
}

.deal-body {
    min-height: 120px;
    background-color: #f3f3f3;
    border-radius: 5px;
    padding: 2rem;
}

.offer-text-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.offer-text {
    position: relative;
    display: inline-block;
}

.offer-text h4 {
    font-family: var(--title-font);
    font-weight: bold;
    font-size: 3rem;
    color: #5a5a5a;
    margin: 0;
}

.off-label {
    position: absolute;
    top: 100%;
    right: 0;
    font-family: var(--title-font);
    font-weight: 500;
    font-size: 1.5rem;
    color: #5a5a5a;
    line-height: 1;
}

.custom-code-box h4 {
    font-family: var(--title-font);
    font-weight: bold;
    font-size: 1.3rem;
    color: #5a5a5a;
}

.code-input-group label,
.custom-code-box small {
    font-family: var(--title-font);
    font-weight: 400;
    font-size: 1.5rem;
    color: #5a5a5a;
}

.custom-code-box small {
    font-size: 1.2rem;
}

.code-input-group input:focus {
    box-shadow: none;
    border: 1px solid var(--main-color);
}

.copy-icon {
    color: #5a5a5a;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.copy-icon:hover {
    color: var(--main-color);
}

.time {
    background: linear-gradient(178deg, #b2404f, #951626);
    min-height: 120px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.time h6 {
    color: var(--secondary-color);
    font-family: var(--title-font);
    font-weight: 400;
    font-size: 1.5rem;
}

@media (max-width: 991px) and (min-width: 768px) {
    .time h6 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .deal-header {
        flex-direction: column;
    }
}

/* End Deal Section */

/* Start Deal Section Female*/
.isFemale .deal-header,
.isFemale .time {
    background: linear-gradient(178deg, var(--main-color-female), #be1b66);
}

/* End Deal Section */

/* Start Store */
.product-card {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 20px;
    background-color: rgba(236, 236, 236, 0.05);
}

.product-img {
    max-width: 100px;
    height: auto;
}

.containCart {
    max-height: 42.5rem;
}

.product-name {
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: #5a5a5a;
}

.product-price {
    font-family: var(--title-font);
    color: var(--main-color);
    font-size: 1rem;
    font-weight: 500;
}

.divider {
    height: 1px;
    background-color: #eee;
    margin: 20px 0;
}

/* End Store */

/* Start Product */
.product-section .product-img {
    max-width: 100%;
    max-height: 410px;
    min-height: 410px;
}

.product-section .product-name {
    font-size: 2rem;
    font-weight: 600;
    color: #5a5a5a;
}

.product-section .product-price {
    color: var(--main-color);
    font-size: 2.5rem;
    font-weight: 500;
}

.product-section .old-price {
    text-decoration: line-through;
    color: rgba(255, 0, 0, 0.4);
    font-size: 1.5rem;
    margin-left: 10px;
}

.product-section p {
    color: #848484;
    font-family: var(--title-font);
    font-size: 1.3rem;
    font-weight: 400;
}

.product-section hr {
    width: 100%;
}

.product-section h6 {
    font-family: var(--title-font);
    font-weight: 500;
    font-size: 1.3rem;
    color: #5a5a5a;
}

.product-section .quantity-options .btn {
    background-color: #f3f3f3;
    color: #5a5a5a;
    border: none;
    padding: 1rem 2rem;
    font-family: var(--title-font);
    font-weight: 500;
    font-size: 1.3rem;
    transition: 0.3s;
}

.product-section .quantity-options .btn.active {
    color: var(--main-color);
    border: 1px solid var(--main-color);
    background-color: #fff;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.quantity-control input {
    width: 50px;
    text-align: center;
}

.product-section .btn-add {
    background: linear-gradient(178deg, rgba(141, 9, 26, 1), rgba(141, 9, 26, 1));
    color: white;
    width: 100%;
    font-family: var(--title-font);
    font-weight: 500;
    font-size: 1.3rem;
}

.product-section .btn-add:hover {
    background: linear-gradient(178deg, #b2404f, #951626);
    color: var(--secondary-color);
}

.product-section .btn-add .btn-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.product-section hr {
    margin: 1rem 0;
}

/* End Product */

/* Partners Slider Styles */
.partners-slider {
    padding: 20px 0;
}

.partners-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.partners-slider .swiper-slide img {
    max-height: 80px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partners-slider .swiper-slide:hover img {
    opacity: 1;
}

.plan-card {
    background-color: rgba(236, 236, 236, 0.05);
    border: 1px solid var(--main-color) !important;
    transition: all 0.3s ease-in-out;
    color: var(--secondary-color);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.eye-span {
    top: 70% !important;
}

@media (max-width: 1399px) {
    .navbar-nav.gap-3 {
        gap: 0 !important;
    }

    .nav-link {
        font-size: 14px !important;
    }
}

.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}


.custom-popup {
    background-color: rgba(27, 29, 26, 1);
    color: #fff;
    border-radius: 5px;
    padding: 32px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    position: relative;
    /* border: 0.2px solid var(--white, rgba(254, 249, 245, 1)); */
    box-shadow: 0px 2px 8px 0px rgba(255, 255, 255, 0.15);
}


.custom-popup h3 {
    font-family: var(--title-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}


.custom-popup p {
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(254, 249, 245, 0.5);
}

.custom-popup input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
    background-color: rgba(254, 249, 245, 0.08);
    color: var(--main-color);
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--title-font);
}

.custom-popup input::placeholder {
    color: rgba(254, 249, 245, 0.5) !important;
}

.custom-popup input:focus {
    border: 1px solid var(--main-color, rgba(255, 74, 42, 1));
    outline: none;
}

.close-btn-popup {
    background-color: transparent;
    border: none;
    position: absolute;
    left: -4%;
    top: -4%;
}

@media (max-width: 768px) {
    .custom-popup {
        max-width: 400px;
    }
}


/* BMR Section Styles */
.bmr-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #1a2634; /* لون الخلفية الداكن المشابه للصورة */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: #fff;
    min-height: 500px;
}


.bmr-info-side {
    flex: 1;
    min-width: 300px;
    background-color: #141414;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bmr-info-side h3 {
    color: var(--main-color);
    margin-bottom: 20px;
    font-family: var(--title-font);
    font-weight: bold;
}

.bmr-info-side p {
    line-height: 1.8;
    color: #cfcfcf;
    font-size: 1.1rem;
}

/* Calculator Form Side */
.bmr-calculator-side {
    flex: 1.5;
    min-width: 320px;
    padding: 40px;
    background-color: #222;
}

/* Gender Selection */
.gender-selector {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.gender-option input {
    display: none;
}

.gender-option .icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.gender-option .icon-box i {
    font-size: 3rem;
    margin-bottom: 10px;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: #fff; /* Fallback */
}

.gender-option .icon-box span {
    font-weight: bold;
}

/* Active States for Gender */
.gender-option input:checked + .icon-box {
    opacity: 1;
    transform: scale(1.1);
}
/* Male Color */
.gender-option:has(input[value="male"]:checked) .icon-box i {
    background-color: var(--main-color);
}
/* Female Color */
.gender-option:has(input[value="female"]:checked) .icon-box i {
    background-color: var(--main-color-female);
}

/* Input Rows */
.input-row {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.input-row label {
    width: 60px;
    font-weight: bold;
    font-size: 1.1rem;
}

.range-wrap {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Custom Number Input Style */
.number-input {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    width: 90px;
}

.number-input input {
    border: none;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: var(--font-color);
    outline: none;
    -moz-appearance: textfield;
}
.number-input input::-webkit-inner-spin-button { 
    -webkit-appearance: none; 
}
.number-input .unit {
    color: #888;
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Range Slider Styling */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #fff;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    /* This gradient will be updated by JS */
    background-image: linear-gradient(var(--main-color), var(--main-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
}

/* Slider Thumb */
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--main-color);
    cursor: pointer;
    box-shadow: 0 0 0 4px #1a2634; /* Creates the border effect inside dark bg */
    transition: background 0.3s;
}

.range-slider::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--main-color);
    border: none;
    box-shadow: 0 0 0 4px #1a2634;
}

/* Activity Select */
.activity-row {
    flex-direction: column;
    align-items: stretch;
}
.activity-row label {
    width: 100%;
    margin-bottom: 10px;
}
.activity-select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    font-family: inherit;
}

/* Calculate Button */
.action-row {
    text-align: center;
    margin-top: 30px;
}
.calc-btn {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    padding: 10px 40px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--title-font);
}
.calc-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Result Box */
.result-box {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border: 2px dashed #fff;
    border-radius: 10px;
    animation: fadeIn 0.5s ease;
}
.result-box h4 { margin-bottom: 5px; }
.result-box span { font-size: 2rem; font-weight: bold; color: var(--main-color); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* RTL Adjustments */
.rtl-section .bmr-card {
    direction: rtl;
}
.rtl-section .input-row {
    flex-direction: row; /* Ensure row direction is kept but flipped by dir=rtl */
}
.rtl-section .number-input .unit {
    margin-left: 0;
    margin-right: 5px;
}

/* حل مشكلة الصف الخاص بالنشاط Activity Row */
.activity-row {
    /* نلغي الفليكس هنا ونخليه بلوك عادي عشان ياخد راحته في العرض */
    display: block !important; 
    width: 100%;
}

.activity-row label {
    display: block;
    margin-bottom: 10px;
    width: 100%;
}

.activity-select {
    width: 100% !important;
    max-width: 100%;
    /* لضمان عدم خروج النص */
    text-overflow: ellipsis; 
}

/* تعديلات خاصة بالعربي (RTL) 
   عشان نصلح مكان السهم وتداخل الكلام
*/
.rtl-section .activity-select {
    /* نقل السهم لليسار بدلاً من اليمين */
    background-position: left 0.75rem center !important;
    
    /* تعديل الـ Padding عشان الكلام مايدخلش تحت السهم */
    padding-left: 2.25rem !important; /* مكان السهم */
    padding-right: 0.75rem !important; /* بداية الكلام */
    
    /* ضبط اتجاه النص */
    text-align: right;
    direction: rtl;
}

/* تأكيد إضافي لضبط عرض الموبايل */
@media (max-width: 768px) {
    .activity-select {
        font-size: 14px; /* تصغير الخط قليلاً في الموبايل لو النص طويل جداً */
    }
}

/* Responsive */
@media (max-width: 768px) {
    .bmr-card {
        flex-direction: column;
    }
    .input-row {
        flex-wrap: wrap;
    }
    .range-wrap {
        min-width: 100%;
        margin-top: 10px;
    }
}
