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

/* --- Variables --- */
:root {
    /* Brand Colors */
    --primary: #6C4CF1;
    --primary-dark: #4B2ED6;
    --accent: #FF7A18;

    /* Neutrals */
    --bg-white: #FFFFFF;
    --bg-light: #F7F8FC;
    --bg-card: #F1F2F7;

    /* Text */
    --text-heading: #1A1A1A;
    --text-body: #555555;
    --text-muted: #888888;

    /* Borders */
    --border-light: #E5E7EB;
    --border-dark: #DADCE0;

    /* Gradients */
    --brand-gradient: linear-gradient(135deg, var(--primary), var(--accent));

    /* Shadows & Effects */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(108, 76, 241, 0.12);
    --radius: 14px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Spacing */
    --section-pad: 100px;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-spacing {
    padding: var(--section-pad) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* --- Typography --- */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: #F1F2FF;
    transform: translateY(-2px);
}

.btn-white {
    background: #FFFFFF;
    color: var(--primary);
}

.btn-white:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.header .logo-img {
    /* Logo kept in original colors */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.nav-links a:hover {
    color: #FFFFFF;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
}

/* --- 1. Hero Section --- */
.hero {
    position: relative;
    padding: 200px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--brand-gradient);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(108, 76, 241, 0.1);
    border: 1px solid rgba(108, 76, 241, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

/* Hero Vector Illustration */
.hero-illustration {
    width: 100%;
    height: auto;
    max-width: 550px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(108, 76, 241, 0.15));
    mix-blend-mode: multiply;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* --- 2. Trusted Marquee --- */
.trusted-marquee-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-top: 1px solid rgba(108, 76, 241, 0.05);
    border-bottom: 1px solid rgba(108, 76, 241, 0.05);
    overflow: hidden;
}

.marquee-bg-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(108, 76, 241, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.trusted-marquee-section .proof-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.marquee-container {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    user-select: none;
    /* Fading edges for premium look */
    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);
    z-index: 1;
}

.marquee-track {
    display: flex;
    min-width: 100%;
    gap: 4rem;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4rem;
    min-width: 100%;
    flex-shrink: 0;
}

.marquee-logo {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 700;
    font-size: 4rem;
    color: var(--text-heading);
    opacity: 1;
    filter: grayscale(0%);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.marquee-logo:hover {
    transform: scale(1.05);
    color: var(--primary);
}

.marquee-logo i {
    width: 96px;
    height: 96px;
    stroke-width: 2.5px;
}

.marquee-logo img {
    height: 160px;
    width: auto;
    object-fit: contain;
}

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

/* --- Stats Section --- */
.company-stats {
    padding-top: 2rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 76, 241, 0.15);
    border-color: rgba(108, 76, 241, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary);
    display: inline-block;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --- 3. Services --- */
.services {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--bg-white) 100%);
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(108, 76, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 76, 241, 0.1);
    border-color: var(--primary);
    background: #fff;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(108, 76, 241, 0.08);
    border: 1px solid rgba(108, 76, 241, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.service-icon i {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--bg-white);
    transform: rotateY(10deg);
    box-shadow: 0 8px 16px rgba(108, 76, 241, 0.3);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* --- Business Impact Section --- */
.business-impact {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.impact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.impact-content .section-title {
    margin-bottom: 1rem;
}

.impact-content .section-desc {
    margin-bottom: 3rem;
}

.impact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    background: var(--bg-white);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(108, 76, 241, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-heading);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin: 0;
}

/* Right Side Stats UI */
.impact-visuals {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

.visual-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(108, 76, 241, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.stat-ui-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.4s ease;
}

.stat-ui-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.stat-ui-card:nth-child(2) {
    transform: translateX(-2rem);
}
.stat-ui-card:nth-child(2):hover {
    transform: translateX(-2rem) translateY(-5px) scale(1.02);
}
.stat-ui-card:nth-child(3) {
    transform: translateX(2rem);
}
.stat-ui-card:nth-child(3):hover {
    transform: translateX(2rem) translateY(-5px) scale(1.02);
}
.stat-ui-card:nth-child(4) {
    transform: translateX(-1rem);
}
.stat-ui-card:nth-child(4):hover {
    transform: translateX(-1rem) translateY(-5px) scale(1.02);
}

.stat-ui-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-gradient);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(108, 76, 241, 0.3);
}

.stat-ui-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.stat-ui-val .stat-number {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--text-heading);
}

.stat-ui-info p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .impact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stat-ui-card:nth-child(n) {
        transform: translateX(0);
    }
    
    .stat-ui-card:nth-child(n):hover {
        transform: translateY(-5px);
    }
}

/* ─── Business Results Section ──────────────────────────────────── */
.results-section {
    position: relative;
    background: var(--bg-white);
    overflow: hidden;
}

/* Decorative background orbs */
.results-bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.5;
}
.results-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 76, 241, 0.12) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}
.results-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.08) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
}
.results-section .container {
    position: relative;
    z-index: 1;
}

