/* --- START OF FILE style.css --- */

:root {
    --bg-dark: #000000;
    --bg-darker: #111111;
    --text-light: #FFFFFF;
    --accent-green: #D2FF1D;
    --text-grey: #cccccc;
    --border-color: #333333;
}

/* --- Global Styles & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #000000;
    background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1.2;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    padding: 0 10px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.6rem); 
    color: var(--accent-green);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    padding: 0 10px;
}

.highlight {
    color: var(--accent-green);
}

/* --- Animation Classes --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in { transform: translateY(20px); }
.slide-in-left { transform: translateX(-50px); }
.slide-in-right { transform: translateX(50px); }

.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}
/* --- UPDATED BUTTON CSS (Fixes Mobile Arrow Issue) --- */

/* 1. Base Button Styles */
.btn-primary {
    background-color: var(--accent-green);
    color: #000000;
    border: none;
    
    /* VITAL: Use inline-flex !important to prevent mobile menu from forcing 'display: block' */
    display: inline-flex !important; 
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between text and arrow */
    
    /* Sizing & Spacing */
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 2. Hover Effects */
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(210, 255, 29, 0.2);
    color: #000000; /* Ensure text stays black */
    opacity: 0.9;
}

/* 3. Arrow Icon Animation */
.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translate(3px, -3px); /* Moves arrow Up-Right */
}

/* 4. Fix specific to Header CTA to prevent override */
.header-cta { 
    display: inline-flex !important; 
    margin-top: 0; /* Resets any mobile margin issues */
}
.btn-secondary {
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
}
.btn-secondary:hover {
    background-color: var(--accent-green);
    color: var(--bg-dark);
}

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px max(20px, calc((100% - 1150px) / 2));
    z-index: 1000;
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

.logo {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    z-index: 1002;
}

.logo .highlight {
    color: var(--accent-green);
}

.main-nav { 
    display: flex; 
    align-items: center; 
    gap: 30px;
}

.main-nav ul { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
    margin: 0; 
    padding: 0; 
}

.main-nav a { 
    color: var(--text-light); 
    text-decoration: none; 
    font-size: 16px;
    font-weight: 400; 
    transition: color 0.3s; 
}

.main-nav a:hover { 
    color: var(--accent-green); 
}
.main-nav a.active-page {
    color: var(--accent-green);
}

/* --- UPDATED BUTTON CSS START --- */
.main-nav a.btn-primary {
    font-weight: 700;
    color: #000000;
    padding: 12px 30px; 
    background-color: var(--accent-green); 
    border-radius: 50px; 
    
    /* Flex alignment for text and arrow */
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Keeps text centered */
    gap: 8px; 
    transition: all 0.3s ease;
    font-size: 1rem; 
}

.main-nav a.btn-primary:hover {
    color: #000000;
    opacity: 0.9;
}

.main-nav a.btn-primary:hover svg {
    transform: translate(2px, -2px);
    transition: transform 0.3s ease;
}

/* --- MOBILE VIEW ADJUSTMENTS --- */
@media screen and (max-width: 768px) {
    .main-nav a.btn-primary {
        /* 1. Make the button physically smaller */
        padding: 10px 20px; 
        font-size: 1.4rem; 
        gap: 6px;

        /* 2. Fix the Left/Right Gap issue */
        width: auto;           /* prevent full-width stretching */
        max-width: 80%;        /* limits width to 80% of screen, creating gaps */
        margin: 10px auto;     /* centers the button horizontally */
        
        /* Ensure it doesn't stretch if parent is a flex container */
        align-self: center;    
        display: flex;
    }
}
/* --- UPDATED BUTTON CSS END --- */

.header-cta { 
    display: block; 
}

/* --- MENU TOGGLE FIX --- */
.menu-toggle { 
    display: none; /* Hidden by default on desktop */
    cursor: pointer; 
    font-size: 2rem; 
    color: var(--text-light);
    z-index: 1002;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
}




/* --- Hero Section --- */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%), url('../images/index-hero.webp') no-repeat center center/cover;
    padding: 100px max(20px, calc((100% - 1150px) / 2)) 0;
}

