/* Sidebar Navigation Styling */

.service-nav {
    position: sticky;
    top: 120px;
    border-left: 2px solid #e5e5e5;
    padding-left: 2rem;
}

.service-nav a {
    display: block;
    color: #888;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.service-nav a:hover,
.service-nav a.active {
    color: var(--color-1);
    /* Your theme orange */
    transform: translateX(5px);
}


/* Timeline Visual Styling */

.timeline-container {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    gap: 10px;
    flex-wrap: wrap;
}

.timeline-step {
    flex: 1;
    min-width: 140px;
    background: linear-gradient(135deg, #1f2020, #2c3032);
    padding: 1.5rem 1rem;
    color: #fff;
    position: relative;
    text-align: center;
    border-radius: 4px;
}


/* The arrow effect */

.timeline-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 1.2rem;
    z-index: 1;
}

.timeline-step.start {
    background: var(--color-1);
    /* Highlight first step */
    font-weight: 700;
}

.timeline-step h5 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline-step p {
    font-size: 1.5rem;
    line-height: 1.4;
    color: rgb(255 252 252 / 86%);
    margin: 0;
    text-align: center;
}


/* Deliverables List Styling */

.deliverables-list {
    list-style: none;
    margin-left: 0;
}

.deliverables-list>li {
    margin-bottom: 2.5rem;
}

.deliverables-list h4 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}

.sub-list {
    list-style: none;
    padding-left: 0;
}

.sub-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 1rem;
}

.sub-list li::before {
    content: "•";
    color: var(--color-1);
    font-weight: bold;
    position: relative;
    left: -5px;
    font-size: 2.2rem;
    line-height: 1;
}


/* --- JUSTIFY CONTENT ALIGNMENT --- */


/* Justify the main intro text */

#intro p {
    text-align: left;
    text-justify: inter-word;
}


/* Justify the description text under Timeline & Deliverables */

#timeline>p,
#deliverables>p {
    text-align: left;
    text-justify: inter-word;
}


/* Justify the list items in 'What We Deliver' */

.sub-list li {
    text-align: left;
    text-justify: inter-word;
}


/* Justify the FAQ answers */

.accordion-content p {
    text-align: left;
    text-justify: inter-word;
}


/* 1. Increase font size for Sidebar Navigation ("Overview intro") */

.service-nav a {
    font-size: 18px !important;
    /* Adjust this number as needed */
    line-height: 1.6;
}


/* 2. Increase font size for the "3 Assets" lists (The bullet points under 'What We Deliver') */

.s-content ul li,
.s-content ol li,
.pagecontent li {
    font-size: 16px !important;
    /* Makes the small grey text larger */
    color: #333;
    /* Optional: Makes the text darker/clearer if it's too light */
}


/* 3. Increase font size for Frequently Asked Questions */


/* Note: I'm assuming the class name is '.faq' or similar based on standard naming */

.faq,
.faq-item,
.accordion-body {
    font-size: 18px !important;
}


/* Make the sidebar navigation follow on scroll */

.service-nav {
    position: -webkit-sticky;
    /* For Safari browser support */
    position: sticky;
    top: 50px;
    /* Keeps it 50px from the top of the browser window */
    height: fit-content;
    /* Ensures the container doesn't stretch unnecessarily */
}


/* 1. Style the 'Frequently Asked Questions' label */

h6,
.faq-header {
    font-size: 14px;
    /* Keeps the label small/subtle */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    /* Light grey to keep it distinct from content */
}


/* 2. Increase the size of the actual Questions */

.accordion-button,
.faq-question,
.card-header {
    font-size: 20px !important;
    /* Readable size (standard text size) */
    font-weight: 500;
    /* Semi-bold to make it pop without being huge */
    line-height: 1.5;
}


/* 3. Increase the answer text (when opened) */

.accordion-body,
.faq-answer {
    font-size: 15px !important;
    /* Slightly smaller than the question */
    color: #555;
}


/* 1. Remove the heavy lines (borders) between FAQ items */

.accordion-item,
.card,
.card-header {
    border: none !important;
    /* Removes the boxy border */
    border-bottom: 1px solid #f0f0f0 !important;
    /* Adds a very faint, professional separator instead */
    background: transparent !important;
    /* Removes any grey background colors */
}


/* 2. Fix text rendering to look natural (not AI-generated) */

.accordion-button,
.faq-question {
    hyphens: none !important;
    /* Prevents words from breaking with dashes (e.g. "serv-ice") */
    text-align: left !important;
    /* Ensures words aren't stretched weirdly across the page */
    word-spacing: normal !important;
    /* Removes any extra gaps between words */
    box-shadow: none !important;
    /* Removes the glow/outline when you click */
    padding-left: 0 !important;
    /* Aligns text neatly to the left edge */
}


