/***************
 BS Variables
*****************/
:root {
    --bs-body-color: #272E3B;
    --bs-secondary-color: #3B3544;
    
    --bs-secondary-bg: #FCFAF4;
    --bs-secondary-rgb: 252, 250, 244;
    
    --bs-primary: #490DA7;
    --bs-primary-rgb: 73, 13, 167;
    --bs-primary-light: #EDE8FD;
    --bs-dark: #0B011C;
    --bs-dark-rgb: 11, 1, 28;
    
    --bs-light: #E5E5E6;
    --bs-light-rgb: 229, 229, 230;
    
    --bs-white-bg: #FFFFFF;
    --bs-white-rgb: 255, 255, 255;
}
.btn {
    --bs-btn-font-size: 1.5rem;
    --bs-btn-font-weight: 500;
    --bs-btn-padding-x: 4rem;
    --bs-btn-padding-y: 1rem;
    --bs-btn-border-radius: 1rem;
    --bs-btn-font-family: 'Inter', sans-serif;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-dark);
    --bs-btn-hover-border-color: var(--bs-dark);
    --bs-btn-active-bg: var(--bs-primary);
}
.btn-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-dark);
    --bs-btn-border-color: var(--bs-dark);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-padding-x: 3.75rem;
    --bs-btn-padding-y: 1rem;
}
.btn-light {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-bg: var(--bs-white-bg);
    --bs-btn-border-color: var(--bs-white-bg);
    --bs-btn-hover-bg: #FED100;
    --bs-btn-hover-border-color: #FED100;
    --bs-btn-hover-color: var(--bs-primary);
}
.pt-6rem, .py-6rem{
    padding-top: 6.25rem;
}
.pb-6rem, .py-6rem{
    padding-bottom: 6.25rem;
}
.mb-4rem{
    margin-bottom: 4rem;
}
/*********************************/
html, body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
    width: 100%;
}
body::-webkit-scrollbar, body *::-webkit-scrollbar {
    display: none;
}
html, body{
    background-color: var(--bs-secondary-bg);
}
p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
#about .name{
    font-family: 'Sue Ellen Francisco', cursive;
}

/*****************************
    Preloader CSS
********************************/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bs-secondary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-wrapper {
    text-align: center;
}
.loader-logo {
    width: 250px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #490DA7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin : auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*****************************
    Header CSS
********************************/
.site-header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.site-header .navbar-nav {
    margin: 0 auto;
}
.site-header .navbar-nav .nav-link{
    color: var(--bs-dark);
}
.site-header .navbar-nav .nav-link.active{
    font-weight: 600;
    color: var(--bs-primary);
}
.site-header .btn{
    --bs-btn-bg: var(--bs-primary-light);
    --bs-btn-color: var(--bs-primary);
    --bs-btn-padding-x: 1.75rem;
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-border-radius: 1.5rem;
}
.site-header-mobile .btn.a-nav-toggle{
    --bs-btn-font-size: 1rem;
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-border-radius: 0.375rem;
    width: auto;
}
/* Full width sidebar */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bs-secondary-bg);
    transition: left 0.3s ease-in-out;
    padding: 2rem 1.5rem;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