.hero-content {
    max-width: 800px;
    border-left: 5px solid var(--accent-green);
    padding-left: 40px;
}

.hero-content h1 { 
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: "Plus Jakarta Sans", sans-serif; 
    font-weight: 600; 
    text-transform: uppercase; 
    margin-bottom: 1rem; 
    line-height: 1.1;
}

.hero-content p { 
    font-size: clamp(1rem, 2vw, 1.6rem); 
    color: rgb(227, 224, 224); 
    margin-bottom: 2rem; 
}

/* --- Featured In Section --- */
#featured {
    background-color: var(--bg-darker);
    padding: 40px 0;
}
.featured-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.featured-container img {
    height: 35px;
    opacity: 0.6;
    filter: grayscale(100%) invert(1);
    transition: all 0.3s ease;
    padding: 0 10px;
}
.featured-container img:hover {
    opacity: 1;
    filter: grayscale(0%) invert(0);
}

/* --- About Section --- */
#about {
    background-color: #ffffff; 
    padding: 80px max(20px, calc((100% - 1100px) / 2)); 
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}

.about-image img { 
    width: 100%; 
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

.about-text h2 { 
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: "Plus Jakarta Sans", sans-serif; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    font-weight: 700;
    color: #000000; 
}

.about-text p { 
    font-size: clamp(1rem, 2vw, 1.6rem);
    margin-bottom: 20px; 
    color: #1a1a1a; 
    font-family: "Plus Jakarta Sans", sans-serif; 
}

.stats { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-top: 40px; 
}

/* UPDATED SECTION BELOW */
.stat-item .number { 
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
    font-weight: 800;
    color: #fd5b38; 
    
    /* Changes made here to decrease gap */
    line-height: 1;      /* Reduces vertical space inside the text line */
    margin-bottom: 5px;  /* Sets a small specific gap between number and label */
    display: block;      /* Ensures the margin behaves correctly */
}

.stat-item .label { 
    font-size: 1.2rem; 
    font-weight: 700;
    color: #000000; 
}
/* --- Services Section --- */
#services { background-color: var(--bg-darker); padding: 80px 20px; }

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; 
    max-width: 1200px;
    margin: 0 auto;
}
.service-card { background: #1a1a1a; padding: 40px; border-radius: 8px; border-left: 4px solid var(--border-color); transition: all 0.4s ease; }
.service-card:hover { transform: translateY(-10px); border-left-color: var(--accent-green); }
.service-card .icon { font-size: 2.5rem; color: var(--accent-green); margin-bottom: 20px; }
.service-card h3 { font-size: 2rem; margin-bottom: 15px; font-weight: 600; }
.service-card p { color: var(--text-grey); font-size: 1.3rem; }




/* --- Our Work Section --- */
.portfolio-filters { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 0 10px;
}
.filter-btn { background: none; border: 1px solid var(--border-color); color: var(--text-light); padding: 8px 20px; margin: 0; border-radius: 20px; cursor: pointer; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--accent-green); color: var(--bg-dark); border-color: var(--accent-green); }

.portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
    padding: 0 10px;
}
.portfolio-item { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.1)); opacity: 0; transition: opacity 0.4s ease; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { color: var(--accent-green); margin-bottom: 5px; transform: translateY(10px); transition: transform 0.4s 0.1s ease; }
.portfolio-overlay p { color: var(--text-light); transform: translateY(10px); transition: transform 0.4s 0.2s ease; font-size: 0.9rem; }
.portfolio-item:hover .portfolio-overlay h4, .portfolio-item:hover .portfolio-overlay p { transform: translateY(0); }



/* --- Brands We Worked With Section --- */
.brands-marquee { display: flex; width: 200%; animation: marquee 30s linear infinite; }
.brands-container { display: flex; align-items: center; justify-content: space-around; width: 50%; }
.brands-container img { height: 50px; margin: 0 40px; filter: grayscale(1) brightness(1.5); transition: all 0.3s; max-width: 150px; object-fit: contain; }
.brands-container img:hover { filter: grayscale(0) brightness(1); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Stacking Cards Section Container --- */
#detailed-services {
    position: relative;
    /* Ensure the container is tall enough for scrolling */
    padding: 100px max(20px, calc((100% - 1150px) / 2));
    background-color: var(--bg-darker); /* Or #111 */
    /* OVERFLOW MUST BE VISIBLE FOR STICKY TO WORK */
    overflow: visible; 
}

