/* Near Gateway Agency - Complete Enhanced CSS */
/* Version 2.3 - October 2025 */
/* Google Ads Policy Compliant */

/* ========== CSS Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== CSS Variables ========== */
:root {
    /* Colors */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #EC4899;
    --accent: #14B8A6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --dark: #1F2937;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Base Styles ========== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: var(--space-sm);
    color: var(--gray);
    line-height: 1.8;
}

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

a:hover {
    color: var(--primary-dark);
}

/* ========== Container ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
}

/* ========== 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(-10px); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.8; 
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== Cookie Banner ========== */
/* ========== Enhanced Cookie Banner with Preferences ========== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 600px;
    background: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(20px);
    color: var(--white);
    padding: 0;
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    padding: var(--space-lg);
}

.cookie-header {
    margin-bottom: var(--space-md);
}

.cookie-header h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.cookie-header p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Cookie Preferences Section */
.cookie-preferences {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    max-height: 300px;
    overflow-y: auto;
}

.cookie-preferences::-webkit-scrollbar {
    width: 6px;
}

.cookie-preferences::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.cookie-preferences::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.cookie-preferences::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.cookie-category {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
}

.cookie-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cookie-info h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.cookie-badge {
    background: rgba(99, 102, 241, 0.3);
    color: #A5B4FC;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
    padding-left: 60px;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    cursor: pointer;
}

.cookie-toggle.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .toggle-slider {
    background-color: var(--primary);
}