html.body-menu-opened .sidebar-menu {
    left: 0;
}
html.body-menu-opened,
html.body-menu-opened body,
body.modal-open{
    overflow: hidden;
    height: 100%;
}
html.body-menu-opened .sidebar-menu {
    overflow-y: auto; /* allow only sidebar to scroll */
    -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.sidebar-menu .nav-link {
    color: var(--bs-dark);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}
.sidebar-menu .nav-link:hover {
    color: var(--bs-primary);
}
.sidebar-menu {
    padding-top: calc(2rem + env(safe-area-inset-top));
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    padding-left: calc(1.5rem + env(safe-area-inset-left));
    padding-right: calc(1.5rem + env(safe-area-inset-right));
}

/* Fallback for older iOS (<=11.2) */
.sidebar-menu {
    padding-top: calc(2rem + constant(safe-area-inset-top));
    padding-bottom: calc(2rem + constant(safe-area-inset-bottom));
    padding-left: calc(1.5rem + constant(safe-area-inset-left));
    padding-right: calc(1.5rem + constant(safe-area-inset-right));
}
.wow {
    opacity: 0;
}
.wow.animate__visible {
    opacity: 1;
}
/**********************************
    Hero Section
********************************************/
.heading-fade {
    animation: fadeInOut 9.5s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    85% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px);
    }
}
.typed {
    font-weight: bold;
}
.section-hero p{
    width: 75%;
}
.hero-slick .slick-slide, .community-carousel .slick-slide {
    padding: 0 12px;
    box-sizing: border-box;
}
.hero-slick .slick-list, .community-carousel .slick-list {
    margin: 0 -12px;
}
.hero-slick {
    overflow: hidden;
}
.hero-slick .slick-slide {
    display: inline-block !important;
    float: none !important;
    vertical-align: middle;
}
.hero-slick .slick-track {
    display: flex !important;
    align-items: center;
}
.hero-banner {
    height: 400px;
    width: auto;
    display: block;
}
/**********************************
    How it Works Section
********************************************/
.how .section-subtitle{
    color: #4E4659;
}
.how-arrow {
    top: 30%;
    transform: translateY(-50%);
}
.arrow-1 {
    width: 10%;
    top: 29%;
    left: 28%;
}
.arrow-2 {
    width: 7%;
    top: 22%;
    left: 63%;
}
/**********************************
    Plates Section
********************************************/
.plates-container {
    background-image: url(images/noise.png);
    background-size: contain;
}
.plate-cards p{
    font-size: 0.85rem;
}
.plate-cards p{
    font-size: 0.85rem;
}
/**********************************
    Why FitnessIQ Section
********************************************/
#why .shapes {
    top: -3.5rem;
    right: 1.5rem;
}
.why-images img {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.why-images img.active {
    display: block;
    opacity: 1;
}
.vertical-align-top{
    vertical-align: top;
}
/**********************************
    Discover Our App Section
********************************************/
.feature-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #EFEAF6;
    border-radius: 5rem;
    padding: 2rem;
    min-width: 115px;
    height: 115px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
}
/**********************************
    App Showcase Section
********************************************/
.showcase-scroll {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}
.scroll-step {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: center;
    opacity: 0.3;
    transform: translateY(40px);
    transition: all 0.6s ease;
}
.scroll-step.active {
    opacity: 1;
    transform: translateY(0);
}
#app-showcase .col-lg-4.text-center {
    
}
.phone-mockup {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
}
.phone-frame {
    position: relative;
    z-index: 2;
    height: 90vh;
}
.phone-screen {
    position: absolute;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 98%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.phone-screen-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.phone-screen-img.active {
    opacity: 1;
    z-index: 1;
}
/**********************************
    About Section
********************************************/
#about{
    z-index: 1;
}
#about .shapes{
    top: 3.5rem;
    right: 1.5rem;
    z-index: -1;
}
/**********************************
    Community Section
********************************************/
.community-card .image-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.community-card img {
    width: 100%;
    height: auto;
    display: block;
}
.community-card .overlay {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: center;
}
.community-card .quote {
    color: #fff;
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 1.2;
    margin: 0;
    font-family: "Lobster Two", sans-serif;
}
.community-card .description {
    padding: 0.625rem;
    text-align: center;
    font-size: 0.9rem;
    color: #0B011C;
    margin-top: 1rem;
    border: 1px solid #490DA7;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 1rem;
}
.community-card.active .description, .community-card:hover .description {
    background-color: white;
    box-shadow: 0px 8px 14px 0px #3B35442B;
}
/**********************************
    FAQ Section
********************************************/
.accordion{
    --bs-accordion-btn-padding-y: 1.375rem;
}
.accordion-button {
    color: var(--bs-primary) !important;
    background: transparent;
    font-size: 1.25rem;
    font-weight: 600;
}
.accordion-button:not(.collapsed) {
    background-color: #FFFCED;
    color: var(--bs-primary) !important;
    box-shadow: none;
}
.accordion-item {
    border-color: var(--bs-primary) !important;
    background: transparent;
}
.accordion-button::after {
    background-image: none !important;
    content: "\f282"; /* bi-chevron-down */
    font-family: "bootstrap-icons";
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}
/**********************************
    Blogs Section
********************************************/
#blog{
    background-image: url(images/noise.png);
}
#blog .card-img-top {
    height: 209px;
    object-fit: cover;
}
#blog .card-body > a{
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
/**********************************
    Footer Section
********************************************/
footer {
    background-color: #FFFCED;
}
footer p{
    font-family: 'Poppins', sans-serif;
    text-transform: capitalize;
}
footer ul a{
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}
.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1200;
    display: none;
    border-radius: 50%;
    width: 50px !important;
    height: 50px;
    padding: 0;
    font-size: 1.5rem;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}
/**********************************
    Blog Page
********************************************/
.blogs-list{
    
}
.blog-item{
    
}
.blog-item p, form{
   font-family: 'Poppins', sans-serif; 
}
/**********************************
    Blog Page
********************************************/
.contact{
    border-top-left-radius: 700px !important;
    border-top-right-radius: 700px !important;
}
.contact form{
    
}
.contact .form-control{
    font-size: 1.75rem;
    font-weight: 600;
    color: #0B011C;
}
::placeholder {
  color: #0B011C;
  opacity: 1;
}

