@import 'tailwindcss';
@plugin '@tailwindcss/typography';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

html {
    scroll-behavior: smooth;
}

.hero-pagination {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 30;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 9999px;
    background: #14B8A6;
}



.news-nav-btn {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    width: 56px !important;
    height: 56px !important;
    border-radius: 9999px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.06);

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;

    z-index: 50 !important;
}

/* Hover */
.news-nav-btn:hover {
    transform: scale(1.08);
    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.18),
        0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Icon Arrow */
.news-nav-btn::after {
    font-size: 18px !important;
    font-weight: 900;
    color: #006C70 !important;
}

/* Posisi kiri kanan */
.swiper-button-prev {
    left: 18px !important;
}

.swiper-button-next {
    right: 18px !important;
}

/* Efek Border Hitam pada Teks Berita */

/* Hilangkan scrollbar default karena sudah diganti Swiper */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Swiper Hero untuk Efek Circle (Seamless) */
.hero-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.news-swiper {
    overflow: visible !important;
    cursor: grab;
}

.news-swiper:active {
    cursor: grabbing;
}

.news-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.news-swiper .swiper-slide {
    width: 360px !important;
    height: auto;
    flex-shrink: 0;
}

.news-swiper::before,
.news-swiper::after {
    display: none !important;
}

/* Shadow Overlay yang memanjang ke bawah sesuai garis merah */
.news-container-wrapper {
    position: relative;
}

#ratingStars:hover .star-button svg {
    color: #fbbf24;
}

.star-button:hover~.star-button svg {
    color: #d1d5db !important;
}

/* Transisi*/
.star-button svg {
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-button:hover svg {
    transform: scale(1.1);
}

.stat-dot-pattern {
    background-image: radial-gradient(circle, rgba(20, 155, 154, 0.12) 1px, transparent 1px);
    background-size: 22px 22px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.stat-bg-animated {
    background: linear-gradient(135deg, #022c22, #0a3d3f, #022c22, #0a3d3f, #022c22);
    background-size: 300% 300%;
    animation: gradientShift 14s ease infinite;
}

.stat-card {
    touch-action: manipulation;
    border: 1px solid rgba(10, 61, 63, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(.22, .68, 0, 1.3),
        box-shadow 0.35s ease,
        border-color 0.3s ease,
        background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(10, 61, 63, 0.6);
    border-color: rgba(10, 61, 63, 0.7);
    background: rgba(10, 61, 63, 0.6);
}

.stat-card .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(10, 61, 63, 0.4);
    transform: scale(0);
    animation: ripple-anim 0.7s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(10, 61, 63, 0.9), rgba(20, 155, 154, 0.5), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-number {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s;
}

.ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4;
}

.ring-fill {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1);
}

.stat-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.stat-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(20, 155, 154, 0.4), transparent);
}

.stat-cta-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.stat-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(20, 155, 154, 0.5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(20, 155, 154, 0);
    }
}

.ambient_orb1 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

.ambient_orb2 {
    background: radial-gradient(circle, rgba(45, 212, 191, 0.05) 0%, transparent 70%);
}

