/* Legal71 homepage styles.
   Extracted from resources/views/frontend/home.blade.php's inline <style> block
   (2026-07-29 cleanup) — the frontend has no Tailwind JIT, so component styles for
   the homepage's redesigned sections live here rather than as utility classes.
   Linked via @push('styles') in home.blade.php. */

/* "যারা সার্ভিস নিয়েছেন" testimonial cards — self-contained (frontend uses a purged
   static style.css, so component styles live here rather than as Tailwind utilities). */
.feedback-slider .swiper-wrapper {
    align-items: stretch;
}

.feedback-slider .swiper-slide {
    height: auto;
    display: flex;
}

.feedback-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid #EFE9F7;
    border-radius: 18px;
    padding: 20px 22px 18px;
    box-shadow: 0 18px 40px -30px rgba(66, 66, 255, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feedback-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px -30px rgba(66, 66, 255, 0.55);
}

.feedback-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.feedback-stars {
    display: flex;
    gap: 5px;
}

.feedback-star {
    width: 20px;
    height: 20px;
    fill: #e2e2ec;
}

.feedback-star.is-on {
    fill: #ffb400;
}

.feedback-qmark {
    width: 40px;
    height: 32px;
    fill: #f05a2b;
    opacity: 0.16;
    flex-shrink: 0;
}

.feedback-text {
    color: #3d4056;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feedback-more {
    align-self: flex-start;
    margin-top: 10px;
    padding: 0;
    background: none;
    border: 0;
    color: #6E6BDC;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.feedback-more:hover { text-decoration: underline; }

.feedback-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #F1ECF7;
}

.feedback-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 2px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4242ff, #b225ff);
}

.feedback-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.feedback-name {
    color: #202050;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.feedback-role {
    margin-top: 3px;
    color: #f05a2b;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .feedback-card {
        padding: 18px 18px 16px;
        border-radius: 16px;
    }
}

/* Full-testimonial modal (opened from a card's "আরও পড়ুন"). Scoped. */
.fb-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fb-modal[hidden] { display: none; }

.fb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 23, 26, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.fb-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 34px 30px 30px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.45);
    animation: fbModalIn 0.25s ease;
}

@keyframes fbModalIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.fb-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: #F3EEF9;
    color: #202050;
    cursor: pointer;
    transition: background 0.15s ease;
}

.fb-modal-close:hover { background: #E7DEF3; }

.fb-modal-text {
    margin: 16px 0 24px;
    color: #3d4056;
    font-size: 16px;
    line-height: 1.8;
}

.fb-modal-box .feedback-author {
    margin-top: 0;
    padding-top: 18px;
}

/* FAQ list — cap the section to a fixed height and let it scroll internally
    (overlay scrollbar) so a long list doesn't stretch the homepage. The card
    design is unchanged. Frontend uses a purged static style.css, so these
   live here rather than as Tailwind utilities. */
.faq-scroll {
    max-height: 560px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Firefox: thin overlay-style scrollbar, no reserved gutter */
    scrollbar-width: thin;
    scrollbar-color: rgba(240, 90, 43, .55) transparent;
}

/* Keep every accordion card at its natural height. Without this the flex
    column's max-height makes the cards flex-shrink, and daisyUI's
   overflow:hidden then clips them to empty bars. */
.faq-scroll>* {
    flex-shrink: 0;
}

/* WebKit: slim scrollbar that floats over the content (design stays intact) */
.faq-scroll::-webkit-scrollbar {
    width: 6px;
}

.faq-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.faq-scroll::-webkit-scrollbar-thumb {
    background: rgba(240, 90, 43, .5);
    border-radius: 8px;
}

.faq-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(240, 90, 43, .8);
}

@media (max-width: 767px) {
    .faq-scroll {
        max-height: 460px;
    }
}

