/* Font Definitions - Latinka Style */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.service-card h3,
.portfolio-overlay h3,
.result-header h3,
.step-content h3,
.member-info h3,
.cta-section .section-title,
.faq-question h3,
.footer-brand h3 {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700; /* Bold for titles */
}

/* Subtitle fonts - keep Inter for subtitles and body text */
.hero-subtitle,
.section-subtitle,
p, span, div, a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* CSS Custom Properties - Enhanced Color Scheme */
:root {
    --primary-blue: #1e40af;
    --accent-blue: #2563eb;
    --light-blue: #3b82f6;
    --blue-accent: #3b82f6;
    --blue-light: #60a5fa;
    --blue-dark: #1d4ed8;
    --pure-white: #ffffff;
    --matte-black: #0f172a;
    --dark-gray: #1e293b;
    --medium-gray: #334155;
    --light-gray: #f8fafc;
    --text-gray: #64748b;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    --gradient-secondary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-surface: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 8px 25px rgba(59, 130, 246, 0.2);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(203, 213, 225, 0.2);
    --section-border: rgba(248, 250, 252, 0.1);
}

/* Light Mode Variables */
body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --section-border: rgba(15, 23, 42, 0.1);
}

/* Light mode specific styles */
body.light-mode .hero {
    background: var(--bg-primary) !important;
}

body.light-mode .hero-title,
body.light-mode .section-title,
body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4, body.light-mode h5, body.light-mode h6 {
    color: var(--text-primary) !important;
}

body.light-mode .hero-subtitle,
body.light-mode .section-subtitle,
body.light-mode p {
    color: var(--text-secondary) !important;
}

body.light-mode .nav-link {
    color: var(--text-primary) !important;
}

body.light-mode .contact-bar-item span,
body.light-mode .strategy-text {
    color: var(--text-primary) !important;
}

/* Hero section light mode fixes */
body.light-mode .hero-title .white-text {
    color: var(--text-primary) !important;
}

body.light-mode .hero-title .gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color) !important;
}

body.light-mode .btn-primary {
    background: var(--primary-color) !important;
    color: var(--pure-white) !important;
    border: 2px solid var(--primary-color) !important;
}

body.light-mode .btn-outline {
    background: transparent;
    color: var(--text-primary) !important;
    border: 2px solid var(--text-primary);
}

body.light-mode .btn-outline:hover {
    background: var(--text-primary);
    color: var(--pure-white) !important;
}

/* Specific fix for hero section buttons */
body.light-mode .hero-buttons .btn-primary,
body.light-mode .hero .btn-primary {
    background: var(--gradient-primary) !important;
    color: var(--pure-white) !important;
    border: none !important;
}

body.light-mode .partners-text {
    color: var(--text-secondary) !important;
}

body.light-mode .hero-logo img {
    filter: none !important;
}

/* Light mode hero background elements */
body.light-mode .hero-gradient {
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

body.light-mode .hero-dots {
    opacity: 0.05;
    background-image: radial-gradient(circle, var(--primary-blue) 1px, transparent 1px);
}

body.light-mode .partners-logos img {
    filter: grayscale(100%) brightness(0.3) !important;
}

body.light-mode .partners-logos img:hover {
    filter: none !important;
}

/* Light mode contact bar and strategy button fixes */
body.light-mode .contact-bar-button {
    background: var(--gradient-primary) !important;
    color: var(--pure-white) !important;
    border: none !important;
}

body.light-mode .strategy-submit-btn {
    background: var(--gradient-primary) !important;
    color: var(--pure-white) !important;
    border: none !important;
}

/* Light mode form fixes */
body.light-mode .form-field label {
    color: var(--text-primary) !important;
}

body.light-mode .form-field input,
body.light-mode .form-field textarea,
body.light-mode .form-field select {
    background: var(--pure-white) !important;
    color: var(--text-primary) !important;
    border: 2px solid var(--border-color) !important;
}

body.light-mode .form-field input::placeholder,
body.light-mode .form-field textarea::placeholder {
    color: var(--text-muted) !important;
}

body.light-mode .submit-button {
    background: var(--gradient-primary);
    color: var(--pure-white) !important;
}

/* Light mode footer fixes */
body.light-mode .footer {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color) !important;
}

body.light-mode .footer-logo {
    filter: invert(1) brightness(0) !important;
}

body.light-mode .footer-brand h3,
body.light-mode .footer-links h4,
body.light-mode .footer-social h4 {
    color: var(--text-primary) !important;
}

body.light-mode .footer-brand p,
body.light-mode .footer-links a,
body.light-mode .footer-bottom p {
    color: var(--text-secondary) !important;
}

body.light-mode .footer-links a:hover {
    color: var(--primary-color) !important;
}

body.light-mode .social-link {
    color: var(--text-secondary) !important;
}

body.light-mode .social-link:hover {
    color: var(--primary-color) !important;
}

/* Light mode CTA buttons fix */
body.light-mode .cta-button.primary,
body.light-mode .cta-buttons a.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--pure-white) !important;
}

body.light-mode .cta-button.secondary,
body.light-mode .cta-buttons a.cta-button.secondary {
    background: transparent;
    color: var(--text-primary) !important;
    border: 2px solid var(--text-primary);
}

body.light-mode .cta-button.secondary:hover,
body.light-mode .cta-buttons a.cta-button.secondary:hover {
    background: var(--text-primary);
    color: var(--pure-white) !important;
}

/* Light mode view more button fix */
body.light-mode .view-more-btn {
    background: var(--gradient-primary);
    color: var(--pure-white) !important;
}

/* Light mode navigation brand text fix */
body.light-mode .brand-text {
    color: var(--text-primary) !important;
}

/* Light mode language selector fixes */
body.light-mode .language-select {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border: 2px solid var(--border-color) !important;
}

body.light-mode .language-select:hover {
    background: var(--bg-tertiary) !important;
    border-color: var(--primary-color) !important;
}

body.light-mode .language-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