.stacking-cards-container {
    position: relative;
    width: 100%;
    /* Bottom margin ensures the last card creates space */
    margin-bottom: 100px;
}

/* --- GLOBAL CARD STYLES --- */
.card {
    /* STICKY MAGIC */
    position: sticky; 
    position: -webkit-sticky; /* Safari support */
    
    width: 90%; 
    max-width: 1100px;
    height: 60vh; /* Fixed viewport height helps stacking uniformity */
    min-height: 500px;
    margin: 0 auto 40px auto; /* Margin bottom creates the scroll distance */
    
    background-color: #252525; /* Darker grey per your image */
    border: 1px solid #333;
    border-radius: 20px; /* High radius for the 'card' look */
    
    display: flex;
    overflow: hidden;
    transform-origin: center top;
    
    /* Strong shadow to separate the stacked cards visually */
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5); 
    will-change: transform, top; 
}

/* --- STACKING OFFSETS (The "Deck" Effect) --- */
/* This is what creates the "Ridges" at the top */
.card:nth-of-type(1) { top: 100px; }
.card:nth-of-type(2) { top: 130px; } /* +30px */
.card:nth-of-type(3) { top: 160px; } /* +30px */
.card:nth-of-type(4) { top: 190px; } /* +30px */
.card:nth-of-type(5) { top: 220px; } /* +30px */
.card:nth-of-type(6) { top: 250px; } /* +30px */

/* Content Styling */
.card-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
}

.card-content h2 {
    font-weight: 500;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.card-content p {
    font-size: 1.2rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 500px;
}

/* The Green Line */
.separator {
    width: 450px; /* Length of the line */
    height: 2px; /* Thickness */
    background-color: #D2FF1D; /* Bright Green - Visible on dark bg */
    margin-top: 25px;
    margin-bottom: 25px;
    max-width: 450px;
}

/* List Styling */
.card-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.card-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #999;
}

/* Learn More Link */
.learn-more {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.learn-more span {
    color: #D2FF1D;
    font-size: 1.2rem;
    margin-left: 10px;
}

/* Image Styling */
.card-image {
    flex: 1;
    background-color: #000;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 992px) {
    
    #detailed-services {
        padding: 50px 10px;
    }

    .card {
        /* On mobile, we replicate the screenshot exact look */
        flex-direction: column; 
        
        /* Make card tall enough to fill screen, ensuring stack effect works */
        height: 75vh; 
        min-height: 500px;
        width: 95%; /* Make it wider on mobile */
        
        margin-bottom: 20px; /* Less space between scroll snap */
        border-radius: 25px; /* Rounded top looks like the screenshot */
        
        /* Re-assert Sticky just in case */
        position: sticky !important;
        position: -webkit-sticky !important;
    }

    /* 
       MOBILE OFFSETS:
       To get the "Ridges" visible in your screenshot, the top values
       must be distinct.
    */
    .card:nth-of-type(1) { top: 60px !important; }
    .card:nth-of-type(2) { top: 90px !important; } /* Visible ridge of card 1 behind */
    .card:nth-of-type(3) { top: 120px !important; }
    .card:nth-of-type(4) { top: 150px !important; }
    .card:nth-of-type(5) { top: 180px !important; }

    .card-content {
        padding: 30px;
        justify-content: flex-start; /* Align to top */
        padding-top: 60px; /* Space for the "Ridges" of previous cards visually */
        text-align: left;
    }

    /* MATCHING YOUR SCREENSHOT: Hide image, focus on text */
    .card-image {
        display: none; 
    }

    .card-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .card-content p {
        font-size: 1rem;
    }
    
    .separator {
        width: 280%; /* Full width line as per mobile design sometimes */
        max-width: 280px;
    }
}

