/* ============================================================
   Testimonials — Dual Theme Design
   Version: 2.1 - Updated 2024 (Cache Refresh)
   ============================================================ */

.nf-testimonials {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* ============================================================
   HOMEPAGE THEME — Clean White Background
   ============================================================ */

.nf-testimonials--slider {
    background: #ffffff;
}

/* Subtle geometric background pattern */
.nf-testimonials--slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(212, 175, 55, 0.04) 1px,
        transparent 1px
    );
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

/* Subtle gold top border */
.nf-testimonials--slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(212, 175, 55, 0.4),
        transparent
    );
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   ABOUT PAGE THEME — Dark Futuristic
   ============================================================ */

.nf-testimonials--grid {
    background: #ffffff;
}

/* Subtle grid background for white */
.nf-testimonials--grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Subtle radial glow for white background */
.nf-testimonials--grid::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.04) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ============================================================
   Common Container
   ============================================================ */

.nf-testimonials .container {
    position: relative;
    z-index: 1;
}

/* ============================================================
   Section Heading — Homepage (Dark Text)
   ============================================================ */

.nf-testimonials--slider .nf-section-title {
    color: #0f172a;
}

.nf-testimonials--slider .nf-about-label {
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 13px;
    font-weight: 700;
    font-family: "Orbitron", sans-serif;
}

/* ============================================================
   Section Heading — About Page (Light Text)
   ============================================================ */

.nf-testimonials--grid .nf-section-title {
    color: #0f172a;
    text-shadow: none;
}

.nf-testimonials--grid .nf-about-label {
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 13px;
    font-weight: 700;
    font-family: "Orbitron", sans-serif;
}

/* ============================================================
   Wrapper & Track — Base
   ============================================================ */

.nf-testimonials__wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.nf-testimonials__track {
    display: flex;
    gap: 32px;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding: 24px 8px 48px;
    cursor: grab;
}

.nf-testimonials__track:active {
    cursor: grabbing;
}

/* ============================================================
   Slider Layout (Homepage)
   ============================================================ */

/* ============================================================
   Grid Layout (About Page)
   ============================================================ */

.nf-testimonials--grid .nf-testimonials__wrapper {
    overflow: visible;
    margin-top: 60px;
}

.nf-testimonials--grid .nf-testimonials__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0;
    cursor: default;
    transform: none !important;
    transition: none;
}

.nf-testimonials--grid .nf-testimonials__track:active {
    cursor: default;
}

/* ============================================================
   Testimonial Card — HOMEPAGE (Light Theme)
   ============================================================ */

