* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    background-color: #eef2ff;
    color: #172b3a;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1100px;
    margin: 30px auto;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
section {
    padding: 70px 8%;
    scroll-margin-top: 85px;
}
.section-title {
    font-size: 30px;
    margin-bottom: 10px;
    color: #172b3a;
}
.section-subtitle {
    color: #667085;
    margin-bottom: 30px;
}
.blue {
    color: #4169f5;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 100;
}
.logo {
    font-size: 19px;
    font-weight: bold;
    color: #4169f5;
}
nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
nav a {
    font-size: 12px;
    font-weight: bold;
    color: #344054;
    transition: 0.3s;
}
nav a:hover,
.contact-info a:hover {
    color: #4169f5;
}
#home {
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}
.home-text {
    flex: 1;
}
.home-text h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 15px;
}
.home-text p {
    color: #667085;
    margin-bottom: 25px;
}
.button {
    display: inline-block;
    background-color: #4169f5;
    color: white;
    padding: 11px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.button:hover {
    background-color: #294bd0;
}
.profile-circle {
    width: 320px;
    height: 320px;
    flex-shrink: 0;
    border-radius: 48% 52% 55% 45%;
    background-color: #4169f5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center top;
}
#about,
#projects,
#experience {
    background-color: #f8faff;
}
.about-content {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}
.about-content > div:first-child {
    flex: 1;
}
.about-content p {
    color: #596579;
    margin-bottom: 15px;
}
.info-box {
    min-width: 220px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #e5eaf5;
}
.info-box p {
    margin: 8px 0;
    font-size: 14px;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.skill-card {
    padding: 22px;
    background-color: #f8faff;
    border: 1px solid #e5eaf5;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}
.skill-card:hover {
    transform: translateY(-5px);
    border-color: #4169f5;
}
.skill-card h3 {
    color: #4169f5;
    margin-bottom: 8px;
    font-size: 17px;
}
.skill-card p {
    font-size: 13px;
    color: #667085;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.project-card {
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e5eaf5;
    background-color: white;
    transition: 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.project-number {
    color: #4169f5;
    font-weight: bold;
    font-size: 13px;
}
.project-card h3 {
    margin: 10px 0;
}
.project-card p {
    color: #667085;
    font-size: 14px;
    margin-bottom: 15px;
}
.tag {
    display: inline-block;
    background-color: #e9eeff;
    color: #3456cf;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin: 3px;
}
.certificate-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.certificate-card {
    padding: 20px;
    border-left: 4px solid #4169f5;
    background-color: #f8faff;
    border-radius: 5px;
}
.certificate-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
}
.certificate-card p {
    color: #667085;
    font-size: 14px;
}
.experience-card {
    padding: 25px;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #e5eaf5;
    margin-bottom: 15px;
}
.experience-card h3 {
    margin-bottom: 5px;
}
.experience-card p {
    color: #667085;
    font-size: 14px;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.contact-info p {
    margin-bottom: 15px;
    color: #596579;
}
.contact-info a {
    color: #4169f5;
}
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}
.contact-form textarea {
    height: 120px;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 1px solid #4169f5;
    border-color: #4169f5;
}
footer {
    text-align: center;
    padding: 22px;
    background-color: #172b3a;
    color: white;
    font-size: 13px;
}
@media (max-width: 768px) {
    .container {
        margin: 10px;
    }

    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        justify-content: center;
        gap: 12px;
    }

    nav a {
        font-size: 12px;
    }

    #home {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 45px;
    }

    .home-text h1 {
        font-size: 32px;
    }

    .profile-circle {
        width: 190px;
        height: 190px;
        font-size: 55px;
    }

    .about-content {
        flex-direction: column;
    }

    .info-box {
        width: 100%;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid,
    .certificate-list,
    .contact-content {
        grid-template-columns: 1fr;
    }

    section {
        padding: 45px 7%;
    }
}
@media (max-width: 400px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 25px;
    }
}
