/* ==========================================================================
   PrivilegeServer - High-Impact Agency Design (Lime & Dark)
   Based on reference image pattern
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --brand-lime: #a3e635;
    /* Vibrant lime green from image */
    --brand-dark: #111111;
    --brand-surface: #1a1a1a;
    --text-light: #ffffff;
    --text-dark: #000000;
    --text-muted: #666666;
}

body,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body span,
body div,
body li {
    font-family: 'Rajdhani', sans-serif !important;
    text-transform: uppercase;
    /* The reference image uses a lot of uppercase */
}

body {
    background-color: #ffffff;
    color: var(--brand-dark);
    margin: 0;
    overflow-x: hidden;
}

/* ========== HERO SECTION (PATTERN 1) ========== */
.agency-hero {
    background-color: var(--brand-dark);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding-top: 60px;
    /* Minimized space for tightest nav integration */
}

.agency-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--brand-lime);
    transform: rotate(45deg);
    z-index: 1;
}

.hero-content-inner {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-tagline {
    color: var(--brand-lime);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.hero-title-main {
    font-size: clamp(38px, 8vw, 90px);
    /* Enhanced responsiveness */
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    margin-top: 0;
    max-width: 800px;
}

/* ========== HERO SUBTITLE TEXT ========== */
.hero-subtitle-text {
    margin-bottom: 40px;
    font-size: 18px;
    opacity: 0.8;
    text-transform: none;
}

@media (max-width: 768px) {
    .hero-subtitle-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .hero-subtitle-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* ========== HERO CTA ROW ========== */
.hero-cta-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-starting-price {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero-cta-row {
        justify-content: center;
        margin-bottom: 40px;
        gap: 15px;
    }

    .hero-starting-price {
        font-size: 12px;
    }
}

/* ========== HERO BOTTOM RIBBON (ADVANCED MARQUEE) ========== */
.hero-bottom-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(163, 230, 53, 0.05);
    border-top: 1px solid rgba(163, 230, 53, 0.2);
    padding: 20px 0;
    z-index: 10;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.ribbon-inner {
    display: flex;
    white-space: nowrap;
}

.ribbon-content {
    display: flex;
    align-items: center;
    animation: ribbon-scroll 25s linear infinite;
}

.ribbon-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 80px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ribbon-item i {
    color: var(--brand-lime);
    font-size: 18px;
}

.ribbon-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-lime);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-lime);
    animation: status-pulse 1.5s infinite;
}

@keyframes ribbon-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes status-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

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

.btn-lime {
    background-color: var(--brand-lime);
    color: #000;
    padding: clamp(14px, 2vw, 18px) clamp(30px, 4vw, 45px);
    /* Responsive padding */
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
    transition: 0.3s;
    clip-path: polygon(15px 0%, 100% 0%, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0% 100%, 0% 15px);
}

.btn-lime:hover {
    transform: translateY(-5px);
}

.hero-img-box {
    position: relative;
    z-index: 2;
}

.hero-img-box img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 30px 30px 0 var(--brand-lime);
}

/* ========== HERO INFRA SPEC-BADGES ========== */
.hero-marquee-row {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(163, 230, 53, 0.1);
    width: 100%;
}

.hero-marquee-label {
    font-size: 10px;
    color: var(--brand-lime);
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero-marquee-grid {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-marquee-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.hero-marquee-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-lime);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s;
}

.hero-marquee-item:hover {
    background: rgba(163, 230, 53, 0.05);
    border-color: rgba(163, 230, 53, 0.3);
    transform: translateY(-5px);
}

.hero-marquee-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-marquee-item i {
    font-size: 24px;
    color: var(--brand-lime);
    filter: drop-shadow(0 0 8px rgba(163, 230, 53, 0.3));
}

.hero-marquee-item span {
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
    font-family: 'Rajdhani', sans-serif;
}

@media (max-width: 768px) {
    .agency-hero {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .hero-marquee-grid {
        gap: 15px;
        justify-content: flex-start;
    }

    .hero-marquee-item {
        padding: 12px 20px;
        width: 100%;
    }

    .hero-bottom-ribbon {
        padding: 15px 0;
    }
}

@media (max-width: 991px) {
    .hero-marquee-grid {
        gap: 30px;
    }

    .hero-marquee-item span {
        font-size: 16px;
    }
}

/* ========== SERVICES STRIP (PATTERN 2) ========== */
.agency-services {
    background-color: var(--brand-lime);
    padding: 100px 0;
}

.services-intro-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.services-intro-row h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
}

