/* =================================================================
   IT ALBANIA - ADVANCED STYLES WITH LOGO COLORS & ANIMATIONS
   Colors inspired by the logo and Albanian flag
   ================================================================= */

/* ===== CSS VARIABLES ===== */
:root {
    /* Logo-inspired Colors */
    --primary-blue: #0052CC;
    --primary-blue-dark: #003D99;
    --primary-blue-light: #0066FF;

    --crimson-red: #DC143C;
    --albanian-red: #E31B23;
    --red-dark: #A01023;

    --vibrant-orange: #FF6B35;
    --sunset-orange: #F7931E;

    --golden-yellow: #FDB714;
    --bright-yellow: #FFC107;

    --fresh-green: #86BC25;
    --lime-green: #7CB342;

    --deep-black: #1a1a1a;
    --charcoal: #2d2d2d;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--crimson-red) 100%);
    --gradient-vibrant: linear-gradient(135deg, var(--vibrant-orange) 0%, var(--crimson-red) 50%, var(--primary-blue) 100%);
    --gradient-warm: linear-gradient(135deg, var(--sunset-orange) 0%, var(--golden-yellow) 100%);
    --gradient-cool: linear-gradient(135deg, var(--primary-blue) 0%, var(--fresh-green) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, var(--crimson-red) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Orbitron', monospace;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    --shadow-glow-blue: 0 0 30px rgba(0, 82, 204, 0.4);
    --shadow-glow-red: 0 0 30px rgba(220, 20, 60, 0.4);
    --shadow-glow-orange: 0 0 30px rgba(255, 107, 53, 0.4);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ===== DARK MODE VARIABLES ===== */
@media (prefers-color-scheme: dark) {
    :root {
        /* Dark mode color overrides */
        --white: #0f1419;
        --gray-50: #1a1f28;
        --gray-100: #242b37;
        --gray-200: #2d3748;
        --gray-300: #4a5568;
        --gray-400: #718096;
        --gray-500: #a0aec0;
        --gray-600: #cbd5e0;
        --gray-700: #e2e8f0;
        --gray-800: #edf2f7;
        --gray-900: #f7fafc;

        --text-primary: #f7fafc;
        --text-secondary: #e2e8f0;

        /* Adjusted shadows for dark mode */
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);

        /* Enhance glow effects in dark mode */
        --shadow-glow-blue: 0 0 40px rgba(0, 82, 204, 0.6);
        --shadow-glow-red: 0 0 40px rgba(220, 20, 60, 0.6);
        --shadow-glow-orange: 0 0 40px rgba(255, 107, 53, 0.6);
    }

    body {
        background: #0f1419 !important;
        color: #f7fafc !important;
    }

    .navbar {
        background: rgba(15, 20, 25, 0.95) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        color: #e2e8f0 !important;
    }

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

    .logo-text,
    .logo-highlight {
        color: #f7fafc !important;
    }

    .service-card,
    .portfolio-card,
    .info-card-modern,
    .contact-form-modern,
    .modal-content {
        background: #1a1f28 !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .service-title,
    .portfolio-title,
    .info-title,
    h1, h2, h3, h4, h5, h6 {
        color: #f7fafc !important;
    }

    .service-description,
    .portfolio-description,
    .info-description,
    p {
        color: #d1d5db !important;
    }

    .badge-text {
        color: #e2e8f0 !important;
    }

    .form-group-modern input,
    .form-group-modern textarea,
    .form-group-modern select {
        background: #242b37;
        border-color: rgba(255, 255, 255, 0.1);
        color: #f7fafc;
    }

    .form-group-modern input:focus,
    .form-group-modern textarea:focus,
    .form-group-modern select:focus {
        background: #2d3748;
        border-color: var(--primary-blue);
    }

    .hero-badge-large {
        background: linear-gradient(135deg, rgba(26, 31, 40, 0.95) 0%, rgba(36, 43, 55, 0.98) 100%);
        border: 2px solid rgba(255, 255, 255, 0.15);
        box-shadow: var(--shadow-xl), 0 0 50px rgba(0, 82, 204, 0.3);
    }

    .hero-badge-large:hover {
        box-shadow: var(--shadow-xl), 0 0 70px rgba(220, 20, 60, 0.4);
    }

    .section-title,
    .section-subtitle {
        color: #f7fafc !important;
    }

    .tech-item {
        background: #1a1f28 !important;
        color: #e2e8f0 !important;
    }

    .footer {
        background: #0f1419 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-title {
        color: #f7fafc !important;
    }

    .footer-link {
        color: #d1d5db !important;
    }

    .footer-link:hover {
        color: var(--primary-blue-light) !important;
    }

    .copyright {
        color: #a0aec0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-info-item {
        color: #e2e8f0 !important;
    }

    .mobile-menu-btn {
        color: #f7fafc !important;
    }

    .nav-menu {
        background: #1a1f28 !important;
    }

    .dropdown-menu {
        background: #1a1f28 !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-item {
        color: #e2e8f0 !important;
    }

    .dropdown-item:hover {
        background: #242b37 !important;
    }

    .tools-section {
        background: #0f1419 !important;
    }

    .tool-container,
    .blog-card {
        background: #1a1f28 !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tool-header h3,
    .blog-content h4 {
        color: #f7fafc !important;
    }

    .tool-header p,
    .blog-content p {
        color: #cbd5e0 !important;
    }

    .tool-input {
        background: #242b37 !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        color: #f7fafc !important;
    }

    .tool-results {
        background: #242b37 !important;
        border-left-color: var(--primary-blue-light) !important;
    }

    .color-preview {
        border-color: rgba(255, 255, 255, 0.2) !important;
    }
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.gradient-text {
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--gray-100) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 800;
    transition: transform var(--transition-base);
}

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

.logo-image {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 82, 204, 0.3));
    animation: logo-float 3s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-title {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: #ffffff;
    font-weight: 700;
}

.logo-country {
    color: var(--crimson-red);
    font-weight: 700;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

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

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

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

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

/* ===== DROPDOWN MENU ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 250px;
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary-blue);
    transform: translateX(4px);
}

.dropdown-item svg {
    flex-shrink: 0;
    color: var(--primary-blue);
}

.nav-cta {
    padding: 0.5rem 1.5rem !important;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow-blue);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-xl);
}

.hero-particles,
.hero-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-glow {
    background: radial-gradient(circle at 30% 50%, rgba(0, 82, 204, 0.1), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(220, 20, 60, 0.1), transparent 50%);
    animation: glow-pulse 10s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(220, 20, 60, 0.1));
    border: 1px solid rgba(0, 82, 204, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-icon {
    font-size: 1.25rem;
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-display);
}

.title-line {
    display: block;
}

.text-cycle {
    display: inline-block;
    min-width: 300px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-glow {
    /* Removed pulsing animation for minimalist design */
}

@keyframes glow-button {
    /* Removed glow animation for minimalist design */
    0%, 100% {
        box-shadow: var(--shadow-md);
    }
    50% {
        box-shadow: var(--shadow-md);
    }
}

.btn-outline {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-block {
    width: 100%;
}

.btn svg {
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ===== HERO YEARS BADGE ===== */
.hero-badge-large {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 82, 204, 0.2);
    transition: all var(--transition-slow);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    max-width: 500px;
}

.hero-badge-large::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-blue);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.hero-badge-large:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(220, 20, 60, 0.3);
}

.hero-badge-large:hover::before {
    opacity: 1;
}

.badge-icon-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    border-radius: var(--radius-xl);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.badge-icon-large svg {
    width: 40px;
    height: 40px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.badge-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.badge-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    line-height: 1;
    text-shadow: 0 4px 8px rgba(0, 82, 204, 0.2);
}

.badge-number::after {
    content: '+';
    margin-left: 4px;
}

.badge-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: 0.5px;
}

