﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* SECTION */
.rr-expertise-section {
    padding: 120px 6%;
    background: #f9f9f9;
}

.rr-expertise-header {
    max-width: 760px;
    margin: 0 auto 80px; /* 👈 this centers the block */
    text-align: center; /* 👈 this centers text */
}
    .rr-expertise-header h2 {
        font-size: clamp(38px, 4.5vw, 54px);
    }

    .rr-expertise-header p {
        margin-top: 14px;
        color: #666;
        font-size: 18px;
        line-height: 1.6;
    }

/* GRID */
.rr-expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* CARD */
.rr-pillar {
    position: relative;
    height: 440px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

    .rr-pillar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

    .rr-pillar:hover img {
        transform: scale(1.07);
    }

/* OVERLAY */
.rr-overlay {
    position: absolute;
    inset: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.25), transparent);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .rr-overlay span {
        font-size: 13px;
        opacity: .8;
    }

    .rr-overlay h3 {
        font-size: 22px;
        margin: 10px 0 6px;
    }

    .rr-overlay p {
        font-size: 14px;
        line-height: 1.5;
        opacity: .9;
    }

/* MODAL */
/* MODAL WRAPPER */
.rr-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999999; /* VERY HIGH */
}

    .rr-modal.active {
        display: block;
    }

/* BACKDROP */
.rr-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

/* MODAL BOX */
.rr-modal-box {
    position: relative;
    background: #fff;
    width: 92%;
    max-width: 1400px;
    max-height: 92vh;
    margin: 4vh auto;
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;
}

/* IMAGE */
.rr-modal-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* CLOSE BUTTON — GUARANTEED VISIBLE */
.rr-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 22px;
    border: none;
    cursor: pointer;
    z-index: 9999; /* ABOVE IMAGE */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .rr-close:hover {
        background: rgba(0,0,0,0.9);
    }

/* TEXT */
.rr-modal-text {
    padding: 60px;
    overflow-y: auto;
}

    .rr-modal-text span {
        font-size: 13px;
        color: #999;
    }

    .rr-modal-text h3 {
        font-size: 36px;
        margin: 12px 0 18px;
    }

    .rr-modal-text p {
        font-size: 18px;
        line-height: 1.7;
        color: #444;
    }

/* MOBILE */
@media (max-width: 768px) {
    .rr-modal-image img {
        height: 300px;
    }

    .rr-modal-text {
        padding: 36px;
    }

        .rr-modal-text h3 {
            font-size: 26px;
        }
}

/* CLIENT SLIDER */
.pp-brand-section {
    padding: 60px 0;
    text-align: center;
    background: #f9f9f9;
}

    .pp-brand-section h3 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 60px;
        letter-spacing: 0.5px;
    }

/* Slider container */
.why-choose-us-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Track */
.slider-track {
    display: flex;
    animation: scroll 20s linear infinite;
    will-change: transform;
}

.why-choose-us-slider:hover .slider-track {
    animation-play-state: paused;
}

/* Brand cards */
.brand-card {
    flex: 0 0 auto;
    width: 160px;
    margin-right: 120px;
}

    .brand-card img {
        width: 120px;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        transition: transform 0.3s ease;
    }

        .brand-card img:hover {
            transform: scale(1.05);
        }

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .brand-card {
        width: 100px;
        margin-right: 40px;
    }

        .brand-card img {
            width: 80px;
        }

    .pp-brand-section h3 {
        font-size: 22px;
        margin-bottom: 40px;
    }
}
/*client slider ending*/

/**what goes into*/
.rr-process-modern {
    background: #fafafa;
    padding: 100px 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

.rr-process-modern h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 12px;
    color: #111;
}

.subtitle {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
    font-size: 16px;
    color: #555;
}

/* Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Card */
.process-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

    .process-card:hover {
        transform: translateY(-6px);
    }

    /* Image */
    .process-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    /* Content */
    .process-card .step {
        display: block;
        margin: 18px 24px 8px;
        font-size: 14px;
        font-weight: 600;
        color: #8b7a63;
        letter-spacing: 1px;
    }

    .process-card h3 {
        font-size: 20px;
        margin: 0 24px 12px;
        color: #111;
    }

    .process-card p {
        font-size: 15px;
        line-height: 1.7;
        color: #555;
        margin: 0 24px 28px;
    }

/* Responsive */
@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .rr-process-modern h2 {
        font-size: 30px;
    }
}