/* --- 1. Sidebar: Bigger Text & Sticky Scroll --- */

.service-nav {
    position: -webkit-sticky;
    /* For Safari */
    position: sticky;
    top: 92px;
    /* Stays 40px from the top when scrolling */
    height: fit-content;
    /* Prevents it from stretching weirdly */
}

.service-nav a {
    font-size: 18px !important;
    /* Increases size (was likely ~14px) */
    line-height: 2.2;
    /* Adds more space between links */
    display: block;
    /* Ensures the whole area is clickable */
    color: #666;
    /* Soft grey (change if you want darker) */
    text-decoration: none;
    /* Removes underlines until hovered */
}

.service-nav a.active,
.service-nav a:hover {
    color: #000;
    /* Darker color when active/hovered */
    font-weight: 600;
    /* Makes the active link pop */
}


/* --- 2. FAQ Section: Readable & Clean (No "Robot" look) --- */


/* Fixes the "dashes between words" and clean up borders */

.accordion-item,
.faq-item {
    border: none !important;
    /* Removes heavy boxes */
    border-bottom: 1px solid #e5e5e5 !important;
    /* Adds a thin, modern divider */
    background: transparent !important;
}

.accordion-button,
.faq-question {
    font-size: 17px !important;
    /* Good readable size */
    font-weight: 500;
    /* Semi-bold for clarity */
    padding: 20px 0 !important;
    /* Adds breathing room top/bottom */
    hyphens: none !important;
    /* FORCE REMOVES dashes between words */
    word-break: keep-all;
    /* Keeps words whole */
    box-shadow: none !important;
    /* Removes blue glow on click */
}

.accordion-body,
.faq-answer {
    font-size: 16px !important;
    /* Slightly smaller than question */
    color: #444;
    /* Dark grey for readability */
    line-height: 1.6;
    /* Easy to read paragraph spacing */
    padding-bottom: 20px;
}


/* --- 3. Content Lists (The Bullet Points) --- */

.s-content ul li,
.s-content ol li {
    font-size: 17px !important;
    /* Matches the FAQ readability */
    margin-bottom: 10px;
    /* Adds space between bullets */
    line-height: 1.6;
}


/* =========================================
           MOBILE LAYOUT FIX: Content First, Menu Last
           ========================================= */

@media screen and (max-width: 1000px) {
    /* 1. Enable Flexbox Reordering */
    .s-pagecontent .row {
        display: flex;
        flex-direction: column;
    }
    /* 2. Push the Sidebar (Overview, Timeline links) to the BOTTOM */
    .s-pagecontent .column.xl-3 {
        order: 2;
        /* Moves it to position 2 */
        margin-top: 60px;
        /* Adds space above it */
        margin-bottom: 40px;
        border-top: 1px solid #e5e5e5;
        /* Adds a separator line on top */
        padding-top: 40px;
    }
    /* 3. Pull the Main Content to the TOP */
    .s-pagecontent .column.xl-9 {
        order: 1;
        /* Moves it to position 1 */
    }
    /* 4. Reset Sidebar Styling for Bottom View */
    .service-nav {
        position: static;
        /* Removes sticky behavior */
        top: auto;
        border-left: none;
        /* Removes the left green line */
        padding-left: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        /* Spacing between buttons */
    }
    /* 5. Make the links look like buttons/tags at the bottom */
    .service-nav a {
        font-size: 16px !important;
        background: #f5f5f5;
        padding: 10px 20px;
        border-radius: 50px;
        margin-bottom: 0;
        color: #333;
        font-weight: 600;
    }
    .service-nav a.active {
        background: var(--color-1);
        color: #fff;
    }
}


/* =========================================
   SERVICES LIST LAYOUT
   ========================================= */

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 2rem 0 4rem;
}

.service-item {
    display: grid;
    grid-template-columns: 28rem 1fr;
    gap: 4rem;
    padding: 3.6rem 0;
    border-bottom: 1px solid #e8e8e8;
    align-items: start;
}

.service-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.service-item__header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.3;
    position: sticky;
    top: 100px;
}

.service-item__body p {
    font-size: 1.5rem;
    line-height: 1.75;
    color: #555;
    margin-bottom: 1.8rem;
}

.service-item__body ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.service-item__body ul li {
    font-size: 1.3rem !important;
    background: #f5f2ee;
    color: #333;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 2.8rem 0;
    }
    .service-item__header h3 {
        position: static;
    }
}
