body { font-family: 'Poppins', sans-serif; }
.font-fancy { font-family: 'Suez One', serif; }

/* Sticky header scrolled state */
#siteHeader.scrolled {
    background-color: #1b1b1b;
backdrop-filter: blur(20px);
box-shadow: 0 6px 24px rgb(0 0 0 / 3%);
}
#siteHeader.scrolled .header-inner {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
#siteHeader.scrolled .logo-img {
    height: 2.5rem;
    filter: none;
}
#siteHeader.scrolled .contact-pill {
    color: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    background-color: rgba(0, 0, 0, 0.04);
    box-shadow: none;
}
#siteHeader.scrolled .contact-pill:hover {
    background-color: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Count section: dark -> maroon gradient with subtle dot texture */
.count-bg {
    background-color: #1a0c0d;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(110deg, #141112 0%, #2b0e10 55%, #4a0f15 100%);
    background-size: 22px 22px, 100% 100%;
}

/* Stat card: animated gradient accent bar on top */
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(to right, #f97316, #ef4444);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.stat-card:hover::before {
    transform: scaleX(1);
}

/* ---- Service slider ---- */
.service-viewport { cursor: grab; }
.service-viewport.is-dragging { cursor: grabbing; }
.service-viewport.is-dragging #serviceTrack { transition: none; }

.service-card {
    background:
        radial-gradient(120% 80% at 50% -10%, #3a1416 0%, transparent 55%),
        linear-gradient(160deg, #1c1416 0%, #140d0e 100%);
}
/* maroon corner accents (top-left & top-right) like the reference card */

.service-card::before { left: 22px; border-radius: 0 0 8px 8px; transform: skewX(-12deg); }
.service-card::after  { right: 22px; border-radius: 0 0 8px 8px; transform: skewX(12deg); }

.service-card .card-img { transition: transform 0.6s ease; }
.service-card:hover .card-img { transform: scale(1.07); }

/* dot pagination */
.slider-dot {
    height: 8px; width: 8px; border-radius: 9999px;
    background: #e5e7eb; transition: all 0.3s ease;
}
.slider-dot.active {
    width: 26px;
    background: linear-gradient(to right, #f97316, #ef4444);
}

/* ---- Portfolio / Industries section ---- */
.portfolio-bg {
    background-color: #0d0809;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(160deg, #140d0e 0%, #1c0d10 55%, #2b0e10 100%);
    background-size: 22px 22px, 100% 100%;
}

/* squircle thumbnail */
.ind-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.ind-card:hover .ind-thumb {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 22px 45px -12px rgba(239, 68, 68, 0.55),
                0 0 32px -6px rgba(249, 115, 22, 0.55);
}
/* glowing gradient ring behind thumb on hover */
.ind-thumb::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    padding: 3px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 2;
}
.ind-card:hover .ind-thumb::after { opacity: 1; }

.ind-thumb img { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.ind-card:hover .ind-thumb img { transform: scale(1.12); }

.ind-card .ind-label { transition: color 0.3s ease; }
.ind-card:hover .ind-label { color: #fb923c; }

/* scroll reveal */
.ind-item {
    opacity: 0;
    transform: translateY(36px) scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ind-item.in-view { opacity: 1; transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
    .ind-item { opacity: 1; transform: none; transition: none; }
    .ind-card:hover .ind-thumb { transform: none; }
}

/* ---- Footer ---- */
.footer-bg {
    position: relative;
    background-color: #0c0708;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(160deg, #140d0e 0%, #1c0d10 55%, #2b0e10 100%);
    background-size: 22px 22px, 100% 100%;
    overflow: hidden;
}
/* glowing orbs */
.footer-glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(90px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.footer-glow--orange {
    width: 420px; height: 420px;
    top: -160px; left: -120px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.55), transparent 70%);
    animation: footerFloat 9s ease-in-out infinite;
}
.footer-glow--red {
    width: 460px; height: 460px;
    bottom: -200px; right: -140px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.5), transparent 70%);
    animation: footerFloat 11s ease-in-out infinite reverse;
}
/* top gradient hairline */
.footer-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #f97316, #ef4444, transparent);
    opacity: 0.8;
    z-index: 2;
}
@keyframes footerFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 24px) scale(1.08); }
}