/* --- Testimonials Section --- */
#testimonials { background-color: white; padding: 80px 20px; }
.testimonial-card { 
    background: #1a1a1a; 
    padding: 30px; 
    border-radius: 8px; 
    text-align: center; 
    max-width: 800px;
    margin: 0 auto;
}
/* 1. Make the Heading "Normal" (Removes Uppercase style) */
#testimonials .section-title {
    text-transform: none;
    color: #000000;
}
#testimonials .section-subtitle {
    color: #FF6600 !important; /* Bright Orange */
    
}


.testimonial-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 3px solid var(--accent-green); display: block;        /* Ensures margin properties work */
    margin-left: auto;     /* Pushes from left */
    margin-right: auto;    /* Pushes from right (centering it) */
    margin-bottom: 20px; }
.testimonial-card .quote { font-size: 1.3rem; color: var(--text-grey); margin-bottom: 20px; }
.testimonial-card .name { font-size: 1.4rem; font-weight: 700; }
.testimonial-card .service { color: var(--accent-green); font-size: 0.9rem; }

/* --- Seller Central Launch Section --- */
#seller-central-launch-v2 {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(45deg, #1e1e1e, #000000); 
}

#seller-central-launch-v2 .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px;
    color: var(--text-light);
}

#seller-central-launch-v2 .section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--accent-green);
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

#seller-central-launch-v2 .launch-description-v2 {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
    color: var(--text-grey);
    font-size: 1.3rem;
    line-height: 1.7;
}

#seller-central-launch-v2 .platforms-title-v2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 50px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
}

.platform-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 100px;
    text-align: left;
    align-items: start;
    padding: 0 20px;
}

.platform-list-item-v2 {
    padding-left: 25px; 
    position: relative; 
}

.platform-list-item-v2::before {
    content: '';
    position: absolute;
    left: 0; 
    top: 0;
    height: 100%; 
    width: 3px; 
    background-color: var(--accent-green); 
}

.platform-list-item-v2 h4 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--text-light);
    font-weight: 800;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.platform-list-item-v2 p {
    color: var(--text-grey);
    font-size: 1.2rem;
    line-height: 1.6;
}

#seller-central-launch-v2 .launch-cta-v2 {
    padding: 15px 40px;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
    display: inline-block;
    max-width: 90%;
}

/* --- FAQ Section --- */
#faq { 
    background-color: var(--bg-darker); 
    padding: 80px max(20px, calc((100% - 1100px) / 2));
}

.faq-container { 
    max-width: 800px; 
    margin: 0 auto; 
    width: 100%;    
}

.faq-item { 
    border-bottom: 1px solid var(--border-color); 
}

.faq-item summary {
    font-size: 1.3rem;
    font-weight: 500;
    padding: 25px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    padding-right: 15px; 
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-green); }

.faq-answer {
    font-size: 1.3rem;
    color: var(--text-grey);
    padding: 0 5px 25px 5px;
    overflow: hidden;
}

.faq-arrow {
    font-size: 1.5rem;
    color: var(--accent-green);
    transition: transform 0.4s ease;
}
.faq-item[open] summary .faq-arrow { transform: rotate(90deg); }

/* --- Contact Section Styles --- */
#contact {
    padding: 80px max(20px, calc((100% - 1500px) / 2));
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: flex-start; }
.contact-info h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.contact-info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.contact-info-item .icon { color: var(--accent-green); font-size: 1.8rem; flex-shrink: 0; }
.contact-info-item a { color: var(--text-light); text-decoration: none; font-size: 1.3rem; transition: color 0.3s; word-break: break-all; }
.contact-info-item a:hover { color: var(--accent-green); }

