﻿/* 
 * Global Stylesheet
 * Digital Marketing & Growth Agency
 * MODERNIZED: Outfit Font, Gradient Interactions, Glassmorphism
 */
/* @import moved to HTML head for performance */

:root {
    /* Colors - Modern Tech Palette */
    --bg-light: #f4f7f6;
    --bg-dark: #050505;
    /* True Black */
    --text-dark: #0a0a0a;
    --text-light: #ffffff;

    /* Vibrant Gradients */
    --primary: #3b82f6;
    /* Bright Blue */
    --primary-hover: #2563eb;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --primary-gradient-hover: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --accent: #f43f5e;
    /* Rose */
    --accent-gradient: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    --accent-glow: rgba(59, 130, 246, 0.5);
    --success: #10b981;
    --warning: #f59e0b;

    /* Enhanced Gradients for Modern UI */
    --gradient-blue-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-pink-orange: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-green-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    --border-light: rgba(0, 0, 0, 0.05);
    --border-dark: rgba(255, 255, 255, 0.1);

    --card-bg: #ffffff;
    --card-bg-dark: #0f0f0f;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-dark-bg: rgba(0, 0, 0, 0.3);

    /* Spacing - Mobile First */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 4rem;

    /* Typography */
    --font-main: 'Outfit', 'Poppins', system-ui, -apple-system, sans-serif;
    /* Prefer Outfit if available, fallback to system fonts */
    --text-base: 1rem;
    --line-height-base: 1.6;
    --line-height-heading: 1.2;

    /* Headings - Mobile First (smaller defaults) */
    --h1: 2.25rem;
    --h2: 1.875rem;
    --h3: 1.5rem;
    --h4: 1.25rem;

    /* Layout */
    --container-width: 1280px;
    --header-height: 70px;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;

    /* Animation Timing Functions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* Performance Optimized Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.2);
}

/* Tablet & Desktop Scaling - Mobile First Approach */
@media (min-width: 640px) {
    :root {
        --h1: 3rem;
        --h2: 2.25rem;
        --h3: 1.75rem;
        --space-sm: 1.5rem;
        --space-md: 2rem;
        --space-lg: 3.5rem;
        --text-base: 1.05rem;
    }
}

@media (min-width: 768px) {
    :root {
        --h1: 3.5rem;
        --h2: 2.5rem;
        --h3: 1.875rem;
        --space-md: 2.5rem;
        --space-lg: 4rem;
        --space-xl: 5rem;
        --header-height: 80px;
        --text-base: 1.0625rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --h1: 4rem;
        --h2: 3rem;
        --space-lg: 5rem;
        --space-xl: 6rem;
        --text-base: 1.1rem;
    }
}

@media (min-width: 1280px) {
    :root {
        --h1: 4.5rem;
        --h2: 3.25rem;
        --space-xl: 7rem;
    }
}

/* Touch Target Enforcement */
button,
a.btn,
.nav-link,
.social-item {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    /* Use browser default, typically 16px */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* Prevent font scaling in landscape */
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: var(--line-height-base);
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
    /* Prevent breaking on very small screens */
    text-rendering: optimizeLegibility;
    font-display: swap;
    /* Ensure text remains visible during webfont load */

    /* Performance: Set initial viewport height for mobile */
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

img,
svg {
    height: auto;

    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
    border: none;
    background: none;
}

/* Modern Heading Styles - Mobile First */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: var(--line-height-heading);
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 0.5em;
    color: inherit;
}

h1 {
    font-size: var(--h1);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--h2);
    font-weight: 700;
}

h3 {
    font-size: var(--h3);
    font-weight: 600;
}

