/* ===== VARIABLES & BASE SETTINGS ===== */
:root {
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F9FA;
    --color-text: #111111;
    --color-text-light: #555555;
    --color-primary: #9d00d8;
    --color-black: #000000;
    --color-white: #FFFFFF;
    
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-pill: 100px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --section-spacing: 120px;
    --container-width: 1300px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    transition-timing-function: ease-out;
}

.cursor-hover .cursor-dot {
    width: 12px;
    height: 12px;
}

.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    background-color: rgba(157, 0, 216, 0.1);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
}

.accent-text {
    color: var(--color-primary);
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary, .btn-primary-sm, .btn-primary-large, .btn-secondary-large {
    display: inline-block;
    border-radius: var(--radius-pill);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: #7a00a8;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-primary-sm {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 24px;
    font-size: 0.95rem;
}

.btn-primary-sm:hover {
    background-color: #7a00a8;
}

.btn-primary-large {
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 20px 48px;
    font-size: 1.2rem;
    font-weight: 600;
}
.btn-primary-large:hover {
    background-color: #f1f1f1;
    transform: translateY(-3px);
}

.btn-secondary-large {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 18px 46px;
    font-size: 1.2rem;
    font-weight: 600;
}
.btn-secondary-large:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-3px);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo-main { color: var(--color-black); }
.logo-sub { color: var(--color-primary); }

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* ===== SECTION 1: HERO BANNER ===== */
.hero-section {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    overflow: hidden;
}

.hero-bg-shapes::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(157, 0, 216, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 0, 216, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(3);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(3); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(100px) scale(3); }
}

.hero-bg-shapes::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 20%, #f8fafc 100%);
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.9;
    animation: aurora 15s ease-in-out infinite alternate;
    z-index: 0;
}

.shape-1 {
    top: -10%;
    left: -5%;
    width: 50vw;
    height: 50vw;
    background-color: rgba(157, 0, 216, 0.25); /* Brand Purple */
    animation-delay: 0s;
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background-color: rgba(233, 30, 99, 0.2); /* Pink */
    animation-delay: -5s;
}

.shape-3 {
    top: 30%;
    left: 50%;
    width: 45vw;
    height: 45vw;
    background-color: rgba(79, 70, 229, 0.15); /* Indigo */
    animation-delay: -10s;
}

@keyframes aurora {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(10%, 15%) scale(1.1) rotate(45deg); }
    66% { transform: translate(-5%, 10%) scale(0.9) rotate(-20deg); }
    100% { transform: translate(-10%, -5%) scale(1) rotate(0deg); }
}

.marquee-container {
    position: absolute;
    top: 45px; /* Aligns with the middle of the 80px logo at top: 30px */
    left: 0;
    width: 100%;
    transform: translateY(0);
    overflow: hidden;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    display: flex;
}

.marquee-text {
    display: flex;
    white-space: nowrap;
    animation: scrollText 30s linear infinite;
}

.marquee-text span {
    display: inline-flex;
    align-items: center;
    font-size: 2.5rem; /* Much smaller size */
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(157, 0, 216, 0.2); /* Brand color with some transparency */
    -webkit-text-stroke: 1px rgba(157, 0, 216, 0.5);
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-heading {
    font-size: 4.5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-floating-elements {
    flex: 1;
    position: relative;
    height: 500px;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}
.float-card i {
    color: var(--color-primary);
    font-size: 1.5rem;
}
.card-1 { top: 10%; right: 20%; animation: float 6s ease-in-out infinite; }
.card-2 { top: 40%; right: 0; animation: float 5s ease-in-out infinite 1s; }
.card-3 { bottom: 10%; right: 30%; animation: float 7s ease-in-out infinite 2s; }
.card-4 { top: 30%; left: 0; animation: float 6s ease-in-out infinite 1.5s; }
.card-5 { bottom: 30%; left: 10%; animation: float 5s ease-in-out infinite 0.5s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ===== SECTION 2: FUN FACT / STATS ===== */
.stats-section {
    padding: 60px 0;
    background-color: var(--color-black);
    color: var(--color-white);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ===== SECTION 3: PORTFOLIO CATEGORIES ===== */
.categories-section {
    padding: var(--section-spacing) 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cat-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--color-white);
    opacity: 0.8;
    transition: var(--transition);
}

.cat-card:hover img {
    transform: scale(1.1);
}

.cat-card:hover .cat-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(157, 0, 216, 0.2) 100%);
}

.cat-overlay h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.cat-overlay span {
    font-size: 0.9rem;
    color: #CCC;
}

/* ===== SECTION 4: FILTER BAR ===== */
.filter-wrapper {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-pill {
    padding: 12px 28px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    color: #0f172a;
    border-color: #94a3b8;
}

.filter-pill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0%;
    height: 0%;
    background: linear-gradient(to right, #9c27b0, #E53935);
    border-radius: 50px;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.filter-pill.active {
    color: #fff;
    border-color: transparent;
}

.filter-pill.active::before {
    width: 100%;
    height: 100%;
    opacity: 1;
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.25);
}

/* ===== SECTION 5: FEATURED PROJECTS GRID ===== */
.projects-section {
    padding: 60px 0 var(--section-spacing);
    background-color: var(--color-bg-alt);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-hover-overlay {
    opacity: 1;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-info {
    padding: 24px;
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.project-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.services-used {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.services-used span {
    background: var(--color-bg-alt);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--color-text-light);
    border: 1px solid #eee;
}

/* ===== SECTION 6: BRANDS ===== */
.brands-section {
    padding: var(--section-spacing) 0;
    background: var(--color-white);
    overflow: hidden;
}

.brand-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brand-track {
    display: flex;
    gap: 30px;
    animation: scrollBrands 20s linear infinite;
    width: max-content;
}

.brand-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-bg-alt);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    min-width: 280px;
    transition: var(--transition);
    border: 1px solid #f1f1f1;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    background: var(--color-white);
}

.brand-logo {
    color: #999;
    transition: color 0.3s;
}

.brand-card:hover .brand-logo {
    color: var(--color-primary);
}

.brand-meta {
    display: flex;
    flex-direction: column;
}

.b-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.b-ind {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 2)); } /* Assuming duplicated content */
}