.footer-link {
    position: relative;
    display: inline-block;
    color: #cbbfc0;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-link::before {
    content: "";
    position: absolute;
    left: -14px; top: 50%;
    width: 6px; height: 6px;
    border-radius: 9999px;
    background: linear-gradient(to right, #f97316, #ef4444);
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
}
.footer-link:hover {
    color: #fff;
    transform: translateX(6px);
}
.footer-link:hover::before { transform: translateY(-50%) scale(1); }

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px; width: 42px;
    border-radius: 9999px;
    color: #e7dedf;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-social:hover {
    color: #fff;
    transform: translateY(-4px);
    border-color: transparent;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 12px 28px -8px rgba(239, 68, 68, 0.7),
                0 0 22px -4px rgba(249, 115, 22, 0.6);
}

.footer-contact-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px; width: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    color: #fff;
    /* background: linear-gradient(135deg, #f97316, #ef4444); */
    box-shadow: 0 8px 20px -6px rgba(239, 68, 68, 0.6);
    border: 1px solid #F97317;
}

.footer-heading::after {
    content: "";
    display: block;
    margin-top: 10px;
    height: 3px; width: 38px;
    border-radius: 9999px;
    background: linear-gradient(to right, #f97316, #ef4444);
}

/* Portfolio Section */
#portfolio h2
{
    font-family: 'Suez One', serif; 
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-top: 18px;
}

/* Portfolio End Section */

/* what-we-offer Section */
#what-we-offer h2
{
    font-family: 'Suez One', serif; 
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-top: 18px;
}
/* what-we-offer End Section */

/* count-bg Section */
.count-bg h2
{
    font-family: 'Suez One', serif; 
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-top: 18px;
}
/* count-bg End Section */

/* about Section */
#about h2
{
    font-family: 'Suez One', serif; 
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-top: 18px;
}
/* about End Section */

/* trusted-clients-bg Section */
#trusted-clients
{
    position: relative;
    background: url(../img/clientBg.webp) no-repeat center center;
    background-size: cover;
}
/* soft veil so logos stay legible over any background */
#trusted-clients::before
{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(255 255 255 / 31%), rgb(255 255 255 / 37%));
    pointer-events: none;
    z-index: 0;
}
#trusted-clients > .container
{
    position: relative;
    z-index: 1;
}

/* section heading block */
#trusted-clients .tc-head
{
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.75rem;
}
#trusted-clients h2
{
    font-family: 'Suez One', serif; 
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-top: 16px;
    color: #0f172a;
}
#trusted-clients .tc-sub
{
    margin-top: 14px;
    color: #475569;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.65;
}

/* logo grid + cards */
.client-item
{
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.client-item img
{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* filter: grayscale(100%);
    opacity: .8; */
    transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
.client-item:hover
{
    transform: translateY(-6px);
    background: #ffffff;
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.18);
}
.client-item:hover img
{
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.06);
}

/* tighten cards on small screens */
@media (max-width: 640px)
{
    .client-item
    {
        padding: 0.75rem;
        border-radius: 12px;
    }
}
/* trusted-clients-bg End Section */

/* ---- Offers / Benefits section ---- */
.offers-bg {
    position: relative;
    background-color: #ffffff;
    background-image:
        radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(160deg, #ffffff 0%, #fff7f3 55%, #fef2f2 100%);
    background-size: 22px 22px, 100% 100%;
}
/* ambient glow blobs */
.offers-bg::before,
.offers-bg::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.offers-bg::before {
    width: 360px; height: 360px;
    top: -120px; right: -80px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.45), transparent 70%);
}
.offers-bg::after {
    width: 420px; height: 420px;
    bottom: -160px; left: -120px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.35), transparent 70%);
}