/* Team member cards — force a 1:1 (square) box regardless of the uploaded
    dimensions. The frontend style.css has no object-fit/aspect-ratio utility,
    so it's scoped here; object-fit:cover fills the square and crops the
   overflow (no stretching). */
.team-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

/* Team grid — the first 3 members sit in a featured top row (narrower max-width,
   so their cards are larger), the rest wrap below in smaller cards. Flex-wrap +
   justify-content:center keeps any partial row centered. Widths subtract the gap
   share so N cards + (N-1) gaps fill the row exactly. */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-grid + .team-grid {
    margin-top: 20px;
}

.team-grid--lead {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-item {
    display: flex;
    width: 100%;
}

@media (min-width: 640px) {
    .team-item { width: calc((100% - 20px) / 2); }
}

@media (min-width: 768px) {
    .team-item { width: calc((100% - 40px) / 3); }
}

@media (min-width: 1024px) {
    .team-grid:not(.team-grid--lead) .team-item { width: calc((100% - 60px) / 4); }
}

@media (min-width: 1280px) {
    .team-grid:not(.team-grid--lead) .team-item { width: calc((100% - 80px) / 5); }
}

/* Match the card family used by .svc-card / .feedback-card / .about-stat —
   tinted border + shadow + hover-lift, instead of a flat bg-white card. */
.team-card {
    width: 100%;
    background: #fff;
    border: 1px solid #EFE9F7;
    border-radius: 18px;
    box-shadow: 0 18px 40px -30px rgba(66, 66, 255, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px -30px rgba(66, 66, 255, 0.55);
}

/* Designation chip — matches the section's purple accent (bg-[#ECE9FF]/text-[#6E6BDC])
   instead of the old unrelated teal pill, with an icon so it reads as a role tag
   rather than a plain label. */
.team-designation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ECE9FF, #F5F3FF);
    border: 1px solid #DEDAFB;
    color: #5B58C7;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
    padding: 6px 12px;
    border-radius: 999px;
}

.team-designation svg {
    flex-shrink: 0;
}

/* Details link — plain link + arrow (was a filled button) that nudges and
   grows on hover instead of just sliding. */
.team-details-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #F05A2B;
    font-size: 15px;
    font-weight: 600;
    transition: gap 0.2s ease;
}

.team-details-link:hover {
    gap: 10px;
}

.team-details-arrow {
    transition: transform 0.2s ease;
}

.team-details-link:hover .team-details-arrow {
    transform: scale(1.25) translateX(2px);
}

/* Rich FAQ answers (admin-authored, sanitized HTML). Frontend has no JIT, so the
   typography is scoped here — mirrors the service category page's .rich-body. */
.rich-body {
    font-family: Inter, sans-serif;
}

.rich-body p {
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: rgb(5 23 45);
}

.rich-body h2 {
    font-family: Inter, sans-serif;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #202050;
}

.rich-body h3 {
    font-family: Inter, sans-serif;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: #202050;
}

.rich-body h4 {
    font-family: Inter, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #202050;
}

.rich-body ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.rich-body ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.rich-body li {
    font-family: Inter, sans-serif;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: rgb(5 23 45);
    margin-bottom: 0.5rem;
}

.rich-body a {
    color: #F05A2B;
    text-decoration: underline;
}

.rich-body a:hover {
    opacity: 0.85;
}

.rich-body strong,
.rich-body b {
    font-weight: 700;
}

.rich-body em,
.rich-body i {
    font-style: italic;
}

.rich-body blockquote {
    border-left: 3px solid #F05A2B;
    padding-left: 1rem;
    color: rgb(5 23 45);
    font-style: italic;
}

.rich-body table {
    width: 100%;
    border-collapse: collapse;
}

.rich-body th,
.rich-body td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.rich-body th {
    background: #f9fafb;
    font-weight: 600;
}

.rich-body img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    object-fit: initial;
    border-radius: 0.5rem;
    vertical-align: top;
}

