:root {
    --bg-dark: #0B0C10;
    --bg-secondary: #1F2833;
    --text-primary: #C5C6C7;
    --accent-cyan: #66FCF1;
    --accent-muted: #45A29E;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.4);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(102, 252, 241, 0.5));
    animation: logo-float 3s ease-in-out infinite;
}

@keyframes logo-float {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 5px rgba(102, 252, 241, 0.5));
    }

    50% {
        transform: translateY(-3px);
        filter: drop-shadow(0 0 15px rgba(102, 252, 241, 0.8));
    }
}

.logo-icon svg.spin-active {
    animation: logo-spin 4s linear infinite;
}

@keyframes logo-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0B0C10;
    z-index: -2;
    overflow: hidden;
}

/* Animated Gradient Blobs */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
    z-index: -1;
}

.hero-bg::before {
    background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
    top: -100px;
    left: -100px;
}

.hero-bg::after {
    background: radial-gradient(circle, #45a29e, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

/* Add a third blob for depth */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(31, 40, 51, 0.8), transparent 70%);
    z-index: -1;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.services h2,
.about h2,
.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-muted);
}

.icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--accent-cyan);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Tech Stack Section */
.tech-stack {
    padding: 4rem 0;
    background: #08090c;
    text-align: center;
}

.tech-stack h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-item:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.3);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: #0f1116;
    text-align: left;
    /* Changed from center */
}

.about h2 {
    text-align: center;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: white;
    position: relative;
    display: inline-block;
}

.feature h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-muted);
    margin: 8px auto 0;
}

.feature p {
    color: var(--text-primary);
    font-size: 1rem;
    max-width: 100%;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #050608 100%);
    text-align: center;
}

.contact-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-form input {
    padding: 12px 20px;
    border-radius: 4px;
    border: 1px solid var(--bg-secondary);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    width: 300px;
    font-family: inherit;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #666;
}

.socials {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.socials a:hover {
    color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Adjust based on header height */
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}