.contact-form .form-group { margin-bottom: 25px; position: relative; }
.contact-form label { display: block; margin-bottom: 8px; color: var(--text-grey); font-size: 1.3rem; }
.contact-form input, .contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.2rem;
    transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-green);
}
.contact-form textarea { resize: vertical; min-height: 80px; }
.needs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.need-tag {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}
.need-tag:hover, .need-tag.active {
    background: var(--accent-green);
    color: var(--bg-dark);
    border-color: var(--accent-green);
}
.contact-form .btn-primary {
    margin-top: 20px;
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* --- Marquee/Runner Section --- */
.marquee-section {
    background-color: #ffffff;
    padding: 30px 0; /* Adjust vertical spacing as needed */
    overflow: hidden; /* Hides the scrollbar */
    width: 100%;
    display: flex;
    align-items: center;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Create a fade effect on edges (optional) */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content; /* Ensures width fits all content */
    gap: 0; 
    /* The Animation */
    animation: scroll-left 50s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevents text from squishing */
}

/* --- Text Styling --- */
.marquee-group .text {
    font-family: "Plus Jakarta Sans", sans-serif; /* Matches your previous font */
    font-size: clamp(2rem, 5vw, 4rem); /* Responsive: 2rem on mobile, up to 4rem on desktop */
    font-weight: 800; /* Extra Bold */
    font-style: italic; /* Key to matching the image */
    text-transform: uppercase;
    color: #0f172a; /* Dark Navy Color */
    white-space: nowrap;
    padding-left: 30px; /* Space before text */
}

/* --- Image Styling (The Neon Asterisk) --- */
.marquee-group .star-icon {
    height: clamp(2rem, 5vw, 4rem); /* Scales with the text size */
    width: auto;
    margin-left: 30px; /* Space between text and icon */
    object-fit: contain;
    display: block;
}

/* --- The Animation --- */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Moves exactly one group length to the left */
    }
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 768px) {
    .marquee-section {
        padding: 20px 0;
    }
    
    .marquee-track {
        /* Speed up slightly on mobile if it feels too slow, 
           or keep consistent. Lower number = Faster */
        animation-duration: 150s; 
    }
    
    .marquee-group .text,
    .marquee-group .star-icon {
        padding-left: 15px;
        margin-left: 15px;
    }
}


/* --- Selected Works Section --- */
#selected-works {
    background-color: #ffffff;
    /* Keeps alignment consistent with your other sections */
    padding: 100px max(20px, calc((100% - 1150px) / 2));
    font-family: "Plus Jakarta Sans", sans-serif;
}

/* --- Header Area --- */
.works-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.works-title {
    font-size: clamp(3rem, 6vw, 5rem); /* Big responsive text */
    font-weight: 700; /* Bold but not extra bold */
    line-height: 1;
    color: #0f172a; /* Dark Navy/Black */
    margin: 0;
    text-transform: uppercase;
}

.works-btn {
    background-color: var(--accent-green); /* Neon Lime */
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, background-color 0.3s;
}

.works-btn:hover {
    transform: scale(1.05);
    background-color: #bbee00;
}

.works-btn .arrow {
    font-size: 1.1rem;
}

/* --- Grid Container --- */
.works-container {
    display: flex;
    gap: 60px; /* Space between the two big columns */
}

.works-column {
    flex: 1; /* Both columns take equal width */
    display: flex;
    flex-direction: column;
    gap: 80px; /* Vertical gap between projects in the same column */
}

/* This is the key line that creates the staggered look */
.col-right {
    margin-top: 150px; /* Pushes the right column down */
}

/* --- Project Card Styles --- */
.project-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 12px; /* Smooth corners on images */
    background-color: #f0f0f0; /* Placeholder color while loading */
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .image-wrapper img {
    transform: scale(1.03); /* Subtle zoom on hover */
}

.project-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin: 10px 0 0 0;
}

/* Tags (Branding / UI/UX) */
.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    border: 1px solid #e0e0e0; /* Light grey border */
    padding: 8px 20px;
    border-radius: 50px; /* Pill shape */
    background-color: transparent;
    transition: background-color 0.3s, border-color 0.3s;
}

.project-card:hover .tag {
    border-color: #000; /* Darken border on hover */
}

/* --- Responsive Adjustments --- */

/* Tablet (Stack vertically but keep some spacing) */
@media (max-width: 992px) {
    .works-container {
        gap: 30px;
    }
    .col-right {
        margin-top: 80px; /* Less offset on tablet */
    }
    .works-title {
        font-size: 3.5rem;
    }
}