body.light-mode .language-select option {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

body.light-mode .mobile-language-select {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border: 2px solid var(--border-color) !important;
}

body.light-mode .mobile-language-select:hover {
    background: var(--bg-tertiary) !important;
    border-color: var(--primary-color) !important;
}

body.light-mode .mobile-language-select option {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Additional light mode fixes for remaining elements */
body.light-mode .contact-bar-item {
    color: var(--text-primary) !important;
}

body.light-mode .contact-bar {
    background: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

body.light-mode .strategy-email-input {
    background: var(--pure-white) !important;
    color: var(--text-primary) !important;
    border: 2px solid var(--border-color) !important;
}

body.light-mode .strategy-email-input::placeholder {
    color: var(--text-muted) !important;
}

/* Light mode service cards */
body.light-mode .service-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

body.light-mode .service-card h3 {
    color: var(--text-primary) !important;
}

body.light-mode .service-card p {
    color: var(--text-secondary) !important;
}

/* Light mode portfolio filters */
body.light-mode .filter-btn {
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

body.light-mode .filter-btn.active,
body.light-mode .filter-btn:hover {
    background: var(--primary-color) !important;
    color: var(--pure-white) !important;
}

/* Light mode testimonial cards */
body.light-mode .testimonial-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

/* Light mode team cards */
body.light-mode .team-member {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

body.light-mode .member-role {
    color: var(--text-muted) !important;
}

body.light-mode .member-bio {
    color: var(--text-secondary) !important;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    font-display: swap; /* Ensure text remains visible during font load */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    /* Digibiz instant theme switching - no transition delays */
    transition: none;
    overflow-x: hidden;
    /* Optimize rendering performance */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pure-white);
    margin: 0;
    letter-spacing: 0.1em;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand img {
    display: none; /* Hide logo in header on desktop */
}

.nav-brand img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    border-color: var(--pure-white);
}

.brand-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--light-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-translator {
    display: flex;
    align-items: center;
}

.language-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.5rem;
    min-width: 120px;
}

.language-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.2);
}

.language-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem;
}



/* Mobile Language Selector (hidden on desktop) */
.mobile-language-selector {
    display: none;
}

.mobile-language-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.3rem center;
    background-repeat: no-repeat;
    background-size: 0.8rem;
    padding-right: 1.8rem;
    min-width: 60px;
}

.mobile-language-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-language-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.digibiz-theme-toggle,
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    /* Instant response - no transition */
    transition: none;
    font-size: 1.2rem;
}

.digibiz-theme-toggle:hover,
.theme-toggle:hover {
    border-color: var(--light-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #3644AF;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(54, 68, 175, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(54, 68, 175, 0.15) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
}

.hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: dotsMove 30s linear infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: none; /* Hidden on desktop */
}

.hero-logo {
    margin-bottom: 1rem;
    text-align: left;
    display: block;
    margin-left: -0.5rem; /* Position above the "T" */
}

.hero-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make logo white */
    display: block;
    max-width: 100%;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 10;
}

.gradient-text {
    color: white !important;
    font-weight: 700;
    display: block !important;
    visibility: visible !important;
}

.white-text {
    color: white !important;
    font-weight: 700;
    display: block !important;
    visibility: visible !important;
}



.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    text-align: center;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--pure-white);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.1);
}

/* Hide mobile cards on desktop */
.mobile-cards {
    display: none;
}

/* YouTube video - hidden on desktop, shown on mobile */
.mobile-youtube-video {
    display: none !important;
}

/* Desktop-specific rule to ensure YouTube video is never shown */
@media (min-width: 769px) {
    .mobile-youtube-video {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

/* Show YouTube video on mobile */
@media (max-width: 768px) {
    .mobile-youtube-video {
        display: block !important;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 1.5rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        position: relative;
    }

    .youtube-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        overflow: hidden;
        border-radius: 12px;
    }

    .youtube-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 12px;
    }
}

/* Typewriter Effect */
.typewriter-cursor {
    animation: blink 1s infinite;
    color: var(--light-blue);
    font-weight: 400;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typewriter-content {
    border-right: none;
}

/* Scroll-triggered animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity; /* Optimize for mobile performance */
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

.scroll-animate-fade {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.scroll-animate-fade.animate-in {
    opacity: 1;
}

/* Staggered animations for groups */
.scroll-animate-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate-stagger.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for staggered effect */
.scroll-animate-stagger:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate-stagger:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate-stagger:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate-stagger:nth-child(4) { transition-delay: 0.4s; }
.scroll-animate-stagger:nth-child(5) { transition-delay: 0.5s; }
.scroll-animate-stagger:nth-child(6) { transition-delay: 0.6s; }

/* Mobile-specific animation optimizations */
@media (max-width: 768px) {
    .scroll-animate,
    .scroll-animate-left,
    .scroll-animate-right,
    .scroll-animate-scale,
    .scroll-animate-stagger {
        transition-duration: 0.6s; /* Faster animations on mobile */
    }
    
    .scroll-animate-stagger:nth-child(1) { transition-delay: 0.05s; }
    .scroll-animate-stagger:nth-child(2) { transition-delay: 0.1s; }
    .scroll-animate-stagger:nth-child(3) { transition-delay: 0.15s; }
    .scroll-animate-stagger:nth-child(4) { transition-delay: 0.2s; }
    .scroll-animate-stagger:nth-child(5) { transition-delay: 0.25s; }
    .scroll-animate-stagger:nth-child(6) { transition-delay: 0.3s; }
    
    /* Mobile font size adjustments */
    .section-title {
        font-size: 1.8rem !important; /* Smaller than desktop */
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important; /* Smaller subtitle */
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .service-card h3,
    .portfolio-overlay h3,
    .result-header h3,
    .step-content h3,
    .member-info h3,
    .testimonial-card h4,
    .faq-question h3 {
        font-size: 1.1rem !important; /* Smaller card titles */
        line-height: 1.4;
    }
    
    .cta-section .section-title {
        font-size: 1.9rem !important; /* Slightly larger for CTA */
    }
    
    /* Hero title mobile adjustment */
    .hero-title {
        font-size: 2.2rem !important; /* Smaller hero title on mobile */
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important; /* Smaller hero subtitle */
        line-height: 1.6;
        }
    

 
  
}



/* Animated Results Charts */
.bar-chart .bar {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-chart .bar.before {
    transition-delay: 0.2s;
}

.bar-chart .bar.after {
    transition-delay: 0.8s;
}

.result-card.animate-in .bar-chart .bar {
    transform: scaleY(1);
}

/* Animated line chart */
.growth-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card.animate-in .growth-line {
    stroke-dashoffset: 0;
}

.data-point {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card.animate-in .data-point:nth-child(3) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 0.4s; 
}
.result-card.animate-in .data-point:nth-child(4) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 0.6s; 
}
.result-card.animate-in .data-point:nth-child(5) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 0.8s; 
}
.result-card.animate-in .data-point:nth-child(6) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 1.0s; 
}
.result-card.animate-in .data-point:nth-child(7) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 1.2s; 
}

