* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
}

:root {
    --bg: #0f1117;
    --surface: #171b24;
    --surface-hover: #1f2430;
    --text: #f5f5f5;
    --muted: #9ca3af;
    --accent: #4f8cff;
    --border: #262c38;
}


body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.7;
    -ms-overflow-style: none;
}

.container {
    width: 100%;
    max-width: 1360px;
    margin: auto;
}

header {
    position: sticky;
    top: 0;
    background: rgba(15,17,23,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;    
}

 .nav :hover {
    color: indianred;
 }

.logo {
    //color: var(--accent);
    color: teal;
    font-weight: 700;
    font-size: 1.1rem;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 24px;
}

    nav a:hover {
        color: white;
    }

.hero {
    padding: 30px 0;
}

.tag {
    color: var(--accent);
    font-weight: 600;
}

.hero h1 {
  //  color:lightcoral;
    font-size: 3rem;
    line-height: 1.1;
    max-width: 800px;
    margin: 20px 0;
}

.hero p {
    color: teal;
    max-width: 700px;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-buttons {
    margin-top: 15px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    margin-right: 12px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-secondary {
    border: 1px solid var(--border);
    color: white;
}

.btn-primary :hover{
    color:crimson;
}

.btn-secondary :hover {
   color: crimson;
}


.section {
    padding: 15px 0;
}

        .section h2 {
            margin-bottom: 25px;
            font-size: 2rem;
        }

    .section-text {
        max-width: 800px;
        color: var(--muted);
        margin-bottom: 5px;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .card {
        background: var(--surface);
        border: 1px solid var(--border);
        padding: 28px;
        border-radius: 16px;
    }

        .card h3 {
            margin-bottom: 15px;
        }

        .card p {
            color: var(--muted);
        }

    .tech-stack {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

        .tech-stack span {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 10px 16px;
            border-radius: 999px;
        }

    .project-card {
        display: grid;
        grid-template-columns: 440px 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    /*.project-image {
        background: var(--surface);
        border: 1px dashed var(--border);
        border-radius: 16px;
        min-height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--muted);
    }*/
    .project-image {
        border-radius: 16px;
        overflow: hidden;
        min-height: 220px;
    }

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .project-content {
        background: var(--surface);
        border: 1px solid var(--border);
        padding: 30px;
        border-radius: 16px;
    }

        .project-content p,
        .project-content li {
            color: var(--muted);
        }

    .process {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

        .process div {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 20px;
            text-align: center;
            border-radius: 12px;
        }

    .contact-box {
        background: var(--surface);
        border: 1px solid var(--border);
        padding: 50px;
        border-radius: 20px;
    }

        .contact-box p {
            color: var(--muted);
        }

    @media(max-width: 768px) {

        .hero h1 {
            font-size: 2.6rem;
        }

        .project-card {
            grid-template-columns: 1fr;
        }

        nav {
            display: none;
        }
    }
