/* ==============================================================
   Booking & Scheduling Page – Updated to match Workout Page Colors
   (--primary-color #ff4b2b, --secondary-color #0b1220)
   ============================================================== */

:root {
    --primary-hover: #ff6a4b;      /* Workout Accent Hover */
    --secondary-color: #0b1220;    /* Workout Dark Headings */
    --text-dark: #374151;
    --text-light: #6b7785;         /* Workout Lead Text */
    --bg-light: #f9fafb;           /* Workout Light Background */
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ---------- Buttons ---------- */
.primary-btn-color {
    background: #ff6b35;
    color: #fff;
}

.primary-btn-color:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.secondary-btn-color {
    background: #fff;
    color: #ff6b35 !important;
    border: 1px solid #e5e7eb;
}

.secondary-btn-color:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.white-btn {
    background: #fff;
    color: #ff6b35;
}

.white-btn:hover {
    background: #fff5f3; /* Light orange tint on hover */
}

.mini-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.mini-btn.green {
    background: #16a34a;
}

.accent {
    color: #ff6b35;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 650px;
    justify-content: space-between;
    margin: 0 auto;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-cta-row {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-wrap {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.hero-image-wrap img {
    width: 100%;
    display: block;
}

.floating-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow-card);
    font-size: 13px;
}

.card-calendar {
    top: 20px;
    right: -20px;
    width: 200px;
}

.fc-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.fc-dot {
    width: 10px;
    height: 10px;
    background: #ff6b35;
    border-radius: 50%;
}

.fc-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 11px;
}

.fc-calendar span {
    padding: 4px 0;
    border-radius: 4px;
}

.fc-calendar .active {
    background: #ff6b35;
    color: #fff;
    font-weight: 700;
}

.card-user {
    bottom: 30px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 240px;
}

.fc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.card-user p {
    color: var(--text-light);
    font-size: 11px;
    margin: 0;
}

/* ---------- WHAT IS ---------- */
.what-is-section {
    background-image: url('http://fitnexsolutions.com/ae/wp-content/uploads/sites/2/2026/05/featues-sec2-bg-1.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #ff6b35;
    
    padding: 160px 0 120px; 
    margin-top: 60px;
    position: relative;
}

.what-is-card {
    background: transparent; 
    border-radius: 12px;
    padding: 60px 50px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    margin: 0 auto;
    margin-top: -220px;
    gap: 50px;
    position: relative;
    max-width: 950px;
    z-index: 2;
    isolation: isolate; 
}

/* The White Layer */
.what-is-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    border-radius: 12px;
    z-index: -1; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); 
}

/* The Peach Back Layer */
.what-is-card::before {
    content: "";
    position: absolute;
    top: 30px; 
    left: -18px; 
    right: -18px; 
    bottom: -18px; 
    background-color: #ffe6c7;
    border-radius: 12px;
    z-index: -2; 
}
.what-is-right p {
    margin-bottom: 20px;
}

/* Quote Mark styling */
.what-is-left {
    position: relative;
    z-index: 1;
}
.what-is-left::before {
    content: "“";
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 180px;
    font-family: serif;
    color: #ffedd5; /* Updated to match new warm theme */
    z-index: -1;
    line-height: 1;
}

/* ---------- FEATURE SECTIONS ---------- */
.feature-section {
    background: #fff;
}