/* Animated revenue chart */
.revenue-area {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.revenue-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card.animate-in .revenue-area {
    opacity: 1;
    transition-delay: 1s;
}

.result-card.animate-in .revenue-line {
    stroke-dashoffset: 0;
}

.revenue-point {
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card.animate-in .revenue-point:nth-child(4) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 0.5s; 
}
.result-card.animate-in .revenue-point:nth-child(5) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 0.7s; 
}
.result-card.animate-in .revenue-point:nth-child(6) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 0.9s; 
}
.result-card.animate-in .revenue-point:nth-child(7) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 1.1s; 
}
.result-card.animate-in .revenue-point:nth-child(8) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 1.3s; 
}
.result-card.animate-in .revenue-point:nth-child(9) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 1.5s; 
}
.result-card.animate-in .revenue-point:nth-child(10) { 
    opacity: 1; 
    transform: scale(1); 
    transition-delay: 1.7s; 
}

/* Percentage counter animation */
.result-percentage {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card.animate-in .result-percentage {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.3s;
}

/* MOBILE STICKY CONTACT BAR - Hidden on desktop, shown only on mobile */
.mobile-contact-bar {
    display: none !important; /* Completely hidden on all devices */
}

    .trusted-partners {
        margin-top: 2rem;
    }

    .partners-text {
        display: block;
        font-size: 0.875rem;
        color: var(--text-secondary);
        margin-bottom: 1rem;
    }

.partners-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.partners-logos img {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partners-logos img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.1);
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    width: 100%;
}

.hero-card {
    position: absolute;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.main-card {
    width: 320px;
    padding: 1.5rem;
    z-index: 4;
    animation: cardFloat 6s ease-in-out infinite;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.live {
    background: #00ff88;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric {
    text-align: center;
    padding: 0.75rem;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(30, 144, 255, 0.2);
    position: relative;
}

.metric-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.metric-change {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
}

.chart-bars {
    display: flex;
    gap: 0.4rem;
    align-items: end;
    height: 60px;
    margin-bottom: 0.75rem;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), #00bcd4);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-out;
    animation-fill-mode: both;
}

.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }
.bar:nth-child(6) { animation-delay: 0.6s; }

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.notification-card {
    width: 240px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: notificationSlide 8s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    right: -5%;
    animation-delay: 4s;
}

/* Desktop adjustments for better card visibility */
@media (min-width: 1200px) {
    .card-1 {
        left: -5%;
    }
    
    .card-2 {
        right: 0%;
        bottom: 30%;
    }
}

@media (min-width: 1400px) {
    .card-1 {
        left: 0%;
    }
    
    .card-2 {
        right: 5%;
        bottom: 35%;
    }
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-icon.success {
    background: rgba(0, 255, 136, 0.2);
}

.notification-icon.growth {
    background: rgba(30, 144, 255, 0.2);
}

.notification-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.notification-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.notification-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.stats-card {
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    padding: 1.25rem;
    z-index: 3;
    animation: statsFloat 8s ease-in-out infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(20px) translateY(-20px); }
}

@keyframes dotsMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(30px) translateY(30px); }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes notificationSlide {
    0%, 90%, 100% { transform: translateX(0) translateY(0); opacity: 0; }
    10%, 80% { opacity: 1; }
    45% { transform: translateX(20px) translateY(-10px); opacity: 1; }
}

@keyframes statsFloat {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

@keyframes barGrow {
    from { height: 0; }
    to { height: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}



.card-content h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.hero-graphics {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}



.graphic-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
    animation: pulse 4s ease-in-out infinite;
}

.graphic-circle.circle-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-image {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(38%) sepia(100%) saturate(1000%) hue-rotate(210deg) brightness(1.2) contrast(1.1);
}

.graphic-circle.circle-2 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    right: 40%;
    animation-delay: -2s;
}

.graphic-line {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: slide 3s ease-in-out infinite;
}

.graphic-line.line-1 {
    width: 80px;
    height: 2px;
    top: 25%;
    right: 30%;
    transform: rotate(45deg);
    animation-delay: -1s;
}

.graphic-line.line-2 {
    width: 60px;
    height: 2px;
    bottom: 25%;
    left: 15%;
    transform: rotate(-30deg);
    animation-delay: -3s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 1px;
    animation: scrollPulse 2s ease-in-out infinite;
}


/* Contact Bar */
.contact-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 3;
    display: none; /* Hidden on desktop */
}

.contact-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.contact-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.contact-bar-item svg {
    width: 18px;
    height: 18px;
    color: var(--light-blue);
}

.contact-bar-item span {
    white-space: nowrap;
}

.contact-bar-cta {
    margin-left: auto;
}

