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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #0f172a, #111827, #1e293b);
    color: #f8fafc;
    line-height: 1.6;
}

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

.hero {
    text-align: center;
    padding: 40px 20px 20px;
}

.center {
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #38bdf8;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #94a3b8;
    margin-bottom: 20px;
}

.intro {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #cbd5e1;
    font-size: 1.05rem;
}

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

.btn {
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn.primary {
    background-color: #38bdf8;
    color: #0f172a;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.btn.secondary {
    border: 1px solid #38bdf8;
    color: #38bdf8;
}

.btn.secondary:hover {
    background-color: #38bdf8;
    color: #0f172a;
    transform: translateY(-3px);
}

main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 1.5rem;
    color: #38bdf8;
    margin-bottom: 14px;
}

.card p {
    color: #e2e8f0;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.project-item {
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 18px;
    transition: 0.3s ease;
}

.project-item:hover {
    transform: translateY(-4px);
    background-color: rgba(56, 189, 248, 0.08);
}

.project-item h4 {
    color: #ffffff;
    margin-bottom: 10px;
}

.project-item p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.contact-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-list p {
    color: #e2e8f0;
    font-size: 1rem;
}

.contact-list a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: bold;
}

.contact-list a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #f8fafc;
    background-color: rgba(255, 255, 255, 0.06);
    padding: 12px 16px;
    border-radius: 12px;
    transition: 0.3s ease;
}

footer a:hover {
    background-color: #38bdf8;
    color: #0f172a;
    transform: translateY(-4px);
}

footer img {
    width: 22px;
    height: 22px;
}

footer span {
    font-size: 0.95rem;
    font-weight: bold;
}

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

    h2 {
        font-size: 1rem;
    }

    .intro {
        font-size: 1rem;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .card {
        padding: 22px;
    }
}