/* Eyebrow label */
.results-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    background: rgba(108, 76, 241, 0.08);
    border: 1px solid rgba(108, 76, 241, 0.2);
    border-radius: 100px;
    padding: 0.35rem 1.1rem;
    margin-bottom: 1rem;
}

/* Gradient highlight in heading */
.results-highlight {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Two-column grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: stretch;
    margin-top: 4rem;
}

/* ── LEFT: Outcome Cards ─────────────────────────────── */
.results-outcomes {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
    flex: 1;
    height: 100%;
    align-content: stretch;
}

/* 5th card sits alone in the last row — half width for visual balance */
.outcomes-grid .outcome-card:last-child {
    grid-column: 1 / -1;
}

.outcome-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.4rem 1.3rem;
    transition: var(--transition);
    cursor: default;
    height: 100%;
    min-height: 88px;
}

.outcome-card:hover {
    transform: translateY(-4px);
    background: var(--bg-white);
    border-color: rgba(108, 76, 241, 0.25);
    box-shadow: 0 8px 28px rgba(108, 76, 241, 0.1);
}

.outcome-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--icon-bg);
    color: var(--icon-color);
    transition: var(--transition);
}

.outcome-card:hover .outcome-icon {
    transform: scale(1.1) rotate(-5deg);
}

.outcome-icon i {
    width: 20px;
    height: 20px;
}

.outcome-text {
    flex: 1;
}

.outcome-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.outcome-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── RIGHT: Stats Panel ─────────────────────────────── */
.results-stats {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stats-panel {
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(108, 76, 241, 0.08);
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Subtle gradient shimmer top edge */
.stats-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: 20px 20px 0 0;
}

.stat-block {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
    flex: 1;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-block:hover {
    border-color: rgba(108, 76, 241, 0.2);
    box-shadow: 0 4px 16px rgba(108, 76, 241, 0.06);
}

.stat-accent-bar {
    width: 4px;
    min-width: 4px;
    border-radius: 4px;
    background: var(--bar-color, var(--primary));
    align-self: stretch;
}

.stat-content {
    flex: 1;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -2px;
    line-height: 1;
}

.stat-prefix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    align-self: flex-start;
    padding-top: 0.2rem;
    order: -1;
}

.stat-suffix-label {
    font-size: 2rem;
    font-weight: 800;
    color: #10B981;
    line-height: 1;
    align-self: flex-start;
    padding-top: 0.25rem;
}

.stat-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.3rem;
}

.stat-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

/* Animated progress bar */
.stat-bar-track {
    height: 6px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 10px;
    width: 0;
    background: var(--fill-color, var(--primary));
    transition: width 1.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Trigger bar animation when section is visible */
.results-section.in-view .stat-bar-fill {
    width: var(--fill-width);
}

.stat-divider {
    display: none;
}

/* Bottom badge */
.stats-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(108, 76, 241, 0.06);
    border: 1px solid rgba(108, 76, 241, 0.15);
    border-radius: 100px;
    padding: 0.6rem 1.1rem;
    margin-top: 0;
    width: fit-content;
    flex-shrink: 0;
}

.stats-badge i {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.stats-badge span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .results-outcomes {
        height: auto;
    }
    .outcomes-grid {
        grid-template-rows: auto;
        height: auto;
    }
    .outcome-card {
        height: auto;
        min-height: unset;
    }
    .results-stats {
        height: auto;
    }
    .stats-panel {
        max-width: 600px;
        margin: 0 auto;
        flex: unset;
    }
    .stat-block {
        flex: unset;
        min-height: 120px;
    }
}

@media (max-width: 640px) {
    .outcomes-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .outcomes-grid .outcome-card:last-child {
        grid-column: auto;
    }
    .stat-num {
        font-size: 2.5rem;
    }
    .stat-block {
        flex: unset;
    }
}

/* --- 4. Portfolio --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-item {
    cursor: pointer;
}

.portfolio-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 300px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img-wrap {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.portfolio-mock {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition);
}

.portfolio-mock i {
    width: 48px;
    height: 48px;
    opacity: 0.8;
}

.portfolio-item:hover .portfolio-mock {
    transform: scale(1.05);
}

.portfolio-brand-mock {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
}

.portfolio-brand-mock img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-brand-mock img {
    transform: scale(1.05);
}

.portfolio-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.portfolio-info p {
    color: var(--text-muted);
}

/* --- Testimonials Section --- */
.testimonials {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 76, 241, 0.3);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.stars i {
    width: 20px;
    height: 20px;
    color: #FFB800;
    fill: #FFB800 !important;
    stroke: #FFB800;
    stroke-width: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-heading);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

.author-img-wrap {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    border: 2.5px solid rgba(108, 76, 241, 0.2);
    background: var(--bg-light);
}

.author-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
    color: var(--text-heading);
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

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

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 5. Process --- */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

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