/* ===== SECTION 7: WHAT WE DELIVER ===== */
.services-section {
    padding: var(--section-spacing) 0;
    background: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--color-primary);
}

.srv-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 24px;
    background: rgba(157, 0, 216, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .srv-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ===== SECTION 8: PROCESS ===== */
.process-section {
    padding: var(--section-spacing) 0;
    background: var(--color-white);
}

.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.timeline-line {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #eee;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.step-dot {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
    box-shadow: 0 0 0 5px var(--color-white);
}

.process-step:hover .step-dot {
    background: var(--color-primary);
    transform: scale(1.2);
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ===== SECTION 9: TESTIMONIALS ===== */
.testimonials-section {
    padding: var(--section-spacing) 0;
    background: var(--color-black);
    color: var(--color-white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.rating {
    color: #FFD700;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.c-details h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.c-details span {
    color: #aaa;
    font-size: 0.9rem;
}

.swiper-pagination-bullet {
    background: var(--color-white) !important;
}
.swiper-pagination-bullet-active {
    background: var(--color-primary) !important;
}

/* ===== SECTION 10: TECHNOLOGIES ===== */
.technologies-section {
    padding: var(--section-spacing) 0;
    background: var(--color-bg-alt);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.tech-card {
    background: var(--color-white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tech-icon {
    font-size: 3rem;
    color: var(--color-black);
    margin-bottom: 16px;
    transition: color 0.3s;
}

.tech-card:hover .tech-icon {
    color: var(--color-primary);
}

.tech-card span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

/* ===== SECTION 11: CTA ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3b0099 100%);
    color: var(--color-white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-heading {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        margin-bottom: 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }
    .timeline-line {
        top: 0;
        left: 20px;
        width: 2px;
        height: 100%;
    }
    .process-step {
        display: flex;
        text-align: left;
        align-items: flex-start;
        gap: 20px;
    }
    .step-dot {
        margin: 0;
    }
    .cta-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-nav {
        display: none; /* Add mobile menu logic if needed */
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}


.hero-banner-image { width: 100%; max-width: 500px; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); position: relative; z-index: 1; animation: float 8s ease-in-out infinite alternate; display: block; margin: 0 auto; object-fit: cover; aspect-ratio: 4/3; }
.hero-floating-elements { display: flex; align-items: center; justify-content: center; }

.full-width-banner { 
    width: 100%; 
    max-width: 1440px; 
    height: auto; 
    max-height: 60vh; 
    border-radius: 16px; 
    display: block; 
    object-fit: cover; 
    margin: 140px auto 50px; 
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); 
    animation: none; 
}
.hero-container { display: flex; justify-content: center; width: 100%; padding: 0 20px; box-sizing: border-box; }

.clients-section {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.clients-section .section-title {
    color: var(--color-text);
}

.clients-section p {
    color: var(--color-text-light);
}

/* ===== UNIQUE CLIENT GALLERY ===== */
.client-gallery {
    display: flex;
    width: 100%;
    height: 400px;
    gap: 15px;
    margin-top: 40px;
}

.client-panel {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.client-panel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: grayscale(80%) brightness(0.5);
}

.client-panel:hover {
    flex: 4;
}

.client-panel:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
}

.client-panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.client-panel:hover .client-panel-content {
    opacity: 1;
    transform: translateY(0);
}

.client-panel-content h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.client-panel-content p {
    font-size: 1rem;
    color: var(--color-primary);
    white-space: nowrap;
    font-weight: 500;
}

@media (max-width: 768px) {
    .client-gallery {
        flex-direction: column;
        height: 600px;
    }
    .client-panel:hover {
        flex: 3;
    }
}

/* ===== FILTER SECTION RE-STYLED ===== */
.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-container {
    position: relative;
    width: 320px;
}

.search-container input {
    width: 100%;
    height: 50px; /* Fixed height for perfection */
    padding: 0 20px 0 45px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
    animation: searchBlink 2s infinite;
}

@keyframes searchBlink {
    0% { border-color: #e0e0e0; box-shadow: 0 0 0 transparent; }
    50% { border-color: #b52693; box-shadow: 0 0 8px rgba(181, 38, 147, 0.3); }
    100% { border-color: #e0e0e0; box-shadow: 0 0 0 transparent; }
}

.search-container input:focus {
    border-color: #b52693;
    box-shadow: 0 0 10px rgba(181, 38, 147, 0.2);
    animation: none; /* Stop blinking when user is typing */
}

.search-container input::placeholder {
    color: #999;
}

.search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
}

.filter-dropdown-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.custom-dropdown {
    position: relative;
    width: 250px;
    user-select: none;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px; /* Exact same height as search bar */
    padding: 0 24px;
    background: linear-gradient(135deg, #b52693, #e83946);
    color: #fff;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(232, 57, 70, 0.3);
    transition: all 0.3s ease;
}

.dropdown-header i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.custom-dropdown.open .dropdown-header i {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 8px 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    max-height: 350px;
    overflow-y: auto;
}

/* Custom Scrollbar for Dropdown */
.dropdown-list::-webkit-scrollbar {
    width: 6px;
}
.dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}
.dropdown-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.custom-dropdown.open .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-option {
    padding: 12px 24px;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background: #f8f9fa;
    color: #b52693;
}

.filter-option.active {
    color: #b52693;
    font-weight: 700;
    background: #faf0f6;
}

.categories-section, .clients-section {
    cursor: none;
}

/* Background Camera Animation */
.camera-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.camera-icon {
    position: absolute;
    color: rgba(181, 38, 147, 0.12); /* Brighter purple */
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(181, 38, 147, 0.2));
}

/* Float and Flash animations combined for each camera */
.c1 { top: 5%; left: -10%; font-size: 5rem; animation: floatCamera 30s linear infinite, cameraFlash 8s infinite 1s; }
.c2 { top: 40%; left: -10%; font-size: 3rem; animation: floatCamera 45s linear infinite, cameraFlash 12s infinite 5s; }
.c3 { top: 15%; left: -10%; font-size: 8rem; animation: floatCamera 40s linear infinite, cameraFlash 10s infinite 3s; }
.c4 { top: 60%; left: -10%; font-size: 4rem; animation: floatCamera 35s linear infinite, cameraFlash 15s infinite 8s; }
.c5 { top: 25%; left: -10%; font-size: 6rem; animation: floatCamera 50s linear infinite, cameraFlash 20s infinite 2s; }
.c6 { top: 75%; left: -10%; font-size: 5.5rem; animation: floatCamera 38s linear infinite, cameraFlash 14s infinite 6s; }

@keyframes floatCamera {
    0% { transform: translateX(0) rotate(-20deg) scale(0.8); opacity: 0; }
    10% { opacity: 1; transform: translateX(12vw) rotate(0deg) scale(1); }
    90% { opacity: 1; transform: translateX(108vw) rotate(180deg) scale(1); }
    100% { transform: translateX(120vw) rotate(200deg) scale(0.8); opacity: 0; }
}

@keyframes cameraFlash {
    0%, 95% { 
        color: rgba(181, 38, 147, 0.12); 
        filter: drop-shadow(0 0 10px rgba(181, 38, 147, 0.2)); 
    }
    96%, 98% { 
        color: rgba(255, 255, 255, 0.9); 
        filter: drop-shadow(0 0 30px #fff) drop-shadow(0 0 60px #fff) drop-shadow(0 0 80px rgba(181, 38, 147, 0.8)); 
    }
    100% { 
        color: rgba(181, 38, 147, 0.12); 
        filter: drop-shadow(0 0 10px rgba(181, 38, 147, 0.2)); 
    }
}

@media (max-width: 768px) {
    .filter-wrapper {
        flex-direction: column;
    }
    .search-container, .filter-dropdown-container, .custom-dropdown {
        width: 100%;
    }
}
