        /* --- Plan Smarter Banner Section Styling --- */
        .plan-smarter-section {
            /* Uses the deep blue brand color with 90% opacity over the image */
            background: url('assets/images/service-hero.png') no-repeat center center;
            background-size: cover;
        }

        /* --- Integrated Intro Section Styling --- */

        /* Wrapper to maintain image proportions across screen sizes */
        .integrated-img-wrapper {
            aspect-ratio: 1 / 1.05;
            /* Slightly taller than a perfect square */
            width: 100%;
            overflow: hidden;
            background-color: #f4f7f9;
            /* Placeholder background */
        }

        .integrated-img-wrapper img {
            transition: transform 0.5s ease;
        }

        /* Optional subtle zoom on hover for the image */
        .integrated-img-wrapper:hover img {
            transform: scale(1.03);
        }

        /* --- Exact Design & Engineering Coordination Styling --- */

        /* Deep Navy Background */
        .design-coordination-section {
            background-color: #2B0B00;
            overflow: hidden;
        }

        /* Scrollable Container Configuration */
        .design-scroll-container {
            width: max-content;
            padding-right: 50px;
        }

        /* The Cards */
        .design-card {
            background-color: #D8693B;
            width: 85vw;
            max-width: 950px;
            min-height: 400px;
        }

        /* Large faded numbers perfectly aligned at the bottom left */
        .card-watermark {
            font-size: 5.5rem;
            font-weight: 700;
            color: #153453;
            /* Deep blue that blends exactly into the card background */
            line-height: 0.75;
            letter-spacing: -3px;
            z-index: 0;
        }

        /* Custom Bullet List styling specifically for these cards */
        .custom-bullet-list {
            list-style-type: none;
            padding-left: 0;
        }

        .custom-bullet-list li {
            position: relative;
            padding-left: 15px;
            margin-bottom: 12px;
        }

        .custom-bullet-list li::before {
            content: '•';
            /* Native bullet character */
            position: absolute;
            left: 0;
            top: 0;
            color: #8a9eb3;
            font-size: 1.2rem;
            line-height: 1;
        }

        /* Scrollable Container Configuration */
        .design-scroll-container {
            width: max-content;
            padding-right: 5vw;
            /* Adds breathing room after the last card */
            cursor: grab;
            /* Indicates the area is draggable */
        }

        .design-scroll-container:active {
            cursor: grabbing;
            /* Changes cursor when actively dragging */
        }

        /* The Cards */
        .design-card {
            background-color: #D8693B;
            /* Force exact widths so Card 1 and Card 2 are identical */
            width: 85vw;
            max-width: 950px;
            flex: 0 0 85vw;
            min-height: 400px;
        }

        /* Ensure the max-width doesn't override the flex-basis on very large screens */
        @media (min-width: 1118px) {
            .design-card {
                flex: 0 0 950px;
            }
        }

        /* --- Better Coordination Section Styling --- */

        /* Background color (reused if you already have it) */
        .bg-off-white {
            background-color: #fafbfc;
        }

        /* Maintain image proportions (Landscape 4:3) */
        .coordination-img-wrapper {
            aspect-ratio: 4 / 3;
            overflow: hidden;
            border-radius: 2px;
        }

        /* List Item Borders */
        .coordination-list-item {
            border-bottom: 1px solid #e2e8ec;
        }

        /* Add a top border to the first item to frame the list exactly like the design */
        .coordination-list-item:first-child {
            border-top: 1px solid #e2e8ec;
        }

        /* --- Plan Smarter Banner Section Styling --- */
        .plan-smarter-section {
            /* Uses the deep blue brand color with 90% opacity over the image */
            background: url('assets/images/service-hero.png') no-repeat center center;
            background-size: cover;
        }


        /* --- Introduction Section Styling --- */

        /* Ensures the image maintains a consistent shape */
        .intro-img-wrapper {
            aspect-ratio: 1 / 1.1;
            /* Creates a slight vertical rectangle */
            overflow: hidden;
        }

        /* If you haven't added these utility classes from the Blog section yet, here they are again: */
        .read-more-link {
            border-bottom: 1px solid rgba(59, 139, 176, 0.3);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }

        .read-more-link:hover {
            border-bottom-color: #3b8bb0;
            color: #0b5093 !important;
        }

        .arrow-icon {
            transition: transform 0.3s ease;
        }

        .read-more-link:hover .arrow-icon {
            transform: translateX(4px);
        }


        /* --- Planning & Feasibility Section Styling --- */

        /* Deep Navy Background */
        .planning-services-section {
            background-color: #2B0B00;
            /* Very dark blue from the design */
        }

        /* Reusable text color for paragraphs and lists in this section */
        .text-light-blue {
            color: #92a8bf;
            /* Soft grayish blue */
        }

        /* Horizontal dividers between service rows */
        .service-row {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            /* Subtle separator line */
        }

        /* Image wrapper for uniform sizing */


        /* Custom Bullet List styling */
        .custom-bullet-list {
            list-style-type: none;
            padding-left: 0;
        }

        .custom-bullet-list li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 12px;
        }

        /* Creating the custom small dot for the list items */
        .custom-bullet-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            /* Adjust slightly based on line height */
            width: 4px;
            height: 4px;
            background-color: #92a8bf;
            /* Matches the text color */
            border-radius: 50%;
        }

        /* --- Informed Decisions Section Styling --- */

        /* Very subtle off-white background matching the design */
        .bg-off-white {
            background-color: #fafbfc;
        }

        /* List Item Borders */
        .decision-list-item {
            border-bottom: 1px solid #e2e8ec;
            transition: background-color 0.3s ease;
        }

        /* Ensure the very first item has a top border to match the design */
        .decision-list-item:first-child {
            border-top: 1px solid #e2e8ec;
        }

        /* Hover effect on list items */
        .decision-list-item:hover {
            background-color: #ffffff;
            /* Turns slightly whiter on hover */
        }

        /* Arrow Icon Animation */
        .decision-arrow {
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .decision-list-item:hover .decision-arrow {
            transform: translateX(5px);
            color: #0b5093 !important;
            /* Darkens slightly on hover */
        }

        /* Hover color adjustments for text */
        .decision-list-item:hover h6 {
            color: #0b5093 !important;
        }

        /* Mobile Adjustments */
        @media (max-width: 767px) {
            .decision-list-item .col-10 {
                padding-left: 25px;
                /* Aligns text neatly under the numbers on mobile screens */
            }
        }

        /* --- Project Process Timeline Styling --- */

        .timeline-row {
            position: relative;
        }

        /* The continuous horizontal line that connects the dots */
        .timeline-line {
            position: absolute;
            /* Vertically centers the line exactly behind the hollow dots */
            top: 41px;
            left: 15px;
            /* Accounts for Bootstrap's default column padding */
            right: 15px;
            height: 1px;
            background-color: #e8ecf0;
            /* Light grayish-blue line */
            z-index: 1;
        }

        /* Force consistent line-height so the timeline line math is perfect */
        .timeline-num {
            line-height: 1;
        }

        /* The hollow blue circles */
        .timeline-dot {
            position: relative;
            z-index: 2;
            /* Keeps the dot above the line */
            width: 16px;
            height: 16px;
            background-color: #ffffff;
            border: 3px solid  #D8693B;
            /* The primary dark blue color */
            border-radius: 50%;
        }

        /* Mobile Specific Adjustments */
        @media (max-width: 767px) {
            .timeline-col {
                /* Adds a subtle left border to connect items visually on mobile when stacked */
                border-left: 1px solid #e8ecf0;
                margin-left: 15px;
                padding-left: 20px;
                position: relative;
            }

            /* Reposition the dots to sit on the vertical line for mobile */
            .timeline-dot {
                position: absolute;
                left: -9px;
                top: 36px;
                margin-bottom: 0 !important;
            }
        }

        /* --- Projects We Support Section Styling --- */

        /* Reusing the off-white background class if not already defined */
        .bg-off-white {
            background-color: #fafbfc;
        }

        /* Horizontal Thin Line Divider */
        .projects-divider {
            width: 100%;
            height: 1px;
            background-color: #e2e8ec;
        }

        /* Light Blue Icon Boxes */
        .support-icon-box {
            width: 50px;
            height: 50px;
            background-color: #D8693B17;
            /* Very light blue */
            color: #0b5093;
            /* Brand dark blue */
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 2px;
        }

        /* Faint numbers in the top right of each column */
        .support-num {
            color: #b0bac5;
            /* Light muted gray */
            letter-spacing: 1px;
        }

        /* Customizing the Accordion Borders */
        .custom-accordion-item {
            border-color: #e2e8ec !important;
        }

        /* Customizing the Accordion Button */
        .custom-accordion-btn:focus {
            box-shadow: none;
        }

        .custom-accordion-btn:not(.collapsed) {
            color: #0b1c31;
            background-color: transparent;
            box-shadow: none;
        }

        /* Replacing the default Bootstrap Chevron with +/- icons */
        .custom-accordion-btn::after {
            background-image: none !important;
            content: '-';
            font-size: 1.5rem;
            font-weight: 300;
            color:  #D8693B;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        /* When the accordion is closed (collapsed state), show the '+' */
        .custom-accordion-btn.collapsed::after {
            content: '+';
        }

        /* --- Contact Section Styling --- */

        /* Gradient background matching the design */
        .contact-section {
            background: linear-gradient(135deg, #FFCBB5 0%, #ede9e7 55%, #ede9e7 100%);
        }

        /* Info box on the left */
        .contact-info-box {
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        }

        /* Soft, large shadow for the form card */
        .form-card-shadow {
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
            border-radius: 2px;
        }

        /* Custom Input Field Styling */
        .custom-input {
            border: 1px solid #e2e8ec;
            border-radius: 2px;
            padding: 0.75rem 1rem;
            font-size: 0.9rem;
            color: #495057;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        /* Placeholder styling */
        .custom-input::placeholder {
            color: #aeb9c3;
            font-weight: 400;
        }

        /* Focus state for inputs */
        .custom-input:focus {
            border-color: #3b8bb0;
            box-shadow: 0 0 0 3px rgba(59, 139, 176, 0.15);
            outline: none;
        }

        /* Ensuring select element matches placeholder color when unselected */
        select.custom-input:invalid {
            color: #aeb9c3;
        }
        /* --- Plan Smarter Banner Section Styling --- */
.plan-smarter-section {
    /* Notice the ../ before images */
    background: url('../images/service-hero.png') no-repeat center center;
    background-size: cover;
}   

.text-or {
    color: #D8693B;
}


    .btn-primary-custom {
        background-color: #D8693B;
        color: white;
        border: none;
        transition: all 0.3s ease;
        font-size: 0.95rem;
    }
















    /* =====================================================================
   new-style.css  (services page)
   - Duplicate rules merged (each class is defined once)
   - Mobile / tablet responsive rules added next to each section
   - Image paths use ../images/ because this file lives in assets/css/
   ===================================================================== */

/* --- Shared utilities --- */
.bg-off-white {
    background-color: #fafbfc;
}

.text-or {
    color: #D8693B;
}

.text-light-blue {
    color: #92a8bf; /* Soft grayish blue */
}

.btn-primary-custom {
    background-color: #D8693B;
    color: white;
    border: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.read-more-link {
    border-bottom: 1px solid rgba(59, 139, 176, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.read-more-link:hover {
    border-bottom-color: #3b8bb0;
    color: #0b5093 !important;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.read-more-link:hover .arrow-icon {
    transform: translateX(4px);
}

/* --- Plan Smarter Banner --- */
.plan-smarter-section {
    background: url('../images/service-hero.png') no-repeat center center;
    background-size: cover;
    overflow-x: clip;
}

/* --- Integrated Intro Section --- */

/* Keeps image proportions across screen sizes */
.integrated-img-wrapper {
    aspect-ratio: 1 / 1.05; /* Slightly taller than a perfect square */
    width: 100%;
    overflow: hidden;
    background-color: #f4f7f9; /* Placeholder background */
}

.integrated-img-wrapper img {
    transition: transform 0.5s ease;
}

/* Subtle zoom on hover */
.integrated-img-wrapper:hover img {
    transform: scale(1.03);
}

/* --- Introduction Section --- */
.intro-img-wrapper {
    aspect-ratio: 1 / 1.1; /* Slight vertical rectangle */
    overflow: hidden;
}

/* --- Design & Engineering Coordination --- */
.design-coordination-section {
    background-color: #2B0B00;
    overflow: hidden;
}

/* Scrollable container */
.design-scroll-container {
    width: max-content;
    padding-right: 5vw; /* Breathing room after the last card */
    cursor: grab;       /* Indicates the area is draggable */
}

.design-scroll-container:active {
    cursor: grabbing;
}

/* Cards: exact widths so every card is identical */
.design-card {
    background-color: #D8693B;
    width: 85vw;
    max-width: 950px;
    flex: 0 0 85vw;
    min-height: 400px;
}

/* Keep max-width from overriding the flex-basis on large screens */
@media (min-width: 1118px) {
    .design-card {
        flex: 0 0 950px;
    }
}

/* Large faded numbers at the bottom left of each card.
   Colour is a slightly darker shade of the card orange so it blends in
   (it was dark blue, which clashed with the orange cards). */
.card-watermark {
    font-size: 5.5rem;
    font-weight: 700;
    color: #C25A2F;
    line-height: 0.75;
    letter-spacing: -3px;
    z-index: 0;
}

@media (max-width: 767.98px) {
    .design-card {
        min-height: 340px;
    }

    .card-watermark {
        font-size: 4rem;
        letter-spacing: -2px;
    }

    .design-scroll-container {
        padding-right: 1.5rem;
    }
}

/* --- Better Coordination Section --- */

/* Landscape 4:3 images */
.coordination-img-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
}

.coordination-list-item {
    border-bottom: 1px solid #e2e8ec;
}

/* Top border on the first item to frame the list */
.coordination-list-item:first-child {
    border-top: 1px solid #e2e8ec;
}

/* --- Planning & Feasibility Section --- */
.planning-services-section {
    background-color: #2B0B00;
    overflow-x: clip;
}

/* Horizontal dividers between service rows */
.service-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom bullet list (small dot) */
.custom-bullet-list {
    list-style-type: none;
    padding-left: 0;
}

.custom-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.custom-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background-color: #92a8bf;
    border-radius: 50%;
}

@media (max-width: 767.98px) {
    .service-row img {
        width: 100%;
        height: auto;
    }

    .custom-bullet-list li {
        margin-bottom: 10px;
    }
}

/* --- Informed Decisions Section --- */
.decision-list-item {
    border-bottom: 1px solid #e2e8ec;
    transition: background-color 0.3s ease;
}

.decision-list-item:first-child {
    border-top: 1px solid #e2e8ec;
}

.decision-list-item:hover {
    background-color: #ffffff;
}

.decision-arrow {
    transition: transform 0.3s ease, color 0.3s ease;
}

.decision-list-item:hover .decision-arrow {
    transform: translateX(5px);
    color: #0b5093 !important;
}

.decision-list-item:hover h6 {
    color: #0b5093 !important;
}

@media (max-width: 767.98px) {
    .decision-list-item .col-10 {
        padding-left: 25px; /* Aligns text under the numbers on mobile */
    }
}

/* --- Project Process Timeline --- */
.timeline-row {
    position: relative;
}

/* Horizontal line that connects the dots (desktop / tablet) */
.timeline-line {
    position: absolute;
    top: 41px;
    left: 15px;  /* Accounts for Bootstrap column padding */
    right: 15px;
    height: 1px;
    background-color: #e8ecf0;
    z-index: 1;
}

/* Consistent line-height so the timeline line math is exact */
.timeline-num {
    line-height: 1;
}

/* Hollow circles */
.timeline-dot {
    position: relative;
    z-index: 2; /* Keeps the dot above the line */
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border: 3px solid #D8693B;
    border-radius: 50%;
}

@media (max-width: 767.98px) {
    /* Steps stack on mobile, so the long horizontal line is hidden
       and each step gets its own vertical line instead. */
    .timeline-line {
        display: none;
    }

    .timeline-col {
        border-left: 1px solid #e8ecf0;
        margin-left: 15px;
        padding-left: 20px;
        padding-bottom: 1rem;
        position: relative;
    }

    /* Dots sit on the vertical line */
    .timeline-dot {
        position: absolute;
        left: -9px;
        top: 36px;
        margin-bottom: 0 !important;
    }
}

/* --- Projects We Support Section --- */
.projects-divider {
    width: 100%;
    height: 1px;
    background-color: #e2e8ec;
}

.support-icon-box {
    width: 50px;
    height: 50px;
    background-color: #D8693B17;
    color: #0b5093;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

/* Faint numbers in the top right of each column */
.support-num {
    color: #b0bac5;
    letter-spacing: 1px;
}

@media (max-width: 575.98px) {
    .support-icon-box {
        width: 42px;
        height: 42px;
    }
}

/* --- Accordion --- */
.custom-accordion-item {
    border-color: #e2e8ec !important;
}

.custom-accordion-btn {
    gap: 1rem;
}

.custom-accordion-btn:focus {
    box-shadow: none;
}

.custom-accordion-btn:not(.collapsed) {
    color: #0b1c31;
    background-color: transparent;
    box-shadow: none;
}

/* Replace the default Bootstrap chevron with +/- icons */
.custom-accordion-btn::after {
    background-image: none !important;
    content: '-';
    font-size: 1.5rem;
    font-weight: 300;
    color: #D8693B;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom-accordion-btn.collapsed::after {
    content: '+';
}

@media (max-width: 575.98px) {
    .custom-accordion-btn {
        font-size: 0.95rem;
    }
}

/* --- Contact Section --- */
.contact-section {
    background: linear-gradient(135deg, #FFCBB5 0%, #ede9e7 55%, #ede9e7 100%);
}

.contact-info-box {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.form-card-shadow {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.custom-input {
    border: 1px solid #e2e8ec;
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #495057;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-input::placeholder {
    color: #aeb9c3;
    font-weight: 400;
}

.custom-input:focus {
    border-color: #3b8bb0;
    box-shadow: 0 0 0 3px rgba(59, 139, 176, 0.15);
    outline: none;
}

/* Select matches placeholder colour when nothing is chosen */
select.custom-input:invalid {
    color: #aeb9c3;
}

@media (max-width: 575.98px) {
    .form-card-shadow .border-bottom.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
}

/* =====================================================================
   Global mobile / tablet adjustments
   ===================================================================== */

/* Safety net against sideways scrolling from offset elements */
.bg-off-white {
    overflow-x: clip;
}

@media (max-width: 767.98px) {
    /* Tighter section spacing */
    section.py-5 > .container.py-5,
    section.py-5 > .container.py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Let headings wrap naturally instead of forced <br> breaks */
    h1 br,
    h2 br {
        display: none;
    }

    .display-3 { font-size: 2.25rem; }
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.75rem; }

    /* 4:3 images instead of tall ones on phones */
    .integrated-img-wrapper,
    .intro-img-wrapper {
        aspect-ratio: 4 / 3;
    }

    .integrated-img-wrapper img,
    .intro-img-wrapper img,
    .coordination-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 16px inputs stop iOS from zooming in on focus */
    .custom-input {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .btn-primary-custom {
        width: 100%;
        text-align: center;
    }
}

/* No "stuck" hover effects after tapping on touch devices */
@media (hover: none) {
    .decision-list-item:hover {
        background-color: transparent;
    }

    .decision-list-item:hover h6 {
        color: inherit !important;
    }

    .decision-list-item:hover .decision-arrow {
        transform: none;
    }

    .integrated-img-wrapper:hover img {
        transform: none;
    }
}




/* =====================================================================
   new-style.css  (services page)
   - Duplicate rules merged (each class is defined once)
   - Mobile / tablet responsive rules added next to each section
   - Image paths use ../images/ because this file lives in assets/css/
   ===================================================================== */

/* --- Shared utilities --- */
.bg-off-white {
    background-color: #fafbfc;
}

.text-or {
    color: #D8693B;
}

.text-light-blue {
    color: #92a8bf; /* Soft grayish blue */
}

.btn-primary-custom {
    background-color: #D8693B;
    color: white;
    border: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.read-more-link {
    border-bottom: 1px solid rgba(59, 139, 176, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.read-more-link:hover {
    border-bottom-color: #3b8bb0;
    color: #0b5093 !important;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.read-more-link:hover .arrow-icon {
    transform: translateX(4px);
}

/* --- Plan Smarter Banner --- */
.plan-smarter-section {
    background: url('../images/service-hero.png') no-repeat center center;
    background-size: cover;
    overflow-x: clip;
}

/* --- Integrated Intro Section --- */

/* Keeps image proportions across screen sizes */
.integrated-img-wrapper {
    aspect-ratio: 1 / 1.05; /* Slightly taller than a perfect square */
    width: 100%;
    overflow: hidden;
    background-color: #f4f7f9; /* Placeholder background */
}

.integrated-img-wrapper img {
    transition: transform 0.5s ease;
}

/* Subtle zoom on hover */
.integrated-img-wrapper:hover img {
    transform: scale(1.03);
}

/* --- Introduction Section --- */
.intro-img-wrapper {
    aspect-ratio: 1 / 1.1; /* Slight vertical rectangle */
    overflow: hidden;
}

/* --- Design & Engineering Coordination --- */
.design-coordination-section {
    background-color: #2B0B00;
    overflow: hidden;
}

/* Scrollable container */
.design-scroll-container {
    width: max-content;
    padding-right: 5vw; /* Breathing room after the last card */
    cursor: grab;       /* Indicates the area is draggable */
}

.design-scroll-container:active {
    cursor: grabbing;
}

/* Cards: exact widths so every card is identical */
.design-card {
    background-color: #D8693B;
    width: 85vw;
    max-width: 950px;
    flex: 0 0 85vw;
    min-height: 400px;
}

/* Keep max-width from overriding the flex-basis on large screens */
@media (min-width: 1118px) {
    .design-card {
        flex: 0 0 950px;
    }
}

/* Large faded numbers at the bottom left of each card.
   Colour is a slightly darker shade of the card orange so it blends in
   (it was dark blue, which clashed with the orange cards). */
.card-watermark {
    font-size: 5.5rem;
    font-weight: 700;
    color: #C25A2F;
    line-height: 0.75;
    letter-spacing: -3px;
    z-index: 0;
}

@media (max-width: 767.98px) {
    .design-card {
        min-height: 340px;
    }

    .card-watermark {
        font-size: 4rem;
        letter-spacing: -2px;
    }

    .design-scroll-container {
        padding-right: 1.5rem;
    }
}

/* --- Better Coordination Section --- */

/* Landscape 4:3 images */
.coordination-img-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
}

.coordination-list-item {
    border-bottom: 1px solid #e2e8ec;
}

/* Top border on the first item to frame the list */
.coordination-list-item:first-child {
    border-top: 1px solid #e2e8ec;
}

/* --- Planning & Feasibility Section --- */
.planning-services-section {
    background-color: #2B0B00;
    overflow-x: clip;
}

/* Horizontal dividers between service rows */
.service-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom bullet list (small dot) */
.custom-bullet-list {
    list-style-type: none;
    padding-left: 0;
}

.custom-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.custom-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background-color: #92a8bf;
    border-radius: 50%;
}

@media (max-width: 767.98px) {
    .service-row img {
        width: 100%;
        height: auto;
    }

    .custom-bullet-list li {
        margin-bottom: 10px;
    }
}

/* --- Informed Decisions Section --- */
.decision-list-item {
    border-bottom: 1px solid #e2e8ec;
    transition: background-color 0.3s ease;
}

.decision-list-item:first-child {
    border-top: 1px solid #e2e8ec;
}

.decision-list-item:hover {
    background-color: #ffffff;
}

.decision-arrow {
    transition: transform 0.3s ease, color 0.3s ease;
}

.decision-list-item:hover .decision-arrow {
    transform: translateX(5px);
    color: #0b5093 !important;
}

.decision-list-item:hover h6 {
    color: #0b5093 !important;
}

@media (max-width: 767.98px) {
    .decision-list-item .col-10 {
        padding-left: 25px; /* Aligns text under the numbers on mobile */
    }
}

/* --- Project Process Timeline --- */
.timeline-row {
    position: relative;
}

/* Horizontal line that connects the dots (desktop / tablet) */
.timeline-line {
    position: absolute;
    top: 41px;
    left: 15px;  /* Accounts for Bootstrap column padding */
    right: 15px;
    height: 1px;
    background-color: #e8ecf0;
    z-index: 1;
}

/* Consistent line-height so the timeline line math is exact */
.timeline-num {
    line-height: 1;
}

/* Hollow circles */
.timeline-dot {
    position: relative;
    z-index: 2; /* Keeps the dot above the line */
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border: 3px solid #D8693B;
    border-radius: 50%;
}

@media (max-width: 767.98px) {
    /* Steps stack on mobile, so the long horizontal line is hidden
       and each step gets its own vertical line instead. */
    .timeline-line {
        display: none;
    }

    .timeline-col {
        border-left: 1px solid #e8ecf0;
        margin-left: 15px;
        /* width + margin-left must not exceed 100%, otherwise the column
           pushes the whole page wider than the screen */
        width: calc(100% - 15px);
        max-width: calc(100% - 15px);
        padding-left: 20px;
        padding-bottom: 1rem;
        position: relative;
    }

    /* Dots sit on the vertical line */
    .timeline-dot {
        position: absolute;
        left: -9px;
        top: 36px;
        margin-bottom: 0 !important;
    }
}

/* --- Projects We Support Section --- */
.projects-divider {
    width: 100%;
    height: 1px;
    background-color: #e2e8ec;
}

.support-icon-box {
    width: 50px;
    height: 50px;
    background-color: #D8693B17;
    color: #0b5093;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

/* Faint numbers in the top right of each column */
.support-num {
    color: #b0bac5;
    letter-spacing: 1px;
}

@media (max-width: 575.98px) {
    .support-icon-box {
        width: 42px;
        height: 42px;
    }
}

/* --- Accordion --- */
.custom-accordion-item {
    border-color: #e2e8ec !important;
}

.custom-accordion-btn {
    gap: 1rem;
}

.custom-accordion-btn:focus {
    box-shadow: none;
}

.custom-accordion-btn:not(.collapsed) {
    color: #0b1c31;
    background-color: transparent;
    box-shadow: none;
}

/* Replace the default Bootstrap chevron with +/- icons */
.custom-accordion-btn::after {
    background-image: none !important;
    content: '-';
    font-size: 1.5rem;
    font-weight: 300;
    color: #D8693B;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.custom-accordion-btn.collapsed::after {
    content: '+';
}

@media (max-width: 575.98px) {
    .custom-accordion-btn {
        font-size: 0.95rem;
    }
}

/* --- Contact Section --- */
.contact-section {
    background: linear-gradient(135deg, #FFCBB5 0%, #ede9e7 55%, #ede9e7 100%);
}

.contact-info-box {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.form-card-shadow {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.custom-input {
    border: 1px solid #e2e8ec;
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #495057;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-input::placeholder {
    color: #aeb9c3;
    font-weight: 400;
}

.custom-input:focus {
    border-color: #3b8bb0;
    box-shadow: 0 0 0 3px rgba(59, 139, 176, 0.15);
    outline: none;
}

/* Select matches placeholder colour when nothing is chosen */
select.custom-input:invalid {
    color: #aeb9c3;
}

@media (max-width: 575.98px) {
    .form-card-shadow .border-bottom.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
}

/* =====================================================================
   Global mobile / tablet adjustments
   ===================================================================== */

/* Safety net against sideways scrolling from offset elements */
.bg-off-white {
    overflow-x: clip;
}

body {
    overflow-x: hidden;
    overflow-x: clip; /* modern browsers; keeps position: fixed/sticky working */
}

@media (max-width: 767.98px) {
    /* Tighter section spacing */
    section.py-5 > .container.py-5,
    section.py-5 > .container.py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Let headings wrap naturally instead of forced <br> breaks.
       content:' ' turns the <br> into a space; display:none glued words
       together ("Build<br>with" became "Buildwith"). */
    h1 br,
    h2 br {
        content: ' ';
    }

    .display-3 { font-size: 2.25rem; }
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.75rem; }

    /* 4:3 images instead of tall ones on phones */
    .integrated-img-wrapper,
    .intro-img-wrapper {
        aspect-ratio: 4 / 3;
    }

    .integrated-img-wrapper img,
    .intro-img-wrapper img,
    .coordination-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 16px inputs stop iOS from zooming in on focus */
    .custom-input {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .btn-primary-custom {
        width: 100%;
        text-align: center;
    }
}

/* No "stuck" hover effects after tapping on touch devices */
@media (hover: none) {
    .decision-list-item:hover {
        background-color: transparent;
    }

    .decision-list-item:hover h6 {
        color: inherit !important;
    }

    .decision-list-item:hover .decision-arrow {
        transform: none;
    }

    .integrated-img-wrapper:hover img {
        transform: none;
    }
}