/* kicker label */
.offer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.3);
    background: rgba(249, 115, 22, 0.1);
}
.offer-kicker::before {
    content: "";
    height: 7px; width: 7px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 0 10px 1px rgba(249, 115, 22, 0.8);
}

.offer-title {
    font-family: 'Suez One', serif;
    color: #1a1110;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-top: 18px;
}
.offer-title .grad {
    background: linear-gradient(to right, #f97316, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.offer-lead {
    margin-top: 16px;
    color: #5b5354;
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 34rem;
}

/* feature list */
.offer-features {
    margin-top: 30px;
    display: grid;
    gap: 14px;
}
.offer-feature {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    overflow: hidden;
}
.offer-feature::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(to bottom, #f97316, #ef4444);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}
.offer-feature:hover {
    transform: translateX(6px);
    border-color: rgba(249, 115, 22, 0.4);
    background: linear-gradient(160deg, #fff7f3 0%, #fef2f2 100%);
    box-shadow: 0 22px 45px -22px rgba(239, 68, 68, 0.5);
}
.offer-feature:hover::before { transform: scaleY(1); }

.offer-feature-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px; width: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 10px 24px -8px rgba(239, 68, 68, 0.7);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.offer-feature:hover .offer-feature-ico { transform: scale(1.08) rotate(-4deg); }

.offer-feature h4 {
    color: #1a1110;
    font-size: 1.02rem;
    font-weight: 600;
}
.offer-feature p {
    margin-top: 5px;
    color: #6b6364;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* image card */
.offer-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 50% -10%, #fff1ec 0%, transparent 55%),
        linear-gradient(160deg, #fff7f3 0%, #fef2f2 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 40px 80px -30px rgba(239, 68, 68, 0.35);
}
/* gradient ring */
.offer-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(249,115,22,0.55), transparent 45%, rgba(239,68,68,0.55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.offer-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: offerFloat 6s ease-in-out infinite;
}
@keyframes offerFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
/* floating stat badge */
.offer-badge {
    position: absolute;
    left: 22px; bottom: 22px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 16px;
    color: #1a1110;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px -16px rgba(239, 68, 68, 0.4);
}
.offer-badge .num {
    font-family: 'Suez One', serif;
    font-size: 1.5rem;
    line-height: 1;
    background: linear-gradient(to right, #f97316, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.offer-badge .lbl {
    font-size: 0.72rem;
    color: #6b6364;
    line-height: 1.25;
}

/* scroll reveal */
.offer-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.offer-reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .offer-reveal { opacity: 1; transform: none; transition: none; }
    .offer-visual img { animation: none; }
}

@media (max-width: 640px) {
    .offer-badge { left: 14px; bottom: 14px; padding: 10px 14px; }
    .offer-feature { padding: 15px; gap: 13px; }
    .offer-feature-ico { height: 44px; width: 44px; }
}

/* ---- Testimonials section ---- */
.testimonials-bg {
    position: relative;
    background:
        radial-gradient(120% 90% at 50% -10%, #fff5f0 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fef6f3 100%);
}
.testimonials-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.testimonials-head h2 {
    font-family: 'Suez One', serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-top: 16px;
    color: #1a1110;
}
.t-sub {
    margin-top: 14px;
    color: #5b5354;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* decorative glow orbs */
.t-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}
.t-orb--orange {
    width: 360px; height: 360px;
    top: -120px; left: -100px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.45), transparent 70%);
}
.t-orb--red {
    width: 420px; height: 420px;
    bottom: -160px; right: -120px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.35), transparent 70%);
}

/* viewport drag cursor */
.t-viewport { cursor: grab; }
.t-viewport.is-dragging { cursor: grabbing; }
.t-viewport.is-dragging #tTrack { transition: none; }

/* equal-height slides — short & long quotes align at the bottom */
#tTrack { align-items: stretch; }
#tSlider .slide { display: flex; }

/* testimonial card */
.t-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-height: 100%;
    padding: 32px 28px 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 22px 50px -28px rgba(239, 68, 68, 0.32);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
}
.t-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 32px 60px -26px rgba(239, 68, 68, 0.5);
}

