html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0f172a;
    color: white;
}

h1 {
    text-align: center;
    margin-top: 100px;
}

header {
    background-color: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(10px);

    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px;
}
section {
    scroll-margin-top: 90px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;

    list-style: none;

    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;

    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #38bdf8;
}

.hero {
    min-height: 50vh;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;

    max-width: 1200px;
    margin: 0 auto;

    padding: 40px 20px 30px;
}

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

.hero-subtitle {
    color: #38bdf8;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin: 20px 0;
}

.hero-title span {
    color: #38bdf8;
}

.hero-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: #38bdf8;
    color: white;

    padding: 15px 30px;

    text-decoration: none;
    border-radius: 8px;

    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

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

    padding: 15px 30px;

    text-decoration: none;
    border-radius: 8px;

    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: #38bdf8;
    color: white;
}

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

.profile-card {
    background: linear-gradient(145deg, #111827, #1e293b);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 24px;

    padding: 40px;
    width: 320px;

    text-align: center;

    box-shadow: 0 20px 60px rgba(56, 189, 248, 0.15);
}

.profile-circle {
    width: 140px;
    height: 140px;

    margin: 0 auto 25px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #38bdf8;
    color: #0f172a;

    font-size: 3rem;
    font-weight: bold;
}

.profile-card h2 {
    margin-bottom: 10px;
}

.profile-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

.profile-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;

    border-radius: 50%;
    overflow: hidden;

    background-color: #38bdf8;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-subtitle {
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.section-title {
    font-size: 2.5rem;
    margin: 15px 0 25px;
}

.section-text {
    max-width: 800px;
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin-top: 50px;
}

.about-card {
    background-color: #111827;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;

    padding: 30px;

    transition: 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
}

.about-card h3 {
    color: #38bdf8;
    margin-bottom: 15px;
}

.about-card p {
    color: #cbd5e1;
    line-height: 1.7;
}

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

.timeline {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.timeline-item {
    background-color: #111827;
    border-left: 4px solid #38bdf8;
    border-radius: 16px;

    padding: 30px;

    transition: 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(8px);
}

.timeline-date {
    color: #38bdf8;
    font-weight: bold;
}

.timeline-item h3 {
    font-size: 1.5rem;
    margin: 15px 0 5px;
}

.timeline-company {
    color: #94a3b8;
    font-weight: bold;
    margin-bottom: 15px;
}

.timeline-item p {
    color: #cbd5e1;
    line-height: 1.7;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;

    margin-top: 50px;
}

.project-card {
    background-color: #111827;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 18px;

    padding: 30px;

    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-card p {
    color: #cbd5e1;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 25px;
}

.project-tags span {
    color: #38bdf8;
    background-color: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);

    padding: 8px 12px;
    border-radius: 999px;

    font-size: 0.85rem;
}

.featured-project {
    position: relative;
}

.project-link {
    display: inline-block;
    margin-top: 20px;

    color: #38bdf8;
    text-decoration: none;
    font-weight: bold;

    transition: 0.3s ease;
}

.project-link:hover {
    transform: translateX(5px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin-top: 50px;
}

.skill-card {
    background: linear-gradient(145deg, #111827, #1e293b);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 18px;

    padding: 28px;

    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
}

.skill-card h3 {
    color: #38bdf8;
    margin-bottom: 12px;
}

.skill-card p {
    color: #cbd5e1;
    line-height: 1.7;
}
.icons-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 22px;

    margin-top: 40px;
}

.icons-grid i {
    background-color: #111827;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 14px;

    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2.3rem;

    transition: 0.3s ease;
}

.icons-grid i:hover {
    transform: translateY(-6px) scale(1.04);
    border-color: #38bdf8;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.16);
}

.contact-text {
    max-width: 700px;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;

    background-color: #111827;
    border: 1px solid rgba(56, 189, 248, 0.2);

    padding: 20px 30px;
    border-radius: 16px;

    color: white;
    text-decoration: none;

    transition: 0.3s ease;
}

.contact-card i {
    font-size: 1.6rem;
}

@media (max-width: 900px) {
    nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-cards,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .icons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 500px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-card {
        width: 100%;
    }
}

.footer {
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    padding: 30px 20px;
    text-align: center;
    background-color: #111827;
    color: #94a3b8;
}

.footer p {
    margin: 5px 0;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}