::-ms-input-placeholder {
  color: #0B011C;
}
/**********************************
    Blog Detail Page
********************************************/
.blog-detail-container{
    
}
.blog-detail-container h1,
.blog-detail-container h2{
    line-height: 1.5;
}
.blog-detail-container h1,
.blog-detail-container h2,
.blog-detail-container p,
.blog-detail-container img{
    margin-bottom: 2rem;
}
.blog-detail-container p{
    font-size: 1.25rem !important;
    line-height: 30px;
}
.blog-detail-container p:first-child::first-letter {
    font-size: 3rem; 
    line-height: 30px;
}
.blog-detail-container img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}
/**********************************
    Responsive CSS
********************************************/

@media (min-width: 1200px) {
    .display-1 {
        font-size: 5.325rem;
        line-height: 7.75rem;
    }
}
@media (max-width: 1299.98px) {
    .feature-badge {
        font-size: 1.25rem;
        padding: 1.25rem;
        min-width: 100px;
        height: 100px;
    }
    .feature-badge svg {
        width: 40px;
    }
}
@media (max-width: 1199.98px) {
    .pt-6rem, .py-6rem{padding-top: 5rem;}
    .pb-6rem, .py-6rem{padding-bottom: 5rem;}
    .feature-badge {
        font-size: 1rem;
        padding: 1rem;
        min-width: 80px;
        height: 80px;
    }
    .feature-badge svg {
        width: 35px;
    }
    footer svg { width: 35px; }
}

@media (max-width: 991.98px) {
    html, body{
        background-color: #fff;
    }
    .mb-xs-0rem{
        margin-bottom: 0;
    }
    .pt-6rem, .py-6rem{
        padding-top: 3rem;
    }
    .pb-6rem, .py-6rem{
        padding-bottom: 3rem;
    }
    .header-light header, .header-light #home{
        --bs-secondary-rgb: 255, 255, 255;
    }
    header{
        z-index: 1;
    }
    .section-hero{
        text-align: center;
    }
    .section-hero p{
        width: 100%;
    }
    .section-hero .mb-4rem{
        margin-bottom: 1.75rem;
    }
    .hero-banner {
        height: 200px;
    }
    .section-title{
        text-align: center;
    }
    .section-subtitle, .section-hero p{
        font-size: 0.75rem !important;
        text-align: center;
    }
    .btn {
        --bs-btn-font-size: 0.875rem;
        --bs-btn-line-height: 2;
        --bs-btn-font-weight: 600;
        --bs-btn-padding-x: 3.75rem;
        --bs-btn-padding-y: 0.5rem;
        --bs-btn-border-radius: 0.5rem;
        width: 100%;
    }
    .plates-container {
        background-size: auto;
    }
    .plate-cards{
        text-align: center;
    }
    .plate-cards h3{
        font-size: 1.75rem;
    }
    .plate-cards p,.accordion-button, .accordion-body {
        font-size: 0.875rem;
    }
    #why .shapes {
        right: 0.5rem;
        width: 10vw;
    }
    #why .vertical-align-top{
        width: 30px;
        vertical-align: middle;
    }
    .feature-badge {
        font-size: 0.725rem;
        padding: 0.5rem;
        gap: 5px;
        min-width: 50px;
        height: 50px;
    }
    .feature-badge svg {
        width: 16px;
    }
    #blog a:not(.btn) {
        font-size: 1rem;
    }
    footer svg { width: 26px; }
}

@media (max-width: 767.98px) {
    .feature-badge {
        gap: 6px;
        padding: 0.5rem;
        min-width: 35px;
        height: 35px;
        font-size: 0.5rem;
    }
    .feature-badge svg {
        width: 13px;
    }
    .counter-section p {
        font-size: 0.875rem;
    }
    footer ul a {
        font-size: 1rem;
    }
    .contact .form-control {
        font-size: 0.875rem;
        padding: 1rem !important;
    }
    footer svg { width: auto; }
}
@media (max-width: 576px) {
    .container{
        --bs-gutter-x: 3rem;
    }
    .display-1 {
        font-size: calc(1.425rem + 2vw);
        font-weight: 300;
        line-height: 1.2;
    }
    .fs-5 {
        font-size: 1rem !important;
    }
    .mb-4rem {
        margin-bottom: 2rem;
    }
    #about h3{
        font-size: 1rem;
    }
    #why .shapes {
        width: 15vw;
    }
    .feature-badge {
        gap: 2px;
        padding: 0.4rem;
        min-width: 30px;
        height: 30px;
        font-size: 0.4rem;
    }
    .feature-badge svg {
        width: 10px;
    }
    .counter-section p {
        font-size: 0.75rem;
    }
}
@media (max-width: 399px) {
    .feature-badge {
        gap: 2px;
        padding: 0.2rem;
        min-width: 25px;
        height: 25px;
        font-size: 0.35rem;
    }
    .feature-badge svg {
        width: 7px;
    }
}