* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #ffffff;
    color: #222;
    line-height: 1.6;
}
/* main */
.container {
    width: 85%;
    margin: auto;
}

/* ----------------------------------------------------------- */
/* header */
header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.5rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
}
/* ----------------------------------------------------------- */
/* hero section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    
}

.hero-text h1 {
    font-size: 35px;
    margin-bottom: 10px;
}

.hero-text h2 {
    color: #0077ff;
    margin-bottom: 15px;
    font-size: 28px;
}

.hero-text p {
    font-size: 20px;
    margin-top: 10px;
    line-height: 1.7;
}
.buttons {
    margin-top: 30px;
}

.btn {
    background: #0077ff;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    margin-right: 10px;
    border-radius: 16px;
    font-size: 15px;
}

.btn:hover{
    background-color: gray;
    
}
.section {
    padding: 40px 0;
}

/* -------------------------------------------------------------- */
/* about */
#about h2{
    font-size: 28px;
}

#about p{
    font-size: 18px;
}

#about-main{
    background-color: #eee;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}



/* -------------------------------------------------------------- */
/* skills  */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}


.skill-grid div {
    background: #eee;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
}

#skills h2{
    font-size: 28px;
}

/* ----------------------------------------------------------- */
/* project */
.project-card {
    background: #eee;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}

.project-card h3{
    font-size: 22px;
}

.project-card p{
    font-size: 18px;
}

#projects h2{
    font-size: 28px;
}


/* ----------------------------------------------------------- */
/* Certificates */
#certificates h2{
    font-size: 28px;
}

#certificates-title{
    background-color: #eee;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}

#certificates-title h3{
    font-size: 22px;
}

#certificates p{
    font-size: 18px;
    margin-top: 10px;
}

#certificates-title a {
    font-size: 16px;
    color: #0077ff;
    text-decoration: none;
}

/* ----------------------------------------------------------- */
/* Education */
#education h2{
    font-size: 28px;
}

#education p{
    font-size: 18px;
    margin-top: 10px;
}

#education-main{
    background-color: #eee;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}

/* ----------------------------------------------------------- */
/* languages */
#languages h2{
    font-size: 28px;
}

#languages p{
    font-size: 18px;
    margin-top: 10px;
}

#languages-main{
    background-color: #eee;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}

/* ----------------------------------------------------------- */
/* contact*/

#contact h2{
    font-size: 28px;
}

#contact a{
    font-size: 18px;
    margin-top: 10px;
}

#contact-main{
    background-color: #eee;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav a {
        margin-left: 10px;
    }

    .hero {
        flex-direction: column;
        padding: 40px 0;
        text-align: center;
    }

    .hero-text h1 { font-size: 26px; }
    .hero-text h2 { font-size: 20px; }
    .hero-text p  { font-size: 16px; }

    #about h2, #skills h2, #projects h2,
    #certificates h2, #education h2,
    #languages h2, #contact h2 { font-size: 22px; }
}