h4 {
    font-size: var(--h4);
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Paragraph spacing */
p {
    margin-top: 0;
    margin-bottom: 1em;
    line-height: var(--line-height-base);
}

p:last-child {
    margin-bottom: 0;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Text Gradient Utility */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grids */
.grid .card:nth-child(2) {
    transition-delay: 0.1s;
}

.grid .card:nth-child(3) {
    transition-delay: 0.2s;
}

.grid .card:nth-child(4) {
    transition-delay: 0.3s;
}

/* Feature Grid Utility - Converts Lists to Grids */
ul.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem !important;
}

ul.feature-list li {
    background: rgba(0, 0, 0, 0.03);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 3px solid var(--primary);
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

ul.feature-list li:hover {
    transform: translateX(5px);
    background: rgba(40, 113, 250, 0.08);
}

/* Dark mode adjustment for feature list */
.section-dark ul.feature-list li,
.media-content ul.feature-list[style*="color: #ccc"] li {
    background: rgba(255, 255, 255, 0.05);
    color: #eee;
}

.section-dark ul.feature-list li:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section {
    padding: var(--space-xl) 0;
}

.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Header & Navigation - Glassmorphism */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    color: var(--text-light);
    height: var(--header-height) !important;
    min-height: var(--header-height) !important;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.is-scrolled {
    background-color: rgba(18, 18, 18, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin-right: auto;
    /* Force Left Align */
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 80px !important;
    /* Mobile Default */
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo-img {
        height: 100px;
    }
}

@media (min-width: 1024px) {
    .logo-img {
        height: 90px;
    }
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
    padding: 10px 0;
    display: inline-block;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--primary);
}

/* Mega Menu (Desktop) */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 90vw;
    background-color: #1a1a1a;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: var(--space-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

/* Show on hover for desktop */
@media (min-width: 1025px) {
    .nav-item {
        position: relative;
    }

    .nav-item:hover .mega-menu {
        display: block;
    }
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.mega-menu-col h4 {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 5px;
}

.mega-menu-col ul li {
    margin-bottom: 8px;
}

.mega-menu-col a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.1s;
    display: block;
    padding: 2px 0;
}

.mega-menu-col a:hover {
    color: #fff;
    text-decoration: none;
    padding-left: 5px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 30px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
}

/* Fixed Hero Section (LOCKED STRUCTURE) */
/* Fixed Hero Section (Split Bottom Layout) */
/* Fixed Hero Section (Split Bottom Layout) */
.hero {
    position: relative;
    min-height: 100vh;
    /* Restored full height impact */
    display: flex;
    align-items: center;
    /* Changed from flex-end to center */
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
    padding-bottom: var(--space-xl);
    /* Spacing from bottom */
    padding-top: 80px;
    /* Header space */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    opacity: 0.4;
    object-position: center 35%;
    transition: object-fit 0.3s ease;
}

/* Default cover behavior (for Google/Meta Ads) */
.hero-background img:not(.fit-contain) {
    object-fit: cover;
}

/* Responsive behavior for other services */
.fit-contain {
    object-fit: contain;
}

@media (max-width: 768px) {
    .fit-contain {
        object-fit: cover;
        transform: scale(0.75);
        /* Further reduce size to match Google Ads */
        transform-origin: 100% 35%;
        /* Shift focus max left */
        object-position: 100% 35%;
        /* Shift image max left */
    }
}

.hero>.container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /* Changed from flex-end to center */
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem 4rem;
    align-items: end;
    /* Bottom align grid items */
}

/* Mobile Stack */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text,
    .hero-cta,
    .hero-content>.btn {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

.hero-tag {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    grid-column: 1;
    grid-row: 1;
    /* Top Left */
    justify-self: start;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    /* Responsive Huge Font */
    line-height: 1.1;
    margin-bottom: 0;
    font-weight: 500;
    /* Perplexity uses somewhat lighter weight */
    grid-column: 1;
    grid-row: 2;
    /* Bottom Left */
    max-width: 90%;
}

/* Typewriter Stability Fix */
.txt-type {
    display: block;
    min-height: 2.2em;
    /* Reserve space for 2 lines to prevent jumping */
}

.txt {
    border-right: 0.05em solid var(--primary);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary);
    }

    100% {
        border-color: transparent;
    }
}

.hero-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
    grid-column: 2;
    grid-row: 1;
    /* Top Right (Above button) */
    align-self: end;
}

/* Target both container and direct link buttons */
.hero-cta,
.hero-content>.btn {
    grid-column: 2;
    grid-row: 2;
    /* Bottom Right */
    justify-self: start;
    align-self: end;
}