/* long quotes — clamp by default, full text on hover (desktop) */
@media (hover: hover) {
    #tSlider .slide { position: relative; }

    #tSlider.has-expanded-card {
        z-index: 50;
    }
    #tSlider.has-expanded-card .t-viewport,
    #testimonials.has-expanded-card {
        overflow: visible;
    }

    .t-card--expandable { cursor: pointer; }

    .t-card--expandable .t-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        overflow: hidden;
    }

    .t-card--expandable .t-text::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2.8em;
        background: linear-gradient(to bottom, transparent, #fff 72%);
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    #tSlider .slide:has(.t-card--expandable:hover),
    #tSlider .slide:has(.t-card--expandable.is-expanded) { z-index: 20; }

    .t-card--expandable:hover,
    .t-card--expandable.is-expanded {
        position: absolute;
        top: 0;
        left: 0.5rem;
        right: 0.5rem;
        width: auto;
        min-height: 100%;
        height: auto;
        max-height: none;
        z-index: 30;
        overflow: hidden;
        flex: none;
        transform: translateY(-8px);
        border-color: rgba(249, 115, 22, 0.4);
        box-shadow: 0 36px 70px -24px rgba(239, 68, 68, 0.55);
    }

    .t-card--expandable:hover .t-text,
    .t-card--expandable.is-expanded .t-text {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        -webkit-box-orient: unset;
        flex: 0 0 auto;
        min-height: auto;
        max-height: none;
        height: auto;
    }

    .t-card--expandable:hover .t-text::after,
    .t-card--expandable.is-expanded .t-text::after {
        opacity: 0;
        visibility: hidden;
    }

    .t-card--expandable:hover .t-person,
    .t-card--expandable.is-expanded .t-person {
        flex-shrink: 0;
    }
}

@media (hover: hover) and (min-width: 640px) {
    .t-card--expandable:hover,
    .t-card--expandable.is-expanded {
        left: 0.75rem;
        right: 0.75rem;
    }
}

/* big quote mark */
.t-quote {
    position: absolute;
    top: 6px;
    right: 24px;
    font-family: 'Suez One', serif;
    font-size: 5.5rem;
    line-height: 1;
    background: linear-gradient(135deg, #f97316, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.18;
    pointer-events: none;
}

/* stars */
.t-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}
.t-stars svg {
    height: 18px;
    width: 18px;
}
.t-stars svg.on { color: #f59e0b; }
.t-stars svg.off { color: #e5e7eb; }

.t-text {
    position: relative;
    color: #4b4344;
    font-size: 0.97rem;
    line-height: 1.75;
    flex: 1 1 auto;
    min-height: 0;
}

/* author — pinned to card bottom when quote length varies */
.t-person {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}
.t-avatar {
    position: relative;
    flex-shrink: 0;
    height: 54px;
    width: 54px;
    border-radius: 9999px;
    padding: 2px;
    background: linear-gradient(135deg, #f97316, #ef4444);
}
.t-avatar img {
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid #fff;
    display: block;
}
.t-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.t-name {
    font-weight: 600;
    color: #1a1110;
    font-size: 0.98rem;
}
.t-role {
    font-size: 0.8rem;
    color: #8a8081;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .t-card { padding: 26px 22px 24px; }
    .t-quote { font-size: 4.5rem; }
}

/* ---- Testimonials new (speech bubble slider) ---- */
.testimonials-new-bg {
    position: relative;
    background:
        radial-gradient(120% 90% at 50% -10%, #fff5f0 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fef8f6 100%);
}

.tn-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}
.tn-orb--orange {
    width: 340px;
    height: 340px;
    top: -100px;
    left: -90px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.5), transparent 70%);
}
.tn-orb--red {
    width: 400px;
    height: 400px;
    bottom: -140px;
    right: -100px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.38), transparent 70%);
}

.testimonials-new-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.testimonials-new-head h2 {
    font-family: 'Suez One', serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-top: 16px;
    color: #1a1110;
}