.nf-testimonials--slider .nf-testimonials__card {
    flex: 0 0 calc(33.333% - 22px);
    min-width: 0;
    background: var(
        --header-gradient,
        linear-gradient(135deg, #000000 0%, #333333 100%)
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nf-testimonials--slider .nf-testimonials__card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow:
        0 16px 64px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    background: var(
        --header-gradient,
        linear-gradient(135deg, #000000 0%, #1a1a1a 100%)
    );
}

/* Gold top accent bar — slides in on hover */
.nf-testimonials--slider .nf-testimonials__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #d4af37 30%,
        #d4af37 70%,
        transparent
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nf-testimonials--slider .nf-testimonials__card:hover::before {
    transform: scaleX(1);
}

/* ============================================================
   Testimonial Card — ABOUT PAGE (Dark Futuristic)
   ============================================================ */

.nf-testimonials--grid .nf-testimonials__card {
    flex: none;
    width: 100%;
    min-width: 0;
    background: var(
        --header-gradient,
        linear-gradient(135deg, #000000 0%, #333333 100%)
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 48px 36px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Animated border gradient */
.nf-testimonials--grid .nf-testimonials__card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(212, 175, 55, 0.4) 50%,
        transparent 100%
    );
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    animation: border-rotate 4s linear infinite;
}

@keyframes border-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.nf-testimonials--grid .nf-testimonials__card:hover::before {
    opacity: 1;
}

/* Inner glow on hover */
.nf-testimonials--grid .nf-testimonials__card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.15) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.nf-testimonials--grid .nf-testimonials__card:hover::after {
    opacity: 1;
}

.nf-testimonials--grid .nf-testimonials__card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow:
        0 16px 64px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-12px) scale(1.02);
    background: var(
        --header-gradient,
        linear-gradient(135deg, #000000 0%, #1a1a1a 100%)
    );
}

/* ============================================================
   Quote Marks — Homepage
   ============================================================ */

.nf-testimonials--slider .nf-testimonials__quote-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.35;
    display: inline-block;
    user-select: none;
    pointer-events: none;
    vertical-align: middle;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.nf-testimonials--slider .nf-testimonials__quote-mark--start {
    margin-right: 6px;
    margin-bottom: -12px;
}

.nf-testimonials--slider .nf-testimonials__quote-mark--end {
    margin-left: 6px;
    margin-top: -12px;
}

/* ============================================================
   Quote Marks — About Page (Enhanced)
   ============================================================ */

.nf-testimonials--grid .nf-testimonials__quote-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 56px;
    line-height: 1;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
    display: inline-block;
    user-select: none;
    pointer-events: none;
    vertical-align: middle;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.nf-testimonials--grid .nf-testimonials__quote-mark--start {
    margin-right: 6px;
    margin-bottom: -16px;
}

.nf-testimonials--grid .nf-testimonials__quote-mark--end {
    margin-left: 6px;
    margin-top: -16px;
}

/* ============================================================
   Quote Body — Homepage
   ============================================================ */

.nf-testimonials--slider .nf-testimonials__body {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 28px;
    padding: 0;
    border: none;
    font-style: italic;
    font-weight: 400;
    position: relative;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nf-testimonials--slider .nf-testimonials__body p {
    margin: 0;
    display: inline;
}

/* ============================================================
   Quote Body — About Page
   ============================================================ */

.nf-testimonials--grid .nf-testimonials__body {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px;
    padding: 0;
    border: none;
    font-style: italic;
    font-weight: 400;
    position: relative;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nf-testimonials--grid .nf-testimonials__body p {
    margin: 0;
    display: inline;
}

/* ============================================================
   Star Rating — Homepage
   ============================================================ */

.nf-testimonials--slider .nf-testimonials__stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    width: 100%;
}

.nf-testimonials--slider .nf-testimonials__star {
    font-size: 18px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.nf-testimonials--slider .nf-testimonials__star.is-filled {
    color: #d4af37;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
}

/* ============================================================
   Star Rating — About Page (Enhanced with Glow)
   ============================================================ */

.nf-testimonials--grid .nf-testimonials__stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    width: 100%;
}

.nf-testimonials--grid .nf-testimonials__star {
    font-size: 20px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0 transparent);
}

.nf-testimonials--grid .nf-testimonials__star.is-filled {
    color: #d4af37;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
    animation: star-pulse 2s ease-in-out infinite;
}

@keyframes star-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.nf-testimonials--grid
    .nf-testimonials__card:hover
    .nf-testimonials__star.is-filled {
    color: #f4d03f;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
}

/* ============================================================
   Author Section — Homepage
   ============================================================ */

.nf-testimonials--slider .nf-testimonials__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
}

/* Avatar circle */
.nf-testimonials--slider .nf-testimonials__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1f35 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d4af37;
    box-shadow:
        0 0 15px rgba(212, 175, 55, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.nf-testimonials--slider .nf-testimonials__card:hover .nf-testimonials__avatar {
    transform: scale(1.08);
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: #f4d03f;
}

.nf-testimonials--slider .nf-testimonials__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback initial */
.nf-testimonials--slider .nf-testimonials__initial {
    font-family: "Orbitron", sans-serif;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Name + Role */
.nf-testimonials--slider .nf-testimonials__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.nf-testimonials--slider .nf-testimonials__name {
    font-family: "Orbitron", sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.nf-testimonials--slider .nf-testimonials__card:hover .nf-testimonials__name {
    color: #d4af37;
    text-shadow: 0 2px 15px rgba(212, 175, 55, 0.5);
}

.nf-testimonials--slider .nf-testimonials__role {
    font-size: 11px;
    font-weight: 700;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.8;
}

/* ============================================================
   Author Section — About Page (Elevated Design)
   ============================================================ */

.nf-testimonials--grid .nf-testimonials__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
    position: relative;
}

/* Decorative line below author */
.nf-testimonials--grid .nf-testimonials__author::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Avatar with enhanced glow */
.nf-testimonials--grid .nf-testimonials__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1f35 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #d4af37;
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.4s ease;
}

.nf-testimonials--grid .nf-testimonials__card:hover .nf-testimonials__avatar {
    transform: scale(1.1);
    box-shadow:
        0 0 30px rgba(212, 175, 55, 0.6),
        0 12px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    border-color: #f4d03f;
}

/* Rotating border effect */
.nf-testimonials--grid .nf-testimonials__avatar::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        #d4af37 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate-border 3s linear infinite;
}

.nf-testimonials--grid
    .nf-testimonials__card:hover
    .nf-testimonials__avatar::before {
    opacity: 1;
}

@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.nf-testimonials--grid .nf-testimonials__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

/* Fallback initial */
.nf-testimonials--grid .nf-testimonials__initial {
    font-family: "Orbitron", sans-serif;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* Name + Role */
.nf-testimonials--grid .nf-testimonials__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.nf-testimonials--grid .nf-testimonials__name {
    font-family: "Orbitron", sans-serif;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.nf-testimonials--grid .nf-testimonials__card:hover .nf-testimonials__name {
    color: #d4af37;
    text-shadow: 0 2px 15px rgba(212, 175, 55, 0.6);
}

.nf-testimonials--grid .nf-testimonials__role {
    font-size: 12px;
    font-weight: 600;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.9;
    font-family: "Orbitron", sans-serif;
}

/* ============================================================
   Navigation Dots (Homepage Only)
   ============================================================ */

.nf-testimonials__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.nf-testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    outline: none;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    padding: 0;
    transition:
        background 0.35s ease,
        width 0.35s ease,
        transform 0.2s ease;
}

.nf-testimonials__dot:hover {
    background: rgba(212, 175, 55, 0.5);
    transform: scale(1.15);
}

.nf-testimonials__dot.is-active {
    background: #d4af37;
    width: 28px;
    border-radius: 999px;
}

/* ============================================================
   Scroll Reveal Animation
   ============================================================ */

.nf-testimonials.nf-scroll-reveal .nf-info-cards__header {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nf-testimonials.nf-scroll-reveal .nf-testimonials__wrapper {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: 0.2s;
}

.nf-testimonials.nf-scroll-reveal.is-visible .nf-info-cards__header,
.nf-testimonials.nf-scroll-reveal.is-visible .nf-testimonials__wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* Grid layout: disable wrapper reveal since cards animate individually */
.nf-testimonials--grid.nf-scroll-reveal .nf-testimonials__wrapper {
    opacity: 1;
    transform: none;
    transition: none;
}

/* ============================================================
   Responsive Design
   ============================================================ */

@media (max-width: 991px) {
    .nf-testimonials--slider .nf-testimonials__card {
        flex: 0 0 calc(50% - 16px);
        padding: 40px 28px;
    }

    .nf-testimonials--slider .nf-testimonials__track {
        gap: 24px;
    }

    .nf-testimonials--grid .nf-testimonials__track {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .nf-testimonials {
        padding: 80px 0;
    }

    .nf-testimonials--slider .nf-testimonials__card {
        flex: 0 0 100%;
        padding: 36px 24px;
    }

    .nf-testimonials--slider .nf-testimonials__track {
        gap: 20px;
        padding: 20px 4px 40px;
    }

    .nf-testimonials--slider .nf-testimonials__quote-mark {
        font-size: 32px;
    }

    .nf-testimonials--slider .nf-testimonials__body {
        font-size: 14px;
        line-height: 1.7;
        -webkit-line-clamp: 3;
    }

    .nf-testimonials--grid .nf-testimonials__track {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .nf-testimonials--grid .nf-testimonials__card {
        padding: 36px 24px;
    }

    .nf-testimonials--grid .nf-testimonials__quote-mark {
        font-size: 40px;
    }

    .nf-testimonials--grid .nf-testimonials__body {
        font-size: 15px;
        line-height: 1.8;
        -webkit-line-clamp: 4;
    }

    .nf-testimonials__avatar {
        width: 70px;
        height: 70px;
    }

    .nf-testimonials--slider .nf-testimonials__initial {
        font-size: 18px;
    }

    .nf-testimonials--grid .nf-testimonials__initial {
        font-size: 24px;
    }

    .nf-testimonials__name {
        font-size: 13px;
    }

    .nf-testimonials__role {
        font-size: 11px;
    }

    .nf-testimonials--grid .nf-testimonials__star {
        font-size: 18px;
    }

    .nf-testimonials__dots {
        margin-top: 36px;
        gap: 10px;
    }

    .nf-testimonials__dot {
        width: 8px;
        height: 8px;
    }

    .nf-testimonials__dot.is-active {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .nf-testimonials--slider {
        padding: 60px 0;
    }

    .nf-testimonials--slider .nf-testimonials__card {
        padding: 32px 20px;
    }

    .nf-testimonials--slider .nf-testimonials__body {
        font-size: 14px;
    }

    .nf-testimonials--slider .nf-testimonials__avatar {
        width: 60px;
        height: 60px;
    }

    .nf-testimonials--grid {
        padding: 60px 0;
    }

    .nf-testimonials--grid .nf-testimonials__card {
        padding: 32px 20px;
    }

    .nf-testimonials--grid .nf-testimonials__avatar {
        width: 60px;
        height: 60px;
    }
}