.services-grid-high {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    /* Tight gaps like in image */
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-black {
    background: #000;
    color: #fff;
    padding: 50px 30px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    text-decoration: none;
    display: block;
}

.service-card-black:hover {
    background: #111;
    transform: scale(1.05);
    z-index: 10;
    color: var(--brand-lime);
}

.service-card-black:hover p {
    opacity: 1;
}

.service-card-black i {
    font-size: 40px;
    color: var(--brand-lime);
    margin-bottom: 20px;
}

.service-card-black h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ========== ABOUT GROW (PATTERN 3) ========== */
.agency-grow {
    padding: 140px 0;
    background: #fff;
}

.grow-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.grow-visual {
    position: relative;
}

.grow-visual img {
    width: 100%;
    filter: brightness(0.9) contrast(1.1);
    transition: 0.6s cubic-bezier(0.2, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.grow-visual:hover img {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.02);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    color: var(--brand-lime);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(163, 230, 53, 0.3);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    opacity: 0.9;
}

.play-button-overlay:hover {
    background: var(--brand-lime);
    color: #000;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 40px rgba(163, 230, 53, 0.4);
}

.grow-content h2 {
    font-size: clamp(32px, 5vw, 56px);
    /* Responsive Heading */
    font-weight: 700;
    margin-bottom: 30px;
}

.grow-checklist {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.grow-checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 700;
}

.grow-checklist li i {
    color: var(--brand-lime);
}

/* ========== BRAND MARQUEE (SCROLLING) ========== */
.agency-marquee {
    background: var(--brand-lime);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    border: none;
}

.marquee-content {
    display: inline-block;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-item {
    display: inline-block;
    padding: 0 40px;
    font-size: 20px;
    font-weight: 800;
    color: #000;
}

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

    to {
        transform: translateX(-50%);
    }
}

/* ========== FULL WIDTH VIDEO CTA ========== */
.agency-video-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0;
    text-align: center;
}

.agency-video-cta h2 {
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 700;
    max-width: 1000px;
    margin: 0 auto 40px;
    color: #ffffff !important;
    /* Force white text */
}

.btn-lime-cta {
    background-color: var(--brand-lime);
    color: #000000 !important;
    /* Black text on lime button */
    padding: 18px 45px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    border: none;
}

.btn-lime-cta:hover {
    background-color: #ffffff;
    color: #000000 !important;
    transform: translateY(-5px);
}

/* ========== RECENT PROJECTS ========== */
.agency-projects {
    padding: 60px 0 40px;
    /* Reduced bottom padding */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.project-card {
    position: relative;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    filter: grayscale(1);
    transition: 0.5s;
}

.project-card:hover img {
    filter: grayscale(0);
}

.project-info {
    background: #000;
    color: #fff;
    padding: 25px;
}

.project-info h4 {
    font-size: 18px;
    margin: 0;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .agency-hero .hero-content-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-img-box {
        display: none;
    }

    .services-grid-high {
        grid-template-columns: repeat(2, 1fr);
    }

    .grow-layout {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========== POPULAR SERVICES SECTIONS ========== */
.agency-popular-service {
    padding: 140px 0;
}

.agency-popular-service.dark {
    background: #000;
    color: #fff;
}

.agency-popular-service.lime {
    background: var(--brand-lime);
    color: #000;
}

.service-showcase-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-showcase-reversed {
    grid-template-columns: 1.2fr 1fr;
}

.popular-service-content h2 {
    font-size: clamp(36px, 6vw, 64px);
    /* Responsive Heading */
    margin-bottom: 20px;
}

.popular-service-content h2 .highlight {
    color: var(--brand-lime);
}

.agency-popular-service.lime .popular-service-content h2 .highlight {
    color: #000;
    text-decoration: underline;
}

.pricing-pill-lime {
    background: var(--brand-lime);
    color: #000;
    padding: 15px 30px;
    display: inline-block;
    font-size: clamp(20px, 4vw, 32px);
    /* Responsive Text */
    font-weight: 800;
    margin-bottom: 30px;
}

.pricing-pill-black {
    background: #000;
    color: #fff;
    padding: 15px 30px;
    display: inline-block;
    font-size: clamp(20px, 4vw, 32px);
    /* Responsive Text */
    font-weight: 800;
    margin-bottom: 30px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.service-features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.service-features-list li i {
    color: var(--brand-lime);
}

.agency-popular-service.lime .service-features-list li i {
    color: #000;
}

.popular-service-visual img {
    width: 100%;
    box-shadow: 40px 40px 0 var(--brand-lime);
    filter: grayscale(1);
    transition: 0.5s;
}

.popular-service-visual img:hover {
    filter: grayscale(0);
}

.agency-popular-service.lime .popular-service-visual img {
    box-shadow: 40px 40px 0 #000;
}

/* ========== HERO MARQUEE (BELOW HERO TEXT) ========== */
.hero-marquee-row {
    margin-top: 50px;
    border-top: 1px solid rgba(163, 230, 53, 0.2);
    padding-top: 30px;
    width: 100%;
}

.hero-marquee-label {
    font-size: 12px;
    color: var(--brand-lime);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-marquee-grid {
    display: flex;
    gap: 40px;
    opacity: 0.6;
    align-items: center;
    flex-wrap: wrap;
}

.hero-marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.hero-marquee-item i {
    font-size: 20px;
    color: #fff;
}

.hero-marquee-item span {
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero-marquee-row {
        margin-top: 30px;
        padding-top: 20px;
    }

    .hero-marquee-grid {
        gap: 20px;
        justify-content: center;
    }

    .hero-marquee-item span {
        font-size: 14px;
    }
}

/* ========== REFINED COMPACT TESTIMONIALS (BRAND THEME) ========== */
.agency-testimonials {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.testimonial-container {
    height: 480px;
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 30px auto 0;
    perspective: 2000px;
}

.testimonial-card-stagger {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    background: #111;
    border: 1px solid rgba(163, 230, 53, 0.1);
    padding: 40px;
    transition: all 0.6s cubic-bezier(0.2, 0, 0, 1);
    cursor: pointer;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    /* Sharper Colle Clipper Path */
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
    display: flex;
    flex-direction: column;
}

.testimonial-card-stagger.active {
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    color: #000;
    z-index: 50 !important;
    box-shadow: 0 0 50px rgba(163, 230, 53, 0.4);
}

.testimonial-card-stagger .quote-icon {
    font-size: 32px;
    color: var(--brand-lime);
    margin-bottom: 20px;
    opacity: 0.8;
}

.testimonial-card-stagger.active .quote-icon {
    color: #000;
}

.testimonial-card-stagger p.quote-text {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 30px;
    text-transform: none;
    font-weight: 500;
    font-family: 'Rajdhani', sans-serif !important;
}

.testimonial-card-stagger.active p.quote-text {
    color: #000;
}

.testimonial-card-stagger .author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    border-top: 1px solid rgba(163, 230, 53, 0.1);
    padding-top: 20px;
}

.testimonial-card-stagger.active .author-info {
    border-color: rgba(0, 0, 0, 0.15);
}

.testimonial-card-stagger .author-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    filter: grayscale(1);
    border: 1px solid rgba(163, 230, 53, 0.3);
    padding: 2px;
}

.testimonial-card-stagger.active .author-img {
    filter: grayscale(0);
    border-color: #000;
}

.testimonial-card-stagger .author-details h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--brand-lime);
    letter-spacing: 1px;
}

.testimonial-card-stagger.active .author-details h4 {
    color: #000;
}

.testimonial-card-stagger .author-details span {
    font-size: 10px;
    color: #666;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    text-transform: uppercase;
}

.testimonial-card-stagger.active .author-details span {
    color: #000;
    opacity: 0.8;
}

/* Side Navigation Controls */
.testimonial-nav-side {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
    z-index: 100;
}

.nav-side-btn {
    width: 50px;
    height: 50px;
    background: #000;
    border: 1px solid var(--brand-lime);
    color: var(--brand-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.3s;
    font-size: 16px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.nav-side-btn:hover {
    background: var(--brand-lime);
    color: #000;
}

@media (max-width: 1024px) {
    .testimonial-card-stagger {
        width: 360px;
        padding: 30px;
    }

    .testimonial-nav-side {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .testimonial-card-stagger {
        width: 300px;
        padding: 25px;
    }

    .testimonial-container {
        height: 450px;
    }
}

.nav-side-btn:hover {
    background: var(--brand-lime);
    color: #000;
    border-color: var(--brand-lime);
}

@media (max-width: 1024px) {
    .testimonial-card-stagger {
        width: 400px;
        padding: 40px;
    }

    .testimonial-nav-side {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .testimonial-card-stagger {
        width: 320px;
        padding: 30px;
    }

    .testimonial-card-stagger p.quote-text {
        font-size: 16px;
    }

    .testimonial-container {
        height: 500px;
    }
}

.nav-btn-stagger:hover {
    background: var(--brand-lime);
    color: #000;
    border-color: var(--brand-lime);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .agency-testimonials {
        padding: 40px 0;
    }

    .testimonial-container {
        height: 350px;
    }

    .testimonial-card-stagger {
        width: 300px;
        height: 300px;
        padding: 30px;
    }

    .testimonial-card-stagger h3 {
        font-size: 18px;
    }

    .nav-btn-stagger {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .testimonial-container {
        height: 320px;
    }

    .testimonial-card-stagger {
        width: 250px;
        height: 250px;
        padding: 20px;
    }

    .testimonial-card-stagger h3 {
        font-size: 14px;
    }

    .testimonial-card-stagger img.avatar {
        width: 40px;
        height: 40px;
    }
}

/* ========== INDUSTRY USE CASES (PATTERNED TAPPERS) ========== */
.agency-use-cases {
    padding: 140px 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

.use-case-tapper-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.tapper-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tapper-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 30px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tapper-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.tapper-item.active {
    background: #080808;
    border-color: var(--brand-lime);
    box-shadow: inset 4px 0 0 var(--brand-lime);
}

/* Tapper Plus Markers */
.tapper-plus {
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
    z-index: 5;
}

.tapper-item:hover .tapper-plus,
.tapper-item.active .tapper-plus {
    opacity: 0.6;
}

.tapper-plus::before,
.tapper-plus::after {
    content: "";
    position: absolute;
    background: #fff;
}

.tapper-plus::before {
    width: 1px;
    height: 100%;
    left: 50%;
}

.tapper-plus::after {
    height: 1px;
    width: 100%;
    top: 50%;
}

.tp-tr {
    top: -6px;
    right: -6px;
}

.tp-bl {
    bottom: -6px;
    left: -6px;
}

.tapper-item h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 19px;
    font-weight: 700;
}

.tapper-item span {
    color: #555;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
}

.tapper-item.active span {
    color: var(--brand-lime);
}

.tapper-content-display {
    position: relative;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.tapper-content-display::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 40px;
    width: 80px;
    height: 2px;
    background: var(--brand-lime);
}

.tapper-img-box {
    flex: 1;
    height: 480px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tapper-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.tapper-content-display:hover .tapper-img-box img {
    filter: grayscale(0.2);
    transform: scale(1.05);
}

.tapper-text-box {
    flex: 1.2;
}

.tapper-text-box h3 {
    font-size: 52px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1;
}

.tapper-text-box p {
    font-size: 19px;
    color: #888;
    line-height: 1.8;
    text-transform: none;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Modal Styling */
.use-case-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.modal-inner {
    background: #111;
    border: 1px solid var(--brand-lime);
    max-width: 1100px;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

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

.modal-content {
    padding: 60px;
}

/* ========== PREMIUM COMPARISON TABLE (WHITE THEME) ========== */
.agency-comparison {
    padding: 40px 0 80px;
    background: #fff;
    position: relative;
}

/* ========== FINAL COMMAND CTA (ENGINEERED DESIGN) ========== */
.agency-final-cta {
    padding: 140px 0;
    background: #fff;
    /* Main BG as White */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.agency-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    pointer-events: none;
}

.cta-engineered-box {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--brand-lime);
    /* Card BG as Green */
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    clip-path: polygon(80px 0, 100% 0, 100% calc(100% - 80px), calc(100% - 80px) 100%, 0 100%, 0 80px);
    box-shadow: 0 40px 80px rgba(163, 230, 53, 0.2);
}

.cta-engineered-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 80px;
    width: 60px;
    height: 4px;
    background: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.cta-engineered-box::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 80px;
    width: 60px;
    height: 4px;
    background: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.cta-engineered-content {
    padding: clamp(40px, 8vw, 100px) clamp(30px, 6vw, 80px);
    /* Highly Responsive Padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-engineered-content span.tag {
    color: #000;
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 25px;
    display: block;
    font-family: 'Rajdhani', sans-serif !important;
}

.cta-engineered-content h2 {
    font-size: clamp(38px, 6vw, 75px);
    color: #000;
    line-height: 0.95;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -3px;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif !important;
}

.cta-engineered-content p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 19px;
    max-width: 600px;
    margin-bottom: 50px;
    line-height: 1.6;
    text-transform: none;
    font-family: 'Rajdhani', sans-serif !important;
}

.visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(163, 230, 53, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.cta-engineered-visual {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(163, 230, 53, 0.2);
}

.cta-engineered-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.5);
    transition: 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-engineered-box:hover .cta-engineered-visual img {
    filter: grayscale(0) brightness(0.7);
    transform: scale(1.08);
}

@media (max-width: 1024px) {
    .cta-engineered-box {
        grid-template-columns: 1fr;
        clip-path: none;
        margin: 0 20px;
    }

    .cta-engineered-content {
        padding: 60px 40px;
        text-align: center;
        align-items: center;
    }

    .cta-engineered-visual {
        height: 400px;
        border-left: none;
        border-top: 1px solid rgba(163, 230, 53, 0.2);
    }
}

.comparison-wrapper {
    max-width: 1200px;
    margin: 30px auto 0;
    /* Tightened table margin */
    padding: 0 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid #000;
    background: #fff;
    box-shadow: 20px 20px 0px rgba(163, 230, 53, 1);
}

.comparison-table th {
    background: #000;
    color: #fff;
    padding: 35px 25px;
    font-size: 22px;
    text-align: center;
    border: none;
    font-weight: 800;
    letter-spacing: 1px;
}

.comparison-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    vertical-align: middle;
    font-size: 16px;
    color: #555;
    text-align: center;
}

.comparison-table .feature-col {
    width: 35%;
    background: #f9f9f9;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: left;
    color: #000;
    padding-left: 40px;
    border-right: 1px solid #eee;
}

.comparison-table .others-col,
.comparison-table .us-col {
    width: 32.5%;
    text-align: center;
}

.comparison-table .others-col .content-wrap,
.comparison-table .us-col .content-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    /* Changed to left-aligned */
    gap: 12px;
    width: 100%;
    /* Ensure full width for left alignment */
}

.comparison-table .others-col {
    color: #999;
    border-right: 1px solid #eee;
    text-transform: uppercase;
    font-size: 14px;
    padding-left: 30px;
    /* Added for left alignment balance */
}

.comparison-table .us-col {
    background: rgba(163, 230, 53, 0.04);
    color: #000;
    font-weight: 800;
    border-left: 1px solid rgba(163, 230, 53, 0.1);
    border-right: 1px solid rgba(163, 230, 53, 0.1);
    position: relative;
    padding-left: 30px;
    /* Added for left alignment balance */
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .us-col i {
    color: var(--brand-lime);
    font-size: 24px;
    margin-right: 8px;
}

.comparison-table .others-col i {
    color: #ff4d4d;
    font-size: 20px;
}

@media (max-width: 991px) {
    .comparison-table th {
        font-size: 18px;
        padding: 20px 10px;
    }

    .comparison-table td {
        padding: 20px 10px;
        font-size: 14px;
    }

    .comparison-table .feature-col {
        padding-left: 20px;
    }
}

@media (max-width: 640px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
    }

    .agency-comparison {
        padding: 80px 0;
    }
}

@media (max-width: 1024px) {
    .use-case-tapper-container {
        grid-template-columns: 1fr;
    }

    .tapper-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .tapper-item {
        min-width: 250px;
    }

    .tapper-content-display {
        flex-direction: column;
        padding: 30px;
    }

    .modal-inner {
        grid-template-columns: 1fr;
        height: 90vh;
        overflow-y: auto;
    }
}

@media (max-width: 1200px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .agency-use-cases {
        padding: 80px 0;
    }

    .use-case-card {
        padding: 40px 30px;
    }

    .hero-marquee-content span {
        font-size: 18px;
        margin-right: 30px;
    }
}

.use-case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 25px;
    filter: grayscale(1);
    transition: 0.5s;
    border: 1px solid rgba(163, 230, 53, 0.2);
}

.use-case-card:hover .use-case-img {
    filter: grayscale(0);
    border-color: var(--brand-lime);
}

/* ========== COMPARISON MATRIX (PROCUREMENT TABLE) ========== */
.agency-comparison {
    padding: 140px 0;
    background: #fff;
}

.matrix-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 60px;
}

.matrix-table th {
    background: #000;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.matrix-table th.feature-label {
    text-align: left;
    background: #f5f5f5;
    color: #000;
    width: 300px;
}

.matrix-table td {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
}

.matrix-table tr:hover td {
    background: rgba(163, 230, 53, 0.05);
}

.matrix-table td.feature-name {
    text-align: left;
    background: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    color: #666;
}

.matrix-table i.fa-check {
    color: var(--brand-lime);
    font-size: 20px;
    filter: drop-shadow(0 0 5px rgba(163, 230, 53, 0.5));
}

.matrix-table i.fa-times {
    color: #ddd;
    font-size: 18px;
}

.matrix-badge-lime {
    background: var(--brand-lime);
    color: #000;
    padding: 4px 10px;
    font-size: 10px;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 10px;
}

/* ========== DEPLOYMENT PROTOCOL (TIMELINE) ========== */
.agency-protocol {
    padding: 120px 0;
    background: #111;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 60px auto 0;
    padding: 0 40px;
    position: relative;
}

.protocol-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-lime) 50%, transparent 100%);
    opacity: 0.2;
}

.protocol-step {
    position: relative;
    z-index: 5;
    text-align: center;
}

.step-number {
    width: 100px;
    height: 100px;
    background: #000;
    border: 1px solid var(--brand-lime);
    color: var(--brand-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 30px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: 0.4s;
    box-shadow: 0 0 20px rgba(163, 230, 53, 0.1);
}

.protocol-step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    background: var(--brand-lime);
    color: #000;
    box-shadow: 0 0 40px rgba(163, 230, 53, 0.4);
}

.protocol-step h4 {
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.protocol-step p {
    font-size: 15px;
    opacity: 0.7;
    text-transform: none;
    line-height: 1.6;
}

/* ========== PERFORMANCE MATRIX (STATS) ========== */
.agency-stats {
    padding: 100px 0;
    background: #000;
    border-top: 1px solid rgba(163, 230, 53, 0.2);
}

.stats-matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.stat-readout {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.stat-readout::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-lime);
    opacity: 0.4;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--brand-lime);
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Rajdhani', sans-serif !important;
}

.stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    opacity: 0.6;
}

.stat-pulse-box {
    position: absolute;
    top: 20px;
    right: 20px;
}

.stat-pulse {
    width: 8px;
    height: 8px;
    background: var(--brand-lime);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-lime);
    animation: status-pulse 1.5s infinite;
}