.process-connector {
    flex: 1;
    height: 2px;
    background: var(--border-light);
    margin-top: 36px;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* --- Tech Stack Section --- */
.tech-stack {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.tech-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
    border-color: rgba(108, 76, 241, 0.3);
}

.tech-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    padding: 12px;
}

.tech-icon img, .tech-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-heading);
}

.tech-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Floating Animation */
@keyframes float-icon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.floating-icon {
    animation: float-icon 4s ease-in-out infinite;
}

.floating-icon.delay-1 { animation-delay: 0s; }
.floating-icon.delay-2 { animation-delay: 1.5s; }
.floating-icon.delay-3 { animation-delay: 3s; }

@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* --- FAQ Section --- */
.faq-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(108, 76, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 76, 241, 0.07);
}

.faq-item.active {
    border-color: rgba(108, 76, 241, 0.4);
    box-shadow: 0 12px 32px rgba(108, 76, 241, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(108, 76, 241, 0.03);
}

.faq-question span:first-child {
    font-size: 1.075rem;
    font-weight: 600;
    color: var(--text-heading);
    flex: 1;
    line-height: 1.4;
}

.faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(108, 76, 241, 0.08);
    border: 1.5px solid rgba(108, 76, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
    color: var(--primary);
}

.faq-icon i {
    width: 16px;
    height: 16px;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.active .faq-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(108, 76, 241, 0.35);
}

.faq-item.active .faq-icon i {
    transform: rotate(45deg);
}

.faq-item.active .faq-question span:first-child {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.active .faq-answer {
    max-height: 320px;
}

.faq-answer p {
    padding: 0 2rem 1.75rem;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
}

/* FAQ Bottom CTA nudge */
.faq-cta-nudge {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(108, 76, 241, 0.04);
    border: 1px solid rgba(108, 76, 241, 0.12);
    border-radius: var(--radius);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta-nudge p {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.faq-cta-nudge a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- 6. Features / Why Us --- */
.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-item i {
    color: var(--primary);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.features-image {
    position: relative;
}

.abstract-shape {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-card);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-shape::after {
    content: '';
    position: absolute;
    inset: 10%;
    background: var(--brand-gradient);
    border-radius: 50%;
    opacity: 0.1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-align: center;
    z-index: 2;
    transform: translateY(20px);
}

.trend-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.glass-card h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* --- 7. CTA --- */
.cta-box {
    background: var(--brand-gradient);
    border-radius: var(--radius);
    padding: 5rem 3rem;
    text-align: center;
    color: #FFFFFF;
}

.cta-title {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 8. Contact Form --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: stretch;
}

/* Left info panel — card to match form height */
.contact-info {
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(108, 76, 241, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Gradient top accent bar — mirrors the form */
.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: var(--radius) var(--radius) 0 0;
}

/* Subtle decorative orb */
.contact-info::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(108,76,241,0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-info .section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-info .section-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    flex: 1;
    justify-content: center;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 1.25rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-detail:hover {
    border-color: rgba(108, 76, 241, 0.25);
    background: var(--bg-white);
    box-shadow: 0 4px 16px rgba(108, 76, 241, 0.07);
    transform: translateX(4px);
}

.detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--brand-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(108, 76, 241, 0.3);
    flex-shrink: 0;
}

.detail-icon i {
    width: 20px;
    height: 20px;
}

.contact-detail h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0;
    transition: color 0.2s ease;
}

.contact-detail a:hover {
    color: var(--primary);
}

/* Bottom social strip in left column */
.contact-social-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.contact-social-strip span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.contact-social-strip .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.contact-social-strip .social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 76, 241, 0.3);
}

.contact-social-strip .social-link svg {
    width: 16px;
    height: 16px;
}

.contact-form-container {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(108, 76, 241, 0.06);
    border: 1.5px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: var(--radius) var(--radius) 0 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-heading);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 76, 241, 0.1);
}

/* --- 9. Footer --- */
.footer {
    background: #1A1A1A;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-text {
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #FFFFFF;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* --- Micro-interactions & Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {

    .hero-container,
    .features-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .logo-img {
        height: 60px;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        transition: var(--transition);
    }

    .mobile-menu-btn.active {
        transform: rotate(90deg);
        color: var(--accent);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        padding: 2rem;
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 1000;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-links a {
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .process-connector {
        display: none;
    }

    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form-container {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 3rem 1.25rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .faq-question {
        padding: 1.25rem 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .section-spacing {
        padding: 60px 0;
    }

    .contact-detail {
        padding: 1rem;
        gap: 1rem;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }

    .detail-icon i {
        width: 18px;
        height: 18px;
    }

    .contact-detail h4 {
        font-size: 0.75rem;
    }

    .contact-detail p,
    .contact-detail a {
        font-size: 0.875rem;
        word-break: break-word;
    }

    .contact-info .section-title {
        font-size: 1.75rem;
    }
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: #FFF;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}