/* --- Clean Hero Section (Centered Variation) --- */
.hero-clean {
    padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 6.25rem);
    background-color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Background decoration */
.hero-clean::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    /* Move to left */
    transform: none;
    /* Remove centering */
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(26, 26, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    /* Blue tint matching index.html */
    z-index: 0;
}

.hero-clean .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    z-index: 1;
}

/* ... breadcrumbs ... */
.breadcrumbs {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.breadcrumbs a {
    color: #64748b;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #cbd5e1;
    font-size: 0.8rem;
}

.breadcrumbs .current {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(247, 15, 25, 0.08);
    /* Keep red tint for current item or switch to blue? Maintaining red for brand consistency on active item */
    padding: 2px 8px;
    border-radius: 4px;
}

.hero-clean-content {
    max-width: clamp(800px, 60vw, 1200px);
    margin: 0 auto;
}

.hero-clean-content h1 {
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
    line-height: 1.2;
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-clean-content p {
    font-size: var(--section-description-font-size);
    line-height: 1.6;
    margin-bottom: clamp(1rem, 2vw, 1.875rem);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    flex-wrap: wrap;
}

.hero-clean-img-wrapper {
    width: 100%;
    max-width: 62.5rem;
    position: relative;
    margin-top: clamp(0.75rem, 2vw, 1.25rem);
}

.hero-clean-img {
    width: 100%;
    height: auto;
    max-height: clamp(15rem, 30vw, 31.25rem);
    object-fit: cover;
    object-position: center;
    border-radius: clamp(0.75rem, 2vw, 1.25rem);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.hero-clean-img:hover {
    transform: translateY(-5px);
}

/* Decorative grid pattern */
.hero-clean-bg-grid {
    position: absolute;
    left: 0;
    top: 0;
    /* Move to top */
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: -1;
    mask-image: radial-gradient(circle at top left, black 0%, transparent 60%);
    /* Focus grid on top left */
    -webkit-mask-image: radial-gradient(circle at top left, black 0%, transparent 60%);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-clean {
       padding: clamp(8rem, 10vw, 7.5rem) 0 clamp(3rem, 5vw, 3.75rem);
    }

    .hero-clean-content h1 {
        font-size: clamp(1.5rem, 3vw + 0.25rem, 2.8rem);
    }

    .hero-clean-img {
        max-height: clamp(12rem, 25vw, 18.75rem);
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
}

/* Individual Service Cards */
.service-slider-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(247, 15, 25, 0.1);
}

.service-card-icon {
    width: clamp(3rem, 5vw, 4.375rem);
    height: clamp(3rem, 5vw, 4.375rem);
    background: rgb(248 249 250);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(1rem, 2vw, 1.875rem);
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;

    img {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.service-card-icon svg {
    width: 2.25rem;
    height: 2.25rem;
}

.service-slider-card h3 {
    font-size: clamp(1.1rem, 1.5vw + 0.25rem, 1.5rem);
    margin-bottom: clamp(0.5rem, 1vw, 0.9375rem);
    line-height: 1.4;
}

.service-slider-card p {
    color: #64748b;
    font-size: var(--section-description-font-size);
    line-height: 1.6;
    margin-bottom: clamp(1rem, 2vw, 1.5625rem);
    flex-grow: 1;
}

.service-slider-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
    /* Push to bottom */
}

.service-slider-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #475569;
}

.service-slider-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}




/* --- Services Overview Grid --- */
.services-overview-section {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .services-overview-section {
        padding-bottom: clamp(2rem, 5vw, 3rem);
    }
}

/* --- Detailed Services Section --- */
.service-details-section {
    padding: clamp(3rem, 6vw, 6.25rem) 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.service-details-section .container {
    position: relative;
    z-index: 1;
}

.service-detail-row {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.service-detail-row:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: clamp(2rem, 6vw, 8rem);
    margin-bottom: clamp(2rem, 6vw, 8rem);
}

/* Alternating rows (for future additions) */
.service-detail-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-text {
    flex: 1;
    text-align: left; /* Ensure text is always left-aligned */
}

.service-detail-text h3 {
    font-weight: 700;
    color: var(--text-color);
    font-size: var(--section-sub-header-font-size);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.service-detail-text p {
    font-size: var(--section-description-font-size);
    color: var(--text-color);
    margin-bottom: clamp(1rem, 2vw, 1.875rem);
    text-align: left;
}

.service-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 clamp(1rem, 2vw, 2.1875rem) 0;
    gap: clamp(0.5rem, 1vw, 0.9375rem);
    text-align: left; /* Force left alignment always */
}

.service-checks li {
    position: relative;
    padding-left: 30px;
    font-weight: 500;
    color: #334155;
    text-align: left; /* Ensure left alignment per-item */
    font-size: var(--bullet-point-font-size);
    line-height: 1.5;
    margin-bottom: clamp(0.25rem, 0.5vw, 0.5rem);
}

.service-checks li::before {
    content: '➜';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--text-color);
    background: transparent;
    width: 20px;
    height: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-image {
    flex: 1;
    position: relative;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    max-height: 21.875rem;
    aspect-ratio: 16 / 10;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
    object-fit: cover;
}

.service-detail-row:hover .service-detail-image img {
    transform: translateY(-5px);
}

.blob-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: #c8c8c859;
    border-radius: 30px;
    z-index: 1;
    transform: rotate(3deg);
    transition: transform 0.4s ease;
}

.service-detail-row:hover .blob-decoration {
    transform: rotate(6deg) scale(1.02);
}

/* Responsive */
@media (max-width: 992px) {
    .service-detail-row {
        flex-direction: column;
        gap: clamp(2rem, 5vw, 3rem);
        text-align: left; /* Keep text left on mobile */
    }

    .service-detail-row:nth-child(even) {
        flex-direction: column;
    }

    .service-detail-text {
        text-align: left;
    }

    .service-detail-text h3 {
        text-align: left;
    }

    .service-checks {
        text-align: left;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .service-detail-image img {
        max-height: 18rem;
        aspect-ratio: 16 / 9;
    }

    .blob-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .service-detail-row:not(:last-child) {
        padding-bottom: clamp(4.5rem, 6vw, 4rem);
        margin-bottom: clamp(4.5rem, 6vw, 4rem);
    }
}

.other-services-section {
    position: relative;
    width: 100%;
    background-color: #f8f9fa;
    height: 250vh;
}

.parallax-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.parallax-header-container {
    position: absolute;
    /* Fixed in center of wrapper */
    top: 18%;
    /* Higher up as requested */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 800px;
    z-index: 1;
    /* Below cards */
    transition: filter 0.1s ease;
    /* For blur effect */
    padding: 0 20px;
    width: 100%;
}

.parallax-header-container h2 {
    font-size: var(--section-header-font-size);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.parallax-header-container p {
    font-size: var(--section-header-sub-font-size);
    max-width: 600px;
    margin: 0 auto;
}

.parallax-columns-container {
    position: absolute;
    top: 0;
    left: 50%;
    /* Center relative to wrapper */
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    /* Wider to accommodate 4 cols nicely */
    height: 100%;
    display: grid;
    /* Equal width for all 4 columns */
    grid-template-columns: repeat(4, 1fr);
    /* Gap between columns */
    gap: 10px;
    padding: 0 10px;
    /* Also reduce padding to match if desired, or keep 20px. Let's try 10px */
    z-index: 2;
    /* Above text */
    pointer-events: none;
    /* Let clicks pass through if needed, but cards might need clicks */
    justify-content: center;
}

.p-col {
    display: flex;
    flex-direction: column;
    /* Gap between cards - matching column gap */
    gap: 10px;
    will-change: transform;
    pointer-events: auto;
    /* Re-enable clicks on cards */
}

/* ... Card styles ... */
.other-service-card {
    background: #ffffff;
    padding: clamp(1rem, 2vw, 1.25rem);
    border-radius: 0.5rem;
    box-shadow: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    width: 100%;
}

.other-service-card:hover {
    background: #fcfcfc;
    border-color: rgba(0, 0, 0, 0.15);
    /* box-shadow: 0 8px 16px rgba(0,0,0,0.08); Removed */
}

.other-service-card h3 {
    font-size: 1rem;
    margin-top: 10px;
    color: #1f2937;
    /* Dark heading */
    font-weight: 600;
}

.other-service-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    width: 50px;
    height: 50px;
    background: rgba(247, 15, 25, 0.08);
    /* Lighter background orb */
    border-radius: 50%;
    /* Circle looks nice for minimalist */
    display: flex;
    align-items: center;
    justify-content: center;

    img {
        width: 65%;
        height: 65%;
        object-fit: contain;
    }
}

.other-service-icon i {
    font-size: 1.2rem;
}

/* Responsive - Mobile: disable parallax, show all cards */
@media (max-width: 768px) {
    .other-services-section {
        height: auto !important;
        padding: clamp(3rem, 6vw, 5rem) 0;
        background-color: #f8f9fa;
    }

    .parallax-sticky-wrapper {
        position: relative !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
    }

    .parallax-header-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
        padding: 0 clamp(1rem, 4vw, 1.5rem);
    }

    .parallax-columns-container {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(0.75rem, 2vw, 1.25rem);
        left: auto;
        transform: none;
        height: auto;
        padding: 0 clamp(1rem, 4vw, 1.5rem);
        z-index: auto;
    }

    /* Flatten column wrappers so individual cards flow into the 2-col grid */
    .p-col {
        display: contents;
        transform: none !important;
    }

    .other-service-card {
        min-height: 8rem;
    }

    /* Enterprise reveal: show statically on mobile below the cards */
    .enterprise-reveal-content {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        pointer-events: auto;
        padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 1.5rem);
        margin-top: clamp(1.5rem, 3vw, 2.5rem);
        z-index: auto;
        width: 100%;
        max-width: 100%;
    }
}

/* --- Enterprise Solutions Section --- */
/* Desktop-only: Ensure wrapper allows absolute positioning for parallax */
@media (min-width: 769px) {
    .parallax-sticky-wrapper {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
        display: block;
    }
}

/* --- Enterprise Solutions Reveal Content --- */
.enterprise-reveal-content {
    position: absolute;
    bottom: 2.1875rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 75rem;
    z-index: 1;
    padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    pointer-events: none;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.1s ease-out, filter 0.1s ease-out, transform 0.1s ease-out;
    will-change: opacity, filter, transform;
}

.enterprise-reveal-content h2 {
    font-size: var(--section-header-font-size);
    font-family: var(--font-heading);
}

.enterprise-reveal-content p {
    font-size: var(--section-description-font-size);
    max-width: 37.5rem;
    margin: 0 auto clamp(1rem, 2vw, 1.875rem) auto;
}

.enterprise-reveal-content .btn {
    pointer-events: auto;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Ultra-Wide (min-width: 1900px) --- */
@media (min-width: 1900px) {
    .service-detail-image img {
        width: 100%;
        height: auto;
        max-height: 31.875rem;
    }
}

/* --- 2K+ (min-width: 2560px) --- */
@media (min-width: 2560px) {
    .service-detail-image img {
        width: 100%;
        height: auto;
        max-height: 33rem;
    }
}