/* Buttons */
/* Buttons - Creative & Attractive */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Primary Button: Gradient & Glow */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00c6ff 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(40, 113, 250, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00c6ff 0%, var(--primary) 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(40, 113, 250, 0.6);
    border-color: transparent;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Secondary Button: Glassmorphism */
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

/* Legacy/Alternate override if needed */
.btn-solid {
    background-color: var(--primary);
    color: white;
}


/* Grid System - Mobile First */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive gap adjustments */
@media (min-width: 768px) {

    .grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        gap: var(--space-lg);
    }
}

/* Services/Cards Grid - Mobile First */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

@media (min-width: 640px) {
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-lg);
    }
}

@media (min-width: 768px) {
    .service-grid {
        margin-top: var(--space-xl);
    }
}

/* Cards - Highly Visual & Interactive - Mobile First */
.card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: transform 0.4s var(--ease-out-expo),
        box-shadow 0.4s var(--ease-out-expo),
        border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;

    /* Performance optimization */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Larger padding on desktop */
@media (min-width: 768px) {
    .card {
        padding: 2.5rem 2rem;
    }
}

.section-dark .card {
    background: rgba(255, 255, 255, 0.03);
    /* Glass-like fill */
    border-color: var(--border-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hover effects - Desktop only */
@media (hover: hover) {
    .card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary);
    }

    .section-dark .card:hover {
        background: rgba(255, 255, 255, 0.06);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        border-color: rgba(59, 130, 246, 0.6);
    }
}

/* Touch feedback - Mobile */
@media (hover: none) {
    .card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Shimmer gradient overlay on hover */
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

@media (hover: hover) {
    .card:hover::before {
        opacity: 1;
        transform: translate(30%, 30%);
    }
}

/* Glow effect overlay */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

@media (hover: hover) {
    .card:hover::after {
        opacity: 0.08;
    }
}

.card>* {
    position: relative;
    z-index: 2;
}

.card-icon {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: inline-block;
    padding: 10px;
    background: #f0f4ff;
    border-radius: 12px;
}

.section-dark .card-icon {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.section-dark .card-text {
    color: #aaa;
}

.card-link {
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.section-dark .card-link {
    color: #fff;
}

.card-link:hover {
    gap: 10px;
    color: var(--primary-hover);
}

/* SVG Icons */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.icon-lg {
    width: 48px;
    height: 48px;
}

/* Media & Alternating Layouts */
.media-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.media-block.reversed {
    direction: rtl;
    /* Quick way to flip columns, need to reset text direction in children */
}

.media-block.reversed>* {
    direction: ltr;
}

.media-content h2 {
    font-size: var(--h2);
    margin-bottom: var(--space-sm);
}

.media-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: var(--space-md);
}

.section-dark .media-content p {
    color: #aaa;
}

.media-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #ddd;
    /* Placeholder */
    border-radius: var(--radius);
    object-fit: cover;
}

/* Mobile Responsive - Media Block */
@media (max-width: 768px) {
    .media-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .media-block.reversed {
        direction: ltr;
    }

    .media-image {
        min-height: 250px;
    }
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.footer-col h4 {
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-dark);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* 
 * Styles for Injected Middle Search Bar 
 */

/* Container to center it in the available space */
.header-search-middle {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin: 0 var(--space-md);
}

.pill-search-form {
    position: relative;
    width: 100%;
    max-width: 400px;
    /* Constrain width like a pill */
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    /* Full pill shape */
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.pill-search-form:hover,
.pill-search-form:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(40, 113, 250, 0.3);
}

/* Scrolled State for Search Bar (Darker bg) */
.site-header.is-scrolled .pill-search-form {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.site-header.is-scrolled .pill-search-form:hover,
.site-header.is-scrolled .pill-search-form:focus-within {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

#globalSearchInput {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 5px 0;
    outline: none;
}

#globalSearchInput::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.pill-search-form button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.pill-search-form button:hover {
    color: var(--primary);
}

.search-icon-svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px;
}

/* Visibility Control for Old Search Icon */
/* Hide on Desktop (>1024px) where Middle Search exists */
@media (min-width: 1025px) {
    .desktop-only-hidden {
        display: none !important;
    }
}

/* Navigation Container Fix */
.nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* Prevent crushing */
}


/* Search Results Dropdown */
.search-results-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 1100;
    border: 1px solid var(--border-light);
}

.section-dark .search-results-dropdown,
.site-header.is-scrolled .search-results-dropdown {
    background-color: #1a1a1a;
    border-color: var(--border-dark);
}

