/* ── SHARED CAROUSEL STYLES ── */
:root {
    --carousel-primary: #BC1C5C;
    --carousel-secondary: #0474B4;
    --carousel-bg-light: #f8f9fa;
    --carousel-border: #e5e5e5;
    --carousel-radius: 6px;
    --carousel-muted-fg: #6b7280;
}

/* Slider Section Layout */
.slider-section {
    padding: 3px 0;
}

.slider-section.bg-light {
    background: var(--carousel-bg-light);
}

.slider-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.sec-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--carousel-secondary);
    margin: 0;
}

.sec-sub {
    font-size: 15px;
    color: var(--carousel-muted-fg);
    margin-top: 4px;
    max-width: 600px;
    line-height: 1.5;
}

.sec-sub strong {
    color: var(--carousel-secondary);
    font-weight: 600;
}

/* Nav Arrows */
.nav-arrows {
    display: flex;
    gap: 8px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, opacity .2s;
}

.nav-arrow iconify-icon {
    font-size: 18px;
}

.nav-arrow:hover:not(.disabled) {
    opacity: .85;
}

.nav-arrow.ar {
    background: var(--carousel-primary);
    color: #fff;
}

.nav-arrow.ab {
    background: var(--carousel-secondary);
    color: #fff;
}

.nav-arrow.disabled {
    background: #e0e0e0;
    color: #aaa;
    cursor: not-allowed;
}

/* Dots Navigation */
.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--carousel-secondary);
    cursor: pointer;
    border: none;
    transition: background .25s, transform .2s;
}

.dot.active {
    background: var(--carousel-primary);
    transform: scale(1.3);
}

/* Auto-scroll Badge */
.auto-badge {
    display: none;
}

.auto-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--carousel-secondary);
    animation: pulse 1.4s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(.7)
    }
}

/* Carousel Engine */
.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    align-items: stretch;
}

/* ── COMPONENT CARDS ── */
/* Review Card */
.review-card {
    background: #fff;
    border: 0;
    border-radius: var(--carousel-radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    flex: 0 0 auto;
    box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    width: calc((100% - 40px)/3);
}

.rqm {
    position: absolute;
    font-size: 60px;
    color: #f0f0f0;
    font-family: serif;
    line-height: 1;
}

.r-text {
    font-size: 14px;
    color: #222;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    min-height: 150px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
}

.r-author,
.r.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.r-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.r-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.stars {
    display: flex;
    gap: 2px;
    margin-top: 3px;
    color: #f5c518;
}

/* Video Card */
.video-card {
    border-radius: var(--carousel-radius);
    overflow: hidden;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: calc((100% - 40px)/3);
    aspect-ratio: 16/9;
    box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.1);
}

.vbg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .65;
    position: absolute;
    top: 0;
    left: 0;
}

.vplay {
    width: 52px;
    height: 52px;
    background: var(--carousel-primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background .2s, transform .15s;
}

.vtitle {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 36px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
}

.vav {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.vav img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* In The Spotlight & Awards */
.logo-brand {
    cursor: pointer;
    transition: transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-brand:hover {
    transform: scale(1.06);
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.award-emoji {
    font-size: 58px;
    line-height: 1;
}

.award-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-align: center;
    max-width: 130px;
    line-height: 1.4;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

    .review-card,
    .video-card {
        width: calc((100% - 20px)/2);
    }
}

@media (max-width: 500px) {

    .review-card,
    .video-card {
        width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-end;
        gap: 0px;
    }
}

/* ── BLOG CARD (Section 15) ── */
.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: var(--carousel-radius);
    overflow: hidden;
    box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
    box-sizing: border-box;
    width: calc((100% - 40px) / 3);
    transition: transform .2s, box-shadow .2s;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
}

.blog-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.04);
}

.blog-card__image--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e8f5 100%);
}

.blog-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.blog-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--carousel-primary);
    margin-top: auto;
}

/* Section title links */
.sec-title a {
    color: inherit;
    text-decoration: none;
}

.sec-title a:hover {
    text-decoration: underline;
}

/* Trusted Partners — reuse .logo-brand sizing */
#sec-trusted-partners .logo-brand {
    min-width: 100px;
}