.feature-section.alt-bg {
    background: var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.feature-grid.reverse .feature-visual {
    order: 2;
}

.check-list {
    list-style: none;
    margin: 15px 0 28px;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    list-style: none;
    padding-bottom: 10px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    background-image: url("http://fitnexsolutions.com/ae/wp-content/uploads/sites/2/2026/05/fi_8297187-1.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ---------- MOCK CARDS ---------- */
.mock-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 380px;
    margin: 0 auto;
}

.mock-card strong {
    color: var(--secondary-color);
    font-size: 15px;
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    text-align: center;
}

.week-grid div {
    padding: 10px 4px;
    border-radius: 8px;
    background: var(--bg-light);
    font-size: 12px;
}

.week-grid div b {
    display: block;
    font-size: 16px;
    color: var(--secondary-color);
}

.week-grid .active {
    background: #ff6b35;
    color: #fff;
}

.week-grid .active b {
    color: #fff;
}

.member-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 10px;
}

.member-row img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.member-row>div {
    flex: 1;
}

.member-row p {
    font-size: 11px;
    color: var(--text-light);
    margin: 0;
}

.policy-mock {
    background: #fff7ed; /* Light orange tint */
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.toggle {
    width: 32px;
    height: 18px;
    background: #d1d5db;
    border-radius: 20px;
    position: relative;
}

.toggle.on {
    background: #ff6b35;
}

.toggle.on::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
}

.mini-cal {
    display: flex;
    gap: 6px;
}

.mini-cal span {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 12px;
}

.mini-cal .active {
    background: #ff6b35;
    color: #fff;
    font-weight: 700;
}

.tab-row {
    display: flex;
    gap: 6px;
}

.tab-row span {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.tab-row .active {
    background: #ff6b35;
    color: #fff;
}

.time-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 12px;
}

.time-row span {
    flex: 1;
    color: var(--text-light);
}

/* ---------- DARK SECTION ---------- */
.dark-section {
    background: var(--secondary-color);
}

.dashboard-mock {
    background: #fff;
    border-radius: 16px;
    margin-top: 40px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.dash-toolbar {
    display: flex;
    gap: 4px;
    padding: 14px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    font-weight: 600;
    overflow-x: auto;
}

.dash-toolbar span {
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--text-light);
    white-space: nowrap;
}

.dash-toolbar .active {
    background: #ff6b35;
    color: #fff;
}

.dash-body {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 180px;
    gap: 6px;
    padding: 14px;
    background: var(--bg-light);
}

.dash-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-cell {
    background: #ffedd5; /* Warm tint */
    padding: 14px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Adjusted mock dashboard cell colors to match orange/warm theme */
.dash-cell.purple {
    background: #fdba74; 
}

.dash-cell.pink {
    background: #fecaca;
}

.dash-cell.green {
    background: #bbf7d0;
}

.dash-col.side {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
}

.dash-col.side strong {
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.dash-col.side span {
    font-size: 11px;
    padding: 6px;
    color: var(--text-light);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    background: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
}

.cta-banner p {
    margin-bottom: 24px;
    opacity: .9;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .steps-process-grid.reverse {
    grid-template-columns: 100%;
}
.secondary-btn-color {
    margin-top: 0px;
}

    .hero-grid,
    .what-is-card,
    .feature-grid,
    .feature-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-grid.reverse .feature-visual {
        order: 0;
    }

    .sub-headline {
        font-size: 40px;
        line-height: 1.1;
    }

    .dash-body {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-col.side {
        grid-column: 1 / -1;
    }

    .what-is-card {
        padding: 30px;
    }

    .floating-card {
        display: none;
    }
}

.hero-content h1 {
    padding-bottom: 0;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    font-size: 40px;
    line-height: 50px;
}
.sub-headline {
    min-height: 0px;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Inline Icon + Text alignments for Taglines */
.hero-tagline-row, .feature-tagline-row {
    display: flex;
    padding: 10px 20px 10px 5px;
    background-color: #ffffff;
    width: fit-content;
    border-radius: 44px;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.tagline-custom-icon {
    width: 20px;
    height: auto;
    object-fit: contain;
    display: inline-block;
}

.hero-tagline-row .heading-101,
.feature-tagline-row .heading-101 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Dynamic Image CTA Banner fixes */
.position-relative-cta {
    position: relative !important;
    overflow: hidden;
}

.cta-banner-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Workout dark overlay styled above background layer */
.cta-banner-bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, 0.85); /* Clean blend overlay */
}

.relative-z-cta {
    position: relative;
    z-index: 2;
}
/* ---------- FEATURE MOCKUP IMAGE RESPONSIVE FIX ---------- */
.feature-mockup-img {
    width: 100%;
    max-width: 500px; /* Limits the image to the exact design size of the original mockup cards */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto; /* Centers the graphic when the columns stack on mobile screens */
    border-radius: 16px; /* Smooth rounded corners matching the original card footprint */
    box-shadow: var(--shadow-card); /* Applies your consistent theme card elevation dropshadow */
}

/* Responsive adjustment for mobile screen breakpoints */
@media (max-width: 900px) {
    .feature-visual {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px; /* Adds space underneath the image when stacked above text content */
    }
    
    .feature-mockup-img {
        max-width: 320px; /* Marginally scales down on narrow phone layouts so it doesn't crowd screen edges */
    }
}
/* Add this inside your existing @media (max-width: 900px) block */
@media (max-width: 900px) {
    
    .what-is-section {
        /* Reduce padding slightly on mobile so the wave background wraps nicely */
        padding: 80px 0 60px;
        margin-top: 40px;
    }

    .what-is-card {
        /* Reduce the extreme pull-up so it sits safely within the viewable hero section container */
        margin-top: -100px;
        /* Stack columns vertically instead of keeping side-by-side grid tracks */
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 35px 24px;
        width: 90%;
    }

    /* Readjust the peach layer offset boundaries so they don't break the stacked vertical alignment */
    .what-is-card::before {
        top: 15px; 
        left: -10px; 
        right: -10px; 
        bottom: -10px;
        border-radius: 12px;
    }

    .what-is-left h2 {
        font-size: 28px; /* Scales down the big headline text so it fits small mobile viewports */
        text-align: center;
    }

    .what-is-right p {
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
    }

    /* Reposition or shrink the decorative block quotation mark on mobile layouts */
    .what-is-left::before {
        font-size: 100px;
        top: -30px;
        left: 50%;
        transform: translateX(-50%); /* Centers the quote graphic when layout components are stacked center */
        opacity: 0.5;
    }
}

check-list {
    list-style: none;
    padding: 0;
}

.list-content strong {
    display: block;
    color: #0b1220;
    font-size: 16px;
    font-weight: 700;
}

.list-content p {
    margin: 4px 0 0 0 !important;
}

/* ---------- STEPS PROCESS SECTION ---------- */
.steps-process-section {
    background: #fff;
}

.steps-process-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
    align-items: center;
}

.steps-main-image img {
    max-width: 100%;
    border-radius: 22px;
    height: auto;
    display: block;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    gap: 30px;
}

.step-number-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ff6b35;
    font-size: 18px;
    background: #fff;
    z-index: 2;
    margin-top: 15px;
    margin-bottom: 15px;
}

.step-line {
    flex: 1;
    width: 2px;
    background-image: linear-gradient(to bottom, #e5e7eb 50%, transparent 50%);
    background-size: 2px 10px;
    background-repeat: repeat-y;
    min-height: 50px;
    margin-bottom: 15px;
}

/* Hide line on last item */
.step-item:last-child .step-line {
    display: none;
}

.step-content-col {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 26px 0 rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    flex: 1;
}

.step-content-col h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .steps-process-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
    .steps-process-grid.reverse {
    grid-template-columns: 100%;
}
}

/* Steps Process Dynamic Left/Right + Alt BG */

.steps-process-section.alt-bg{
    background: var(--bg-light);
}

.steps-process-grid.reverse .steps-left-col{
    order:2;
}

.steps-process-grid.reverse .steps-right-col{
    order:1;
}

.steps-process-grid.reverse {
    grid-template-columns: 60% 40%;
}

/* --------------------------------------------------------------------------------
   12. FAQ Section
-------------------------------------------------------------------------------- */

.faq-section{
    background-image: url(http://fitnexsolutions.com/ae/wp-content/uploads/sites/2/2026/05/faqs-background.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background:linear-gradient(
        135deg,
        rgba(211,236,255,.35),
        rgba(255,224,224,.35)
    ); */
    /* padding:100px 0; */
    /* position:relative; */
}

.container-small-18{
    width:100%;
    max-width:1080px;
    margin-left:auto;
    margin-right:auto;
    position:relative;
}

.faq-title{
    /* text-align:center; */
    /* font-size:48px; */
    /* font-weight:700; */
    /* color:#111; */
    /* margin-bottom:50px; */
}

/* FAQ Item */

.faq-item{
    background:rgba(255,255,255,.45);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    border: 1px solid rgb(141 106 106 / 35%);

    border-radius:12px;
    margin-bottom:18px;
    overflow:hidden;
    padding:0;

    transition:all .35s ease;

    box-shadow:
    0 4px 12px rgba(0,0,0,.02);
}

/* Open state */

.faq-item.active{
    background:rgba(255,255,255,.78);

    box-shadow:
    0 8px 28px rgba(0,0,0,.05);
}

/* Question */

.faq-question{
    /* width:100%; */
    /* background:none; */
    /* border:none; */
    /* outline:none; */
    /* text-align:left; */
    /* font-size:18px; */
    /* font-weight:600; */
    /* color:#111; */
    /* cursor:pointer; */
    /* display:flex; */
    /* justify-content:space-between; */
    /* align-items:center; */
    padding:28px 30px;
}

/* Icon */

.faq-question .icon{
    font-size:34px;
    font-weight:300;
    color: #ff6b35;
    line-height:1;
    transition:all .3s ease;
}

/* Rotate icon when active */

.faq-item.active .faq-question .icon{
    transform:rotate(45deg);
}

/* Answer */

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:
    max-height .4s ease,
    padding .3s ease;

    padding:0 30px;
}

.faq-answer p{
    margin:0;
    padding:25px 0;
    border-top: 1px solid rgb(141 106 106 / 35%);
    color: #000000;
    /* font-size:16px; */
    line-height:1.8;
}

.faq-item.active .faq-answer{
    max-height:300px;
}

/* Mobile */

@media(max-width:767px){

    .faq-section{
        padding:60px 20px;
    }

    .faq-title{
        font-size:32px;
        margin-bottom:35px;
    }

    .faq-question{
        font-size:16px;
        padding:20px;
    }

    .faq-question .icon{
        font-size:28px;
    }

    .faq-answer{
        padding:0 20px;
    }

}