@keyframes pulse-glow {
    /* Simplified for minimalist design */
    0%, 100% {
        box-shadow: var(--shadow-md);
    }
    50% {
        box-shadow: var(--shadow-lg);
    }
}

/* ===== TECH SPHERE ===== */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tech-sphere {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: rotate-ring 20s linear infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(0, 82, 204, 0.2);
    animation-duration: 15s;
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-color: rgba(220, 20, 60, 0.2);
    animation-duration: 20s;
    animation-direction: reverse;
}

.ring-3 {
    width: 60%;
    height: 60%;
    border-color: rgba(255, 107, 53, 0.2);
    animation-duration: 25s;
}

@keyframes rotate-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sphere-core {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    animation: pulse-core 3s ease-in-out infinite;
}

@keyframes pulse-core {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(0, 82, 204, 0);
    }
}

.core-logo {
    width: 120px;
    height: auto;
}

.orbit-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: orbit 10s linear infinite;
}

.orbit-icon svg {
    width: 28px;
    height: 28px;
}

.orbit-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-blue);
    animation-delay: 0s;
}

.orbit-2 {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--crimson-red);
    animation-delay: -2.5s;
}

.orbit-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--vibrant-orange);
    animation-delay: -5s;
}

.orbit-4 {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fresh-green);
    animation-delay: -7.5s;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
    }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce-scroll 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes bounce-scroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== SECTIONS ===== */
section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-pattern {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--gray-100) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(220, 20, 60, 0.1));
    border: 1px solid rgba(0, 82, 204, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-display);
}

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

/* ===== SERVICES ===== */
.services {
    background: var(--gray-50);
}

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