/* Force GPU acceleration for AOS animations */
[data-aos] {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Release will-change after animation completes */
[data-aos].aos-animate {
    backface-visibility: visible;
}

.rb-tab {
    color: #6b7280;
    border: 1px solid transparent;
}

.rb-tab:hover:not(.rb-tab-active) {
    background: rgba(0, 108, 112, 0.05);
    color: #006C70;
}

.rb-tab-active {
    background: rgba(0, 108, 112, 0.1) !important;
    color: #006C70 !important;
    border-color: rgba(0, 108, 112, 0.25) !important;
}

.rb-content {
    opacity: 1;
    transform: translateY(0);
}

.rb-content.rb-entering {
    animation: rbFadeSlideUp 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes rbFadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rb-feature-card,
.rb-adv-card {
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Only enable hover transitions after AOS has animated the card */
.rb-feature-card.aos-animate,
.rb-adv-card.aos-animate {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s ease-out,
                background-color 0.35s ease-out !important;
}

.rb-feature-card:hover,
.rb-adv-card:hover {
    border-color: rgba(0, 108, 112, 0.28);
    box-shadow: 0 14px 32px -8px rgba(0, 108, 112, 0.18),
                0 6px 14px -4px rgba(0, 108, 112, 0.08);
    background: #FFFFFF;
}

/* Icon inside card: smooth scale */
.rb-feature-card .group-hover\:scale-110,
.rb-adv-card .group-hover\:scale-110 {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Glow overlay: smooth fade */
.rb-feature-card .group-hover\:opacity-100 {
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
}

/* Alur step icon container */
#rb-content-alur .group .group-hover\:scale-110 {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.rb-cta-btn {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, box-shadow;
}

.rb-cta-btn:hover {
    box-shadow: 0 16px 38px -10px rgba(0, 108, 112, 0.4),
                0 6px 16px -4px rgba(20, 155, 154, 0.25);
}

/* Respect reduce-motion */
@media (prefers-reduced-motion: reduce) {
    .rb-feature-card,
    .rb-adv-card,
    .rb-cta-btn,
    .rb-feature-card .group-hover\:scale-110,
    .rb-adv-card .group-hover\:scale-110,
    .rb-feature-card .group-hover\:opacity-100,
    #rb-content-alur .group .group-hover\:scale-110 {
        transition: none !important;
    }
}

/* ===========================================
   MODERN LAYANAN REDESIGN
   =========================================== */

/* Minimal underline tabs */
.rb-tab-minimal {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    padding: 12px 4px !important;
    color: #6b7280;
    position: relative;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.rb-tab-minimal:hover:not(.rb-tab-active) {
    color: #006C70;
    background: transparent !important;
}

.rb-tab-minimal.rb-tab-active {
    background: transparent !important;
    border-bottom-color: #006C70 !important;
    color: #006C70 !important;
}

/* Bento grid */
.rb-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .rb-bento-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: minmax(200px, auto);
        gap: 1.5rem;
    }
    .rb-bento-featured {
        grid-column: span 4;
        grid-row: span 2;
    }
    .rb-bento-small {
        grid-column: span 2;
    }
    .rb-bento-wide {
        grid-column: span 3;
    }
}

/* Modern card style — minimal shadow, border glow on hover */
.rb-modern-card {
    background: #FFFFFF;
    border: 1px solid rgba(0,108,112,0.10);
    border-radius: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease,
                box-shadow 0.4s ease;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.rb-modern-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,108,112,0.35);
    box-shadow: 0 12px 30px -8px rgba(0,108,112,0.15);
}

.rb-modern-card.rb-bento-featured {
    background: linear-gradient(135deg,
        #006C70 0%,
        #0F766E 35%,
        #149B9A 70%,
        #5EEAD4 100%);
    border-color: transparent;
    color: #FFFFFF;
}

.rb-modern-card.rb-bento-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -10px rgba(0,108,112,0.35);
}

/* Carousel */
.rb-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 24px;
    scroll-padding: 4px;
}

.rb-carousel::-webkit-scrollbar {
    display: none;
}

.rb-carousel-item {
    scroll-snap-align: start;
    flex: 0 0 85%;
    min-width: 0;
}

@media (min-width: 768px) {
    .rb-carousel-item { flex: 0 0 calc(50% - 0.625rem); }
}

@media (min-width: 1024px) {
    .rb-carousel-item { flex: 0 0 calc(33.333% - 0.833rem); }
}