.tn-grad {
    background: linear-gradient(to right, #f97316, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tn-sub {
    margin-top: 14px;
    color: #5b5354;
    font-size: 0.98rem;
    line-height: 1.7;
}

.tn-slider-wrap {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.tn-slider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tn-viewport {
    flex: 1;
    min-width: 0;
    cursor: grab;
    padding: 0.5rem 0 0.25rem;
    transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-track--auto-height {
    align-items: flex-start;
}

.slider-track--auto-height .slide {
    flex-shrink: 0;
    height: auto;
}

.tn-viewport.is-dragging { cursor: grabbing; }
.tn-viewport.is-dragging #tnTrack { transition: none; }
.tn-viewport.is-dragging { transition: none; }

.tn-slide-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 0.35rem;
}

.tn-bubble {
    position: relative;
    width: 100%;
    max-width: 720px;
    height: auto;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(249, 115, 22, 0.12);
    box-shadow:
        0 4px 24px -4px rgba(249, 115, 22, 0.12),
        0 28px 60px -28px rgba(239, 68, 68, 0.22),
        0 0 48px -12px rgba(249, 115, 22, 0.18);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.tn-bubble::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.35), rgba(239, 68, 68, 0.2), rgba(249, 115, 22, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.tn-bubble::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 13px;
    background: #fff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    filter: drop-shadow(0 6px 8px rgba(239, 68, 68, 0.12));
}

.tn-quote-icon {
    position: absolute;
    top: 4px;
    right: 22px;
    font-family: 'Suez One', serif;
    font-size: clamp(3.5rem, 10vw, 5rem);
    line-height: 1;
    background: linear-gradient(135deg, #f97316, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.14;
    pointer-events: none;
}

.tn-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}
.tn-stars svg {
    height: 17px;
    width: 17px;
}
.tn-stars svg.on { color: #f59e0b; filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.45)); }
.tn-stars svg.off { color: #e5e7eb; }

.tn-quote-text {
    position: relative;
    margin: 0;
    color: #4b4344;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: center;
}

.tn-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 2rem;
    padding: 10px 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(249, 115, 22, 0.1);
    box-shadow:
        0 8px 28px -10px rgba(239, 68, 68, 0.25),
        0 0 24px -8px rgba(249, 115, 22, 0.2);
}

.tn-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    padding: 3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 0 18px -2px rgba(249, 115, 22, 0.65);
}

.tn-avatar {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.tn-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-align: left;
}

.tn-name {
    font-weight: 600;
    color: #1a1110;
    font-size: 0.97rem;
    line-height: 1.3;
}

.tn-role {
    margin-top: 2px;
    font-size: 0.8rem;
    color: #8a8081;
    line-height: 1.35;
}

.tn-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: #4b4344;
    box-shadow:
        0 4px 18px -6px rgba(15, 23, 42, 0.15),
        0 0 20px -6px rgba(249, 115, 22, 0.15);
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.tn-arrow:hover:not(:disabled) {
    transform: scale(1.06);
    border-color: rgba(249, 115, 22, 0.45);
    color: #ea580c;
    box-shadow:
        0 8px 24px -8px rgba(239, 68, 68, 0.35),
        0 0 28px -6px rgba(249, 115, 22, 0.35);
}

.tn-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.tn-dots .slider-dot.active {
    box-shadow: 0 0 12px 1px rgba(249, 115, 22, 0.45);
}

.tn-controls {
    display: none;
}

.tn-arrow--desk { display: none; }

@media (min-width: 640px) {
    .tn-slider {
        gap: 1rem;
    }

    .tn-arrow--desk {
        display: flex;
    }

    .tn-controls {
        display: flex;
        justify-content: center;
        margin-top: 1.75rem;
    }

    .tn-arrow--mob {
        display: none;
    }

    .tn-bubble {
        padding: 2.25rem 2.5rem 2.35rem;
        border-radius: 24px;
    }

    .tn-quote-text {
        font-size: 1.02rem;
        padding: 0 0.5rem;
    }

    .tn-arrow {
        width: 48px;
        height: 48px;
    }

    .tn-avatar {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 639px) {
    #testimonials-new {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .testimonials-new-head h2 {
        font-size: 1.75rem;
    }

    .tn-sub {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .tn-slider-wrap {
        margin-top: 1.75rem;
    }

    .tn-viewport {
        padding: 0.15rem 0 0;
    }

    .tn-slide-inner {
        padding: 0;
        align-items: stretch;
    }

    .tn-bubble {
        padding: 1.2rem 1.1rem 1.15rem;
        border-radius: 16px;
        box-shadow:
            0 2px 16px -2px rgba(249, 115, 22, 0.15),
            0 16px 40px -20px rgba(239, 68, 68, 0.2),
            0 0 32px -10px rgba(249, 115, 22, 0.14);
    }

    .tn-quote-icon {
        top: 2px;
        right: 14px;
        font-size: 3rem;
        opacity: 0.12;
    }

    .tn-stars {
        margin-bottom: 10px;
    }

    .tn-stars svg {
        height: 15px;
        width: 15px;
    }

    .tn-quote-text {
        font-size: 0.9rem;
        line-height: 1.7;
        text-align: left;
    }

    .tn-author {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        margin-top: 1.1rem;
        padding: 8px 14px 8px 8px;
        width: auto;
        max-width: 100%;
        align-self: flex-start;
    }

    .tn-avatar {
        width: 44px;
        height: 44px;
    }

    .tn-meta {
        text-align: left;
        align-items: flex-start;
    }

    .tn-name {
        font-size: 0.9rem;
    }

    .tn-role {
        font-size: 0.75rem;
    }

    .tn-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.25rem;
        padding: 0 0.25rem;
    }

    .tn-arrow--mob {
        display: flex;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .tn-dots {
        flex: 1;
        justify-content: center;
        max-width: 160px;
    }
}

/* ---- YouTube portfolio section ---- */
.youtube-bg {
    position: relative;
    background:
        radial-gradient(rgba(249, 115, 22, 0.04) 1px, transparent 1px),
        radial-gradient(120% 90% at 50% -10%, #fff5f0 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    background-size: 24px 24px, 100% 100%, 100% 100%;
}

.yt-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.yt-orb--orange {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -70px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.45), transparent 70%);
}
.yt-orb--red {
    width: 380px;
    height: 380px;
    bottom: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.35), transparent 70%);
}