.service-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    position: relative;
    margin-bottom: var(--spacing-md);
    width: fit-content;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-base);
}

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

.service-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.service-icon.blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

.service-icon.red {
    background: linear-gradient(135deg, var(--crimson-red), var(--albanian-red));
}

.service-icon.orange {
    background: linear-gradient(135deg, var(--vibrant-orange), var(--sunset-orange));
}

.service-icon.yellow {
    background: linear-gradient(135deg, var(--golden-yellow), var(--bright-yellow));
}

.service-icon.green {
    background: linear-gradient(135deg, var(--fresh-green), var(--lime-green));
}

.service-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 1;
}

.service-card:hover .service-glow {
    opacity: 0.6;
}

.blue-glow { background: var(--primary-blue); }
.red-glow { background: var(--crimson-red); }
.orange-glow { background: var(--vibrant-orange); }
.yellow-glow { background: var(--golden-yellow); }
.green-glow { background: var(--fresh-green); }

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-features {
    margin-bottom: var(--spacing-md);
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
}

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

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ===== PORTFOLIO ===== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    background: white;
    color: var(--gray-800);
    border: 2px solid var(--gray-200);
    font-weight: 600;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.portfolio-item {
    transition: all var(--transition-base);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

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

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.placeholder-gradient {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gradient-1 { background: var(--primary-blue); }
.gradient-2 { background: var(--crimson-red); }
.gradient-3 { background: var(--vibrant-orange); }
.gradient-4 { background: var(--fresh-green); }
.gradient-5 { background: var(--golden-yellow); }
.gradient-6 { background: var(--primary-blue-dark); }

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: pattern-move 20s linear infinite;
}

@keyframes pattern-move {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}

.portfolio-icon {
    width: 80px;
    height: 80px;
    color: white;
    opacity: 0.8;
    z-index: 2;
}

.portfolio-content {
    padding: var(--spacing-lg);
}

.portfolio-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(220, 20, 60, 0.1));
    color: var(--primary-blue);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.portfolio-desc {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
}

.portfolio-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Continue in next part due to length... */

/* ===== TECHNOLOGY ===== */
.technology {
    background: var(--gradient-hero);
    color: white;
}

.technology .section-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.technology .section-title,
.technology .section-description {
    color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.tech-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.tech-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.tech-icon {
    font-size: 1.5rem;
}

.tech-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.tech-grid-simple .tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-lg);
    background: transparent;
    border: none;
    transition: all var(--transition-base);
}

.tech-grid-simple .tech-item:hover {
    transform: translateY(-5px);
    background: transparent;
}

.tech-grid-simple .tech-icon {
    font-size: 2.5rem;
}

/* ===== ABOUT ===== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 82, 204, 0.3));
    position: relative;
    z-index: 2;
    animation: logo-float 3s ease-in-out infinite;
}

.about-pattern {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    animation: pulse-about 4s ease-in-out infinite;
}

@keyframes pulse-about {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.about-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.2), transparent);
    animation: rotate-slow 20s linear infinite;
}

.about-text {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-box:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-box h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.feature-box p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.about-cta {
    margin-top: var(--spacing-xl);
}

/* ===== CONTACT ===== */
.contact {
    background: var(--gray-50);
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-card-modern {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.info-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon-wrapper {
    position: relative;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.info-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.info-content p,
.info-content a {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.info-content a:hover {
    color: var(--primary-blue);
}

.social-links-modern {
    display: flex;
    gap: var(--spacing-md);
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #00669c);
    color: white;
}

.social-btn.email {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
}

.social-btn:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

/* ===== CONTACT FORM ===== */
.contact-form-modern {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group-modern {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.form-group-modern input,
.form-group-modern textarea,
.form-group-modern select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    background: var(--gray-50);
    color: var(--gray-900);
    transition: all var(--transition-base);
}

.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    color: var(--gray-900);
}

.form-group-modern label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--gray-500);
    pointer-events: none;
    transition: all var(--transition-base);
    background: var(--gray-50);
    padding: 0 0.5rem;
}

.form-group-modern input:focus + label,
.form-group-modern textarea:focus + label,
.form-group-modern select:focus + label,
.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern textarea:not(:placeholder-shown) + label,
.form-group-modern select:not([value=""]) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--primary-blue);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.form-group-modern input:focus ~ .input-border,
.form-group-modern textarea:focus ~ .input-border,
.form-group-modern select:focus ~ .input-border {
    width: 100%;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loader {
    display: block;
}

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

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    display: none;
}

.form-message.success {
    background: rgba(134, 188, 37, 0.1);
    color: var(--fresh-green);
    border: 2px solid var(--fresh-green);
    display: block;
}

.form-message.error {
    background: rgba(220, 20, 60, 0.1);
    color: var(--crimson-red);
    border: 2px solid var(--crimson-red);
    display: block;
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.tool-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-xl);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--gray-100);
}

