:root {
    --primary-color: #007BFF;
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --text-color: #E0E0E0;
    --heading-color: #FFFFFF;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

h1,
h2,
h3 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 10px;
}

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

a:hover {
    text-decoration: underline;
}

section {
    padding: 80px 0;
}

.header {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--surface-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--heading-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 10px;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 2;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 250px;
    border-radius: 50%;
    border: 5px solid var(--surface-color);
    box-shadow: var(--shadow);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    color: var(--heading-color);
    margin-bottom: 10px;
}

.project-info a {
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
}

#contact {
    text-align: center;
}

.contact-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.footer {
    background: var(--surface-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    text-decoration: none;
}

.footer p a {
    color: var(--text-color);
    text-decoration: none;
}

.footer p a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-links {
        display: none;
    }

    .about-content {
        flex-direction: column;
    }
}