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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: #0f172a;
    color: white;
    line-height: 1.7;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    background:
            radial-gradient(circle at top right,
            rgba(59,130,246,.25),
            transparent 40%),
            linear-gradient(135deg, #0f172a, #111827);
}

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

.tag {
    color: #60a5fa;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: auto;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn,
.btn-outline {
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}

.btn {
    background: #3b82f6;
    color: white;
}

.btn:hover {
    background: #2563eb;
}

.btn-outline {
    border: 1px solid #3b82f6;
    color: white;
}

.btn-outline:hover {
    background: #3b82f6;
}

section {
    max-width: 1100px;
    margin: auto;
    padding: 100px 25px;
}

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

#about p {
    max-width: 800px;
    margin: 20px auto;
    color: #cbd5e1;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.skill {
    background: #1e293b;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid #334155;
}

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

.card {
    background: #1e293b;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #334155;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: #cbd5e1;
}

.card ul {
    margin-top: 15px;
    margin-left: 20px;
    color: #94a3b8;
}

.project-link {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: white;
    background: #3b82f6;
    padding: 12px 18px;
    border-radius: 8px;
    transition: 0.3s;
}

.project-link:hover {
    background: #2563eb;
}

#contact {
    text-align: center;
}

.contact-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-links a {
    text-decoration: none;
    color: white;
    background: #1e293b;
    padding: 12px 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.contact-links a:hover {
    background: #3b82f6;
}

footer {
    text-align: center;
    padding: 30px;
    background: #020617;
    color: #94a3b8;
}

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

    .subtitle {
        font-size: 1rem;
    }
}
