* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0f0f0f;
    color: #fff;
}

/* NAVBAR */

header {
    width: 100%;
    position: fixed;
    top: 0;
    background: #111;
    padding: 15px 0;
    z-index: 1000;
}

.navbar {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar span {
    color: #00ff84;
    font-size: 35px;
}



.logo {
    font-size: 22px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.nav-links a:hover {
    color: #00ff84;
}



/* HAMBURGER FOR MOBILE */

.menu-btn {
    font-size: 26px;
    cursor: pointer;
    display: none;
}

/* firstSection */

.hero {
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 8%;
    background: #000;
}

.hero-left {
    width: 60%;
    min-width: 0;
}

.hero-right {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.hero-right img {
    margin: 20px;
    width: 320px;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00ff84;
    box-shadow: 0 0 25px #00ff84;
}


.hero h1 {
    font-size: 50px;
}

.hero span {
    color: #00ff84;
}

.hero p {
    margin: 10px 0;
    font-size: 25px;
}


.btn a {
    padding: 10px 20px;
    background: #161616;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #00ff84;
    border: 1px solid #00ff84;
    transition: 0.3s ease;
    text-decoration: none;
}



.btn a:hover {
    background: #000;
    box-shadow: 0 0 12px #00ff84;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.work-btn {
    border: 2px solid #00ff84;
    color: #00ff84;
}

.work-btn:hover {
    background-color: #161616;
    box-shadow: 0 0 12px #00ff84;
}

.cv-btn {
    border: 2px solid #00ff84;
    color: #00ff84;
}

.cv-btn:hover {
    background-color: #161616;
    box-shadow: 0 0 12px #00ff84;
}

/* SECTIONS */

.about {
    width: 90%;
    margin: auto;
    padding: 120px 0;
}

.about p {
    font-size: 20px;
    line-height: 1.8;
    max-width: 900px;
    text-align: justify;
}


section {
    width: 90%;
    margin: auto;
    padding: 70px 0;
}

hr {
    border: 0;
    background: #00ff84;
    height: 1.5px;
    margin: 0px 40px;
}

h2 {
    margin-bottom: 25px;
    font-size: 32px;
}

.skills {
    width: 90%;
    margin: auto;
    padding: 100px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px;
}

.skill-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 25px;
    background: #161616;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #00ff84;
    border: 2px solid #00ff84;
    transition: 0.3s ease;
}

/* Hover Effect */
.skill-item:hover {
    background: #00ff84;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 0 15px #00ff84;
}


/* Project card */

.project-card {
    background: #161616;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #00ff84;
    margin-bottom: 40px;
    box-shadow: 0 0 15px #00ff84;
}

.project-card ul {
    margin-top: 10px;
    padding-left: 20px;
}

.project-card ul li {
    margin: 10px 0;
    line-height: 1.7;
}

.project-card h3 {
    font-size: 26px;
    color: #00ff84;
}

.project-card h4 {
    font-size: 18px;
    color: #ccc;
    margin-top: 5px;
}

.contact p {
    margin: 8px 0;
}

.project-links {
    margin-top: 12px;
    display: flex;
    gap: 15px;
}

.project-links a {
    text-decoration: none;
    padding: 8px 14px;
    background-color: #161616;
    border: 1.5px solid #00c76a;
    color: #00c76a;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s ease;
}

.project-links a:hover {
    background: #000;
    box-shadow: 0 0 12px #00ff84;
}

.experience {
    width: 90%;
    margin: auto;
    padding: 100px 0;
}

.exp-card {
    background: #161616;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #00ff84;
    margin-bottom: 40px;
    box-shadow: 0 0 15px #00ff84;
}

.exp-card h3 {
    font-size: 26px;
    color: #00ff84;
}

.exp-card h4 {
    font-size: 18px;
    color: #ccc;
    margin-top: 5px;
}

.exp-duration {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 15px;
}

.exp-card ul {
    margin-top: 10px;
    padding-left: 20px;
}

.exp-card ul li {
    margin: 10px 0;
    line-height: 1.7;
}

/* Linkdin icon */

.linkedin-icon i {
    font-size: 26px;
    color: #0A66C2;
    background: #ffffff;
    padding: 8px;
    border-radius: 50%;
    margin-left: 15px;
    transition: 0.3s ease;
}

.linkedin-icon i:hover {
    background: #0A66C2;
    color: white;
    box-shadow: 0 0 12px #0A66C2;
    transform: translateY(-3px);
}

.education {
    width: 90%;
    margin: auto;
    padding: 100px 0;
}

.edu-card {
    background: #161616;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #00ff84;
    margin-bottom: 35px;
    box-shadow: 0 0 15px #00ff84;
}

.edu-card h3 {
    font-size: 24px;
    color: #00ff84;
}

.edu-card h4 {
    font-size: 18px;
    color: #ccc;
}

.edu-year {
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
}

.edu-score {
    font-size: 16px;
    color: #fff;
    margin-top: 5px;
}


/* RESPONSIVE */

@media (max-width: 1100px) {
    .nav-links {
        position: absolute;
        top: 65px;
        right: 0;
        background: #111;
        width: 50%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        text-align: right;
        padding-right: 20px;
        transition: 0.4s;
    }

    .nav-links.open {
        height: 250px;
    }

    .menu-btn {
        display: block;
    }
}

@media (max-width: 1250px) {
    .hero-right img {
        width: 250px;
    }

    .hero-left h1 {
        font-size: 35px;
    }

    .hero-left p {
        font-size: 18px;
    }

    .hero-buttons {
        margin-top: 15px;
    }

    .hero-buttons .btn {
        font-size: 16px;
        padding: 10px 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        display: flex;
        flex-direction: column;
    }

    .hero-left {
        width: 100%;
        margin-top: 100px
    }

    .about p {
        font-size: 18px;
    }

    .about {
        padding: 50px 0;
    }

    .skill {
        max-width: auto;
    }

    .skill-grid {
        grid-template-columns: repeat(2, 1fr);
        ;
    }
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .logo span {
        font-size: 28px;
    }
}