.tool-header svg {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.tool-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.tool-header p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.tool-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.tool-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.tool-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.tool-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.input-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.tool-results {
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-blue);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: var(--gray-700);
}

.result-value {
    font-family: monospace;
    color: var(--primary-blue);
}

/* Color Picker Styles */
.color-picker-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.color-preview {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    border: 3px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.color-input {
    width: 100px;
    height: 100px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.color-formats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.color-format-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.copy-input-group {
    display: flex;
    gap: 0.5rem;
}

.copy-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.copy-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
}

.copy-btn:active {
    transform: translateY(0);
}

.color-palette h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: var(--spacing-sm);
}

.palette-color {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.palette-color:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Blog Section */
.blog-section {
    margin-top: var(--spacing-2xl);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 82, 204, 0.1);
    color: var(--primary-blue);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.blog-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.blog-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Security Practices Styles */
.security-practices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.practice-item {
    background: var(--gray-50);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-blue);
    transition: all var(--transition-base);
}

.practice-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--crimson-red);
}

.practice-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.practice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.practice-header h4 {
    margin: 0;
    color: var(--gray-900);
    font-size: 1.25rem;
}

.practice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.practice-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--gray-700);
    line-height: 1.7;
}

.practice-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--fresh-green);
    font-weight: bold;
}

.practice-list li strong {
    color: var(--primary-blue);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--deep-black);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    position: relative;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: var(--gradient-vibrant);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    width: 60px;
    height: auto;
}

.footer-logo h3 {
    font-size: 1.75rem;
    font-family: var(--font-display);
}

.footer-logo span {
    color: var(--crimson-red);
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-text {
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-col h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links li {
    color: var(--gray-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: var(--gray-500);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modal-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 1;
}

.modal-close:hover {
    background: var(--crimson-red);
    color: white;
    transform: rotate(90deg);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: var(--spacing-xl);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-blue);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-red);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===== ANIMATIONS ===== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-40px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    :root {
        --spacing-3xl: 4rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 300px;
        margin: 0 auto;
    }

    .tech-sphere {
        width: 250px;
        height: 250px;
    }

    .hero-badge-large {
        padding: var(--spacing-lg) var(--spacing-xl);
        gap: var(--spacing-md);
        max-width: 100%;
    }

    .badge-icon-large {
        width: 60px;
        height: 60px;
    }

    .badge-icon-large svg {
        width: 30px;
        height: 30px;
    }

    .badge-number {
        font-size: 2.5rem;
    }

    .badge-text {
        font-size: 1rem;
    }

    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --spacing-3xl: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem var(--spacing-lg) var(--spacing-lg);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

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

    .tech-grid-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

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

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    /* Dropdown mobile styles */
    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-menu.active .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 0.5rem;
        box-shadow: none;
        border: none;
        background: transparent;
    }

    .nav-menu.active .dropdown-item {
        padding-left: 2rem;
    }

    /* Tools mobile responsiveness */
    .tool-container {
        padding: var(--spacing-md);
    }

    .color-picker-container {
        flex-direction: column;
    }

    .input-row {
        flex-direction: column;
        align-items: stretch;
    }

    .palette-grid {
        grid-template-columns: repeat(5, 1fr);
    }

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

/* ===== FAQ SECTION ===== */
.faq {
    background: var(--white);
    padding: var(--spacing-3xl) 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-item.active .faq-question {
    color: var(--primary-blue);
    padding-bottom: var(--spacing-md);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--primary-blue);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow) ease-out, padding var(--transition-base);
    padding: 0 var(--spacing-xl);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-xl) var(--spacing-lg);
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

.faq-answer ul {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
}

.faq-answer li {
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0.5rem 0;
    list-style: disc;
}

.faq-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.faq-cta h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.faq-cta p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

/* Dark mode FAQ styles */
@media (prefers-color-scheme: dark) {
    .faq {
        background: #0f1419 !important;
    }

    .faq-item {
        background: #1a1f28 !important;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .faq-item:hover,
    .faq-item.active {
        border-color: var(--primary-blue-light);
    }

    .faq-question {
        color: #f7fafc !important;
    }

    .faq-question:hover,
    .faq-item.active .faq-question {
        color: var(--primary-blue-light) !important;
    }

    .faq-answer p,
    .faq-answer li {
        color: #d1d5db !important;
    }

    .faq-cta {
        background: #1a1f28 !important;
    }

    .faq-cta h3 {
        color: #f7fafc !important;
    }

    .faq-cta p {
        color: #cbd5e0 !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .scroll-indicator,
    .back-to-top,
    .portfolio-filters,
    .hero-cta {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