@media (max-width: 991px) {
    .matrix-table {
        display: block;
        overflow-x: auto;
    }

    .protocol-grid {
        grid-template-columns: 1fr;
    }

    .protocol-grid::before {
        display: none;
    }

    .stats-matrix-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .stats-matrix-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   Home Page - All Sections
   ========================================================================== */

/* ── TABLET (max-width: 991px) ─────────────────────────────────────────── */
@media (max-width: 991px) {

    /* Services Intro Row - Stack to 1 column */
    .services-intro-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 30px;
        text-align: center;
    }

    .services-intro-row h2 {
        font-size: 38px;
    }

    /* Services Grid - 2 columns */
    .services-grid-high {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 0 20px;
    }

    /* Popular Service Showcases - Stack to 1 column */
    .service-showcase-layout {
        grid-template-columns: 1fr !important;
        gap: 40px;
        padding: 0 30px;
    }

    .popular-service-visual img {
        box-shadow: 20px 20px 0 var(--brand-lime);
    }

    .agency-popular-service.lime .popular-service-visual img {
        box-shadow: 20px 20px 0 #000;
    }

    .agency-popular-service {
        padding: 80px 0;
    }

    /* Reverse the VPS visual order so text comes first on mobile */
    .agency-popular-service.lime .service-showcase-layout {
        direction: ltr;
    }

    .agency-popular-service.lime .popular-service-visual {
        order: 2;
    }

    .agency-popular-service.lime .popular-service-content {
        order: 1;
    }

    /* Grow Section */
    .grow-layout {
        gap: 40px;
        padding: 0 30px;
    }

    .agency-grow {
        padding: 80px 0;
    }

    /* Projects Grid - 2 columns */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }

    /* Comparison Section */
    .agency-comparison {
        padding: 80px 0;
    }

    .matrix-wrapper {
        padding: 0 20px;
    }

    .comparison-wrapper {
        padding: 0 20px;
    }

    .agency-comparison .title h2 {
        font-size: 36px !important;
    }

    /* Video CTA */
    .agency-video-cta {
        padding: 100px 20px;
        background-attachment: scroll; /* Fix iOS fixed background */
    }

    /* Use Cases */
    .agency-use-cases {
        padding: 80px 0;
    }

    .use-case-tapper-container {
        padding: 0 20px;
    }

    .tapper-text-box h3 {
        font-size: 36px;
    }

    .tapper-text-box p {
        font-size: 16px;
    }

    .tapper-img-box {
        height: 300px;
    }

    /* Testimonials */
    .agency-testimonials {
        padding: 80px 0;
    }

    .agency-testimonials h2 {
        font-size: 36px !important;
    }
}

