.ag-testimonials-section {
    background: #FFFFFF;
    padding: 80px 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.ag-testimonials-inner {
    width: 88%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Heading */
.ag-testimonials-section h2.ag-heading {
    font-family: "Bebas Neue", sans-serif !important;
    font-weight: 400 !important;
    font-size: 60px !important;
    line-height: 60px !important;
    color: #000000 !important;
    margin: 0 0 48px 0 !important;
    padding: 0 !important;
    text-transform: lowercase !important;
    letter-spacing: 0 !important;
    border: none !important;
    text-align: center !important;
}
.ag-testimonials-section h2.ag-heading em {
    color: #ED1C24 !important;
    font-style: italic !important;
}

/* Slider wrapper */
.ag-slider-wrap { position: relative; overflow: hidden; }
.ag-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
}

/* Each page = a row of up to 3 cards */
.ag-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* Card */
.ag-card {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #ebebeb;
    border-top: 3px solid #ED1C24;
    padding: 28px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

/* Stars */
.ag-stars { display: flex; gap: 3px; margin-bottom: 12px; justify-content: center; }
.ag-star-icon {
    font-size: 19px !important;
    line-height: 1 !important;
    text-transform: none !important;
    font-style: normal !important;
}
.ag-star-icon.filled { color: #f5a623 !important; }
.ag-star-icon.empty  { color: #e0e0e0 !important; }

/* Quote mark */
.ag-quote-mark {
    display: block;
    font-family: "Bebas Neue", sans-serif !important;
    font-size: 52px !important;
    line-height: 0.7 !important;
    color: #ED1C24 !important;
    margin-bottom: 10px !important;
    user-select: none;
    text-transform: none !important;
}

/* Quote text */
.ag-quote-text {
    font-family: "Inter", sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #444 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    flex-grow: 1;
    text-align: center !important;
}

/* Card footer — logo + author */
.ag-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* Logo */
.ag-logo-wrap { display: flex; justify-content: center; }
.ag-company-logo {
    max-height: 44px !important;
    max-width: 120px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: opacity 0.2s, filter 0.2s;
}
.ag-logo-wrap a:hover .ag-company-logo {
    opacity: 1;
    filter: none;
}

/* Author block */
.ag-author-block { text-align: center; }
.ag-quote-author {
    font-family: "Bebas Neue", sans-serif !important;
    font-weight: 400 !important;
    font-size: 17px !important;
    color: #ED1C24 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}
.ag-company-name {
    font-family: "Inter", sans-serif !important;
    font-size: 12px !important;
    color: #888 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-bottom: 6px;
}
.ag-company-link {
    color: #888 !important;
    text-decoration: underline !important;
}
.ag-company-link:hover { color: #ED1C24 !important; }
.ag-quote-author-link {
    color: #ED1C24 !important;
    text-decoration: none !important;
}
.ag-quote-author-link:hover {
    text-decoration: underline !important;
    color: #ED1C24 !important;
}

/* Google Review button */
.ag-google-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: "Inter", sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #555 !important;
    text-decoration: none !important;
    border: 1px solid #ddd !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    background: #fff !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-top: 4px;
}
.ag-google-btn:hover {
    border-color: #4285F4 !important;
    color: #4285F4 !important;
    background: #f0f5ff !important;
    text-decoration: none !important;
}

/* Controls — centred */
.ag-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}
.ag-slider-btn {
    background: none !important;
    border: 2px solid #000 !important;
    color: #000 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 0 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    padding: 0 !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    box-shadow: none !important;
}
.ag-slider-btn:hover {
    background: #ED1C24 !important;
    border-color: #ED1C24 !important;
    color: #fff !important;
}
.ag-slider-btn svg { width: 17px; height: 17px; display: block; }
.ag-slider-dots { display: flex; gap: 8px; align-items: center; }
.ag-dot {
    width: 7px !important; height: 7px !important;
    border-radius: 50% !important;
    background: #ccc !important;
    cursor: pointer; border: none !important; padding: 0 !important;
    transition: background 0.2s, transform 0.2s; display: block !important;
}
.ag-dot.ag-dot-active { background: #ED1C24 !important; transform: scale(1.4) !important; }

/* Tablet — 2 cards */
@media (max-width: 900px) {
    .ag-testimonials-inner { width: 92%; }
    .ag-card:nth-child(3) { display: none; }
}
/* Mobile — 1 card */
@media (max-width: 580px) {
    .ag-testimonials-section { padding: 60px 0; }
    .ag-testimonials-section h2.ag-heading { font-size: 40px !important; line-height: 40px !important; margin-bottom: 30px !important; }
    .ag-card:nth-child(2), .ag-card:nth-child(3) { display: none; }
    .ag-quote-text { font-size: 13px !important; }
}
