*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    color: beige;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    line-height: 1.6;

    background: linear-gradient(270deg, #000000, #001a0f, #000000);
    background-size: 400% 400%;
    animation: gradientMove 17s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/*POPUP*/
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.overlay.show {
    display: block;

}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: #00cc33 1px solid;
    border-radius: 10px;
    padding: 20px;
    z-index: 2;
    background-color: #001a0f;
}

.popup.show {
    display: block;
}

.closeBtn {
    position: absolute;
    top: 2px;
    right: 2px;
    border-radius: 10px;
    border: none;
    transition: 0.3s ease;
}

.closeBtn:hover {
    background-color: #00cc33;
    cursor: pointer;

}

/*HEADER*/
.header-inner {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center;

}

.brand {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 45%;
    width: 30px;
    height: 30px;
    background-color: #00FF41;
    color: black;
    font-weight: bold;
    border-style: hidden;
    font-size: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 32px 16px;
}

.nav-list a {
    text-decoration: none;
    color: beige;
    padding: 5px;
    transition: 0.3s;
}

.nav-list a:hover {
    background-color: #00FF41;
    color: black;
    border-radius: 5px;

}

/* MAIN GLOBAL */
section {
    margin-bottom: 100px;
}

html {
    scroll-behavior: smooth;
}


.section-title {
    position: relative;
    display: inline-block;
    color: white;

}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #00FF41;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.section-title:hover::after {
    transform: scaleX(1);
}


/* HERO SECTION */
.hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    min-height: 100dvh;
}

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

.hero-left h1 {
    font-size: 59px;
    line-height: 1;
}

.hero-left .section-title {
    font-size: 42px;
    color: #00FF41;
    margin: 5px auto;
}

.hero-left .section-title::after {
    background: white;
}

.hero-left p {
    margin: 16px 0 24px;
}

.a-btn {
    background-color: #00FF41;
    color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.a-btn:hover {
    background-color: #00cc33;
    border-radius: 6px;
    transform: scale(1.05);

}

.imgs-hero {
    position: relative;
}

.img-hero {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 0 5px #00ff88);
    position: relative;
}

.circle {
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: beige;
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(30%, -22%);
}

/* SKILLS SECTION*/
.skills {
    text-align: center;
}

.skills .section-title {
    margin-bottom: 70px;
}

.skills-list {
    list-style: none;
    display: flex;
    text-align: center;
    justify-content: space-evenly;

}

.skills-list i {
    font-size: 100px;
    color: #9CA3AF;
}

.skills-list i:hover {
    color: #00FF41;
}



/* ABOUT SECTION*/
.about {
    display: flex;
    justify-content: space-between;

    gap: 20px;

}

.about-right {
    flex: 2;
}

.about-right p {
    margin-top: 0;
}

.about-list {
    list-style: none;
}

.about-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.about-left img {
    width: 100%;
}

.about-left .aboutcard {
    border: 1px solid #00cc33;
    max-width: 300px;
    border-radius: 8px;
    transition: 0.3s;
}

.about-left .aboutcard:hover {
    box-shadow: 0 0 20px rgba(0, 204, 51, 0.6);
}

.card-content {
    text-align: center;
    padding: 0;
}

.card-content h3 {
    margin-bottom: 5px;
}

.card-content p {
    margin-top: 0;
    margin-bottom: 10px;
}

.line {
    height: 1px;
    background-color: #00cc33;
    border: none;
    width: 100%;
    margin: auto;
}

.social-icons {
    display: flex;
    margin: 5px;
    gap: 20px;
    justify-content: center;
    font-size: 24px;
}

.social-icons i {
    color: #9CA3AF;
}

.social-icons i:hover {
    color: #00FF41;
}

.social-media .social-icons {
    justify-content: flex-start;
}

/* PROJECT SECTION */
.projects {
    text-align: center;
}

.cards {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;

}

.card {
    border: 1px solid #00cc33;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
}

.card-content p {
    flex: 1;
    font-size: 15px;
}

.card-img {
    height: 250px;

}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-stack {
    margin-bottom: 20px;
}

.tech-stack,
.card-links {
    display: flex;
    justify-content: center;
    gap: 10px;

}

.tech-stack span,
.card-links a {
    background-color: #9CA3AF;
    border-radius: 12px;
    color: #001a0f;
    padding: 8px;
    font-weight: 600;
    box-shadow: #000000;
}

.card-links a {
    text-decoration: none;
    background-color: #00FF41;
    color: #000000;
    border-radius: 6px;
    padding: 6px;
    transition: 0.3s ease;
}

.card-links a:hover {
    cursor: pointer;
    background-color: #001a0f;
    color: white;
}

.img-soon {
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: #00cc33 1px dotted;
}

.img-soon span {
    font-weight: 900;
    font-size: 32px;
    background-image: linear-gradient(to right, #ffa908, #000000, #ffffff, #ffd001);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200%;
    animation: shimmerText 5s ease infinite;
}

@keyframes shimmerText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%
    }
}

/* CONTACT SECTION */
.contact {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    border: 1px solid white;
    border-radius: 10px;
    overflow: hidden;

}

.contact-left {
    flex: 1;
    background-color: rgb(15, 15, 15);
    padding: 20px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item h3 {
    margin: 0;
    font-weight: 600;
}

.info-item p {
    margin: 2px 0 0;
    font-size: 13px;
}

.info-item i {
    font-size: 24px;
}

.contact-right {
    flex: 1;
    padding: 20px;
}

.contact-right form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 6px 9px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.contact-right textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-right button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #00cc33;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.contact-right button:hover {
    background-color: #00FF41;
}

.a-phone {
    text-decoration: none;
    color: white;

    padding: 2px;
    font-style: italic;
    transition: 0.3s ease;
}

.a-phone:hover {
    background-color: #00cc33;

    border-radius: 4px;
    color: #000000;
}

.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    margin-bottom: 10px;
}
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    text-decoration: none;
    color: #9CA3AF;
    font-size: 14px;
}
.footer a:hover {
    color: #00cc33;
}
.footer h4{
    margin-bottom: 0;
}

.copyright {
    text-align: center;
}

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

    .circle {
        display: none;
    }

    .hero {

        flex-direction: column;
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .hero-left .section-title {
        font-size: 32px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        flex: 0 0 100%;
    }

    .imgs-hero {
        width: 100%;
    }

    .skills .section-title {
        margin-bottom: 30px;
    }

    .skills-list {

        gap: 5px;
        padding: 0;
    }

    .skills-list i {
        font-size: 60px;

    }

    .skills-list i:hover {
        color: #00FF41;
    }

    .about {
        flex-direction: column;
    }

    .about-right {
        text-align: center;
    }

    .about-left {
        justify-content: center;
    }

    .about-right ul {
        list-style: none;
        padding: 0;
    }

    .contact {
        flex-direction: column;
    }

    .social-media h5 {
        margin-bottom: 10px;
    }

    .popup {
        padding: 10px;
    }

    .popup p {
        text-align: center;
    }
    .footer {
        justify-items: flex-start;
    }

}