/* Mobile (Full stack) */
@media (max-width: 768px) {
    .works-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .works-btn {
        width: 100%;
        justify-content: center;
    }

    .works-container {
        flex-direction: column; /* Stack columns on top of each other */
        gap: 60px;
    }

    .col-right {
        margin-top: 0; /* Remove offset completely on mobile */
    }
    
    .project-card h3 {
        font-size: 1.5rem;
    }
}

/* --- Dark Marquee Runner Styles --- */
.dark-runner-section {
    background-color: #050505; /* Almost black background */
    padding: 35px 0; /* Vertical height of the strip */
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222; /* Optional subtle border */
}

.runner-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Optional: Fades edges slightly */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.runner-track {
    display: flex;
    width: max-content;
    animation: infinite-scroll 25s linear infinite;
}

.runner-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* --- Text Styling --- */
.runner-text {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem); /* Responsive font size */
    font-weight: 700; /* Bold */
    color: #ffffff; /* White text */
    text-transform: uppercase;
    white-space: nowrap;
    padding-left: 40px; /* Gap before text */
}

/* --- Icon Styling --- */
.runner-icon {
    height: clamp(1.2rem, 2.5vw, 2rem); /* Icon scales with text */
    width: auto;
    margin-left: 40px; /* Gap after text */
    display: block;
    object-fit: contain;
}

/* --- The Animation --- */
@keyframes infinite-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Moves exactly one group length */
    }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .dark-runner-section {
        padding: 25px 0;
    }

    .runner-text {
        padding-left: 20px;
        /* Font size handles itself via clamp(), but we can ensure safety: */
        font-size: 1.2rem; 
    }

    .runner-icon {
        margin-left: 20px;
        height: 1rem;
    }
    
    .runner-track {
        /* Speed up animation slightly on mobile so it doesn't look static */
        animation-duration: 15s;
    }
}

/* --- Solutions Section --- */
#solutions {
    background-color: #ffffff;
    /* Uses the same padding logic as your previous sections for alignment */
    padding: 100px max(20px, calc((100% - 1150px) / 2));
}

/* --- Header Area --- */
.solutions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.solutions-header h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive huge text */
    font-weight: 700;
    line-height: 1.1;
    color: #000;
    margin: 0;
}

.cta-btn {
    background-color: var(--accent-green); /* Neon Lime Green */
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05); /* Slight pop effect on hover */
}

.cta-btn .arrow {
    font-size: 1.2rem;
}

/* --- Cards Grid --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns side by side */
    gap: 30px;
}

/* --- Individual Card Styling --- */
.solution-card {
    background-color: #181818; /* Dark/Black background */
    padding: 50px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px); /* Lift effect on hover */
}

.card-number {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 30px;
    display: block;
}

.service-icon {
    width: 60px; /* Adjust based on your image size */
    height: auto;
    margin-bottom: 40px;
    display: block;
    /* If your icon is black, un-comment the line below to invert it to white */
    /* filter: invert(1); */
}

.solution-card h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.solution-card p {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #cccccc; /* Light grey for readability */
    margin: 0;
}

/* --- Mobile & Tablet Responsiveness --- */
@media (max-width: 992px) {
    /* Tablet: Stack header, maybe 2 columns for cards? */
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #solutions {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Stack Header Elements */
    .solutions-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-btn {
        width: 100%; /* Full width button on mobile */
        justify-content: center;
    }

    /* Stack Cards (1 per row) */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-card {
        padding: 40px 30px;
    }
}