.search-result-item {
    border-bottom: 1px solid var(--border-light);
}

.section-dark .search-result-item {
    border-color: var(--border-dark);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: background 0.2s;
}

.section-dark .search-result-item a,
.site-header.is-scrolled .search-result-item a {
    color: var(--text-light);
}

.search-result-item a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.section-dark .search-result-item a:hover,
.site-header.is-scrolled .search-result-item a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.search-no-result {
    padding: 15px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .header-search-middle {
        display: none;
        /* Hide middle search on mobile, default to menu or overlay */
    }

    /* We might need to un-hide the toggle btn on mobile if we want fallback,
       but for now we focus on Desktop "Middle" request. */
}


/* Responsive Breakpoints */
@media (max-width: 1024px) {
    :root {
        --h1: 3rem;
        --h2: 2rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --h1: 2.25rem;
        --h2: 1.75rem;
        --space-xl: 4rem;
    }

    .mobile-toggle {
        display: flex;
        margin-left: auto;
        /* Push to right in .nav flex container */
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: var(--space-md);
        border-bottom: 1px solid var(--border-dark);
        overflow-y: auto;
        max-height: 80vh;
    }

    .mega-menu {
        position: static;
        display: none;
        width: 100%;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        border: none;
        padding: 0;
        padding-left: var(--space-md);
        margin-top: 10px;
    }

    .mega-menu.is-visible {
        display: block;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .nav-item {
        width: 100%;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .media-block,
    .media-block.reversed {
        grid-template-columns: 1fr;
        direction: ltr;
        /* Reset direction for mobile stacking */
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 
 * ===================================
 * MODERN FAQ ACCORDION DESIGN
 * ===================================
 */

/* FAQ Layout Container */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* FAQ Intro Sidebar */
.faq-intro {
    position: sticky;
    top: 100px;
}

.faq-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #5a9fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FAQ Accordion Container */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Individual Accordion Item (Modern Card Design) */
.accordion-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.accordion-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.12);
    transform: translateY(-2px);
}

/* Accordion Header (Question Button) */
.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header:hover {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05) 0%, rgba(66, 133, 244, 0.02) 100%);
}

.accordion-header[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.08) 0%, rgba(66, 133, 244, 0.04) 100%);
    border-bottom: 1px solid #e8e8e8;
}

/* Question Title */
.accordion-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    flex: 1;
}

/* Plus/Minus Icon */
.accordion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-icon::before {
    content: '+';
    font-weight: 300;
    line-height: 1;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(135deg);
    background: #1a73e8;
}

/* Answer Content Container */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header[aria-expanded="true"]+.accordion-content {
    max-height: 500px;
}

/* Answer Body (Inner Padding) */
.accordion-body {
    padding: 0 2rem 1.5rem 2rem;
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.7;
}

.accordion-body p {
    margin-bottom: 0.75rem;
}

.accordion-body strong {
    color: #1a1a1a;
}

/* Mobile Responsive Tweaks */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1.25rem 1.5rem;
    }

    .accordion-title {
        font-size: 1rem;
    }

    .accordion-body {
        padding: 0 1.5rem 1.25rem 1.5rem;
        font-size: 0.95rem;
    }

    .accordion-icon {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }
}

/* Dark Section Variant */
.section-dark .accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .accordion-item:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.section-dark .accordion-title {
    color: #ffffff;
}