.contact-bar-button {
    background: var(--gradient-primary);
    color: var(--pure-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    white-space: nowrap;
}

.contact-bar-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Strategy signup form */
.strategy-signup {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.strategy-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.strategy-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.strategy-email-input {
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 0.875rem;
    width: 220px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.strategy-email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.2);
}

.strategy-email-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.strategy-submit-btn {
    padding: 0.6rem 0.8rem;
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    color: var(--pure-white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strategy-submit-btn:hover {
    background: rgba(30, 144, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.strategy-submit-btn svg {
    width: 16px;
    height: 16px;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--section-border);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
    background: var(--gradient-accent);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
    border-color: var(--blue-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--light-blue);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tech span {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--section-border);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    /* Instant response - no transition delays */
    transition: none;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--light-blue);
    color: var(--light-blue);
    background: rgba(59, 130, 246, 0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.portfolio-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-medium);
    filter: brightness(0.6);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
    filter: brightness(0.5);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    text-align: center;
}

.portfolio-placeholder h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(30, 58, 138, 0.95));
    color: var(--pure-white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Desktop-specific overlay improvements */
@media (min-width: 769px) {
    .portfolio-overlay {
        padding: 1rem;
        justify-content: center;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        line-height: 1.2;
        color: var(--pure-white);
    }
    
    .portfolio-overlay p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .project-tech {
        margin-bottom: 0.875rem;
        justify-content: center;
        gap: 0.375rem;
    }
    
    .project-tech span {
        padding: 0.2rem 0.5rem;
        border-radius: 10px;
        font-size: 0.7rem;
        font-weight: 500;
    }
    
    .project-actions {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .project-actions .view-project,
    .project-actions .case-study-btn {
        padding: 0.5rem 0.875rem !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        border-radius: 16px;
        min-width: 80px;
        text-align: center;
        transition: all 0.3s ease;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.8);
        background: transparent;
        color: var(--pure-white);
    }
    
    .project-actions .view-project:hover,
    .project-actions .case-study-btn:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 1);
        transform: translateY(-1px);
    }
    
    .project-actions .coming-soon {
        opacity: 0.7;
        cursor: default;
    }
    
    .project-actions .coming-soon:hover {
        background: transparent;
        transform: none;
    }
}

.portfolio-overlay h3 {
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.view-project {
    background: var(--gradient-primary);
    color: var(--pure-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.view-project:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Portfolio project technology tags */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Coming soon styling */
.view-project.coming-soon {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
    pointer-events: none;
}

/* Project actions container */
.project-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Case study button */
.case-study-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--pure-white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.case-study-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-primary);
    margin: 2% auto;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.75rem;
}

.modal-close {
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

.case-study-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
}

.case-study-content {
    display: grid;
    gap: 2rem;
}

.case-study-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.case-study-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-stack span {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Modal Mobile Styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 85vh;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .case-study-content {
        gap: 1.5rem;
    }

    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .case-study-btn,
    .view-project {
        text-align: center;
        width: 100%;
    }
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--section-border);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding-right: 2rem;
}

/* Contact details - shown on both desktop and mobile */
.mobile-contact-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.mobile-contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mobile-contact-details .mobile-cta-text {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
}

.mobile-contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.highlight-item span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Clean Contact Form Styles */
.digibiz-contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-field select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.5rem;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

/* Phone Field Styles */
.phone-field .phone-container {
    display: flex;
    gap: 0.5rem;
}

.country-code {
    flex: 0 0 100px;
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
}

.phone-container input {
    flex: 1;
}

/* Agreement Field Styles */
.agreement-field {
    margin: 2rem 0;
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.agreement-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.checkbox-custom {
    position: relative;
    width: 22px;
    height: 22px;
    background: #ffffff !important;
    border: 3px solid #666666 !important;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.agreement-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

.checkbox-custom::after {
    content: "✓";
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

.agreement-label input[type="checkbox"]:checked + .checkbox-custom::after {
    display: block;
}

.agreement-label:hover .checkbox-custom {
    border-color: #2563eb;
}

/* Submit Button */
.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Dark Mode Styles */
[data-digibiz-theme="dark"] .digibiz-contact-form,
[data-theme="dark"] .digibiz-contact-form {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field textarea,
[data-theme="dark"] .form-field select {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

[data-theme="dark"] .form-field select option {
    background: #000000;
    color: #ffffff;
}

[data-theme="dark"] .form-field input:focus,
[data-theme="dark"] .form-field textarea:focus,
[data-theme="dark"] .form-field select:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #2563eb;
}

[data-theme="dark"] .checkbox-custom {
    background: #2a2a2a !important;
    border-color: #999999 !important;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .agreement-label:hover .checkbox-custom {
    border-color: #2563eb;
}





/* Mobile Responsive */
@media (max-width: 768px) {
    .digibiz-contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .phone-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .country-code {
        flex: none;
    }
    
    .submit-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}



/* FAQ Section */
.faq-section {
    padding: 8rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--section-border);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--light-blue);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all var(--transition-medium);
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all var(--transition-medium);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--gradient-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-medium);
    background: var(--bg-primary);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Light mode FAQ fixes */
body.light-mode .faq-item {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

body.light-mode .faq-question:hover {
    background: var(--bg-tertiary) !important;
}

body.light-mode .faq-answer {
    background: var(--bg-primary) !important;
}

body.light-mode .faq-question h3 {
    color: var(--text-primary) !important;
}

body.light-mode .faq-answer p {
    color: var(--text-secondary) !important;
}

/* Mobile FAQ styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.75rem;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--light-blue);
}

.footer-social h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--light-blue);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.5);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes slide {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(10px);
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInPoint {
    to {
        opacity: 1;
    }
}

@keyframes fillCircle {
    to {
        stroke-dashoffset: 62.8;
    }
}

@keyframes drawRevenueLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInArea {
    to {
        opacity: 0.3;
    }
}

@keyframes subtleMove {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1) rotate(1deg);
        opacity: 0.5;
    }
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(30, 144, 255, 0.1);
        border-color: rgba(30, 144, 255, 0.3);
    }
    50% {
        box-shadow: 0 8px 32px rgba(30, 144, 255, 0.2);
        border-color: rgba(30, 144, 255, 0.5);
    }
}

@keyframes cardsSlideUp {
    0% { 
        opacity: 0;
        transform: translateY(30px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardsRiseUp {
    0% { 
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleSlideIn {
    0% { 
        opacity: 0;
        transform: translateY(30px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonsSlideIn {
    0% { 
        opacity: 0;
        transform: translateY(20px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes partnersSlideIn {
    0% { 
        opacity: 0;
        transform: translateY(15px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badgeFloat {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-3px);
    }
}

@keyframes badgeShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes cardFloatMobile {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg);
    }
    33% { 
        transform: translateY(-2px) rotateX(1deg);
    }
    66% { 
        transform: translateY(2px) rotateX(-1deg);
    }
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* WORLD-CLASS MOBILE HERO ANIMATIONS */
@keyframes heroBackgroundMove {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(1deg) scale(1.02); }
}

@keyframes statusBadgeGlow {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transform: translateY(0px);
    }
    50% { 
        box-shadow: 0 12px 40px rgba(255, 215, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
}

@keyframes pulseGlow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

@keyframes titleReveal {
    0% { 
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes subtitleSlideUp {
    0% { 
        opacity: 0;
        transform: translateY(30px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes impactCardsReveal {
    0% { 
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardRiseUp {
    0% { 
        opacity: 0;
        transform: translateY(60px) scale(0.8) rotateX(15deg);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-2px) rotate(1deg); }
    75% { transform: translateY(2px) rotate(-1deg); }
}

@keyframes pulseExpand {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.1;
    }
}

@keyframes ctaSectionReveal {
    0% { 
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes primaryCtaPulse {
    0%, 100% { 
        box-shadow: 
            0 12px 32px rgba(30, 144, 255, 0.25),
            0 6px 16px rgba(30, 144, 255, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 16px 40px rgba(30, 144, 255, 0.35),
            0 8px 20px rgba(30, 144, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

@keyframes ctaShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes partnersReveal {
    0% { 
        opacity: 0;
        transform: translateY(20px);
    }
    100% { 
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Results Section */
.results {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.result-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--light-blue);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.result-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0;
}

.result-percentage {
    background: var(--gradient-primary);
    color: var(--pure-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
}

.chart-container {
    height: 200px;
    position: relative;
}

/* Bar Chart */
.bar-chart {
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
}

.bar-group {
    display: flex;
    gap: 2rem;
    align-items: end;
}

.bar {
    width: 60px;
    background: var(--gradient-primary);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0.5rem;
}

.bar.before {
    background: var(--gradient-secondary);
    opacity: 0.7;
    height: 29%; /* 10K visitors */
}

.bar.after {
    background: var(--gradient-primary);
    height: 100%; /* 34.5K visitors - much taller to show the growth */
}

.bar-label {
    position: absolute;
    bottom: -25px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.bar-value {
    color: var(--pure-white);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Line Chart */
.line-chart {
    height: 100%;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: 80%;
}

.growth-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-in-out forwards;
}

.data-point {
    opacity: 0;
    animation: fadeInPoint 0.5s ease-in-out forwards;
}

.data-point:nth-child(3) { animation-delay: 0.5s; }
.data-point:nth-child(4) { animation-delay: 1s; }
.data-point:nth-child(5) { animation-delay: 1.5s; }
.data-point:nth-child(6) { animation-delay: 2s; }
.data-point:nth-child(7) { animation-delay: 2.5s; }

.chart-labels {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Revenue Chart */
.revenue-chart {
    height: 100%;
    position: relative;
}

.revenue-chart .chart-svg {
    width: 100%;
    height: 80%;
}

.revenue-area {
    opacity: 0;
    animation: fadeInArea 2s ease-in-out 0.5s forwards;
}

.revenue-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawRevenueLine 2s ease-in-out forwards;
}

.revenue-point {
    opacity: 0;
    animation: fadeInPoint 0.5s ease-in-out forwards;
}

.revenue-point:nth-child(4) { animation-delay: 0.5s; }
.revenue-point:nth-child(5) { animation-delay: 1s; }
.revenue-point:nth-child(6) { animation-delay: 1.5s; }
.revenue-point:nth-child(7) { animation-delay: 2s; }
.revenue-point:nth-child(8) { animation-delay: 2.5s; }
.revenue-point:nth-child(9) { animation-delay: 3s; }
.revenue-point:nth-child(10) { animation-delay: 3.5s; }

.revenue-chart .chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.revenue-values {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.revenue-start,
.revenue-current {
    text-align: center;
}

.revenue-amount {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.revenue-period {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* Pie Chart */
.pie-chart {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-chart {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.progress-circle {
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    animation: fillCircle 2s ease-in-out forwards;
    stroke-linecap: round;
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.pie-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pie-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Results Summary */
.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-medium);
}

.summary-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--light-blue);
}

.summary-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    flex-shrink: 0;
}

.summary-icon svg {
    width: 24px;
    height: 24px;
}

.summary-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.summary-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Companies Section */
.companies {
    padding: 8rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--section-border);
}

.companies .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.companies .section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    justify-items: center;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-medium);
    position: relative;
    width: 100%;
    min-height: 120px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.company-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--light-blue);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%) brightness(0.6) contrast(1.2);
    opacity: 0.9;
    transition: all var(--transition-medium);
    background: transparent;
}

.company-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1) contrast(1);
}

.industry-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--blue-accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.companies-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 16px rgba(64, 123, 255, 0.3);
    border: none;
    cursor: pointer;
    min-width: 160px;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 123, 255, 0.4);
    background: var(--gradient-accent);
}

.view-more-btn svg {
    transition: transform var(--transition-fast);
    width: 16px;
    height: 16px;
}

.view-more-btn:hover svg {
    transform: translateX(4px);
}

.logo-placeholder {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--section-border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-medium);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--light-blue);
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--light-blue);
    margin-bottom: 1rem;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Process Section */
.process {
    padding: 8rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--section-border);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

/* Hide timeline line on desktop only */
@media (min-width: 769px) {
    .process-timeline::before {
        display: none;
    }
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(odd) {
    flex-direction: row;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(odd) .step-content {
    padding-right: 3rem;
    text-align: right;
}

.process-step:nth-child(even) .step-content {
    padding-left: 3rem;
    text-align: left;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: var(--shadow-blue);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 8rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--section-border);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-medium);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--light-blue);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: border-color var(--transition-medium);
}

.team-member:hover .member-photo {
    border-color: var(--light-blue);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.photo-placeholder svg {
    width: 50px;
    height: 50px;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: var(--light-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.member-social .social-link:hover {
    background: var(--light-blue);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.member-social .social-link svg {
    width: 16px;
    height: 16px;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(10, 31, 58, 0.8) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section .section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-section .section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-medium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-buttons .cta-button.primary {
    background: var(--gradient-primary);
    color: var(--pure-white);
    border: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.cta-buttons .cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.cta-buttons .cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cta-buttons .cta-button.secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

/* Enhanced CTA Section Styling */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--light-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: badgeGlow 3s ease-in-out infinite;
}

.cta-badge .cta-icon {
    width: 18px;
    height: 18px;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-medium);
}

.cta-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--light-blue);
}

.cta-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--pure-white);
}

.cta-feature span {
    font-weight: 600;
    color: var(--text-primary);
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.cta-stat {
    text-align: center;
}

.cta-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--light-blue);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cta-buttons a.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.cta-buttons a.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--pure-white);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.cta-buttons a.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.cta-buttons a.cta-button.secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cta-buttons a.cta-button.secondary:hover {
    border-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.cta-buttons a.cta-button svg {
    width: 20px;
    height: 20px;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    position: relative;
}

.guarantee-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-badge svg {
    width: 30px;
    height: 30px;
    color: var(--pure-white);
}

.guarantee-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.guarantee-text p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design - COMPLETELY REBUILT MOBILE HERO */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0.5rem 1rem;
        max-width: 100%;
    }

    .nav-brand {
        z-index: 1001;
    }

    .nav-brand img {
        display: block; /* Show logo in header on mobile */
        height: 60px;
        width: auto;
        filter: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transform: translateX(0);
        transition: left var(--transition-medium);
        border: none;
        z-index: 999;
        justify-content: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    /* Hide desktop translator on mobile */
    .nav-translator {
        display: none;
    }

    /* Show mobile language selector on mobile */
    .mobile-language-selector {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 1rem;
    }

    /* CLEAN MOBILE HERO - Optimized for iPhone */
    .hero {
        padding: 6rem 0 4rem;
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        display: flex;
        align-items: center;
        text-align: left;
        position: relative;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .hero-content {
        order: 1;
        max-width: 100%;
        padding: 0 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        flex: 1;
    }

    .hero-visual {
        display: none;
    }

    .hero-badge {
        display: none; /* Hide badge on mobile for cleaner look */
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        text-align: left;
    }
    
    .hero-title .white-text {
        display: inline;
    }
    
    .hero-title .white-text::after {
        content: "";
        white-space: nowrap;
    }

    .gradient-text {
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    /* Hide hero subtitle on mobile */
    .hero-subtitle {
        display: none;
    }

    /* Show hero logo on mobile */
    .hero-logo {
        display: block;
        margin-bottom: 1rem;
        margin-left: -0.25rem; /* Position above the "T" on mobile */
    }

    .hero-logo img {
        height: 55px; /* Optimized for mobile */
        width: auto;
    }





    /* Hide desktop cards on mobile */
    .hero-visual {
        display: none !important;
    }

    /* MOBILE HERO BUTTONS - Clean Style */
    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 0.8rem;
        width: 100%;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .btn {
        flex: 1;
        min-width: 140px;
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 12px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        white-space: nowrap;
        text-align: center;
    }

    .btn-primary {
        background: var(--primary-color);
        color: white;
        border: 1px solid white;
    }

    .btn-primary:hover {
        background: rgba(30, 144, 255, 0.9);
        border-color: white;
        transform: translateY(-2px);
    }

    .btn-outline {
        background: transparent;
        color: white;
        border: 1px solid white;
        backdrop-filter: blur(10px);
    }

    .btn-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: white;
        color: white;
        transform: translateY(-2px);
    }

    /* MOBILE STICKY CONTACT BAR - HIDDEN */
    .mobile-contact-bar {
        display: none !important; /* Completely hidden */
    }

    .mobile-contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        color: white;
        text-decoration: none;
        padding: 0.5rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        min-width: 70px;
        text-align: center;
        position: relative;
    }

    .mobile-contact-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -35px;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 30px;
        background: rgba(255, 255, 255, 0.2);
    }

    .mobile-contact-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

    .mobile-contact-item svg {
        width: 24px;
        height: 24px;
        color: white;
    }

    .mobile-contact-item span {
        font-size: 0.75rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
    }

    .mobile-contact-item:hover span {
        color: white;
    }

    /* CLEAN PARTNERS SECTION */
    .trusted-partners {
        margin-top: 1rem;
        margin-bottom: 2rem; /* Reduced margin since no contact bar */
        text-align: left;
    }

    .partners-text {
        font-size: 0.875rem;
        color: var(--text-secondary);
        margin-bottom: 1rem;
        display: block;
    }

    .partners-logos {
        display: flex;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .partners-logos img {
        height: 24px;
        width: auto;
        filter: brightness(0) invert(1);
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    .partners-logos img:hover {
        opacity: 1;
        transform: scale(1.05);
    }



    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        padding-right: 0;
    }



    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Center footer elements on mobile */
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: none;
        text-align: center;
    }

    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .portfolio-filters {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        flex-direction: row !important;
        padding-left: 80px;
    }

    .process-step:nth-child(odd) .step-content,
    .process-step:nth-child(even) .step-content {
        padding-left: 1rem;
        padding-right: 0;
        text-align: left;
    }

    .step-number {
        position: absolute;
        left: 0;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .cta-button {
        width: 100%;
        max-width: 300px;
    }

    /* Enhanced CTA Mobile Styles */
    .cta-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .cta-feature {
        padding: 1rem;
    }

    .cta-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
        padding: 1.5rem;
    }

    .cta-stat-number {
        font-size: 2rem;
    }

    .cta-buttons a.cta-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .cta-guarantee {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .guarantee-badge {
        width: 50px;
        height: 50px;
    }

    .guarantee-badge svg {
        width: 24px;
        height: 24px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .results-summary {
        grid-template-columns: 1fr;
    }

    .floating-card {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-bottom: 1rem;
        animation: none;
    }

    .hero-visual {
        height: auto;
        padding: 2rem 0;
    }

    .floating-elements {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-graphics {
        display: none;
    }

    .contact-bar {
        display: none;
    }

    /* Reset bottom padding since no contact bar */
    .services, .portfolio, .contact, .footer {
        padding-bottom: 4rem !important; /* Original padding restored */
    }

    .bar-group {
        gap: 1rem;
    }

    .bar {
        width: 50px;
    }

    .chart-container {
        height: 150px;
    }

    .summary-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .services,
    .portfolio,
    .contact,
    .testimonials,
    .team,
    .process {
        padding: 4rem 0;
    }

    .stats {
        padding: 3rem 0;
    }

    .companies {
        padding: 4rem 0;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 2rem;
    }

    .companies-cta {
        margin-top: 2rem;
    }

    .view-more-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-width: 140px;
    }

    .company-logo {
        padding: 0 !important;
        min-height: 120px;
        position: relative;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .company-logo {
        height: 120px;
    }

    .company-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border: none !important;
        margin: 0 !important;
        padding: 10px !important;
        display: block !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .team-member {
        padding: 1.5rem;
    }

    .member-photo {
        width: 100px;
        height: 100px;
    }

    .process-step {
        padding-left: 70px;
        margin-bottom: 2rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .results {
        padding: 4rem 0;
    }

    .result-card {
        padding: 1.5rem;
    }

    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .chart-container {
        height: 120px;
    }

    .bar {
        width: 40px;
    }

    .bar-group {
        gap: 0.5rem;
    }

    .circular-chart {
        width: 80px;
        height: 80px;
    }

    .pie-value {
        font-size: 1.2rem;
    }

    .chart-labels {
        font-size: 0.7rem;
        padding: 0 10px;
    }

    .floating-card {
        padding: 1rem;
    }

    .card-content h4 {
        font-size: 0.9rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }

    .card-icon {
        width: 30px;
        height: 30px;
    }

    /* Additional mobile optimizations for hero and header */
    .nav-container {
        padding: 0.5rem 0.75rem;
    }

    .nav-brand img {
        height: 55px;
        width: auto;
    }

    .hero {
        padding: 4rem 0 2rem;
        min-height: 100vh;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-visual {
        height: auto;
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }



    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Hide ALL visual elements on small mobile */
    .main-card,
    .notification-card,
    .stats-card {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .contact-bar {
        display: none;
    }

    .partners-logos {
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 2rem;
    }

    .partners-logos img {
        height: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    /* Additional mobile company logo fixes for smaller screens */
    .company-logo {
        min-height: 100px !important;
        height: 100px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .company-logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .services,
    .portfolio,
    .contact {
        padding: 4rem 0;
    }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Portfolio filter - instant switching */
.portfolio-item {
    opacity: 1;
    transform: scale(1);
    /* Instant switching - no transitions */
    transition: none;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Initially hide non-website portfolio items to prevent flash */
.portfolio-item:not([data-category="web"]) {
    display: none;
}

/* Loading states */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Focus states for accessibility */
.cta-button:focus,
.filter-btn:focus,
.nav-link:focus,
.theme-toggle:focus {
    outline: 2px solid var(--light-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000;
    }
    
    body.dark-mode {
        --border-color: #FFFFFF;
        --text-secondary: #FFFFFF;
    }
}

/* Mobile Portfolio Auto-Reveal */
@media (max-width: 768px) {
    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.6) 100%
        );
        color: white;
        padding: 1rem;
        transform: translateY(0) !important;
        opacity: 0;
        transition: opacity 0.6s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        z-index: 10;
    }
    
    .portfolio-item.mobile-visible .portfolio-overlay {
        opacity: 1;
        animation: slideUpFade 0.6s ease forwards;
    }
    
    @keyframes slideUpFade {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .portfolio-overlay h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: white !important;
        font-weight: 600;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }
    
    .portfolio-overlay p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        color: rgba(255, 255, 255, 0.9) !important;
        line-height: 1.3;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    }
    
    .project-tech {
        margin-bottom: 0.75rem !important;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    
    .project-tech span {
        background: rgba(59, 130, 246, 0.8) !important;
        color: white !important;
        padding: 0.3rem 0.6rem;
        border-radius: 20px;
        font-size: 0.7rem;
        border: 1px solid rgba(255, 255, 255, 0.4);
        font-weight: 500;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
    }
    
    .project-actions {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .view-project, .case-study-btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.7rem !important;
        font-weight: 500 !important;
        border-radius: 16px;
        min-width: 80px;
        text-align: center;
        transition: all 0.3s ease;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .view-project {
        background: transparent !important;
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.8) !important;
    }
    
    .view-project:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 1) !important;
        transform: translateY(-1px);
    }
    
    .case-study-btn {
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.8) !important;
        color: white !important;
    }
    
    .case-study-btn:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 1) !important;
        transform: translateY(-1px);
    }
    
    .portfolio-item {
        margin-bottom: 2rem;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
    }
    
    .portfolio-image {
        height: 280px !important;
        position: relative;
    }
    
    .portfolio-image img {
        filter: brightness(0.6) !important;
        transition: filter 0.3s ease;
    }
    
    .portfolio-item.mobile-visible .portfolio-image img {
        filter: brightness(0.4) !important;
    }
}

/* Performance Optimizations */
/* Reduce motion for users who prefer 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;
    }
}

/* Optimize rendering for better performance */
.hero-visual,
.portfolio-item,
.service-card,
.hero-card {
    contain: layout style paint;
}

/* GPU acceleration for better performance */
.btn,
.filter-btn,
.theme-toggle,
.portfolio-item,
.service-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize images for performance */
img {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

/* iPhone and iOS specific optimizations */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* iPhone specific viewport adjustments - Override general mobile styles */
@media only screen 
  and (device-width : 375px) 
  and (device-height : 812px) 
  and (-webkit-device-pixel-ratio : 3) {
    /* iPhone X/XS specific */
    .hero {
        padding: 8rem 0 6rem !important;
        min-height: 120vh !important;
        min-height: 120dvh !important;
    }
    
    .hero-content {
        padding: 2rem 1.5rem !important;
        min-height: 85vh !important;
        justify-content: space-evenly !important;
    }
    
    .hero-title {
        font-size: 2.6rem !important;
        line-height: 1.1 !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-logo {
        margin-bottom: 1.5rem !important;
    }
    
    .hero-logo img {
        height: 65px !important;
    }
    
    .hero-buttons {
        margin-bottom: 3rem !important;
        gap: 1rem !important;
    }
    
    .btn {
        min-width: 150px !important;
        padding: 1.2rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .trusted-partners {
        margin-top: 3rem !important;
    }
    
    .partners-text {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .partners-logos {
        gap: 2.5rem !important;
    }
    
    .partners-logos img {
        height: 32px !important;
    }
}

@media only screen 
  and (device-width : 414px) 
  and (device-height : 896px) 
  and (-webkit-device-pixel-ratio : 3) {
    /* iPhone XS Max/11 Pro Max specific */
    .hero {
        padding: 8rem 0 6rem !important;
        min-height: 120vh !important;
        min-height: 120dvh !important;
    }
    
    .hero-content {
        padding: 2rem 1.5rem !important;
        min-height: 85vh !important;
        justify-content: space-evenly !important;
    }
    
    .hero-title {
        font-size: 2.8rem !important;
        line-height: 1.1 !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-logo {
        margin-bottom: 1.5rem !important;
    }
    
    .hero-logo img {
        height: 70px !important;
    }
    
    .hero-buttons {
        margin-bottom: 3rem !important;
        gap: 1rem !important;
    }
    
    .btn {
        min-width: 160px !important;
        padding: 1.2rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .trusted-partners {
        margin-top: 3rem !important;
    }
    
    .partners-text {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .partners-logos {
        gap: 2.5rem !important;
    }
    
    .partners-logos img {
        height: 32px !important;
    }
}

/* Additional iPhone models */
@media only screen 
  and (device-width : 390px) 
  and (device-height : 844px) 
  and (-webkit-device-pixel-ratio : 3) {
    /* iPhone 12/13/14 specific */
    .hero {
        padding: 8rem 0 6rem !important;
        min-height: 120vh !important;
        min-height: 120dvh !important;
    }
    
    .hero-content {
        padding: 2rem 1.5rem !important;
        min-height: 85vh !important;
        justify-content: space-evenly !important;
    }
    
    .hero-title {
        font-size: 2.7rem !important;
        line-height: 1.1 !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-logo {
        margin-bottom: 1.5rem !important;
    }
    
    .hero-logo img {
        height: 68px !important;
    }
    
    .hero-buttons {
        margin-bottom: 3rem !important;
        gap: 1rem !important;
    }
    
    .btn {
        min-width: 155px !important;
        padding: 1.2rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .trusted-partners {
        margin-top: 3rem !important;
    }
    
    .partners-text {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .partners-logos {
        gap: 2.5rem !important;
    }
    
    .partners-logos img {
        height: 32px !important;
    }
}

@media only screen 
  and (device-width : 428px) 
  and (device-height : 926px) 
  and (-webkit-device-pixel-ratio : 3) {
    /* iPhone 12 Pro Max/13 Pro Max/14 Plus specific */
    .hero {
        padding: 8rem 0 6rem !important;
        min-height: 120vh !important;
        min-height: 120dvh !important;
    }
    
    .hero-content {
        padding: 2rem 1.5rem !important;
        min-height: 85vh !important;
        justify-content: space-evenly !important;
    }
    
    .hero-title {
        font-size: 2.9rem !important;
        line-height: 1.1 !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-logo {
        margin-bottom: 1.5rem !important;
    }
    
    .hero-logo img {
        height: 72px !important;
    }
    
    .hero-buttons {
        margin-bottom: 3rem !important;
        gap: 1rem !important;
    }
    
    .btn {
        min-width: 165px !important;
        padding: 1.2rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .trusted-partners {
        margin-top: 3rem !important;
    }
    
    .partners-text {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .partners-logos {
        gap: 2.5rem !important;
    }
    
    .partners-logos img {
        height: 32px !important;
    }
}

/* ========================================
   DIGIBIZ PREMIUM AGENCY THEME - END
   Developed by Digibiz Digital Agency
   Website: https://digibiz.uk
   ======================================== */

@media (min-width: 769px) {
  /* Hide the stats card on desktop */
  .stats-card {
    display: none !important;
  }
  
  body.dark-mode .main-card,
  body.dark-mode .notification-card {
    background: #fff !important;
    color: #1e293b !important;
    box-shadow: 0 8px 32px rgba(30,40,60,0.10);
    border: 1px solid var(--border-color);
  }
  body.dark-mode .main-card .card-title,
  body.dark-mode .main-card .card-status,
  body.dark-mode .main-card .metric-label,
  body.dark-mode .main-card .metric-value,
  body.dark-mode .main-card .metric-change,
  body.dark-mode .main-card .chart-labels,
  body.dark-mode .notification-card .notification-title,
  body.dark-mode .notification-card .notification-subtitle,
  body.dark-mode .notification-card .notification-time {
    color: #1e293b !important;
  }
  body.dark-mode .main-card .metric {
    background: rgba(30, 144, 255, 0.06);
    border: 1px solid #e2e8f0;
  }
  body.dark-mode .main-card .chart-container {
    background: rgba(30, 144, 255, 0.03);
  }
}




