:root {
    --primary-color: #00bcd4;
    --primary-dark: #0097a7;
    --bg-dark: #0a0a0a;
    --bg-light: #1a1a1a;
    --text-light: #cccccc;
    --text-white: #ffffff;
    --border-color: #333333;
    --card-bg: #1a1a1a;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sections */
section {
    padding: 4rem 1rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}




/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    section {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 4rem;
    }

    .hero-image {
        order: 1;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .about-content {
        grid-template-columns: 1fr 2fr;
        text-align: left;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .nav-links {
        display: flex;
    }
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text h2 {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        justify-content: center;
    }

    .portfolio-filters {
        flex-wrap: wrap;
    }

    .hire-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .hero,
    .services,
    .about,
    .portfolio,
    .contact {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .stat {
        min-width: 80px;
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}