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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f6f8fb;
    color: #2c2c2c;
}


.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 8%;
    background: linear-gradient(135deg, #eaf2ff, #fdfefe);
    flex-wrap: wrap;
}

.hero-left {
    max-width: 600px;
}

.intro {
    font-size: 12px;
    letter-spacing: 3px;
    color: #5b8cff;
    font-weight: 600;
}

.hero h1 {
    margin-top: 10px;
    font-size: 52px;
    font-weight: 800;
}

.hero h1 .name {
    color: #5b8cff;
}

.hero h2 {
    margin-top: 8px;
    font-size: 26px;
    color: #3a6ee8;
    font-weight: 600;
}

.about {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
}


.hero-right img {
    width: 300px;         
    height: 300px;        
    border-radius: 50%;   
    object-fit: cover;    
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-buttons {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #3a6ee8;
    color: #ffffff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-btn i {
    font-size: 16px;
}

.contact-btn:hover {
    background: #5b8cff;
}


.skills {
    padding: 40px 8% 20px;
}

.skills h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #3a6ee8;
    text-align: center;
}


.skills-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}


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


.skill {
    background-color: #ffffff;
    padding: 22px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.skill:hover {
    transform: translateY(-6px);
}

.skill i {
    font-size: 36px;
    color: #5b8cff;
}

.skill span {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #2c2c2c;
}


.skill.highlight {
    width: 240px;
    background: linear-gradient(135deg, #eaf2ff, #ffffff);
    border: 2px solid #5b8cff;
}

.skill.highlight i {
    color: #3a6ee8;
}


.projects {
    padding: 20px 8% 60px;
    background-color: #f6f8fb;
}

.projects h3 {
    font-size: 28px;
    margin-bottom: 35px;
    color: #3a6ee8;
    text-align: center;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}


.project-card {
    background: #ffffff;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

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


.project-card.highlight {
    border-left: 5px solid #5b8cff;
    background: linear-gradient(135deg, #f0f6ff, #ffffff);
}


.project-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.project-card .tech {
    font-size: 13px;
    font-weight: 600;
    color: #5b8cff;
    margin-bottom: 12px;
}

.project-card .desc {
    font-size: 15px;
    line-height: 1.6;
    color: #4a4a4a;
}


.github-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #3a6ee8;
    text-decoration: none;
}

.github-link:hover {
    text-decoration: underline;
}


@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-right img {
        width: 250px;
        margin-top: 25px;
    }

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

@media (max-width: 600px) {
    .skills-row {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 900px) {
    .hero-right img {
        width: 250px;
        height: 250px;
        margin-top: 25px;
    }
}

@media (max-width: 600px) {
    .hero-right img {
        width: 200px;
        height: 200px;
    }
}