.youtube-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.youtube-head h2 {
    font-family: 'Suez One', serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-top: 16px;
    color: #1a1110;
}

.yt-grad {
    background: linear-gradient(to right, #f97316, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.yt-sub {
    margin-top: 14px;
    color: #5b5354;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* video card grid */
.youtube-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 640px) {
    .youtube-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
}

.youtube-card {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: #111111;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease;
}
.youtube-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
}
.youtube-card:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 3px;
}

.youtube-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a1a;
}
.youtube-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.youtube-card:hover .youtube-card-thumb img {
    transform: scale(1.06);
}

.youtube-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}
.youtube-card:hover .youtube-card-play {
    background: rgba(0, 0, 0, 0.35);
}
.youtube-card-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f5c518;
    color: #1a1110;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}
.youtube-card-play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}
.youtube-card:hover .youtube-card-play-btn {
    transform: scale(1.08);
    background: #ffd633;
}

.youtube-card-body {
    padding: 1.1rem 1.25rem 1.35rem;
}
.youtube-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
}
.youtube-card-desc {
    margin-top: 0.45rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}

/* video popup modal */
.yt-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.yt-modal[hidden] {
    display: none;
}

.yt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
}

.yt-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    animation: ytModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ytModalIn {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.yt-modal-close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.yt-modal-close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

.yt-modal-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #000000;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
}
.yt-modal-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 639px) {
    .yt-modal-close {
        top: -3.25rem;
        right: 50%;
        transform: translateX(50%);
    }
    .yt-modal-close:hover {
        transform: translateX(50%) scale(1.05);
    }
}