/* --- Footer --- */
footer { padding: 50px 20px; background: var(--bg-darker); text-align: center; }
.footer-nav ul { list-style: none; display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-grey); text-decoration: none; transition: color 0.3s; }
.footer-nav a:hover { color: var(--accent-green); }
.footer-legal p { font-size: 0.9rem; color: #777; margin-top: 10px; }

/* --- Floating Action Buttons --- */
.floating-buttons-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    pointer-events: none;
}
.floating-buttons-container.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.fab {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    background-color: var(--accent-green);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: glow 2.5s infinite;
}
.fab:hover {
    transform: translateY(-4px);
    animation: none;
    box-shadow: 0 0 25px var(--accent-green);
}
.fab svg {
    width: 28px;
    height: 28px;
    fill: var(--bg-dark);
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(210, 255, 29, 0.5), 0 0 10px rgba(210, 255, 29, 0.4); }
    50% { box-shadow: 0 0 15px rgba(210, 255, 29, 0.8), 0 0 20px rgba(210, 255, 29, 0.6); }
    100% { box-shadow: 0 0 5px rgba(210, 255, 29, 0.5), 0 0 10px rgba(210, 255, 29, 0.4); }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */

/* --- Tablet (Widths less than 992px) --- */
@media (max-width: 992px) {
    section { padding: 60px 0; }
    
    .about-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .about-image { margin-bottom: 30px; }
    
    .stats { grid-template-columns: 1fr 1fr; }
    
    .platform-grid-v2 {
        grid-template-columns: 1fr; 
        gap: 0; 
        max-width: 600px;
    }
    .platform-list-item-v2 {
        text-align: center;
        padding-left: 0; 
    }
    .platform-list-item-v2::before {
        content: none; 
    }
    .platform-list-item-v2:not(:last-child) {
        border-bottom: 1px solid var(--border-color); 
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .contact-grid { grid-template-columns: 1fr; }

    /* Stacking Cards Tablet Fix */
    .card {
        flex-direction: column;
        height: auto;
        min-height: 0;
        position: relative; 
        top: auto !important; 
        width: 100%;
        margin-bottom: 40px;
    }
    .stacking-cards-container {
        height: auto; 
        margin-bottom: 0;
    }
    .card:last-of-type {
        margin-bottom: 0;
    }
    .card-image {
        min-height: 250px;
        order: 1; 
    }
    .card-content {
        padding: 30px;
        order: 2; 
    }
}

/* --- Mobile (Widths less than 768px) --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .main-nav { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 80%; 
        height: 100vh; 
        background: #000000; 
        border-left: 1px solid #333;
        display: flex; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        transition: right 0.4s ease; 
        padding-top: 60px; 
        z-index: 1001;
    }
    .main-nav.active { right: 0; }
    
    .main-nav ul { flex-direction: column; text-align: center; width: 100%; gap: 30px; }
    .main-nav ul li { width: 100%; }
    .main-nav a { font-size: 1.4rem; display: block; padding: 10px; }
    
    .header-cta { display: block; margin-top: 20px; }
    
    .hero-content { 
        padding-left: 20px; 
        text-align: left; 
        border-left-width: 3px;
    }
    
    #detailed-services {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .contact-form .btn-primary { font-size: 1rem; }
    
    .floating-buttons-container { bottom: 20px; right: 20px; }
    .fab { width: 45px; height: 45px; }
    .fab svg { width: 22px; height: 22px; }
    
    .footer-nav ul { flex-direction: column; gap: 15px; }
}

@media (max-width: 480px) {
    .section-title { font-size: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .stats { grid-template-columns: 1fr; gap: 20px; }
    .btn { width: 100%; display: block; text-align: center; }
    .portfolio-filters { flex-direction: column; width: 100%; }

    
/* --- FINAL FIX FOR DOUBLE HAMBURGER --- */

/* 1. Reset the container to hide any text nodes (like a text "☰") */
.menu-toggle {
    font-size: 0 !important; 
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 50px; /* Force a standard width */
    height: 50px;
    overflow: hidden; /* Hide anything spilling out */
}

/* 2. Target the ICON inside (i, svg, or span) and make it visible */
.menu-toggle i, 
.menu-toggle svg, 
.menu-toggle span {
    font-size: 2rem !important; /* Set the size of the icon */
    display: block !important;
    line-height: 1 !important;
    margin: 0 !important;
}

/* 3. If there are TWO icons inside, hide the second one */
.menu-toggle > *:nth-child(n+2) {
    display: none !important;
}

/* 4. Kill any pseudo-elements (ghost icons) */
.menu-toggle::before,
.menu-toggle::after {
    content: none !important;
    display: none !important;
}
}