/* ── BLOG CARD RESPONSIVE ── */
@media (max-width: 900px) {
    .blog-card {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 500px) {
    .blog-card {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════
   COMMUNITY PROOF SECTIONS — Featured In / Awards / Partners
   Mirrors the homepage budli-proof-* layout via cs-proof-* prefix
   so there is zero conflict with home.css
   ═══════════════════════════════════════════════════════ */

/* Section wrapper */
.cs-proof-section {
    background: #ffffff;
    padding-top: 4px;
    padding-bottom: 22px;
    position: relative;
}

.cs-proof-section--awards,
.cs-proof-section--trusted {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

/* Centre-constrained container */
.cs-proof-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section heading */
.cs-proof-head {
    text-align: center;
    margin-bottom: 22px;
}

.cs-proof-head h2 {
    font-size: 24px;
    font-weight: 700;
    color: #c10077;
    letter-spacing: -0.02em;
    margin: 0;
}

/* ── GRID BASE ── */
.cs-proof-grid {
    display: grid;
    gap: 24px;
    align-items: center;
}

/* Featured In: 6 columns of logos */
.cs-proof-grid--logos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* Awards: 6 columns — each with image + label */
.cs-proof-grid--awards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* Trusted Partners: 6 columns */
.cs-proof-grid--partners {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* ── FEATURED IN LOGO ── */
.cs-proof-logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.cs-proof-logo:hover {
    transform: scale(1.05);
}

.cs-proof-logo img {
    width: auto;
    max-width: 100%;
    height: 36px;
    object-fit: contain;
    display: block;
}

/* ── TRUSTED PARTNERS LOGO ── */
.cs-proof-logo--partner img {
    height: 38px;
}

/* ── AWARD CARD ── */
.cs-proof-award {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 2px;
    text-align: center;
}

.cs-proof-award__image {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-proof-award__image img {
    width: auto;
    max-width: 100%;
    height: 65px;
    object-fit: contain;
}

.cs-proof-award p {
    margin: 0;
    max-width: 130px;
    color: #374151;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Proof sections
   ═══════════════════════════════════════════════════════ */

/* Tablet: 3 columns */
@media (max-width: 991px) {

    .cs-proof-grid--logos,
    .cs-proof-grid--awards,
    .cs-proof-grid--partners {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobile landscape: 3 columns still */
@media (max-width: 767px) {

    .cs-proof-section--spotlight,
    .cs-proof-section--awards,
    .cs-proof-section--trusted {
        padding-bottom: 18px;
    }

    .cs-proof-head h2 {
        font-size: 18px;
    }

    .nav-arrow {
        width: 31px;
        height: 33px;
        border: none;
        border-radius: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background .15s, opacity .2s;
    }
}

/* Small mobile: Enforce 3 columns per image reference */
@media (max-width: 499px) {

    .cs-proof-grid--logos,
    .cs-proof-grid--awards,
    .cs-proof-grid--partners {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .cs-proof-logo img {
        height: 24px;
    }

    .cs-proof-logo--partner img {
        height: 26px;
    }

    .cs-proof-award__image img {
        height: 48px;
    }

    .cs-proof-award p {
        font-size: 9px;
    }

    .cs-proof-head h2 {
        font-size: 16px;
    }
}

/* ── Theme Section Title (Proof sections) ── */
.theme-section-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #BC1C5C !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    text-transform: none !important;
}

.sec-header-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ── TESTIMONIALS — budli-testimonials-section (carousel engine) ── */
.budli-testimonials-section {
    background: #f8faff;
    padding: 40px 0;
}

/* Header right: rating badge + arrows together */
.t-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.t-rating-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #92400e;
    white-space: nowrap;
}

.t-star-icon {
    color: #f59e0b;
    font-size: 13px;
}

/* ── BT-CARD (testimonial card) ── */
.bt-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 16px 16px;
    position: relative;
    flex: 0 0 auto;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bt-card:hover {
    box-shadow: 0 4px 20px rgba(4, 116, 180, 0.12);
    transform: translateY(-2px);
    border-color: #bfdbfe;
}

/* Decorative quote mark */
.bt-quote-mark {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 38px;
    line-height: 1;
    color: #dbeafe;
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
}

/* Top row: avatar + name/stars */
.bt-top {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.bt-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
    object-fit: cover;
    background: #f3f4f6;
}

.bt-avatar--placeholder {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

.bt-meta {
    flex: 1;
    min-width: 0;
}

.bt-stars {
    color: #f59e0b;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.bt-name {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bt-verified {
    color: #16a34a;
    font-weight: 500;
    font-size: 11px;
    margin-left: 4px;
}

.bt-location {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 1px;
}

/* Tag chip */
.bt-tag {
    background: #e8f2fb;
    color: #0474B4;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    border: 1px solid #bfdbfe;
}

/* Quote text */
.bt-quote {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
    .budli-testimonials-section {
        padding: 9px 0;
    }

    .t-header-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   MODAL STYLES FOR FEATURED IN, AWARDS, TRUSTED PARTNERS
───────────────────────────────────────────────────────────────────────────────── */

/* Make grid items clickable */
.cs-proof-logo--clickable,
.cs-proof-award--clickable {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-proof-logo--clickable:hover,
.cs-proof-award--clickable:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cs-proof-logo--clickable:focus,
.cs-proof-award--clickable:focus {
    outline: 2px solid var(--carousel-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Modal Container */
.cs-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cs-fadeIn 0.2s ease-out;
}

.cs-image-modal[style*="display: none"] {
    display: none !important;
}

/* Modal Overlay */
.cs-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    z-index: -1;
}

/* Inner Container for centering */
.cs-modal-container-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 600px;
    animation: cs-slideUp 0.3s ease-out;
}

/* Image Box (White container) */
.cs-modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    margin-bottom: 24px;
}

/* Modal Image */
.cs-modal-image {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    display: block;
}

/* Modal Title (Below white box) */
.cs-modal-title {
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 16px;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Modal Link Button (Pill shape) */
.cs-modal-link-btn {
    display: inline-block;
    padding: 12px 36px;
    background: var(--carousel-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.cs-modal-link-btn:hover {
    background: #a01650;
    transform: translateY(-2px);
}

.cs-modal-link-btn:active {
    transform: translateY(0);
}

/* Close Button (Top right of viewport) */
.cs-modal-close {
    position: fixed;
    top: 24px;
    right: 28px;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    font-size: 54px;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10001;
    line-height: 1;
}

.cs-modal-close:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Animations */
@keyframes cs-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cs-slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
 .cs-modal-content {
 padding: 24px;
 max-width: 95%;
 }

 .cs-modal-image {
 max-height: 250px;
 }

    .cs-modal-close {
        top: 16px;
        right: 16px;
        font-size: 40px;
    }
}
