/* ================================================================
   BLISSDEZIGN STYLE FIXES v2
   Loaded on every page AFTER style.css to override and extend.
   ================================================================ */

/* ── Footer: Full Styling ────────────────────────────────────────
   This file is the single source of truth for .new-site-footer.
   ────────────────────────────────────────────────────────────── */
footer.new-site-footer,
.new-site-footer {
    background-color: #111111 !important;
    color: #ffffff !important;
    padding: 80px 0 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: block !important;
}

.new-site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.new-site-footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.new-site-footer .footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.new-site-footer .footer-nav {
    display: flex;
    gap: 30px;
    font-weight: 500;
    font-size: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.new-site-footer .footer-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.new-site-footer .footer-nav a:hover {
    opacity: 0.6;
}

.new-site-footer .footer-social-icons {
    display: flex;
    gap: 25px;
    font-size: 1.3rem;
}

.new-site-footer .footer-social-icons a {
    color: #ffffff;
    transition: opacity 0.3s;
}

.new-site-footer .footer-social-icons a:hover {
    opacity: 0.6;
}

.new-site-footer .footer-middle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888888;
    margin-bottom: 60px;
}

.new-site-footer .footer-middle-row a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s;
}

.new-site-footer .footer-middle-row a:hover {
    color: #ffffff;
}

.new-site-footer .footer-bottom-row {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Height = roughly 60% of the text visible + fade */
    max-height: clamp(55px, 11vw, 140px);
    line-height: 0;
}

.new-site-footer .huge-brand-text {
    font-size: clamp(3.5rem, 17vw, 18rem);
    font-weight: 800;
    line-height: 0.85;
    margin: 0;
    padding: 0;
    display: block;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    /* Fades from white at top → transparent at bottom */
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    user-select: none;
}

/* ── Footer: Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .new-site-footer .footer-top-row,
    .new-site-footer .footer-middle-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .new-site-footer .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .new-site-footer .footer-social-icons {
        justify-content: center;
        gap: 20px;
    }

    .new-site-footer .footer-bottom-row {
        max-height: clamp(35px, 13vw, 80px);
    }
}

/* ── Project Cards: Add breathing room before footer ────────── */
/* The section/div that wraps project cards — give it bottom padding */
.portfolio-section,
#work,
.work-projects-wrapper,
#all-projects-container,
#index-projects-container {
    padding-bottom: 80px !important;
}

/* Card itself: extra gap between image and text */
.portfolio-card-large {
    margin-bottom: 60px !important;
}

/* ── Project Cards: Remove arrow icon on mobile ─────────────── */
@media (max-width: 768px) {
    .portfolio-card-icon {
        display: none !important;
    }
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-modern {
    background-color: #111111;
    background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    color: #ffffff;
    padding: 120px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-modern .cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-modern h2 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.cta-modern p {
    font-size: 1.15rem;
    color: #aaaaaa;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.cta-modern .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    background: transparent;
}

.cta-modern .btn-outline:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-2px);
}

/* ── Custom Cursor ──────────────────────────────────────────── */
/* Hide native cursor on mouse devices */
@media (pointer: fine) {
    *, *::before, *::after { cursor: none !important; }
}

/* Shared base for all cursor parts */
.bd-cursor-dot,
.bd-cursor-ring,
.bd-cursor-label {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    will-change: transform, width, height, border-radius, background, border-color;
    border-radius: 50%;
}

/* ── Dot: small filled circle, snaps to cursor ── */
.bd-cursor-dot {
    width: 8px;
    height: 8px;
    background: #7c3aed;
    transition: opacity 0.15s ease, transform 0.15s ease;
    mix-blend-mode: difference;
}

/* ── Ring: large lagging outline circle ── */
.bd-cursor-ring {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(124, 58, 237, 0.7);
    background: transparent;
    transition:
        width 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        border-radius 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.25s ease,
        border-color 0.25s ease,
        opacity 0.2s ease;
}