/* Video embeds (YouTube/Vimeo) — responsive 16:9. Empty iframes (src stripped by the
   sanitizer for an untrusted URL) are hidden so they don't leave a blank box. */
.rich-body iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 0.5rem;
    margin: 0.75rem 0;
}

.rich-body iframe:not([src]) {
    display: none;
}

/* Legal71 Corner — admin-managed grid of PDF/link cards + optional side banner.
   Fully scoped (frontend has no Tailwind JIT). Header redesigned to match the
   centered badge + .hading-text pattern used by every other homepage section
   (testimonials/FAQ/etc.) — the old bordered .corner-head box is gone.
   .corner-badge itself matches .about-badge's exact style (solid tint, no border) —
   same orange tone as this section's existing accent (.corner-card-icon's chip bg). */
.corner-badge {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #F05A2B;
    background: #FCEAE3;
    padding: 0.2rem 1.1rem;
    border-radius: 9999px;
}

.corner-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: stretch;
}

.corner-grid {
    flex: 1 1 62%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    align-content: start;
}

.corner-card {
    position: relative;
}

.corner-card-face {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem 1rem;
    min-height: 68px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.corner-card-face:hover {
    border-color: #F05A2B;
    box-shadow: 0 6px 18px rgba(240, 90, 43, .12);
    transform: translateY(-2px);
}

.corner-card-caret {
    width: 18px;
    height: 18px;
    margin-left: auto;
    flex-shrink: 0;
    color: #9aa0a6;
    transition: transform .2s ease;
}

.corner-card[data-open] .corner-card-caret {
    transform: rotate(180deg);
}

/* In-card file panel — opens over the card, scrollable, with an ✕ close. */
.corner-files-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border: 1px solid #F05A2B;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(20, 23, 26, .18);
    overflow: hidden;
}

.corner-files-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.4rem 0.55rem 0.9rem;
    background: #FCEAE3;
    border-bottom: 1px solid #f4d9cd;
}

.corner-files-title {
    font-family: Inter, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #14171A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.corner-files-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #F05A2B;
    cursor: pointer;
}

.corner-files-close:hover {
    background: rgba(240, 90, 43, .12);
}

.corner-files-close svg {
    width: 18px;
    height: 18px;
}

.corner-files-list {
    list-style: none;
    margin: 0;
    padding: 0.35rem;
    max-height: 232px;
    overflow-y: auto;
}

.corner-files-list li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.6rem;
    border-radius: 8px;
    font-family: Inter, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #14171A;
    transition: background .12s, color .12s;
}

.corner-files-list li a:hover {
    background: #FCEAE3;
    color: #F05A2B;
}

.corner-file-ico {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #F05A2B;
}

.corner-file-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.corner-file-ext {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #9aa0a6;
}

.corner-files-empty {
    padding: 1rem;
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 0.85rem;
    color: #9aa0a6;
}

.corner-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: #FCEAE3;
    color: #F05A2B;
}

.corner-card-icon .corner-icon {
    width: 24px;
    height: 24px;
}

.corner-card-title {
    font-family: Inter, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: #14171A;
}

.corner-banner {
    flex: 1 1 30%;
    min-width: 260px;
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

.corner-banner img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .corner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .corner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex-basis: 100%;
        gap: 0.6rem;
    }

    .corner-card-face {
        padding: 0.75rem;
        gap: 0.6rem;
        min-height: 60px;
    }

    .corner-card-icon {
        width: 40px;
        height: 40px;
    }

    .corner-card-title {
        font-size: 0.85rem;
    }

    .corner-banner {
        flex-basis: 100%;
    }
}

/* Important Link sub-section — same .corner-grid/.corner-card component, simpler
   heading only (no banner). --stacked adds top spacing when it follows the main
   Corner grid in the same section; omitted when it renders alone. */
.corner-sub-section--stacked {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f4d9cd;
}

@media (max-width: 640px) {
    .corner-sub-section--stacked {
        margin-top: 1.75rem;
        padding-top: 1.5rem;
    }
}