/* Carousel nav dots */
.rb-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.rb-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(0,108,112,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.rb-carousel-dot.active {
    width: 28px;
    background: #006C70;
}

/* Timeline */
.rb-timeline {
    position: relative;
}

@media (min-width: 768px) {
    .rb-timeline::before {
        content: '';
        position: absolute;
        top: 32px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background: linear-gradient(to right,
            rgba(0,108,112,0.2) 0%,
            #006C70 25%,
            #149B9A 50%,
            #006C70 75%,
            rgba(0,108,112,0.2) 100%);
        z-index: 0;
    }
}

.rb-timeline-step {
    position: relative;
    z-index: 1;
}

.rb-timeline-icon {
    background: #FFFFFF;
    border: 2px solid #006C70;
    box-shadow: 0 0 0 4px #F9FAFB, 0 8px 20px -4px rgba(0,108,112,0.25);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease;
}

.rb-timeline-step:hover .rb-timeline-icon {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 0 0 4px #F9FAFB, 0 14px 28px -4px rgba(0,108,112,0.4);
}

/* Floating decorative icons */
.rb-floating-icon {
    position: absolute;
    color: #006C70;
    opacity: 0.08;
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.rb-floating-icon:nth-child(2) { animation-delay: 1.5s; }
.rb-floating-icon:nth-child(3) { animation-delay: 3s; }
.rb-floating-icon:nth-child(4) { animation-delay: 4.5s; }
.rb-floating-icon:nth-child(5) { animation-delay: 6s; }

/* Modern CTA button */
.rb-cta-modern {
    background: #006C70;
    color: #FFFFFF;
    transition: background 0.3s ease,
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease;
    will-change: transform;
}

.rb-cta-modern:hover {
    background: #149B9A;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -8px rgba(0,108,112,0.35);
}

.rb-cta-modern .rb-cta-arrow {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.rb-cta-modern:hover .rb-cta-arrow {
    transform: translateX(6px);
}

/* Modern pill/tag */
.rb-pill-modern {
    background: rgba(0,108,112,0.06);
    color: #006C70;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0,108,112,0.12);
}

.rb-modern-card.rb-bento-featured .rb-pill-modern {
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.25);
}

@media (prefers-reduced-motion: reduce) {
    .rb-modern-card,
    .rb-timeline-icon,
    .rb-cta-modern,
    .rb-cta-modern .rb-cta-arrow,
    .rb-floating-icon,
    .rb-carousel-dot {
        transition: none !important;
        animation: none !important;
    }
}

/* ===========================================
   CENTERED REDESIGN — DECORATIVES + GRADIENT
   =========================================== */

/* Decorative gradient orbs */
.rb-deco-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: rbOrbDrift 16s ease-in-out infinite;
    will-change: transform;
}

.rb-deco-orb-large {
    width: 500px;
    height: 500px;
}

.rb-deco-orb-medium {
    width: 350px;
    height: 350px;
    animation-duration: 14s;
}

.rb-deco-orb-small {
    width: 200px;
    height: 200px;
    animation-duration: 12s;
    filter: blur(40px);
}

.rb-deco-orb-glow {
    filter: blur(30px);
    box-shadow: 0 0 80px rgba(94, 234, 212, 0.5),
                0 0 120px rgba(20, 184, 166, 0.3);
}

@keyframes rbOrbDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -40px) scale(1.08);
    }
    66% {
        transform: translate(-25px, 30px) scale(0.95);
    }
}

/* Geometric shapes (stroke-only) */
.rb-deco-shape {
    position: absolute;
    pointer-events: none;
    animation: rbShapeFloat 18s ease-in-out infinite;
    will-change: transform;
}

.rb-deco-shape-square {
    border-radius: 24px;
    border: 2px solid rgba(20, 155, 154, 0.18);
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.04), rgba(20, 155, 154, 0.02));
    backdrop-filter: blur(2px);
}

.rb-deco-shape-circle {
    border-radius: 50%;
    border: 2px solid rgba(94, 234, 212, 0.20);
    background: radial-gradient(circle, rgba(94, 234, 212, 0.05), transparent 70%);
}

.rb-deco-shape-ring {
    border-radius: 50%;
    border: 6px solid transparent;
    background: linear-gradient(135deg, rgba(20, 155, 154, 0.18), rgba(94, 234, 212, 0.12)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

@keyframes rbShapeFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(-10px, -35px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, -15px) rotate(270deg);
    }
}

/* Sparkle dots — small accent points */
.rb-deco-sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #5eead4 0%, #14B8A6 60%, transparent 100%);
    box-shadow: 0 0 12px rgba(94, 234, 212, 0.8),
                0 0 24px rgba(20, 184, 166, 0.4);
    pointer-events: none;
    animation: rbSparklePulse 3s ease-in-out infinite;
}