/* ── View label: pill shown over project cards ── */
.bd-cursor-label {
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #000;
    font-family: 'Sen', 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 28px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    /* center on cursor point */
    margin-top: 0;
    margin-left: 0;
}

/* Hide everything on touch devices */
@media (pointer: coarse) {
    .bd-cursor-dot,
    .bd-cursor-ring,
    .bd-cursor-label { display: none !important; }
}



/* ── Page Load Fade-in ─────────────────────────────────────── */
@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
body {
    animation: pageFadeIn 0.8s ease forwards;
}

/* ── Testimonial Mobile Fixes ──────────────────────────────── */
@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 120px; }
    .testimonials-grid-wrapper { max-height: 800px; }
    .testimonials-fade-overlay { height: 200px; }
    .modern-test-card { padding: 30px 24px; border-radius: 8px; }
    .modern-test-text { font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; }
    .testimonials-title-area h2 { font-size: 2.2rem; }
}

/* ── Remove glow from timeline marker on hover ── */
.timeline-item:hover .timeline-marker {
    box-shadow: none !important;
}

/* ─── Flat Outline Button (No 3D patterns, no 3D hover effects) ─── */
.btn-outline-flat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 47px;
    padding: 0 32px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: var(--text-main) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease !important;
    position: relative;
    cursor: pointer;
}

[data-theme="dark"] .btn-outline-flat {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Disable pseudo-elements for 3D bubble effects */
.btn-outline-flat::before,
.btn-outline-flat::after {
    display: none !important;
    content: none !important;
}

.btn-outline-flat:hover {
    border-color: var(--accent-purple) !important;
    color: var(--accent-purple) !important;
    background: rgba(108, 59, 255, 0.06) !important; /* Subtle tint on hover */
    transform: none !important;
    box-shadow: none !important;
    animation: none !important;
}

.btn-outline-flat:active {
    transform: none !important;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-actions .btn-outline-flat {
        width: 100%;
    }
}

/* ─── Back Link Micro-animations ─── */
.back-link {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.back-link:hover {
    opacity: 0.8 !important;
    transform: translateX(-4px) !important;
}

/* ─── Case Study Back Link Alignment (Left on desktop, centered on mobile) ─── */
.cs-back-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .cs-back-container {
        justify-content: center;
    }
}

/* ─── Contained About Page Portrait Card (Seamless Blend & Same Height) ─── */

/* Desktop layout rules: Stretch image to full card height & crop seamlessly */
@media (min-width: 993px) {
    .about-hero-card {
        padding: 0 !important; /* Remove card padding so image spans edge-to-edge */
        overflow: hidden !important; /* Clips the image inside the card's rounded borders */
        background: #ffffff !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 32px !important;
        box-shadow: var(--shadow) !important;
    }
    
    [data-theme="dark"] .about-hero-card {
        background: #000000 !important; /* Pure black in dark theme to match transparent PNG background */
        border-color: rgba(255, 255, 255, 0.06) !important;
    }

    .about-hero-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Two equal columns */
        gap: 0 !important; /* No gap; spacing is handled via padding inside columns */
        align-items: stretch !important; /* Equal height columns */
    }

    .about-hero-image {
        height: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .about-hero-image .image-wrapper {
        height: 100% !important;
        width: 100% !important;
        aspect-ratio: auto !important;
        border-radius: 0 !important; /* Card handles rounding, not wrapper */
        border: none !important;
        background: transparent !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }

    .about-hero-image .about-portrait {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important; /* Frame head & face at the top, body stretches to the bottom */
        mask-image: none !important;
        -webkit-mask-image: none !important;
        border-radius: 0 !important;
        display: block !important;
    }

    .about-hero-content {
        padding: 60px 60px 60px 50px !important; /* Generous text padding */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Vertically center content */
        height: 100% !important;
    }
}

/* Tablet & Mobile Layout Rules (Stacked View) */
@media (max-width: 992px) {
    .about-hero-card {
        padding: 30px !important;
        border-radius: 24px !important;
        background: #ffffff !important;
        border: 1px solid var(--border-color) !important;
        box-shadow: var(--shadow) !important;
    }
    
    [data-theme="dark"] .about-hero-card {
        background: #000000 !important;
        border-color: rgba(255, 255, 255, 0.06) !important;
    }

    .about-hero-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Stacked layout */
        gap: 40px !important;
        align-items: center !important;
    }

    .about-hero-image {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .about-hero-image .image-wrapper {
        border-radius: 24px !important;
        aspect-ratio: 4/5 !important;
        width: 100% !important;
        max-width: 340px !important;
        height: auto !important;
        background: #f8fafc !important; /* Subtle background for light theme wrapper */
        border: 1px solid var(--border-color) !important;
        overflow: hidden !important;
    }

    [data-theme="dark"] .about-hero-image .image-wrapper {
        background: #0a0a0a !important; /* Subtle dark wrapper in dark mode */
        border-color: rgba(255, 255, 255, 0.05) !important;
    }

    .about-hero-image .about-portrait {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }

    .about-hero-content {
        padding: 0 !important;
        text-align: left !important;
    }
}

/* About Hero typography & content styles to clean up inline styles and match design */
.about-hero-title {
    margin: 0 0 12px 0 !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(2rem, 3.5vw, 2.6rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--text-main) !important;
}

.about-hero-subtitle {
    font-family: var(--font-main) !important;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem) !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    margin: 0 0 24px 0 !important;
}