/* Smaller than the shared .hading-text sizing (1.25rem/1.875rem/2.25rem) — this is a
   sub-heading under Legal71 Corner, not a full section title. Selector combines both
   classes (not just .corner-sub-title) to out-specificity .hading-text in style.css,
   which loads AFTER this stylesheet (@stack('styles') renders before the style.css
   <link> in layouts/app.blade.php) and would otherwise win the same-specificity tie. */
.hading-text.corner-sub-title {
    font-size: 1.05rem;
    line-height: 1.5rem;
}

@media (min-width: 768px) {
    .hading-text.corner-sub-title {
        font-size: 1.35rem;
        line-height: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .hading-text.corner-sub-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

/* Section backgrounds — soft, distinct tints so the corner + video sections stand out. */
#corner {
    background: linear-gradient(180deg, #FFF4EF 0%, #FFFBF9 100%);
}

/* Tabbed Video Library — soft neutral band; category accent comes from --vaccent. */
.video-library {
    background: linear-gradient(180deg, #F5F7FB 0%, #FBFCFE 100%);
}

.video-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.video-tab {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.6rem 1.15rem;
    border-radius: 9999px;
    border: 1.5px solid #E2E6EE;
    background: #fff;
    color: #4B5163;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.video-tab:hover {
    border-color: var(--vaccent, #F05A2B);
    color: var(--vaccent, #F05A2B);
}

.video-tab.is-active {
    background: var(--vaccent, #F05A2B);
    border-color: var(--vaccent, #F05A2B);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.video-panel[hidden] {
    display: none;
}

/* Video Library head row — badge + heading on the left, "সকল ভিডিও দেখুন" on the right
   (homepage section only; the standalone /videos page centres the same block instead). */
.video-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.video-head-row--page {
    justify-content: center;
    text-align: center;
}

.video-head-row--page .video-head-text {
    align-items: center;
}

.video-head-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.video-badge {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    color: #F05A2B;
    background: rgba(240, 90, 43, 0.1);
    border: 1px solid rgba(240, 90, 43, 0.28);
    padding: 0.35rem 1.1rem;
    border-radius: 9999px;
}

.video-subtitle {
    max-width: 40rem;
    margin-top: -0.15rem;
    font-family: Inter, sans-serif;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #5B6172;
}

/* Video carousel cards. Scoped — no frontend JIT. */
.video-head {
    text-align: left;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: #202050;
    margin: 0;
}

.video-swiper {
    position: relative;
    padding: 0 4px;
}

/* Review ("যারা সার্ভিস নিয়েছেন") head row — badge+heading left, "সকল রিভিউ দেখুন" button
   right, mirrors .video-head-row above (homepage section only; the standalone /reviews
   page centres the same block instead). */
.review-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.review-head-row--page {
    justify-content: center;
    text-align: center;
}

.review-head-row--page .review-head-text {
    align-items: center;
}

.review-head-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    text-align: left;
}

.review-subtitle {
    max-width: 40rem;
    margin-top: -0.15rem;
    font-family: Inter, sans-serif;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #5B6172;
}

/* Plain grid layout (standalone /reviews page) — reuses .feedback-card as-is; the card's
   own width:100% + grid's default align-items:stretch replace the swiper-slide wrapper. */
.review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* Reviews pagination (standalone /reviews page). Scoped — no frontend JIT. */
.rv-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.rv-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #EFE9F7;
    background: #fff;
    color: #202050;
    font-family: Inter, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

a.rv-page-link:hover {
    border-color: #6E6BDC;
    color: #6E6BDC;
}

.rv-page-item.active .rv-page-link {
    background: #6E6BDC;
    border-color: #6E6BDC;
    color: #fff;
}

.rv-page-item.disabled .rv-page-link {
    color: #c7c9d9;
    cursor: default;
}

/* Plain grid layout (standalone /videos page) — every video in the active category at
   once, no carousel. Same column counts the old per-panel Swiper carousel used. */
.video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

@media (min-width: 640px) {
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}

.video-card {
    height: 100%;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0b1220;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
}

.video-frame:hover .video-thumb::after {
    background: rgba(0, 0, 0, 0.20);
}

.video-play {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}

.video-frame:hover .video-play {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.4);
}

.video-play svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    margin-left: 3px;
}

/* Hero CTA row — Tax Calculator / NBR Audit Checker / সকল সার্ভিস. Small pill buttons, plain
   CSS rather than Tailwind utilities so sizing isn't at the mercy of which arbitrary-value
   classes happened to survive the purge (see the -top-4 bug elsewhere in this file for why).
   Three-tier visual weight: primary = solid brand-orange gradient (the calculator is the
   featured tool), secondary = the blue/purple gradient already used for the NBR link
   site-wide, ghost = plain outline for the tertiary in-page anchor. */
.hero-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-cta svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero-cta:hover { transform: translateY(-1px); }

@media (min-width: 640px) {
    .hero-cta { padding: 0.65rem 1.35rem; font-size: 0.92rem; gap: 0.5rem; }
    .hero-cta svg { width: 17px; height: 17px; }
}

.hero-cta--primary {
    color: #fff;
    background-image: linear-gradient(90deg, #F05A2B 0%, #FA991B 100%);
    box-shadow: 0 8px 20px rgba(240, 90, 43, 0.25);
}
.hero-cta--primary:hover {
    background-image: linear-gradient(90deg, #FA991B 0%, #F05A2B 100%);
    box-shadow: 0 10px 24px rgba(240, 90, 43, 0.32);
}

.hero-cta--secondary {
    color: #fff;
    background-image: linear-gradient(90deg, #4242FF 0%, #B225FF 100%);
    box-shadow: 0 8px 20px rgba(120, 40, 255, 0.22);
}
.hero-cta--secondary:hover {
    background-image: linear-gradient(90deg, #B225FF 0%, #4242FF 100%);
    box-shadow: 0 10px 24px rgba(120, 40, 255, 0.3);
}

.hero-cta--ghost {
    color: #202050;
    background: #fff;
    border-color: rgba(32, 32, 80, 0.16);
}
.hero-cta--ghost:hover {
    border-color: #B225FF;
    color: #7a1fd6;
    background: rgba(178, 37, 255, 0.05);
}

/* Hero video — now the sole right-side visual (the old hero person/background image was
   dropped, and the floating corner stat cards that followed it were dropped too — see
   .hero-stats-row below). `.hero-video-block` sets the width both the frame and the stats
   row below it share; `.hero-video-frame` is just a white padded card (100% of the block)
   so the thumbnail reads as a deliberate feature. Right-aligned on desktop to match the
   container-edge alignment other sections use (see the `lg:justify-end` wrapper in the
   Blade) and sized up a tier from the old small-badge version. */
.hero-video-block {
    width: 340px;
    max-width: 100%;
}

@media (min-width: 640px) {
    .hero-video-block { width: 420px; }
}

@media (min-width: 1024px) {
    .hero-video-block { width: 480px; }
}

@media (min-width: 1280px) {
    .hero-video-block { width: 560px; }
}

@media (min-width: 1536px) {
    .hero-video-block { width: 600px; }
}

.hero-video-frame {
    position: relative;
    background: #fff;
    border-radius: 28px;
    padding: 10px;
    box-shadow: 10px 10px 80px 0px rgba(0, 0, 0, 0.1);
    width: 100%;
}

@media (min-width: 640px) {
    .hero-video-frame { padding: 14px; }
}

/* Contact CTA under the video — replaces the old stat row (didn't read well against the
   short 16:9 video, and duplicated the About section's stats). One click-through card,
   full width of .hero-video-block for visual alignment with the frame above it; the whole
   card is the WhatsApp link. */
.hero-contact-cta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    margin-top: 20px;
    padding: 0.85rem 1.1rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(32, 32, 80, 0.08);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-contact-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(32, 32, 80, 0.12);
}

.hero-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25D366;
    flex-shrink: 0;
}
.hero-contact-icon svg { width: 24px; height: 24px; fill: #fff; }

.hero-contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.hero-contact-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: #6b7280;
}
.hero-contact-number {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #202050;
}

@media (min-width: 640px) {
    .hero-contact-number { font-size: 1.3rem; }
}

/* Poster — clicking opens the video in a popup lightbox (see .video-lightbox
   + the [data-video-lightbox] handler in main.js). 16:9 so `cover` crops the YouTube
   thumbnail's 4:3 letterboxing so the poster fills cleanly (as in the video library). */
.hero-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
}

.hero-video-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video .play-btn {
    z-index: 2;
}

/* Video popup lightbox — full-screen overlay with a centered 16:9 player. Built once by
   main.js and reused; the iframe is only inserted on open and removed on close (stops audio). */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.video-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.video-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.85);
}

.video-lightbox-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.video-lightbox.is-open .video-lightbox-inner {
    transform: scale(1);
}

.video-lightbox-media {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-lightbox-media iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.video-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.06);
}

.video-caption {
    font-family: Inter, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    color: #202050;
    padding-top: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-nav {
    position: absolute;
    /* Centred on the thumbnail: JS sets --video-nav-top to half the frame height
       (the caption below would otherwise pull a plain % off-centre). 50% falls back
       to the whole-card centre if JS hasn't run yet. */
    top: var(--video-nav-top, 50%);
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    color: #202050;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    border: 0;
}

.video-nav svg {
    width: 18px;
    height: 18px;
}

.video-prev {
    left: -6px;
}

.video-next {
    right: -6px;
}

.video-nav.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .video-prev {
        left: -18px;
    }

    .video-next {
        right: -18px;
    }
}

/* ============================================================
   Services section — dense, informative category cards: icon +
   title + blurb + a 2-column checklist of the actual services on
   offer. Replaces the old full-width cover-image bands. Scoped.
   ============================================================ */
.svc-section {
    background: #F8F8FF;
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .svc-section { padding: 4rem 0; }
}

.svc-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.svc-head-text {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.svc-badge {
    align-self: flex-start;
    background: #DEF5FC;
    color: #16CAFF;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.2rem 1.1rem;
    border-radius: 9999px;
}

.svc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .svc-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background-color: #14171A;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 1.5rem;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 18px 42px -26px rgba(15, 23, 42, 0.7);
}

/* Dark scrim over the cover image so the text stays legible on any photo. */
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(15, 17, 20, 0.82) 0%, rgba(15, 17, 20, 0.9) 100%);
}

