/* ===== OUTER AREA ===== */
.grs-section {
    width: 100%;
    padding: 60px 0 80px;
    background-color: #f4f9ff; /* pale blue */
}

.grs-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ===== SLIDER STRUCTURE ===== */
.grs-slider {
    width: 100%;
    position: relative;
}

.grs-viewport {
    overflow: hidden;
    width: 100%;
    padding: 0 80px;              /* this creates side space so neighbours peek */
    box-sizing: border-box;
}

.grs-track {
    display: flex;
    align-items: stretch;
    gap: 40px;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* One slide per view, but narrower than viewport so others show a bit */
.grs-slide {
    flex: 0 0 calc(100% - 160px);  /* viewport width minus left/right padding */
    max-width: calc(100% - 160px);
    display: flex;
    justify-content: center;
}

/* ===== CARD ===== */
.grs-card {
    background: #ffffff;
    border-radius: 18px;
    /* box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10); */
    padding: 40px 60px;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    width: 100%;
}

/* Quote circle – green */
.grs-quote-circle {
    width: 66px;
    height: 66px;
    border-radius: 999px;
    background-color: #009932;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 32px;
}

.grs-quote-circle span {
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    transform: translateY(-3px);
}

/* Text block */
.grs-text {
    flex: 1 1 auto;
}

.grs-text p {
    margin: 0;
    font-size: 20px;
    line-height: 1.7;
    color: #444444;
    font-weight: 400;
}

/* ===== NAV BUTTONS (BOTTOM CENTER) ===== */
.grs-nav {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

/* circular buttons using #009932 */
.grs-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 2px solid #009932;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
    color: #009932;
    font-size: 0; /* hide any text */
}

/* arrows */
.grs-prev::before,
.grs-next::before {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
}

.grs-prev::before {
    content: "\2039"; /* ‹ */
}

.grs-next::before {
    content: "\203A"; /* › */
}

/* hover / active – solid green with white arrow */
.grs-nav-btn:hover:not(:disabled),
.grs-nav-btn:focus:not(:disabled),
.grs-nav-btn:active:not(:disabled) {
    background-color: #009932;
    color: #ffffff;
    border-color: #009932;
    transform: translateY(-1px);
    outline: none;
}

.grs-nav-btn:disabled {
    opacity: 0.45;
    cursor: default;
    box-shadow: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grs-viewport {
        padding: 0 40px;
    }

    .grs-slide {
        flex: 0 0 calc(100% - 80px);
        max-width: calc(100% - 80px);
    }

    .grs-card {
        padding: 32px 32px;
    }
}

@media (max-width: 767px) {
    .grs-section {
        padding: 40px 0 60px;
    }

    .grs-container {
        padding: 0 16px;
    }

    .grs-viewport {
        padding: 0 16px;
    }

    .grs-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .grs-card {
        padding: 24px 20px 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .grs-quote-circle {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .grs-text p {
        font-size: 17px;
        line-height: 1.6;
    }
}