.section-dark .accordion-body {
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .accordion-header[aria-expanded="true"] {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Typewriter Effect */
.txt-type>.txt {
    border-right: 0.1em solid #fff;
    padding-right: 5px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: #fff;
    }

    100% {
        border-color: transparent;
    }
}

/* 
 * Universal Social Media Icons 
 * (Injected Request)
 */
:root {
    --social-size: 44px;
    /* Button width/height */
    --social-icon-size: 20px;
    /* SVG size */
    --social-gap: 12px;
    /* Space between icons */
    --social-radius: 12px;
    /* Corner rounding */
    --social-bg: rgba(255, 255, 255, 0.05);
    /* Default state background */
    --social-border: rgba(255, 255, 255, 0.1);
    --social-text: #a3a3a3;
    /* Default icon color */
}

/* Container */
.social-container {
    display: flex;
    gap: var(--social-gap);
    flex-wrap: wrap;
    padding: 10px 0;
    /* Adjusted padding to align better in footer */
    justify-content: flex-start;
    /* Left align for footer */
    align-items: center;
    margin-top: 1rem;
}

/* Base Button */
.social-item {
    width: var(--social-size);
    height: var(--social-size);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--social-radius);
    background: var(--social-bg);
    border: 1px solid var(--social-border);
    color: var(--social-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-item svg {
    width: var(--social-icon-size);
    height: var(--social-icon-size);
    fill: currentColor;
    z-index: 2;
}

/* Hover Lift Effect */
.social-item:hover {
    transform: translateY(-4px);
    color: #ffffff !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Brand Specific Colors */
.social-item.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
}

.social-item.x-twitter:hover {
    background-color: #000000;
    border-color: #333333;
}

.social-item.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: #d6249f;
}

.social-item.linkedin:hover {
    background-color: #0A66C2;
    border-color: #0A66C2;
}

.social-item.telegram:hover {
    background-color: #0088cc;
    border-color: #0088cc;
}

.social-item.pinterest:hover {
    background-color: #E60023;
    border-color: #E60023;
}

.social-item.threads:hover {
    background-color: #000000;
    border-color: #444444;
}

.social-item.whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
}

.social-item.email:hover {
    background-color: #EA4335;
    border-color: #EA4335;
}

/* Global Engagement Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--bg-light);
    width: 90%;
    max-width: 500px;
    padding: var(--space-md);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid var(--border-light);
}

.section-dark .popup-modal {
    background-color: #1a1a1a;
    border-color: var(--border-dark);
}

.popup-overlay.show {
    display: block;
    opacity: 1;
}

.popup-modal.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

.popup-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.popup-text {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.popup-modal .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Mobile CTA Fixes */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 600px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1.25rem;
        /* Increased spacing */
    }

    .cta-group .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 0;
        /* let gap handle spacing */
    }

    /* Global mobile button tweak */
    .btn {
        padding: 14px 24px;
        /* Slightly larger touch target */
        font-size: 1rem;
    }
}

/* Social Icons Container Fix */
.social-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* 
 * Responsive Text Alignment 
 * Mobile/Tablet: Left
 * Desktop: Justify
 */
.article-content p,
.card p,
.hero-text,
.intro-text,
.section-description,
section p {
    text-align: left;
}

@media (min-width: 1024px) {

    .article-content p,
    .card p,
    .hero-text,
    .intro-text,
    .section-description,
    section p {
        text-align: justify;
    }
}

/* 
 * =========================================
 * Modern Animation & UX Polish
 * =========================================
 */