@keyframes rbSparklePulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Section titles */
.rb-section-title {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #006C70 0%, #149B9A 50%, #14B8A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rb-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(0, 108, 112, 0.06);
    border: 1px solid rgba(0, 108, 112, 0.15);
    color: #006C70;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rb-section-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #149B9A;
    box-shadow: 0 0 8px rgba(20, 155, 154, 0.6);
}

/* Benefits grid (replaces carousel) */
.rb-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .rb-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .rb-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Brighter bottom gradient overlay */
.rb-bottom-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    pointer-events: none;
    background: radial-gradient(ellipse at bottom,
        rgba(20, 184, 166, 0.35) 0%,
        rgba(94, 234, 212, 0.20) 30%,
        rgba(94, 234, 212, 0.08) 55%,
        transparent 80%);
}

.rb-bottom-shimmer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent,
        rgba(94, 234, 212, 0.6),
        rgba(20, 184, 166, 0.8),
        rgba(94, 234, 212, 0.6),
        transparent);
    filter: blur(2px);
}

/* Mobile: hide some decoratives for performance */
@media (max-width: 768px) {
    .rb-deco-orb-large {
        width: 320px;
        height: 320px;
    }
    .rb-deco-orb-medium {
        width: 220px;
        height: 220px;
    }
    .rb-deco-hide-mobile {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rb-deco-orb,
    .rb-deco-shape,
    .rb-deco-sparkle {
        animation: none !important;
    }
}


.header_layanan_icn {
    background: rgba(16, 185, 129, 0.08);
}

.h2-header-span {
    background: linear-gradient(135deg, #6ee7b7 0%, #99f6e4 40%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-content1 {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-glow-corner1 {
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 70%);
}

.tab-content-icon {
    background: rgba(16, 185, 129, 0.1);
}

.tab-content-icon-atribut {
    color: #34d399;
}

.pills {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
}

/* ===========================================
   TESTIMONIAL SECTION
   =========================================== */

.testimonial-section {
    background: #FFFFFF;
    position: relative;
}

/* Soft gradient fade boundaries (seamless, no hard lines) */
.testimonial-section::before,
.testimonial-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
    z-index: 5;
}

.testimonial-section::before {
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(94, 234, 212, 0.18) 0%,
        rgba(20, 184, 166, 0.10) 25%,
        rgba(20, 155, 154, 0.05) 55%,
        transparent 100%
    );
}

.testimonial-section::after {
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(94, 234, 212, 0.18) 0%,
        rgba(20, 184, 166, 0.10) 25%,
        rgba(20, 155, 154, 0.05) 55%,
        transparent 100%
    );
}

/* Decorative gradient blobs */
.testimonial-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    animation: testimonialBlobFloat 14s ease-in-out infinite;
}

.testimonial-blob-1 {
    width: 380px;
    height: 380px;
    top: -100px;
    right: -120px;
    background: linear-gradient(135deg, #5eead4, #149B9A);
    animation-delay: 0s;
}

.testimonial-blob-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -100px;
    background: linear-gradient(135deg, #6ee7b7, #5eead4);
    animation-delay: 4s;
}

.testimonial-blob-3 {
    width: 240px;
    height: 240px;
    top: 50%;
    left: 40%;
    background: linear-gradient(135deg, #99f6e4, #14B8A6);
    opacity: 0.18;
    animation-delay: 7s;
}

@keyframes testimonialBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 25px) scale(0.95); }
}

/* Header styles */
.testimonial-badge {
    background: linear-gradient(135deg, rgba(0,108,112,0.08), rgba(94,234,212,0.15));
    color: #006C70;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(20,155,154,0.25);
}