.cookie-toggle input:focus + .toggle-slider {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

.cookie-toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle.disabled .toggle-slider {
    background-color: rgba(99, 102, 241, 0.5) !important;
}

/* Cookie Actions */
.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.cookie-actions button {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
}

.cookie-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.cookie-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.cookie-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-actions .btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-actions .btn-reject:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* Cookie Footer Links */
.cookie-footer {
    text-align: center;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.cookie-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

.cookie-footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.cookie-footer .separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 var(--space-xs);
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        width: calc(100% - 20px);
        bottom: 10px;
        max-width: none;
    }
    
    .cookie-content {
        padding: var(--space-md);
    }
    
    .cookie-preferences {
        max-height: 200px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions button {
        width: 100%;
    }
    
    .cookie-description {
        padding-left: 0;
        margin-top: var(--space-xs);
    }
}

@media (max-width: 480px) {
    .cookie-header h3 {
        font-size: 1.125rem;
    }
    
    .cookie-header p {
        font-size: 0.875rem;
    }
    
    .cookie-info h4 {
        font-size: 0.9375rem;
    }
    
    .cookie-description {
        font-size: 0.8125rem;
    }
    
    .cookie-actions button {
        padding: 10px 14px;
        font-size: 0.875rem;
    }
}

/* Animation for Cookie Banner */
@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(150%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.cookie-banner.show {
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Compact Mode Option */
.cookie-banner.compact .cookie-preferences {
    display: none;
}

.cookie-banner.compact .cookie-header p {
    margin-bottom: var(--space-md);
}

/* Dark/Light theme support */
@media (prefers-color-scheme: light) {
    .cookie-banner.light-theme {
        background: rgba(255, 255, 255, 0.98);
        color: var(--dark);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .cookie-banner.light-theme .cookie-header h3,
    .cookie-banner.light-theme .cookie-info h4 {
        color: var(--dark);
    }
    
    .cookie-banner.light-theme .cookie-header p,
    .cookie-banner.light-theme .cookie-description {
        color: var(--gray);
    }
    
    .cookie-banner.light-theme .cookie-preferences {
        background: var(--light-gray);
    }
    
    .cookie-banner.light-theme .toggle-slider {
        background-color: #D1D5DB;
    }
    
    .cookie-banner.light-theme .toggle-slider:before {
        background-color: var(--white);
    }
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--gray);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

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

.btn-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    display: block;
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: var(--space-md);
    color: var(--white);
    font-size: 0.9rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-md);
    color: var(--white);
    line-height: 1.1;
}

.text-gradient {
    display: block;
    background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    margin-top: 10px;
}

.hero-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ========== Trust Indicators ========== */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== Sections ========== */
section {
    padding: var(--space-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Client Logos ========== */
.client-logos {
    padding: var(--space-lg) 0;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.client-intro {
    text-align: center;
    color: var(--gray);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.logos-marquee {
    overflow: hidden;
}

.logos-track {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.client-logo {
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

/* ========== Services Section ========== */
.services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

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

.service-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.badge-featured {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.service-icon svg {
    color: var(--white);
    width: 32px;
    height: 32px;
}

.service-features {
    list-style: none;
    margin: var(--space-md) 0;
    padding: 0;
}

.service-features li {
    padding: var(--space-xs) 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: var(--space-sm);
}

/* ========== Portfolio Section ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.portfolio-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

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

.portfolio-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.portfolio-image svg {
    width: 100%;
    height: 100%;
    display: block;
}

.portfolio-image::after {
    content: 'View Project →';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-image::after {
    opacity: 1;
}

.portfolio-content {
    padding: var(--space-md);
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.portfolio-results {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: var(--success);
    font-weight: 600;
}

.portfolio-cta {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--light-gray);
}

.portfolio-cta p {
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
}

/* ========== Process Section ========== */
.process {
    background: var(--white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    position: relative;
}

.process-step {
    text-align: center;
    padding: var(--space-lg);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
}

.process-list {
    list-style: none;
    margin-top: var(--space-md);
    text-align: left;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.process-list li {
    padding: 4px 0;
    color: var(--gray);
    padding-left: 20px;
    position: relative;
}

.process-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ========== About Section ========== */
.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.certifications {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.stat-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.stat-card p {
    margin: 0;
    color: var(--gray);
}

/* ========== Testimonials Section ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.stars {
    color: #FFA500;
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.testimonial-card p {
    margin-bottom: var(--space-md);
    font-style: italic;
    color: var(--gray);
    line-height: 1.8;
}

.testimonial-author {
    display: block;
    margin-top: var(--space-md);
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.875rem;
}

/* ========== CTA Section ========== */
.cta-section {
    background: var(--gradient-primary);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ========== Contact Section ========== */
.contact {
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
}

.contact-info h3 {
    margin-bottom: var(--space-md);
    color: var(--dark);
}

.contact-info p {
    margin-bottom: var(--space-lg);
}

.contact-details {
    margin: var(--space-lg) 0;
}

.contact-item {
    margin-bottom: var(--space-md);
}

.contact-item strong {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--dark);
}

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

.contact-item span {
    color: var(--gray);
}

.business-hours {
    padding: var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    margin-top: var(--space-lg);
}

.business-hours strong {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--dark);
}

.business-hours p {
    margin: 0;
    color: var(--gray);
}

.contact-form {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

/* ========== Simplified Footer ========== */
.footer {
    background: linear-gradient(180deg, #1F2937 0%, #111827 100%);
    color: var(--white);
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.5), 
        rgba(236, 72, 153, 0.5), 
        transparent
    );
    background-size: 200% 100%;
    animation: gradientShift 5s ease infinite;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Footer Column 1: Brand */
.footer-column:first-child {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
}

.footer-logo:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-logo svg {
    width: 28px;
    height: 28px;
}

.footer-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 36px;
}

/* Footer Column 2: Quick Links */
.footer-column:nth-child(2) {
    display: flex;
    justify-content: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.footer-links li {
    position: relative;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

/* Footer Column 3: Contact Info */
.footer-column:last-child {
    display: flex;
    justify-content: flex-end;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

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

.footer-contact .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* ========== Utility Classes ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== Notifications ========== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--white);
    color: var(--dark);
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
    max-width: 300px;
    border-left: 4px solid var(--primary);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: var(--success);
}

.notification-error {
    border-left-color: var(--danger);
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
        justify-content: center;
    }
    
    .footer-contact {
        justify-content: center;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-lg);
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .text-gradient {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: scale(1);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .footer-column:first-child {
        align-items: center;
    }
    
    .footer-tagline {
        margin-left: 0;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-column:last-child {
        justify-content: center;
    }
    
    .footer-contact {
        justify-content: center;
        text-align: center;
    }
    
    .footer-contact .separator {
        display: none;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .text-gradient {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .footer {
        padding: var(--space-md) 0 var(--space-sm);
    }
    
    .footer-logo {
        font-size: 1rem;
    }
    
    .footer-logo svg {
        width: 24px;
        height: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .footer-links a {
        font-size: 0.875rem;
    }
    
    .footer-contact {
        font-size: 0.8125rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* ========== Print Styles ========== */
@media print {
    .navbar,
    .cookie-banner,
    .footer,
    .btn,
    .mobile-menu-toggle,
    .client-logos,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
        background: none;
        color: var(--dark);
    }
    
    .hero-title,
    .text-gradient {
        color: var(--dark);
        -webkit-text-fill-color: var(--dark);
    }
}

/* ========== Accessibility ========== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== Focus Styles ========== */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========== Loading Animation ========== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

/* End of Complete CSS */