/* style.css - Pixel Perfect Recreation */

:root {
    --primary-bg: #FFFFFF;
    --primary-black: #111111;
    --primary-red: #F32121;
    --secondary-yellow: #F6C41A;
    --text-primary: #111111;
    --text-secondary: #555555;
    --max-width: 1400px;
    --nav-height: 80px;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; max-width: 100%; scroll-behavior: smooth; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--text-primary); background-color: var(--primary-bg); }
body { line-height: 1.5; overflow-x: hidden; width: 100%; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2%; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Typography */
.text-red { color: var(--primary-red); }
.text-black { color: var(--primary-black); }

.badge-red {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    background-color: var(--primary-red);
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}
.btn-primary { background: var(--primary-black); color: var(--primary-bg); }
.btn-primary:hover { background: var(--primary-red); color: var(--primary-bg); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary-black); border: 2px solid var(--primary-black); padding: 10px 30px; }
.btn-outline:hover { background: var(--primary-black); color: var(--primary-bg); }

/* Utility Classes */
.text-red { color: var(--primary-red); }

/* Nav */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1000; transition: box-shadow var(--transition-fast); }
.navbar.scrolled { box-shadow: var(--shadow-soft); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.nav-logo { font-size: 1.8rem; font-weight: 900; letter-spacing: -1px; color: var(--primary-black); }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-link { font-weight: 700; font-size: 0.95rem; color: var(--primary-black); position: relative; transition: color var(--transition-fast); }
.nav-link:hover, .nav-link.active { color: var(--primary-red); }
.nav-link::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--primary-red); transition: width var(--transition-fast); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-black); margin-left: 1rem; }
.mobile-menu { position: fixed; top: var(--nav-height); left: 0; width: 100%; background: #FFF; padding: 2rem 5%; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transform: translateY(-150%); transition: transform var(--transition-smooth); z-index: 999; }
.mobile-menu.active { transform: translateY(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; text-align: center; }
.mobile-link { font-size: 1.2rem; font-weight: 700; }

/* ==========================================================================
   HERO HEADER SECTION
   ========================================================================== */
.hero-header {
    position: relative;
    width: 100%;
    background-color: #D20001;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-header-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-header-picture {
    display: block;
    width: 100%;
}

.hero-header-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-header-action {
    position: absolute;
    right: 6%;
    bottom: 65px;
    z-index: 10;
}

.btn-lets-talk {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background-color: #FFFFFF;
    color: #111111;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 999px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slowFloat 4s ease-in-out infinite;
    white-space: nowrap;
}

.btn-lets-talk i {
    font-size: 1.1rem;
    color: #111111;
    transition: transform 0.3s ease;
}

.btn-lets-talk:hover {
    background-color: #FFCB05;
    color: #111111;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    transform: translateY(-4px) scale(1.05);
    animation-play-state: paused;
}

.btn-lets-talk:hover i {
    transform: translateX(4px);
}

@keyframes slowFloat {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    }
    50% {
        transform: translateY(-14px);
        box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 1024px) {
    .btn-lets-talk {
        padding: 12px 28px;
        font-size: 1.1rem;
    }
    .hero-header-action {
        right: 5%;
        bottom: 45px;
    }
}

@media (max-width: 768px) {
    .btn-lets-talk {
        padding: 10px 22px;
        font-size: 0.95rem;
        gap: 8px;
    }
    .hero-header-action {
        right: auto;
        left: 6%;
        bottom: 35px;
    }
}

@media (max-width: 480px) {
    .btn-lets-talk {
        padding: 8px 18px;
        font-size: 0.85rem;
        gap: 6px;
    }
    .hero-header-action {
        right: auto;
        left: 5%;
        bottom: 25px;
    }
}

/* About */
.about { padding: 1rem 0 6rem; }
.about-container { max-width: var(--max-width); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-left { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.about-right { display: flex; justify-content: flex-end; align-items: center; width: 100%; height: 100%; }
.about-right img { width: 100%; height: 100%; max-height: 600px; object-fit: contain; display: block; background: transparent; }
.about-content { max-width: 100%; }
.about-content p { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; line-height: 1.8; font-weight: 400; color: var(--primary-black); margin-bottom: 32px; }


/* Responsive Sub Banner (Desktop and Tablet size only, hidden on mobile/phone) */
.about-sub-banner {
    display: block;
    width: 100%;
    overflow: hidden;
}

.responsive-sub-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .about-sub-banner {
        display: none !important;
    }
}
/* Services */
.services { padding: 2rem 0 6rem; }
.services-box { background-color: var(--primary-red); border-radius: 24px; padding: 40px; position: relative; }
.services-header-badge { margin-bottom: 2rem; }
.badge-outline { display: inline-block; border: 2px solid #FFFFFF; color: #FFFFFF; font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; padding: 4px 16px; border-radius: 50px; letter-spacing: 1px; }
.services-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 1rem; }
.service-col { padding: 0 0.5rem; }
.service-divider { width: 1px; background-color: rgba(255, 255, 255, 0.4); margin: 0 10px; }
.service-title { color: #FFFFFF; font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; letter-spacing: -0.5px; }
.service-desc { font-family: 'Barlow Condensed', sans-serif; font-weight: 400; color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; line-height: 1.5; }

/* Portfolio */
.portfolio { padding: 4rem 0 6rem; }
.portfolio-header { margin-bottom: 1rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 3rem; }
.portfolio-card { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/5; background: #f4f4f4; cursor: pointer; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth); }
.portfolio-card:hover { box-shadow: var(--shadow-hover); }
.portfolio-card:hover img { transform: scale(1.03); }
.portfolio-footer { text-align: center; }

/* Creative Fan Section */
.fan-section {
    width: 100%; min-height: 100vh; height: auto; padding: 100px 0 120px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background-image: url('assets/SECTION BG/BG.png'); background-size: cover; background-position: center center; background-repeat: no-repeat;
    contain: layout paint;
}
.fan-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.28); z-index: 1; }
.star-glow { position: absolute; width: 250px; height: 250px; background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%); filter: blur(50px); opacity: 0.3; z-index: 2; pointer-events: none; border-radius: 50%; transform: translate3d(0,0,0); }
.star-top-right { top: 10%; right: 10%; }
.star-bottom-left { bottom: 10%; left: 10%; }
.fan-content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: auto; margin-bottom: auto; }
.fan-heading { font-family: 'Anton', Helvetica, Arial, sans-serif; color: #FFFFFF; font-size: 72px; letter-spacing: 0; margin-bottom: 80px; text-shadow: 0 4px 20px rgba(0,0,0,0.25); text-align: center; line-height: 1.1; font-weight: 400; }
.fan-container { position: relative; width: 100%; max-width: 900px; height: 450px; display: flex; justify-content: center; align-items: center; margin-bottom: 60px; transform-origin: center center; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s cubic-bezier(0.22, 1, 0.36, 1); filter: drop-shadow(0 0px 0px rgba(0,0,0,0)); will-change: transform, filter; transform: translate3d(0,0,0); }
.fan-container:hover { transform: scale3d(1.08, 1.08, 1) translate3d(0, -6px, 0); filter: drop-shadow(0 25px 50px rgba(0,0,0,0.4)); }
.fan-card { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.4); transform-origin: center center; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; transform: translate3d(0,0,0); }
.fan-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-center { width: 320px; height: 450px; z-index: 10; transform: rotate(0deg); }
.card-left { width: 280px; height: 400px; z-index: 9; left: 18%; transform: rotate(-10deg); }
.card-right { width: 280px; height: 400px; z-index: 9; right: 18%; transform: rotate(10deg); }
.card-far-left { width: 240px; height: 350px; z-index: 8; left: 2%; transform: rotate(-18deg); }
.card-far-right { width: 240px; height: 350px; z-index: 8; right: 2%; transform: rotate(18deg); }
.fan-container:hover .card-center { transform: rotate(0deg); }
.fan-container:hover .card-left { transform: rotate(-10deg) translateX(-25px); }
.fan-container:hover .card-right { transform: rotate(10deg) translateX(25px); }
.fan-container:hover .card-far-left { transform: rotate(-18deg) translateX(-45px); }
.fan-container:hover .card-far-right { transform: rotate(18deg) translateX(45px); }
.fan-text-block { text-align: center; margin-bottom: 40px; }
.fan-subheading { font-family: 'Anton', Helvetica, Arial, sans-serif; font-size: 64px; color: #FFFFFF; margin-bottom: 10px; font-weight: 400; line-height: 1.1; }
.fan-desc { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; color: rgba(255,255,255,0.75); font-weight: 400; }
.btn-talk { display: inline-flex; align-items: center; justify-content: center; background: #FFFFFF; border-radius: 50px; height: 60px; padding: 0 8px 0 32px; margin-bottom: 60px; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-talk:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.btn-talk-text { color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 800; margin-right: 20px; }
.btn-talk-icon { width: 44px; height: 44px; background: #000000; color: #FFFFFF; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 18px; }

/* Contact */
.contact { background-color: var(--secondary-yellow); padding: 20px 0 80px; position: relative; z-index: 1; margin-top: -75px; }
.contact-container { display: flex; gap: 4rem; padding-top: 60px; }
.contact-left { flex: 1; }
.contact-heading { font-size: 4.5rem; font-weight: 900; line-height: 1; margin-bottom: 2rem; letter-spacing: -2px; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 500px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px 24px; border-radius: 12px; border: none; background: #FFFFFF; font-family: inherit; font-size: 1rem; font-weight: 600; outline: none; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.contact-form button { margin-top: 0.5rem; }
.contact-right { flex: 1; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(0,0,0,0.1); padding-left: 4rem; gap: 3rem; }
.contact-details-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; width: 100%; }
.contact-info-blocks { display: flex; flex-direction: column; gap: 3rem; }
.contact-map-block { width: 100%; display: flex; flex-direction: column; }
.contact-map-block h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.contact-map-block .map-container { width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; margin-bottom: 0.8rem; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: block; }
.contact-map-block .map-container iframe { width: 100%; height: 100%; border: none; display: block; }
.contact-map-block .map-text { font-size: 1rem; font-weight: 600; color: rgba(0,0,0,0.7); display: flex; flex-direction: column; gap: 0.2rem; }
.contact-map-block .map-text strong { color: var(--primary-black); font-weight: 900; }
.contact-block h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.2rem; display: flex; align-items: center; gap: 0.5rem; }
.contact-block p { font-size: 1rem; font-weight: 600; margin-bottom: 0.8rem; color: rgba(0,0,0,0.7); }
.social-icon.whatsapp { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border-radius: 50%; background: #25D366; color: #FFF; font-size: 1.5rem; transition: transform var(--transition-fast); }
.social-icon.whatsapp:hover { transform: scale(1.1); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }

/* Marquee */
.marquee-wrapper { background: var(--primary-black); padding: 1.5rem 0; overflow: hidden; transform: rotate(-2deg) scale(1.05); position: relative; z-index: 10; margin-top: -20px; border-top: 4px solid var(--secondary-yellow); border-bottom: 4px solid var(--secondary-yellow); }
.marquee-content { display: flex; width: 200%; animation: marquee 20s linear infinite; }
.marquee-content span { font-size: 2.5rem; font-weight: 900; color: var(--secondary-yellow); text-transform: uppercase; white-space: nowrap; padding-right: 2rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Footer */
.footer { background-color: var(--primary-black); color: #FFF; position: relative; padding: 6rem 0 2rem; overflow: hidden; }
.footer-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Barlow Condensed', sans-serif; font-size: clamp(5rem, 30vw, 600px); font-weight: 700; color: #FFFFFF; opacity: 0.06; pointer-events: none; white-space: nowrap; line-height: 1; margin-top: -4rem; width: 100%; text-align: center; letter-spacing: -1.5vw; overflow: hidden; }
.footer-container { display: flex; flex-direction: column; align-items: center; }
.footer-box { background-color: var(--secondary-yellow); border-radius: 28px; padding: 3rem 4rem; color: var(--primary-black); display: flex; justify-content: space-between; gap: 2rem; position: relative; z-index: 2; width: 100%; max-width: 900px; margin-bottom: 3rem; }
.footer-col { flex: 1; }
.footer-title { font-size: 1.2rem; font-weight: 900; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-link { font-family: 'Barlow Condensed', sans-serif; font-weight: 400; font-size: 0.95rem; transition: opacity var(--transition-fast); }
.footer-links a:hover, .footer-link:hover { opacity: 0.7; }
.footer-col p { font-family: 'Barlow Condensed', sans-serif; font-weight: 400; font-size: 0.95rem; margin-bottom: 0.5rem; line-height: 1.4; }
.social-links-footer { display: flex; gap: 0.8rem; font-size: 1.8rem; margin-top: 0.5rem; }
.social-links-footer a { transition: color var(--transition-fast); }
.social-links-footer a:hover { color: #FFF; }
.footer-bottom { text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; font-weight: 600; position: relative; z-index: 2; }

/* Animations */
.reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translate3d(0, 0, 0); }
.delay-1 { transition-delay: 0.15s; }

/* Works Gallery Page */
.works-gallery { padding: calc(var(--nav-height) + 2rem) 0 6rem; min-height: 100vh; }
.works-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.works-header .badge-red { margin-bottom: 0; }
.works-filter { display: flex; gap: 16px; align-items: center; }
.filter-btn {
    background: transparent;
    color: var(--primary-black);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover { color: var(--primary-red); }
.filter-btn.active {
    background-color: #F32121;
    color: #FFFFFF;
}
.masonry-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    transition: opacity 0.25s ease;
}
.masonry-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}
.masonry-card {
    break-inside: avoid;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    will-change: transform, opacity;
    backface-visibility: hidden;
    z-index: 1;
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s cubic-bezier(0.22,1,0.36,1), z-index 0s 0.45s;
    /* We handle z-index differently so hovered cards are immediately on top, but delays reverting */
}
.masonry-card:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 10;
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s cubic-bezier(0.22,1,0.36,1), z-index 0s 0s;
}
.masonry-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.masonry-card.fade-in {
    animation: fadeIn 0.6s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
/* Tablet & Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    /* Navigation */
    .nav-links, .nav-right .btn { display: none; }
    .mobile-toggle { display: block; }
    .mobile-menu { position: fixed; top: 0; right: -100%; left: auto; transform: none; width: 320px; max-width: 100%; height: 100vh; background: var(--primary-bg); padding: 100px 2rem 2rem; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 999; }
    .mobile-menu.active { right: 0; transform: none; }
    .mobile-menu ul { gap: 2rem; }
    .mobile-link { font-size: 1.5rem; }
    
    /* Hero */
    .hero { padding-bottom: 2rem; }
    .hero-heading { font-size: 4rem; }
    
    /* About */
    .about { padding: 1rem 0 3rem; }
    .about-grid { grid-template-columns: 55% 45%; gap: 40px; }
    
    /* Services */
    .services-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .service-divider { display: none; }
    
    /* Portfolio */
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    
    /* Creative Fan Showcase */
    .fan-section { padding: 80px 0 100px; }
    .fan-container { transform: scale(0.85); transform-origin: center center; margin-bottom: 20px; }
    
    /* Contact */
    .contact-container { gap: 2rem; }
    .contact-right { padding-left: 2rem; gap: 2rem; }
    
    /* Footer */
    .footer-box { flex-direction: column; gap: 2rem; text-align: center; padding: 2rem; }
    .social-links-footer { justify-content: center; }
    
    /* Works Page */
    .works-header { flex-wrap: wrap; gap: 20px; }
}

/* Mobile & Small Tablets (768px and below) */
@media (max-width: 768px) {
    /* Hero */
    .hero-container { flex-direction: column; gap: 3rem; text-align: center; }
    .hero-left, .hero-right { width: 100%; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    .hero-heading { font-size: 3.5rem; }
    
    /* About */
    .section-heading { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-right { justify-content: center; }
    .about-right img { max-width: 420px; }
    .about-content { max-width: 100%; padding: 0 1.5rem; }
    
    /* Services */
    .services-grid { grid-template-columns: 1fr; }
    .services-box { padding: 30px 20px; }
    
    /* Portfolio */
    .portfolio-grid { grid-template-columns: 1fr; }
    
    /* Creative Fan Showcase */
    .fan-container { transform: scale(0.6); margin-bottom: 0; height: 380px; }
    .fan-heading { font-size: 40px; margin-bottom: 40px; }
    .fan-subheading { font-size: 40px; }
    
    /* Contact */
    .contact-container { flex-direction: column; padding-top: 20px; gap: 3rem; }
    .contact-right { border-left: none; padding-left: 0; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 3rem; gap: 2rem; align-items: flex-start; }
    .contact-heading { font-size: 3rem; }
    .contact-form { width: 100%; max-width: 100%; }
    .contact-block { align-items: flex-start; text-align: left; }
    
    /* Works Page */
    .works-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .works-filter { width: 100%; overflow-x: auto; white-space: nowrap; padding-bottom: 10px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    /* Hide scrollbar for cleaner look */
    .works-filter::-webkit-scrollbar { display: none; }
    .works-filter { -ms-overflow-style: none; scrollbar-width: none; }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .hero-heading { font-size: 2.8rem; }
    .section-heading { font-size: 2.4rem; }
    .fan-container { transform: scale(0.45); height: 300px; }
    .fan-heading { font-size: 32px; }
    .mobile-menu { width: 100%; }
}

.contact-map-block .map-container iframe { width: 100%; height: 100%; border: none; display: block; }
.contact-map-block .map-text { font-size: 1rem; font-weight: 600; color: rgba(0,0,0,0.7); display: flex; flex-direction: column; gap: 0.2rem; }
.contact-map-block .map-text strong { color: var(--primary-black); font-weight: 900; }
.contact-block h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.2rem; display: flex; align-items: center; gap: 0.5rem; }
.contact-block p { font-size: 1rem; font-weight: 600; margin-bottom: 0.8rem; color: rgba(0,0,0,0.7); }
.social-icon.whatsapp { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border-radius: 50%; background: #25D366; color: #FFF; font-size: 1.5rem; transition: transform var(--transition-fast); }
.social-icon.whatsapp:hover { transform: scale(1.1); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }

/* Marquee */
.marquee-wrapper { background: var(--primary-black); padding: 1.5rem 0; overflow: hidden; transform: rotate(-2deg) scale(1.05); position: relative; z-index: 10; margin-top: -20px; border-top: 4px solid var(--secondary-yellow); border-bottom: 4px solid var(--secondary-yellow); }
.marquee-content { display: flex; width: 200%; animation: marquee 20s linear infinite; }
.marquee-content span { font-size: 2.5rem; font-weight: 900; color: var(--secondary-yellow); text-transform: uppercase; white-space: nowrap; padding-right: 2rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Footer */
.footer { background-color: var(--primary-black); color: #FFF; position: relative; padding: 6rem 0 2rem; overflow: hidden; }
.footer-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Barlow Condensed', sans-serif; font-size: clamp(5rem, 30vw, 600px); font-weight: 700; color: #FFFFFF; opacity: 0.06; pointer-events: none; white-space: nowrap; line-height: 1; margin-top: -4rem; width: 100%; text-align: center; letter-spacing: -1.5vw; overflow: hidden; }
.footer-container { display: flex; flex-direction: column; align-items: center; }
.footer-box { background-color: var(--secondary-yellow); border-radius: 28px; padding: 3rem 4rem; color: var(--primary-black); display: flex; justify-content: space-between; gap: 2rem; position: relative; z-index: 2; width: 100%; max-width: 900px; margin-bottom: 3rem; }
.footer-col { flex: 1; }
.footer-title { font-size: 1.2rem; font-weight: 900; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-link { font-family: 'Barlow Condensed', sans-serif; font-weight: 400; font-size: 0.95rem; transition: opacity var(--transition-fast); }
.footer-links a:hover, .footer-link:hover { opacity: 0.7; }
.footer-col p { font-family: 'Barlow Condensed', sans-serif; font-weight: 400; font-size: 0.95rem; margin-bottom: 0.5rem; line-height: 1.4; }
.social-links-footer { display: flex; gap: 0.8rem; font-size: 1.8rem; margin-top: 0.5rem; }
.social-links-footer a { transition: color var(--transition-fast); }
.social-links-footer a:hover { color: #FFF; }
.footer-bottom { text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; font-weight: 600; position: relative; z-index: 2; }

/* Animations */
.reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translate3d(0, 0, 0); }
.delay-1 { transition-delay: 0.15s; }

/* Works Gallery Page */
.works-gallery { padding: calc(var(--nav-height) + 2rem) 0 6rem; min-height: 100vh; }
.works-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.works-header .badge-red { margin-bottom: 0; }
.works-filter { display: flex; gap: 16px; align-items: center; }
.filter-btn {
    background: transparent;
    color: var(--primary-black);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover { color: var(--primary-red); }
.filter-btn.active {
    background-color: #F32121;
    color: #FFFFFF;
}
.masonry-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    transition: opacity 0.25s ease;
}
.masonry-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}
.masonry-card {
    break-inside: avoid;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    will-change: transform, opacity;
    backface-visibility: hidden;
    z-index: 1;
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s cubic-bezier(0.22,1,0.36,1), z-index 0s 0.45s;
    /* We handle z-index differently so hovered cards are immediately on top, but delays reverting */
}
.masonry-card:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 10;
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s cubic-bezier(0.22,1,0.36,1), z-index 0s 0s;
}
.masonry-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.masonry-card.fade-in {
    animation: fadeIn 0.6s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
/* Tablet & Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    /* Navigation */
    .nav-links, .nav-right .btn { display: none; }
    .mobile-toggle { display: block; }
    .mobile-menu { position: fixed; top: 0; right: -100%; left: auto; transform: none; width: 320px; max-width: 100%; height: 100vh; background: var(--primary-bg); padding: 100px 2rem 2rem; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 999; }
    .mobile-menu.active { right: 0; transform: none; }
    .mobile-menu ul { gap: 2rem; }
    .mobile-link { font-size: 1.5rem; }
    
    /* Hero */
    .hero { padding-bottom: 2rem; }
    .hero-heading { font-size: 4rem; }
    
    /* About */
    .about { padding: 1rem 0 3rem; }
    .about-grid { grid-template-columns: 55% 45%; gap: 40px; }
    
    /* Services */
    .services-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .service-divider { display: none; }
    
    /* Portfolio */
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    
    /* Creative Fan Showcase */
    .fan-section { padding: 80px 0 100px; }
    .fan-container { transform: scale(0.85); transform-origin: center center; margin-bottom: 20px; }
    
    /* Contact */
    .contact-container { gap: 2rem; }
    .contact-right { padding-left: 2rem; gap: 2rem; }
    
    /* Footer */
    .footer-box { flex-direction: column; gap: 2rem; text-align: center; padding: 2rem; }
    .social-links-footer { justify-content: center; }
    
    /* Works Page */
    .works-header { flex-wrap: wrap; gap: 20px; }
}

/* Mobile & Small Tablets (768px and below) */
@media (max-width: 768px) {
    /* Hero */
    .hero-container { flex-direction: column; gap: 3rem; text-align: center; }
    .hero-left, .hero-right { width: 100%; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    .hero-heading { font-size: 3.5rem; }
    
    /* About */
    .section-heading { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-right { justify-content: center; }
    .about-right img { max-width: 420px; }
    .about-content { max-width: 100%; padding: 0 1.5rem; }
    
    /* Services */
    .services-grid { grid-template-columns: 1fr; }
    .services-box { padding: 30px 20px; }
    
    /* Portfolio */
    .portfolio-grid { grid-template-columns: 1fr; }
    
    /* Creative Fan Showcase */
    .fan-container { transform: scale(0.6); margin-bottom: 0; height: 380px; }
    .fan-heading { font-size: 40px; margin-bottom: 40px; }
    .fan-subheading { font-size: 40px; }
    
    /* Contact */
    .contact-container { flex-direction: column; padding-top: 20px; gap: 3rem; }
    .contact-right { border-left: none; padding-left: 0; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 3rem; gap: 2rem; align-items: flex-start; }
    .contact-heading { font-size: 3rem; }
    .contact-form { width: 100%; max-width: 100%; }
    .contact-block { align-items: flex-start; text-align: left; }
    
    /* Works Page */
    .works-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .works-filter { width: 100%; overflow-x: auto; white-space: nowrap; padding-bottom: 10px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    /* Hide scrollbar for cleaner look */
    .works-filter::-webkit-scrollbar { display: none; }
    .works-filter { -ms-overflow-style: none; scrollbar-width: none; }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .hero-heading { font-size: 2.8rem; }
    .section-heading { font-size: 2.4rem; }
    .fan-container { transform: scale(0.45); height: 300px; }
    .fan-heading { font-size: 32px; }
    .mobile-menu { width: 100%; }
}

/* Page Transitions */
main { opacity: 1; transition: opacity 300ms ease; }
main.fade-out { opacity: 0; }


/* ==========================================================================
   CLIENTS SECTION
   ========================================================================== */
.clients {
    padding: 6rem 0 2rem 0;
    background-color: #ffffff;
    overflow: hidden;
}
.clients-header {
    text-align: left;
    margin-bottom: 3rem;
}
.clients-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #111111;
    margin-top: 15px;
    letter-spacing: -1px;
}
.clients-logos {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    position: relative;
}
.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    flex-wrap: nowrap;
    animation: marqueeClients 40s linear infinite;
    will-change: transform;
}
.clients-track:hover {
    animation-play-state: paused;
}
.clients-group {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 50px;
    padding-right: 50px; /* match the gap so it transitions seamlessly */
    flex-shrink: 0;
}
.clients-group:nth-child(2) {
    display: flex;
}
.clients-logos img {
    height: 50px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
}
.clients-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   CLIENT REVIEWS SECTION (MINIMALIST FLOATING PORTRAIT COMPOSITION)
   ========================================================================== */
.testimonials-reviews-section {
    padding: 70px 0 90px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.testimonials-main-container {
    max-width: 1180px; /* Centered 1120-1200px container matching OUR WORKS */
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.testimonials-card-frame {
    background: #FFFFFF;
    border-radius: 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 95px 40px 100px 40px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonials-pill-wrap {
    position: relative;
    z-index: 5;
    margin-bottom: 22px;
}

.testimonials-badge-pill {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 999px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444444;
    background: #F7F7F8;
    border: 1px solid #E8E8E9;
}

.testimonials-core-content {
    position: relative;
    z-index: 5;
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(38px, 4.6vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    color: #111111;
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
    text-align: center;
}

.testimonials-summary {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 400;
    color: #666666;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto 34px auto;
    text-align: center;
}

.testimonials-action-wrap {
    position: relative;
    z-index: 5;
}

.btn-read-reviews {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #111111;
    color: #FFFFFF;
    border-radius: 999px;
    padding: 14px 34px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.btn-read-reviews i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-read-reviews:hover {
    background: #000000;
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.btn-read-reviews:hover i {
    transform: translateX(4px);
}

/* Floating Portrait Cards Stage */
.portraits-floating-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.client-portrait-item {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    will-change: transform, opacity;
}

/* Staggered entrance animation when section enters viewport */
.testimonials-main-container .client-portrait-item {
    opacity: 0;
    transform: translateY(22px) rotate(var(--rot, 0deg));
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials-main-container.active .client-portrait-item {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot, 0deg));
}

.testimonials-main-container.active .portrait-pos-1  { transition-delay: 0.06s; }
.testimonials-main-container.active .portrait-pos-10 { transition-delay: 0.12s; }
.testimonials-main-container.active .portrait-pos-5  { transition-delay: 0.18s; }
.testimonials-main-container.active .portrait-pos-6  { transition-delay: 0.24s; }
.testimonials-main-container.active .portrait-pos-2  { transition-delay: 0.30s; }
.testimonials-main-container.active .portrait-pos-7  { transition-delay: 0.36s; }
.testimonials-main-container.active .portrait-pos-3  { transition-delay: 0.42s; }
.testimonials-main-container.active .portrait-pos-8  { transition-delay: 0.48s; }
.testimonials-main-container.active .portrait-pos-4  { transition-delay: 0.54s; }
.testimonials-main-container.active .portrait-pos-9  { transition-delay: 0.60s; }

.portrait-card-shell {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1.35 / 1;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.3s ease;
}

.portrait-card-shell img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.client-portrait-item:hover {
    z-index: 15;
}

.client-portrait-item:hover .portrait-card-shell {
    animation-play-state: paused;
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.16);
}

/* Thin vertical decorative connecting lines */
.client-portrait-item.line-top::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 1px;
    height: 55px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: -1;
}

.client-portrait-item.line-bottom::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: 55px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: -1;
}

/* Floating subtle physics animations applied to card shells */
@keyframes floatVar1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes floatVar2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes floatVar3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes floatVar4 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.float-anim-1 .portrait-card-shell { animation: floatVar1 6s ease-in-out infinite; }
.float-anim-2 .portrait-card-shell { animation: floatVar2 7s ease-in-out infinite 0.7s; }
.float-anim-3 .portrait-card-shell { animation: floatVar3 5.5s ease-in-out infinite 1.4s; }
.float-anim-4 .portrait-card-shell { animation: floatVar4 6.5s ease-in-out infinite 2.1s; }

/* Desktop Coordinates & Variations (Relative to Frame) */
.portrait-pos-1  { width: 110px; top: 12%; left: 3.5%; --rot: -3deg; }
.portrait-pos-2  { width: 95px;  top: 38%; left: 13%;   --rot: 2.5deg; }
.portrait-pos-3  { width: 118px; top: 66%; left: 4%;    --rot: -2deg; }
.portrait-pos-4  { width: 98px;  top: 80%; left: 19%;   --rot: 3deg; }
.portrait-pos-5  { width: 112px; top: 13%; right: 3.5%; --rot: 3deg; }
.portrait-pos-6  { width: 98px;  top: 28%; right: 14%;  --rot: -2.5deg; }
.portrait-pos-7  { width: 106px; top: 52%; right: 5%;   --rot: 2deg; }
.portrait-pos-8  { width: 116px; top: 72%; right: 13%;  --rot: -3deg; }
.portrait-pos-9  { width: 96px;  top: 81%; right: 25%;  --rot: 2deg; }
.portrait-pos-10 { width: 92px;  top: 9%;  left: 21%;   --rot: -1.5deg; }

/* Tablet Composition (1024px and below) */
@media (max-width: 1024px) {
    .testimonials-card-frame {
        padding: 80px 24px 85px 24px;
        min-height: 520px;
    }
    .testimonials-title {
        font-size: clamp(34px, 4.2vw, 52px);
    }
    .testimonials-summary {
        font-size: 19px;
        max-width: 440px;
    }
    /* Scale and push cards outward */
    .portrait-pos-1  { width: 90px; top: 10%; left: 2%; }
    .portrait-pos-2  { width: 78px; top: 38%; left: 9%; }
    .portrait-pos-3  { width: 96px; top: 68%; left: 3%; }
    .portrait-pos-4  { width: 78px; top: 82%; left: 16%; }
    .portrait-pos-5  { width: 92px; top: 11%; right: 2%; }
    .portrait-pos-6  { width: 78px; top: 29%; right: 11%; }
    .portrait-pos-7  { width: 86px; top: 54%; right: 3%; }
    .portrait-pos-8  { width: 94px; top: 74%; right: 10%; }
    .portrait-pos-9  { width: 78px; top: 83%; right: 22%; }
    .portrait-pos-10 { width: 74px; top: 7%;  left: 18%; }
}

/* Mobile Responsive (768px and below) */
@media (max-width: 768px) {
    .testimonials-reviews-section {
        padding: 40px 0 60px 0;
    }
    .testimonials-main-container {
        padding: 0 16px;
    }
    .testimonials-card-frame {
        padding: 40px 18px 45px 18px;
        border-radius: 24px;
        min-height: auto;
    }
    .testimonials-title {
        font-size: 32px;
        margin-bottom: 14px;
    }
    .testimonials-summary {
        font-size: 17px;
        margin-bottom: 24px;
    }
    .btn-read-reviews {
        padding: 12px 26px;
        font-size: 15px;
    }
    /* Show a clean mobile cloud of cards below the CTA */
    .portraits-floating-canvas {
        position: relative;
        inset: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-top: 28px;
    }
    .client-portrait-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 82px !important;
    }
    .client-portrait-item.line-top::before,
    .client-portrait-item.line-bottom::after {
        display: none;
    }
    /* Keep 6 prominent cards on mobile to avoid overcrowding */
    .portrait-pos-4,
    .portrait-pos-6,
    .portrait-pos-9,
    .portrait-pos-10 {
        display: none;
    }
}
/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#lightbox.active {
    display: flex;
}
.lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}
.lb-track {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-img {
    display: none;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: lb-fade 0.25s ease;
}
.lb-img.active {
    display: block;
}
@keyframes lb-fade {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}
.lb-close {
    position: absolute;
    top: 20px;
    right: 28px;
    z-index: 3;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,45,45,0.7); }
.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover,
.lb-next:hover { background: rgba(255,255,255,0.25); }
.lb-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}
.lb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.lb-dot.active {
    background: #FF2D2D;
    transform: scale(1.3);
}

/* ==========================================================================
   SECRET EASTER EGG
   ========================================================================== */
.secret-easter-egg {
    position: fixed;
    bottom: 5%;
    right: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(110%);
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease, visibility 1.2s;
    pointer-events: none;
    overflow: hidden;
    max-width: 100vw;
}

.secret-easter-egg.revealed {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%); /* Half outside */
    pointer-events: auto;
}

.secret-easter-character {
    width: clamp(140px, 20vw, 220px);
    height: auto;
    cursor: pointer;
    filter: drop-shadow(-8px 12px 25px rgba(0,0,0,0.35));
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center right;
}

.secret-easter-egg.revealed:hover .secret-easter-character {
    transform: scale(1.02) rotate(-2deg);
}

.secret-easter-egg.clicked {
    transform: translateX(80%);
    transition: transform 0.3s ease;
}

.secret-easter-hint {
    position: relative;
    top: 20px;
    left: -40px;
    font-family: inherit;
    font-size: clamp(10px, 1.2vw, 13px);
    font-weight: 500;
    color: #222;
    background: transparent;
    padding: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    white-space: nowrap;
}

.secret-easter-egg.hint-visible .secret-easter-hint {
    opacity: 1;
    transform: translateY(0);
}

.secret-easter-egg.revealed:hover .secret-easter-hint {
    transform: translateY(-3px);
}

/* ==========================================================================
   CLIENTS MARQUEE RESPONSIVE & KEYFRAMES
   ========================================================================== */
@media (max-width: 768px) {
    .clients-logos {
        padding: 10px 0;
    }
    .clients-logos img {
        height: 38px;
        max-width: 120px;
    }
    .clients-group {
        gap: 30px;
        padding-right: 30px;
    }
}
@keyframes marqueeClients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