.testimonial-title {
    background: linear-gradient(135deg, #006C70 0%, #149B9A 50%, #14B8A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-highlight {
    background: linear-gradient(135deg, #006C70, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stat pills */
.stat-pill {
    background: linear-gradient(135deg, #006C70 0%, #149B9A 60%, #14B8A6 100%);
    box-shadow: 0 8px 24px rgba(0, 108, 112, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-pill:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(20, 155, 154, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.stat-pill-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

/* Carousel container — REPLACED WITH MARQUEE BELOW */

/* Marquee wrapper */
.testimonial-marquee-wrapper {
    position: relative;
    width: 100%;
}

.testimonial-marquee {
    overflow: hidden;
    width: 100%;
    padding: 12px 0 28px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* Edge gradient overlays (extra polish on top of mask) */
.testimonial-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 4;
    pointer-events: none;
}

.testimonial-edge-left {
    left: 0;
    background: linear-gradient(90deg, #FFFFFF 10%, rgba(255,255,255,0.7) 60%, transparent);
}

.testimonial-edge-right {
    right: 0;
    background: linear-gradient(-90deg, #FFFFFF 10%, rgba(255,255,255,0.7) 60%, transparent);
}

/* Track: holds duplicated card list, auto-scrolls left */
.testimonial-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 28px;
    animation: testimonialMarqueeScroll 60s linear infinite;
    will-change: transform;
}

.testimonial-marquee:hover .testimonial-marquee-track {
    animation-play-state: paused;
}

/* Each item: fixed-ish width so duplicate-half = exact 50% */
.testimonial-marquee-item {
    flex: 0 0 auto;
    width: 360px;
    display: flex;
}

.testimonial-marquee-item > .testimonial-card {
    width: 100%;
}

@keyframes testimonialMarqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Card */
.testimonial-card {
    background: #FFFFFF;
    border: 1px solid rgba(20,155,154,0.15);
    box-shadow: 0 8px 24px rgba(0, 108, 112, 0.08);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

/* Top gradient accent strip */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #006C70, #149B9A, #5eead4, #14B8A6);
    background-size: 200% 100%;
    transition: background-position 0.8s ease;
}

/* Sweep glow on hover */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(94,234,212,0.12), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 28px 60px rgba(0, 108, 112, 0.18),
                0 0 0 2px rgba(20, 155, 154, 0.35),
                0 0 50px rgba(94, 234, 212, 0.25);
    border-color: rgba(20,155,154,0.4);
}

.testimonial-card:hover::before {
    background-position: 100% 50%;
}

.testimonial-card:hover::after {
    left: 120%;
}

/* Quote icon decoration */
.testimonial-quote-icon {
    background: linear-gradient(135deg, #5eead4, #149B9A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.18;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-card:hover .testimonial-quote-icon {
    opacity: 0.4;
    transform: scale(1.1) rotate(-5deg);
}

/* Avatar */
.avatar-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #006C70, #149B9A, #5eead4);
    filter: blur(18px);
    opacity: 0.45;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.testimonial-card:hover .avatar-glow {
    opacity: 0.85;
    filter: blur(22px);
}

.avatar-ring {
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 0 2px #149B9A, 0 8px 20px rgba(20,155,154,0.35);
}

.avatar-initial {
    background: linear-gradient(135deg, #006C70 0%, #149B9A 50%, #14B8A6 100%);
}

/* Star rating */
.rating-star-filled {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
}

/* Divider with gradient */
.testimonial-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #149B9A, #5eead4, #149B9A, transparent);
    border-radius: 2px;
    width: 60%;
    margin: 0 auto;
}

/* Author info */
.testimonial-name {
    background: linear-gradient(135deg, #022c22, #006C70);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-role {
    background: linear-gradient(135deg, #006C70, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonial-marquee-item { width: 320px; }
    .testimonial-marquee-track { animation-duration: 50s; }
}

@media (max-width: 768px) {
    .testimonial-card { min-height: 380px; }
    .testimonial-marquee-item { width: 280px; }
    .testimonial-marquee-track { gap: 20px; animation-duration: 45s; }
    .testimonial-edge { width: 50px; }
    .testimonial-blob-1 { width: 240px; height: 240px; }
    .testimonial-blob-2 { width: 200px; height: 200px; }
    .testimonial-blob-3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-section::before,
    .testimonial-section::after,
    .testimonial-blob,
    .testimonial-card,
    .testimonial-quote-icon,
    .avatar-glow,
    .stat-pill,
    .testimonial-marquee-track {
        animation: none !important;
        transition: none !important;
    }
}