/* ── MOBILE (max-width: 768px) ─────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Hero Section */
    .agency-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .hero-content-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
        text-align: center;
    }

    .hero-img-box {
        display: none;
    }

    .hero-title-main {
        font-size: clamp(32px, 10vw, 50px);
        margin-bottom: 20px;
    }

    .agency-hero::after {
        width: 300px;
        height: 300px;
        bottom: -80px;
        right: -80px;
    }

    /* Hero marquee badges */
    .hero-marquee-row {
        margin-top: 30px;
    }

    .hero-marquee-grid {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .hero-marquee-item {
        width: 100%;
        justify-content: center;
        padding: 12px 15px;
    }

    .hero-marquee-item span {
        font-size: 14px;
    }

    /* Stats Section */
    .agency-stats {
        padding: 60px 0;
    }

    .stats-matrix-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 0 20px;
    }

    .stat-readout {
        padding: 25px 20px;
    }

    .stat-value {
        font-size: 36px;
    }

    .stat-label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    /* Services Section */
    .agency-services {
        padding: 60px 0;
    }

    .services-intro-row {
        padding: 0 20px;
        gap: 15px;
        margin-bottom: 30px;
    }

    .services-intro-row h2 {
        font-size: 32px;
    }

    .services-intro-row p {
        font-size: 16px !important;
    }

    .services-grid-high {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 0 20px;
    }

    .service-card-black {
        padding: 35px 25px;
    }

    .service-card-black i {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .service-card-black h3 {
        font-size: 18px;
    }

    /* Grow Section */
    .agency-grow {
        padding: 60px 0;
    }

    .grow-layout {
        padding: 0 20px;
        gap: 30px;
        text-align: center;
    }

    .grow-content h2 {
        font-size: 32px;
    }

    .grow-checklist {
        margin: 25px 0;
    }

    .grow-checklist li {
        justify-content: center;
        font-size: 14px;
    }

    .play-button-overlay {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

    /* Brand Marquee */
    .marquee-item {
        font-size: 16px;
        padding: 0 25px;
    }

    /* Video CTA */
    .agency-video-cta {
        padding: 80px 20px;
    }

    .agency-video-cta h2 {
        font-size: 32px;
    }

    .btn-lime-cta {
        padding: 14px 30px;
        font-size: 16px;
    }

    /* Popular Services */
    .agency-popular-service {
        padding: 60px 0;
    }

    .service-showcase-layout {
        padding: 0 20px !important;
        gap: 30px !important;
        text-align: center;
    }

    .popular-service-content h2 {
        font-size: 36px;
    }

    .popular-service-visual img {
        box-shadow: 15px 15px 0 var(--brand-lime);
    }

    .agency-popular-service.lime .popular-service-visual img {
        box-shadow: 15px 15px 0 #000;
    }

    .pricing-pill-lime,
    .pricing-pill-black {
        padding: 10px 20px;
        font-size: 22px;
    }

    .service-features-list li {
        justify-content: center;
        font-size: 14px;
    }

    /* Projects */
    .agency-projects {
        padding: 40px 0 30px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 20px;
    }

    .project-info {
        padding: 20px;
    }

    .project-info h4 {
        font-size: 16px;
    }

    /* Comparison Table */
    .agency-comparison {
        padding: 60px 0;
    }

    .agency-comparison .title h2 {
        font-size: 28px !important;
    }

    .agency-comparison .title p {
        font-size: 15px !important;
        padding: 0 10px;
    }

    .comparison-wrapper {
        padding: 0 15px;
    }

    .comparison-table {
        box-shadow: 10px 10px 0px rgba(163, 230, 53, 1);
        font-size: 12px;
    }

    .comparison-table th {
        font-size: 12px;
        padding: 15px 8px;
        letter-spacing: 0;
    }

    .comparison-table td {
        padding: 12px 8px;
        font-size: 11px;
    }

    .comparison-table .feature-col {
        padding-left: 10px;
        font-size: 11px;
        min-width: 100px;
    }

    .comparison-table .others-col,
    .comparison-table .us-col {
        padding-left: 8px;
    }

    .comparison-table .others-col .content-wrap,
    .comparison-table .us-col .content-wrap {
        font-size: 11px;
        gap: 5px;
    }

    /* Testimonials */
    .agency-testimonials {
        padding: 60px 0;
    }

    .agency-testimonials h2 {
        font-size: 28px !important;
        padding: 0 15px;
    }

    .agency-testimonials > .container > p {
        font-size: 12px !important;
        letter-spacing: 2px !important;
        padding: 0 15px;
    }

    .testimonial-container {
        height: 380px;
    }

    .testimonial-card-stagger {
        width: 280px;
        padding: 25px;
    }

    .testimonial-card-stagger p.quote-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .testimonial-card-stagger .author-details h4 {
        font-size: 14px;
    }

    .testimonial-card-stagger .author-img {
        width: 35px;
        height: 35px;
    }

    .testimonial-nav-side {
        padding: 0 10px;
    }

    .nav-side-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    /* Use Cases */
    .agency-use-cases {
        padding: 60px 0;
    }

    .agency-use-cases .title h2 {
        font-size: 28px !important;
        padding: 0 15px;
    }

    .use-case-tapper-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .tapper-list {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .tapper-list::-webkit-scrollbar {
        display: none;
    }

    .tapper-item {
        min-width: 200px;
        padding: 18px 20px;
    }

    .tapper-item h4 {
        font-size: 15px;
    }

    .tapper-item span {
        font-size: 10px;
    }

    .tapper-content-display {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .tapper-img-box {
        height: 200px;
        width: 100%;
    }

    .tapper-text-box {
        width: 100%;
    }

    .tapper-text-box h3 {
        font-size: 28px;
    }

    .tapper-text-box p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* CTA Section override */
    .agency-final-cta {
        padding: 60px 0;
    }

    /* Matrix / comparison wrapper padding */
    .matrix-wrapper {
        padding: 0 15px;
    }
}

/* ── SMALL MOBILE (max-width: 480px) ───────────────────────────────────── */
@media (max-width: 480px) {

    /* Hero */
    .agency-hero {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero-title-main {
        font-size: 30px;
        line-height: 1.1;
    }

    .hero-content-inner {
        padding: 0 15px;
    }

    .agency-hero::after {
        width: 200px;
        height: 200px;
        bottom: -60px;
        right: -60px;
    }

    .btn-lime {
        padding: 12px 25px;
        font-size: 13px;
        clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
    }

    /* Stats */
    .stats-matrix-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .stat-value {
        font-size: 32px;
    }

    /* Services */
    .services-intro-row h2 {
        font-size: 26px;
    }

    .services-grid-high {
        padding: 0 15px;
    }

    .service-card-black {
        padding: 25px 20px;
    }

    /* Grow */
    .grow-layout {
        padding: 0 15px;
    }

    .grow-content h2 {
        font-size: 26px;
    }

    /* Popular Services */
    .service-showcase-layout {
        padding: 0 15px !important;
    }

    .popular-service-content h2 {
        font-size: 28px;
    }

    .popular-service-visual img {
        box-shadow: 10px 10px 0 var(--brand-lime);
    }

    .agency-popular-service.lime .popular-service-visual img {
        box-shadow: 10px 10px 0 #000;
    }

    /* Projects */
    .projects-grid {
        padding: 0 15px;
    }

    /* Comparison */
    .comparison-wrapper {
        padding: 0 10px;
    }

    .comparison-table {
        box-shadow: 8px 8px 0px rgba(163, 230, 53, 1);
    }

    /* Testimonials */
    .testimonial-container {
        height: 350px;
    }

    .testimonial-card-stagger {
        width: 240px;
        padding: 20px;
    }

    .testimonial-card-stagger p.quote-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .testimonial-card-stagger .quote-icon {
        font-size: 24px;
        margin-bottom: 12px;
    }

    /* Use Cases */
    .tapper-item {
        min-width: 180px;
        padding: 15px;
    }

    .tapper-content-display {
        padding: 15px;
        gap: 15px;
    }

    .tapper-img-box {
        height: 180px;
    }

    .tapper-text-box h3 {
        font-size: 24px;
    }

    .tapper-text-box p {
        font-size: 14px;
    }

    /* Video CTA */
    .agency-video-cta {
        padding: 60px 15px;
    }

    .agency-video-cta h2 {
        font-size: 26px;
    }

    .btn-lime-cta {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* Marquee */
    .marquee-item {
        font-size: 14px;
        padding: 0 20px;
    }
}

/* ── LAYOUT HEADER FIX: Ensure header doesn't overlap on mobile ────────── */
@media (max-width: 768px) {
    .engineered-header + .agency-hero,
    body > .agency-hero:first-of-type {
        margin-top: 0;
    }
}

/* ── iOS FIXES ─────────────────────────────────────────────────────────── */
@supports (-webkit-touch-callout: none) {
    .agency-video-cta {
        background-attachment: scroll !important;
    }
}