.svc-card > * { position: relative; z-index: 1; }

@media (min-width: 768px) {
    .svc-card { padding: 1.85rem; }
}

.svc-title {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 0.4rem;
}

.svc-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-list {
    list-style: none;
    margin: 0;
    padding: 1.05rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    /* Mobile-first single column; minmax(0,1fr) stops long items from overflowing. */
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem 1.25rem;
}

@media (min-width: 640px) {
    .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.svc-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.svc-list li a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.svc-list li a:hover,
.svc-list li a:focus-visible {
    text-decoration: underline;
}

.svc-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 1.15rem;
    height: 1.15rem;
    line-height: 1.15rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #16A34A;
    background: #E7F7EC;
    border-radius: 9999px;
}

.svc-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.35rem;
}

.svc-book { font-size: 0.85rem; }
.svc-wa { width: 16px; height: 16px; }

.svc-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #FF9366;
    transition: color 0.15s ease;
}

.svc-more:hover { color: #ffb08c; }

.svc-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Service card reveal — default face is clean (icon + title + short description); hovering
   (desktop) or tapping (touch, via [data-svc-flip] in main.js) rises the detail panel
   (checklist + booking actions, still .svc-card's dark cover-image design) up from the
   bottom edge over the front face — a "curtain" slide + fade instead of a 3D flip, which
   reads calmer/more premium than a rotation. Fixed height (not auto) because both faces are
   absolutely stacked inside .svc-flip-inner — an absolutely positioned child can't grow its
   parent, so the wrapper's height has to be set explicitly; the back face's checklist gets
   its own scroll instead of trying to guess a height that fits every category's item count. */
.svc-flip {
    position: relative;
    height: 460px;
    border-radius: 20px;
    cursor: pointer;
    /* Without this, the resting-state back face (translateY(100%), see .svc-face-back) sits
       one card-height below the card's own box and is still hit-testable there — hovering the
       section right underneath (About) would hover/reveal it instead. */
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

@media (min-width: 640px) { .svc-flip { height: 400px; } }
@media (min-width: 992px) { .svc-flip { height: 420px; } }

.svc-flip:hover,
.svc-flip:focus-within,
.svc-flip.is-flipped {
    transform: translateY(-6px);
    box-shadow: 0 28px 54px -24px rgba(15, 23, 42, 0.3);
}

.svc-flip-inner {
    position: absolute;
    inset: 0;
}

.svc-face {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
}

.svc-face-back {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.svc-flip:hover .svc-face-back,
.svc-flip:focus-within .svc-face-back,
.svc-flip.is-flipped .svc-face-back {
    transform: translateY(0);
    opacity: 1;
}

/* .svc-face-back doubles up as .svc-card (same dark cover-image design as before) — its
   checklist is capped + scrollable so a category with many services never breaks the
   fixed card height above. */
.svc-face-back .svc-list {
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.svc-face-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
    padding: 2rem 1.75rem;
    background: #fff;
    border: 1px solid rgba(32, 32, 80, 0.08);
    box-shadow: 0 18px 42px -26px rgba(15, 23, 42, 0.35);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.svc-flip:hover .svc-face-front,
.svc-flip:focus-within .svc-face-front,
.svc-flip.is-flipped .svc-face-front {
    transform: scale(1.035);
    opacity: 0;
    transition-delay: 0s, 0.05s;
}

.svc-front-icon { margin-bottom: 0.25rem; }
.svc-front-icon :is(div, svg) { width: 84px; height: 84px; }

.svc-front-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #202050;
}

.svc-front-desc {
    max-width: 30rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-front-hint {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(240, 90, 43, 0.1);
    color: #F05A2B;
}
.svc-front-hint svg { width: 16px; height: 16px; }

/* ============================================================
   About section — compact intro + value checklist + stats grid
   (replaced a spacious decorative image collage). Scoped.
   ============================================================ */
.about-section {
    background: #FFF8F6;
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .about-section { padding: 4rem 0; }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.about-badge {
    align-self: flex-start;
    background: #E9EAFF;
    color: #3840F7;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.2rem 1.1rem;
    border-radius: 9999px;
}

.about-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #4B5163;
    max-width: 560px;
}

.about-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem 1.5rem;
}

@media (min-width: 560px) {
    .about-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.about-points li {
    position: relative;
    padding-left: 1.95rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #202050;
}

.about-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.4rem;
    height: 1.4rem;
    line-height: 1.4rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4242FF, #B225FF);
    border-radius: 9999px;
}

.about-cta { align-self: flex-start; margin-top: 0.4rem; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-stat {
    background: #fff;
    border: 1px solid #F3E6E0;
    border-radius: 18px;
    padding: 1.4rem 1.25rem;
    box-shadow: 0 16px 36px -28px rgba(66, 66, 255, 0.55);
}

.about-stat-value {
    display: block;
    font-family: Inter, sans-serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    line-height: 1;
    background: linear-gradient(112deg, #4242FF 0%, #B225FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-stat-label {
    display: block;
    margin-top: 0.45rem;
    font-family: Inter, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.35;
    color: #5B607A;
}

/* Hero "NBR Audit Checker" CTA — soft glowing pulse so it stands out from the other buttons. */
@keyframes nbrGlow {
    0%, 100% { box-shadow: 0 6px 18px rgba(96, 60, 235, 0.32); }
    50% { box-shadow: 0 10px 34px rgba(150, 60, 240, 0.62); }
}
.nbr-cta { animation: nbrGlow 2.2s ease-in-out infinite; }
.nbr-cta:hover { animation-play-state: paused; }

/* Hero trust row — quick highlights under the CTAs. Scoped (no frontend JIT). */
.hero-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.hero-trust li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #202050;
}

.hero-trust li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #4242ff, #b225ff);
    border-radius: 9999px;
}

/* Client logos — seamless infinite marquee (under the About stats). The .client-track holds
   two copies of the logos and animates translateX(-50%) so it loops with no gap; edge fade via
   a mask; pauses on hover; falls back to a static wrap for reduced-motion users. */
/* Right column of the About grid: the 4 stat cards stacked over the client-logo marquee. */
.about-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.about-clients {
    min-width: 0;
}

.about-clients-label {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #76797d;
    margin-bottom: 0.85rem;
}

.client-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: client-scroll 26s linear infinite;
}

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

.client-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
}

.client-logo img {
    max-height: 42px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.9;
}

.client-logo:hover img {
    transform: scale(1.06);
    opacity: 1;
}

@keyframes client-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .client-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        gap: 2.5rem;
    }
    .client-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* Accounting software promo banner — sits between Testimonials and FAQ, whole card is a
   single link out to accounting71.legal71.com. Plain scoped CSS (not Tailwind utilities)
   per this file's convention, since arbitrary gradients/blur aren't in the purged build.
   Two-part layout: text+CTA body on the left, the supplied illustration in a framed media
   panel on the right (stacks on top on mobile). Taller than a typical CTA strip on purpose
   so the illustration has room to read. */
.acc-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    background: linear-gradient(120deg, #202050 0%, #4242FF 55%, #B225FF 100%);
    box-shadow: 0 20px 45px rgba(66, 66, 255, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.acc-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 55px rgba(66, 66, 255, 0.3);
}

.acc-banner::before,
.acc-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    filter: blur(2px);
    pointer-events: none;
}

.acc-banner::before { width: 180px; height: 180px; top: -80px; right: -60px; }
.acc-banner::after { width: 120px; height: 120px; bottom: -60px; left: -30px; }

.acc-banner-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
    padding: 1.75rem 1.5rem;
    min-width: 0;
}