/* 1. Smooth Reveal Animations (GPU Accelerated) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
    content-visibility: auto;
    visibility: hidden;
    /* Prevent FOUC */
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Directional Variants */
.reveal-left {
    transform: translateX(-30px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal.visible.reveal-left {
    transform: translateX(0);
}

.reveal.visible.reveal-scale {
    transform: scale(1);
}

/* Staggered Delays (for grids) */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* 2. Navigation Hover: Underline Slide */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: translateX(-101%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    transform: translateX(0);
}

/* 3. Card Depth & Lift */
.card,
.service-card,
.feature-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover,
.service-card:hover,
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 4. Reading Optimization */
.article-content {
    max-width: 70ch;
    /* Optimal line length */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* 5. Mobile Adjustments */
@media (max-width: 768px) {
    .reveal {
        transform: translateY(15px);
        /* Reduced movement on mobile */
        transition-duration: 0.6s;
    }

    /* Mobile Text Cards for Readability */
    .media-content,
    .section-description {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(5px);
        padding: var(--space-md);
        border-radius: var(--radius);
        margin-bottom: var(--space-md);
        border: 1px solid var(--border-light);
    }

    .section-dark .media-content {
        background: rgba(255, 255, 255, 0.03);
        border-color: var(--border-dark);
    }
}

/* 6. Hover Guard: Interactions for Mouse Users Only */
@media (hover: hover) {

    .card:hover,
    .service-card:hover,
    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .nav-link:hover::after {
        transform: translateX(0);
    }
}

/* Disable sticky hover effects on touch */
@media (hover: none) {

    .card:active,
    .service-card:active {
        transform: scale(0.98);
        /* Tactile feedback instead */
    }
}

/* 7. Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}

/* --- Linear Process Flow (Horizontal Layout) --- */
/* --- Process Flow Section (How We Work) --- */

/* Container */
.process-flow {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Individual Step Item */
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
    /* Fixed width for alignment */
    position: relative;
    z-index: 2;
}

/* Icon Box (Blue Square) */
.process-icon-box {
    width: 80px;
    height: 80px;
    background-color: #1a73e8;
    /* Explicit Blue */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .process-icon-box {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(26, 115, 232, 0.5);
}

.process-icon-box svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 2px;
}

/* Text Styling */
.process-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.process-desc {
    font-size: 0.9rem;
    color: #cccccc;
    /* Light gray for dark bg */
    line-height: 1.4;
    max-width: 140px;
}

/* Connectors (Arrows) - Removed per user request */
/* Desktop Only */
@media (min-width: 901px) {
    /* Arrow removed */
}

/* Mobile Layout */
@media (max-width: 900px) {
    .process-flow {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }

    .process-step {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .process-icon-box {
        margin-bottom: 0;
        /* Reset margin for row layout */
        flex-shrink: 0;
    }

    .process-step .process-title {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .process-step .process-desc {
        max-width: 100%;
        text-align: left;
    }

    /* Vertical Arrow for Mobile - Removed */
}



/* --- Process Accordion Section (Interactive Journey) --- */
.process-section {
    position: relative;
    background-color: var(--bg-dark);
    overflow: hidden;
    padding: var(--space-xl) 0;
    min-height: 800px;
}

.process-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 8px rgba(40, 113, 250, 0.6);
    opacity: 0;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

.process-header {
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
}

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.process-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.process-badge-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
}

/* Accordion Container */
.process-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 800px;
    /* Mobile height */
    position: relative;
    z-index: 10;
    transition: all 1s ease;
}

@media (min-width: 1024px) {
    .process-container {
        flex-direction: row;
        height: 600px;
    }
}

/* Step Card */
.step-card {
    position: relative;
    border-radius: 2rem;
    cursor: pointer;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    /* Collapsed state */
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s, border-color 0.3s;
    backdrop-filter: blur(4px);
}

.step-card.active {
    flex: 4;
    /* Expanded state */
    background: #111;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.step-card:hover:not(.active) {
    background: rgba(30, 30, 30, 0.6);
    flex: 1.2;
}

/* Progress Bar */
.step-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 20;
    display: none;
}

.step-card.active .step-progress-track {
    display: block;
}

.step-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--primary);
    box-shadow: 0 0 15px rgba(40, 113, 250, 0.8);
    transition: width 0.05s linear;
}

/* Inactive Content (Vertical Label on Desktop) */
.step-inactive-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.step-card.active .step-inactive-content {
    opacity: 0;
    pointer-events: none;
}

.step-inactive-id {
    font-size: 1.25rem;
    font-weight: 700;
    color: #666;
}

.step-inactive-icon {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.3s ease;
}

.step-card:hover .step-inactive-icon {
    transform: scale(1.1);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.step-inactive-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #666;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Active Content */
.step-active-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.1s;
}

.step-card.active .step-active-content {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .step-active-content {
        padding: 3rem;
    }
}

.step-watermark {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-icon-active {
    width: 64px;
    height: 64px;
    border-radius: 1.5rem;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-meta {
    display: flex;
    flex-direction: column;
}

.step-label {
    font-family: monospace;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.step-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

@media (min-width: 768px) {
    .step-title {
        font-size: 3rem;
    }
}

.step-body {
    margin-top: auto;
    border-left: 4px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
}

.step-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #aaa;
    max-width: 600px;
    margin-bottom: 2rem;
}

.step-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 0;
}

.step-next-btn:hover {
    color: #fff;
}

.step-next-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
}

.step-next-btn:hover .step-next-icon {
    background: #fff;
    color: #000;
}

/* Controls */
.process-controls {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.auto-play-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    transition: all 0.3s;
}

.auto-play-btn.active {
    background: rgba(40, 113, 250, 0.1);
    border-color: rgba(40, 113, 250, 0.2);
    color: var(--primary);
}

