
/* --- Services Page Base Layout --- */
.heading-icon {
    padding-block-start: 80px;
    color: white;
}

.white-text {
    color: white;
}

/* Only change the background to navy for services page */
.services-page-sections {
    display: flex;
    flex-direction: column;
    padding-inline: clamp(1rem, 0.14rem + 4.28vw, 4rem);
    padding-block-end: 2rem;
    position: relative;
    background: #0a0f35;
}

/* Main page heading "Our Services" stays white on navy background */
.services-page-sections > .heading-icon .heading-text {
    color: #ffffff;
}

/* Make subsection backgrounds white with subtle shadow and restore orange border */
.services-subsection {
    border: 2px solid #ff6a00;
    border-radius: 40px;
    margin-top: clamp(1rem, 4vw, 2rem);
    height: fit-content;
    padding: 1rem clamp(1rem, 5vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #ffffff;
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-subsection:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 40px -18px rgba(0, 0, 0, 0.4);
}

/* Section headings inside white subsections stay dark */
.services-subsection .subheading {
    color: #0a0f35;
}

/* Description text inside white subsections stays dark */
.services-subsection .description {
    color: #334155;
}

.icon-heading {
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon-heading img {
    width: 56px;
    transform: translateY(-.5);
}

.text-icon-description {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.description {
    font-size: clamp(1rem, calc(1rem + 0.07171875rem * ((100vw - 20rem) / 70rem)), 1.07171875rem);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: #334155;
    line-height: 1.5;
}

.text-icon-description .subheading {
    font-size: clamp(1.5rem, calc(1.5rem + 0.75rem * ((100vw - 20rem) / 70rem)), 2.25rem);
}

/* --- Service Cards - Keep Original Styling --- */
.service-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.service-card {
    width: 330px;
    height: 182px;
    border-radius: 25px;
    padding-block-start: 0.8rem;
    padding-block-end: 1.2rem;
    padding-inline: 1.7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    background-color: #f9f9f9;
    box-shadow: 4px 4px 4px 0px #0000000D;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #080d34FF;
}

.price-turnaround {
    display: flex;
    justify-content: flex-start;
    gap: .5rem;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-weight: 800;
    color: #0f172ace;
    padding-top: 1.5rem;
    border-top: 3px dotted #0000004e;
}

.service-description {
    color: #334155c5;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-card-title {
    color: #fe6e06;
}

.big-dot {
    color: #fe6e06;
}

/* --- Reading Progress Bar --- */
#scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(254, 110, 6, 0.1);
    z-index: 10000;
}

#scroll-progress-bar {
    height: 100%;
    background: #fe6e06;
    width: 0%;
}

/* --- Desktop Floating Sidebar (Fixed) --- */
@media (min-width: 1025px) {
    .services-page-sections {
        padding-left: 300px !important;
    }

    .side-nav-container {
        position: fixed;
        top: 120px;
        left: 40px;
        width: 220px;
        z-index: 900;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 25px;
        border-radius: 24px;
        border: 1px solid rgba(254, 107, 1, 0.2);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .side-nav-container.hide-sidebar {
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
    }

    .side-nav-label {
        font-family: "Josefin Sans", sans-serif;
        font-weight: 700;
        font-size: 0.7rem;
        color: #fe6e06;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
        display: block;
    }

    .side-nav ul {
        list-style: none;
        padding: 0;
    }

    .side-nav li a {
        display: block;
        padding: 10px 0;
        color: #555;
        text-decoration: none;
        font-family: "Inter", sans-serif;
        font-size: 0.9rem;
        transition: 0.3s;
        border-left: 2px solid transparent;
        padding-left: 12px;
    }

    .side-nav li a.active-link {
        color: #fe6e06;
        border-left: 2px solid #fe6e06;
        font-weight: 600;
        background: linear-gradient(90deg, #feb58015 0%, transparent 100%);
    }

    .fab-wrapper {
        display: none;
    }
}

/* --- Mobile Floating Dot (Collapsible) --- */
@media (max-width: 1024px) {
    .side-nav-container {
        display: none;
    }

    .fab-wrapper {
        position: fixed;
        bottom: 30px;
        right: 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        z-index: 1001;
    }

    .fab-button {
        width: 60px;
        height: 60px;
        background: #fe6e06;
        border-radius: 50%;
        border: none;
        box-shadow: 0 4px 20px rgba(254, 110, 6, 0.5);
        color: white;
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .fab-menu {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 15px;
        pointer-events: none;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .fab-wrapper.active .fab-menu {
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0);
    }

    .fab-item {
        background: white;
        color: #333;
        padding: 10px 20px;
        border-radius: 25px;
        text-decoration: none;
        font-family: "Josefin Sans", sans-serif;
        font-size: 0.9rem;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        white-space: nowrap;
        border: 1px solid #eee;
    }

    .fab-item.active-link {
        background: #fe6e06;
        color: white;
    }
}