.acc-banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.acc-banner-title {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.45;
    margin: 0;
}

.acc-banner-highlight { color: #FFD166; }

.acc-banner-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    max-width: 34rem;
}

.acc-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    color: #202050;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.7rem 1.4rem;
    border-radius: 9999px;
    white-space: nowrap;
    margin-top: 0.3rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.acc-banner-cta svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.acc-banner:hover .acc-banner-cta { background: #FFD166; }
.acc-banner:hover .acc-banner-cta svg { transform: translateX(3px); }

.acc-banner-media {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem 1.75rem;
}

.acc-banner-media img {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
    .acc-banner {
        flex-direction: row;
        align-items: stretch;
        min-height: 260px;
    }
    .acc-banner-body {
        align-items: flex-start;
        text-align: left;
        justify-content: center;
        flex: 1.15;
        padding: 2rem 1rem 2rem 2.25rem;
    }
    .acc-banner-media {
        flex: 1;
        padding: 1.5rem 2.25rem 1.5rem 0.5rem;
    }
    .acc-banner-media img { max-width: 100%; }
}

@media (min-width: 1024px) {
    .acc-banner { min-height: 300px; }
    .acc-banner-title { font-size: 1.5rem; }
    .acc-banner-subtitle { font-size: 0.98rem; }
}