.nav-arrows {
    display: flex;
    gap: 1rem;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-arrow:hover:not(:disabled) {
    background: #fff;
    color: #000;
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Mobile Tweaks */
@media (max-width: 1023px) {
    .step-inactive-content {
        flex-direction: row;
        /* Horizontal on mobile when collapsed */
        justify-content: flex-start;
        padding-left: 2rem;
    }

    .step-inactive-title {
        writing-mode: horizontal-tb;
        /* Horizontal text */
        transform: none;
    }

    .step-active-content {
        padding: 1.5rem;
        overflow-y: auto;
        /* Allow scrolling if content is tall */
    }

    .step-watermark {
        font-size: 6rem;
        bottom: -1rem;
        right: -1rem;
    }

    .step-title {
        font-size: 1.75rem;
    }

    .process-container {
        height: auto;
        /* Let it grow */
        min-height: 800px;
    }

    .step-card {
        min-height: 80px;
        /* Collapsed height */
    }

    .step-card.active {
        min-height: 500px;
        flex: auto;
        /* Take needed space */
    }
}

/* Contact Icons Widget */
:root {
    --footer-bg: rgba(255, 255, 255, 0.05);
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-text: #a3a3a3;
    --wa-hover: #25D366;
    --gm-hover: #EA4335;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#contact-icons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

#contact-icons .circle-icon {
    display: flex;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--footer-bg);
    border: 1px solid var(--footer-border);
    color: var(--footer-text);
    text-decoration: none;
    box-shadow: var(--shadow);
    overflow: hidden;
    white-space: nowrap;
    justify-content: flex-end;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

#contact-icons .icon-wrap {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

#contact-icons .label {
    opacity: 0;
    margin-right: 15px;
    font-size: 14px;
    font-weight: 500;
    transform: translateX(10px);
    transition: all 0.3s ease;
    order: -1;
}

/* --- Creative Cards Section (Glassmorphism & Neon) --- */
.creative-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.creative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.creative-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(66, 133, 244, 0.3);
    /* Primary Blue hint */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(66, 133, 244, 0.1);
}

.creative-card:hover::before {
    opacity: 0.1;
}

/* Icon Container with Glow */
.creative-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(66, 133, 244, 0.1);
    color: #4285F4;
    /* Primary Blue */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    z-index: 1;
}

.creative-card:hover .icon-box {
    background: #4285F4;
    color: #fff;
    box-shadow: 0 0 25px rgba(66, 133, 244, 0.5);
    transform: rotateY(180deg);
}

.creative-card:hover .icon-box i {
    transform: rotateY(-180deg);
    /* Counter-rotate icon to keep it facing forward */
    transition: transform 0.4s ease;
}

.creative-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    z-index: 1;
    transition: color 0.3s ease;
}

.creative-card:hover h3 {
    color: #4285F4;
}

.creative-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    z-index: 1;
    transition: color 0.3s ease;
}

.creative-card:hover p {
    color: #ddd;
}
/* --- HYBRID THEME OVERRIDES --- */
.section-light, .theme-light { color: #0a0a0a !important; }
.section-light h2, .section-light h3, .section-light h4, .section-light p, .section-light li, .theme-light h2, .theme-light h3, .theme-light h4, .theme-light p, .theme-light li { color: #0a0a0a !important; }
.section-light .card, .theme-light .card { background-color: #fafcff !important; border-color: rgba(0,0,0,0.05) !important; box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important; }
.section-light .card h3, .theme-light .card h3 { color: #1a1a1a !important; }
.section-light .card p, .theme-light .card p { color: #555555 !important; }
.site-header.is-scrolled { background-color: rgba(5,5,5,0.85) !important; }
.site-footer { background-color: #050505 !important; }
.hero { background-color: #050505 !important; }

/* --- THEME-DARK OVERRIDES --- */
.section-dark, .theme-dark { color: #ffffff !important; }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark p, .section-dark li, .theme-dark h2, .theme-dark h3, .theme-dark h4, .theme-dark p, .theme-dark li { color: #ffffff !important; }
.section-dark .accordion-title, .theme-dark .accordion-title { color: #ffffff !important; }
.section-light .accordion-title, .theme-light .accordion-title { color: #1a1a1a !important; }