.about-hero-desc {
    font-family: var(--font-main) !important;
    font-size: clamp(1.1rem, 2vw, 1.25rem) !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: var(--text-muted) !important;
    margin: 0 0 35px 0 !important;
}

[data-theme="dark"] .about-hero-desc {
    color: #a1a1aa !important; /* Better contrast in dark mode */
}

/* Purple Highlights */
.highlight-purple {
    color: #6C3BFF !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

[data-theme="dark"] .highlight-purple {
    color: #8C62FF !important;
}

/* Founder Box / Quote Card */
.founder-box {
    margin-top: 0 !important;
    padding: 24px 30px !important;
    background: rgba(108, 59, 255, 0.03) !important;
    border: 1px solid rgba(108, 59, 255, 0.15) !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}

[data-theme="dark"] .founder-box {
    background: rgba(108, 59, 255, 0.05) !important;
    border-color: rgba(108, 59, 255, 0.25) !important;
}

.founder-quote {
    font-family: var(--font-main) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}

[data-theme="dark"] .founder-quote {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* ─── Vision CTA Equal Button Length ─── */
.vision-cta-section .hero-actions .btn {
    min-width: 210px !important;
    justify-content: center !important;
    text-align: center !important;
}

@media (max-width: 576px) {
    .vision-cta-section .hero-actions .btn {
        width: 100% !important;
        min-width: unset !important;
    }
}

/* ─── More Projects Horizontal Scroll ─── */
.more-projects-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.more-projects-scroll::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.more-project-card {
    flex: 0 0 320px; /* Fixed width for horizontal scrolling */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    /* Optional: On desktop we can keep the horizontal scroll or wrap them. 
       We'll stick to horizontal scroll as it is often preferred for these sections */
    .more-project-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

/* ── Services & Packages Section ────────────────────────────── */
.services-packages {
    background: var(--bg-color); /* Matches the main dark background */
}

.services-pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
    padding-bottom: 20vh; /* Extra scroll space to let the last cards stack */
}

.pricing-card {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;
    transition: all 0.4s ease;
    box-shadow: none;
    position: sticky;
    top: 120px;
}

@media (min-width: 768px) {
    .pricing-card {
        flex-direction: row;
        align-items: center;
    }
    .pricing-card-left {
        flex: 1;
        padding-right: 40px;
    }
    .pricing-card-right {
        flex: 1;
    }
}

.pricing-card:nth-child(1) { top: 120px; }
.pricing-card:nth-child(2) { top: 140px; }
.pricing-card:nth-child(3) { top: 160px; }
.pricing-card:nth-child(4) { top: 180px; }
.pricing-card:nth-child(5) { top: 200px; }
.pricing-card:nth-child(6) { top: 220px; }

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(108, 59, 255, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background-image: radial-gradient(circle at 50% 0%, rgba(108, 59, 255, 0.08) 0%, rgba(10, 10, 10, 0) 60%);
}

.pricing-card-top {
    margin-bottom: 40px;
}

.pricing-title {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #ffffff;
}

.pricing-tagline {
    font-size: 1rem;
    color: #888888;
    line-height: 1.5;
    margin-bottom: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 32px 0 0 0;
}

.pricing-features li {
    font-size: 0.85rem;
    color: #aaaaaa;
    margin-bottom: 12px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pricing-features li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: rgba(108, 59, 255, 0.15);
    border-radius: 50%;
    margin-top: 2px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c3bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-card-bottom {
    display: flex;
    flex-direction: column;
}

.service-link-btn {
    display: inline-block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: max-content;
}

.service-link-btn:hover {
    border-bottom-color: #ffffff;
    color: #ffffff;
    padding-bottom: 10px;
}

[data-theme="light"] .pricing-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

[data-theme="light"] .pricing-card:hover {
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    background: #ffffff;
}

[data-theme="light"] .pricing-title {
    color: #111111;
}

[data-theme="light"] .pricing-tagline {
    color: #666666;
}

[data-theme="light"] .pricing-features li {
    color: #444444;
}

[data-theme="light"] .service-link-btn {
    color: #111111;
    border-bottom-color: rgba(0,0,0,0.2);
}

[data-theme="light"] .service-link-btn:hover {
    border-bottom-color: #111111;
    color: #111111;
}

[data-theme="light"] .service-link-btn:hover {
    color: #8b5cf6;
    border-bottom-color: #8b5cf6;
}

/* ── Custom Dropdown UI ────────────────────────────────────── */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover, .custom-select-wrapper.open .custom-select-trigger {
    border-color: #8b5cf6;
}

.custom-select-arrow {
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    display: block;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.custom-select-wrapper.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 14px 20px;
    font-size: 0.95rem;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-option:hover, .custom-option.selected {
    background: #222222;
    color: #ffffff;
}

[data-theme="light"] .custom-select-trigger {
    background: #f9f9f9;
    border-color: #dddddd;
    color: #111111;
}

[data-theme="light"] .custom-select-options {
    background: #ffffff;
    border-color: #dddddd;
}

[data-theme="light"] .custom-option {
    color: #444444;
}

[data-theme="light"] .custom-option:hover, [data-theme="light"] .custom-option.selected {
    background: #f0f0f0;
    color: #111111;
}

/* ── Trusted By Section (Marquee) ───────────────────────────── */
.trusted-by {
    padding: 60px 0 20px;
    background: transparent;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.trusted-by-text {
    text-align: center;
    color: #888888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 40px;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
    animation: scroll-marquee 20s linear infinite;
    min-width: 100%;
    flex-shrink: 0;
}

.marquee-track img {
    height: 32px;
    width: auto;
    object-fit: contain;
    /* Force all logos to white for dark mode */
    filter: brightness(0) invert(1) opacity(0.5);
    transition: filter 0.3s ease;
}

.marquee-track img:hover {
    filter: brightness(0) invert(1) opacity(1);
}

[data-theme="light"] .marquee-track img {
    /* Force all logos to black for light mode */
    filter: brightness(0) opacity(0.5);
}

[data-theme="light"] .marquee-track img:hover {
    filter: brightness(0) opacity(1);
}

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

/* Adjust marquee height for mobile */
@media (max-width: 768px) {
    .marquee-track {
        gap: 50px;
        padding-right: 50px;
    }
    .marquee-track img {
        height: 24px;
    }
}
