/*--------- Variables ---------*/
:root {
    --custom-black: #090909;
    --body-bg-color: #040112;
    --text-color: #c6c6c7;
    --blue-deep: rgb(10, 10, 90);
    --custom-cyan: #00D8F5;
    --custom-cyan-hover: #02bfd8;
    --custom-orange: #FF8C00;
    --custom-orange-hover: #e78002;
    --navbar-color: #060119;
    --nav-links-color: #8892a4;
    --nav-links-hover-color: #00D8F5;
    --faded-border-color: #ffffff1c;
    --border-color: rgba(225, 225, 225, 0.234);
    --form-bg-color: rgba(225, 225, 225, 0.51);
    --form-btn-bg-color: #4f7992;
    --input-bg-color: #c2d8ff;
    --portfolio-link-color: rgb(0, 115, 255);
    --soft-skill-article-bg-color: #d000f5;
    --tech-skill-article-bg-color: #c0e237;
    --tools-article-bg-color: #00D8F5;
    --h2-bg-color: rgba(225, 225, 225, 0.116);
    --modal-bg-color: rgba(0, 0, 0, 0.6);
    --project-details-container-bg-color: rgba(255, 252, 252, 0.952);
    --footer-bg-color: rgb(182, 6, 185);
    --footer-link-color: rgb(0, 51, 115);
}

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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Nunito, sans-serif;
    background-color: var(--body-bg-color);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #050116;
}

a,
p {
    color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--custom-cyan);
}

h1 {
    color: var(--text-color);
    font-size: 4rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.25rem;
}

a {
    font-size: 1rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.3;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.d1 {
    transition-delay: .08s;
}

.d2 {
    transition-delay: .16s;
}

.d3 {
    transition-delay: .24s;
}

.d4 {
    transition-delay: .32s;
}

.title-part-one {
    color: var(--custom-cyan);
}

.title-part-two {
    color: var(--custom-orange);
}

header {
    width: 80%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding-bottom: 0;
}

.home-link {
    text-decoration: none;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.header-wrapper img {
    width: 2.5rem;
    height: 2.5rem;
}

.logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
}

.title-part-one {
    color: #00CFFF;
}

.title-part-two {
    color: #FFA500;
}

.nav-contact-link {
    width: max-content;
    padding: 8px 10px;
    color: var(--text-color);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--custom-black);
    background-color: var(--custom-orange);
}

.nav-contact-link:hover {
    color: var(--custom-black);
    background-color: var(--custom-orange-hover);
}

.hamburger-icon {
    display: none;
    border: none;
    color: var(--text-color);
    background-color: transparent;
}

nav {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    padding: 15px 10rem;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--faded-border-color);
    background-color: var(--navbar-color);
    box-shadow: 2px 4px 10px rgba(255, 255, 255, 0.077);
}

.nav-links-wrapper {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 75%;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    color: var(--nav-links-color);
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    font-weight: 700;
    color: var(--custom-cyan);
}

nav ul li a.active {
    font-weight: 700;
    color: var(--custom-cyan);
}

main {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

section {
    width: 100%;
    padding: 85px 0;
    margin: 0;
}

#home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 100vh;
    padding: 80px 0;
}

#home .hero-content {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
}

.hero-text-container .hero-badge {
    width: max-content;
    color: var(--custom-orange);
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
}

.hero-text-container h1,
.hero-text-container p {
    margin: 0;
}

.sub-text {
    width: 80%;
}

.hero-headline {
    width: 95%;
    padding: 0;
    line-height: 60px;
    color: var(--text-color);
    opacity: 1;
    font-weight: 900;
    transition: opacity 2s ease;
}

.hero-headline.fade-out {
    opacity: 0;
}

.hero-headline .accent {
    color: var(--custom-cyan);
}

.name-badge {
    font-weight: 600;
    color: var(--custom-orange);
}

.cta-link-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60%;
}

.cta-link-container a {
    text-decoration: none;
}

.resume-link,
.service-link,
.whatsapp-link,
.project-link {
    width: max-content;
    text-align: center;
    padding: 8px 15px;
    font-weight: 700;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.resume-link:hover,
.service-link:hover,
.project-link:hover {
    color: var(--custom-black);
    background-color: var(--custom-orange);
}

.whatsapp-link {
    color: var(--custom-black);
    background-color: #05d150;
}

.whatsapp-link:hover {
    color: var(--custom-black);
    background-color: #00a73e;
}

.main-picture {
    width: 20rem;
    height: 22rem;
}

.content-wrapper img {
    width: 20rem;
    height: 23rem;
}

.main-picture,
.content-wrapper img {
    padding: 5px;
    border-radius: 20px;
    box-shadow: 0 0 15px 2px rgba(0, 255, 255, 0.22);
}

.section-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    width: max-content;
    padding: 5px 15px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    margin: 0;
}

.section-headline {
    font-weight: 900;
}

#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding-top: 30px;
}

.text-wrapper {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.text-wrapper h2 {
    padding: 0;
    margin: 0;
    color: var(--custom-cyan);
}

.text-wrapper p a {
    text-decoration: none;
    color: var(--custom-orange);
}

.about-aside {
    width: 40%;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 2rem;
}

.availability-stack {
    gap: 1rem;
    display: flex;
    align-items: center;
}

.availability-stack span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    width: max-content;
    padding: 5px 12px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
}

.work-span {
    color: #05d150;
}

.location-span {
    color: var(--text-color);
}

.location-span svg {
    color: var(--custom-orange);
}

.metric-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.metric-cards {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.2rem;
    padding: 10px;
    width: auto;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.114);
    transition: tramsform 0.2s;
}

.metric-cards:hover {
    transform: translateY(-2px);
}

.metric-cards svg {
    padding: 8px;
    border-radius: 5px;
    color: var(--custom-orange);
    background-color: var(--faded-border-color);
}

.metric-cards h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    color: var(--custom-cyan);
    font-size: 2.8rem;
}

.metric-cards h3 p {
    font-size: 18px;
}

.metric-cards small {
    color: var(--text-color);
}

.about-cta-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.about-cta-wrapper a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: max-content;
    text-align: center;
    text-decoration: none;
    padding: 10px 16px;
}

.about-cta-wrapper .resume-link {
    color: var(--custom-black);
    background-color: var(--custom-orange);
    border-radius: 10px;
}

.about-cta-wrapper .resume-link:hover {
    background-color: var(--custom-orange-hover);
}

.about-cta-wrapper .contact-link {
    color: var(--text-color);
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
}

.about-cta-wrapper .contact-link:hover {
    color: var(--custom-black);
    background-color: var(--custom-orange);
}

#services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-headline-wrapper {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 1rem;
}

.service-headline-wrapper h2 {
    color: var(--custom-cyan);
    margin: 0;
}

.service-headline-wrapper p {
    text-align: center;
    width: 98%;
}

.service-cta-link {
    text-decoration: none;
    width: max-content;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 50px;
    color: var(--custom-black);
    background-color: var(--custom-orange);
    transition: all 0.3s ease-in-out;
}

.service-cta-link:hover {
    color: var(--custom-black);
    background-color: var(--custom-orange-hover);
}

.service-content-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-content: flex-start;
    width: 100%;
    padding: 10px 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.111);
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
}

.service-card svg,
.service-card h3,
.service-card p {
    margin: 0;
}

.service-card h3 {
    color: var(--custom-cyan);
}

.service-card svg {
    width: 2.5rem;
    height: 2.5rem;
    padding: 8px;
    color: var(--custom-cyan);
    border: 1px solid var(--faded-border-color);
    border-radius: 10px;
    background-color: var(--faded-border-color);
}

#skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-headline-wrapper {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.section-headline-wrapper h2 {
    padding: 0;
    margin: 5px;
    color: var(--custom-cyan);
}

.section-headline-wrapper p {
    text-align: center;
}

.filter-tabs {
    display: inline-flex;
    gap: 4px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 5px;
    margin: 24px auto;
}

.filter-btn,
.project-filter-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    color: var(--text-color);
    transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover,
.project-filter-btn.active,
.project-filter-btn:hover {
    font-weight: 700;
    background: var(--input-bg-color);
    color: var(--custom-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skills-main-wrapper {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: 25%;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.111);
    transition: transform 0.2s;
}

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

.skill-card h3 {
    color: var(--custom-cyan);
}

.skill-list li {
    list-style: disc;
    color: var(--text-color);
}

.skill-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 20px;
}

.skill-list li small {
    color: var(--custom-orange);
}

#projects,
#certifications {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.projects-container,
.certificate-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

.project-card,
.certificate-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.234);
    border-radius: 10px;
}

.project-img-wrapper,
.cert-img-wrapper {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.project-status {
    width: max-content;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    z-index: 2;
    top: 5px;
    left: 10px;
}

.project-status.completed {
    color: var(--custom-black);
    background-color: rgb(4, 253, 4);
}

.project-status.ongoing {
    background-color: var(--custom-orange);
}

.project-img-wrapper img,
.cert-img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-bottom: 1px solid var(--border-color);
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.project-img-wrapper img:hover,
.cert-img-wrapper img:hover {
    transform: scale(1.03);
}

.project-details-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex: 1;
    padding: 20px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.234);
}

.project-details-wrapper h3 {
    margin: 0;
    padding: 0;
    color: var(--custom-cyan);
}

.stack-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stack-wrapper span {
    padding: 3px 12px;
    font-size: 12px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
}

.project-descriptions {
    color: var(--text-color);
}

.project-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
}

.project-link-wrapper a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    width: max-content;
    color: var(--custom-orange);
    transition: all 0.3s ease-in-out;
}

.project-link-wrapper a {
    text-decoration: none;
    font-size: 14px;
}

.project-link-wrapper a:hover {
    color: var(--custom-cyan);
}

.certificate-card {
    height: max-content;
}

.cert-details-wrapper {
    padding: 10px;
}

.cert-details-wrapper h3 {
    color: var(--custom-cyan);
    width: 100%;
    text-wrap: wrap;
}

.cert-details-wrapper h3 small {
    font-size: 14px;
    font-weight: 500;
    color: var(--custom-orange);
}

.cert-details-wrapper p {
    color: var(--custom-cyan);
}

#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#contact .section-title {
    margin-bottom: 50px;
}

.contact-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 50%;
    gap: 1rem;
    padding: 0;
}

.contact-headline-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    padding: 0;
}

.contact-headline-wrapper .contact-badge,
.contact-headline-wrapper h2,
.contact-headline-wrapper p {
    margin: 0;
}

.contact-headline-wrapper h2 {
    color: var(--custom-cyan);
    padding-bottom: 10px;
}

.contact-badge {
    width: max-content;
    padding: 3px 10px;
    font-size: 14px;
    color: var(--custom-orange);
    border: 1px solid var(--border-color);
    border-radius: 50px;
}

.contact-details-wrapper strong {
    color: var(--custom-cyan);
}

.contact-service-wrapper h3 {
    color: var(--custom-cyan);
}

.contact-service-wrapper ul {
    padding: 5px 25px;
}

.contact-service-wrapper ul li {
    color: var(--text-color);
}

.contact-socials-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.contact-socials-wrapper h3 {
    color: var(--custom-cyan);
    margin: 0;
}

.links-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: max-content;
}

.links-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background-color: white;
}

.links-wrapper a svg {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 2rem;
    color: var(--custom-black);
}

.links-wrapper a svg:hover {
    color: var(--body-bg-color);
}

.links-wrapper .gmail-link:hover {
    background-color: #f51919;
}

.links-wrapper .whatsapp-link:hover {
    background-color: #05d150;
}

.links-wrapper .linkedin-link:hover {
    background-color: rgb(0, 115, 255);
}

.links-wrapper .github-link:hover {
    background-color: rgb(255, 157, 0);
}

.links-wrapper .youtube-link:hover {
    background-color: #f51919;
}

form {
    width: 45%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.051);
}

.form-headline-wrapper {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-headline-wrapper h3 {
    font-weight: 900;
    color: var(--custom-cyan);
    padding: 20px 0;
    margin-bottom: 0;
}

.form-headline-wrapper p {
    text-align: center;
}

.form-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    gap: 1rem;
}

.fieldset-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.form-content fieldset {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
    border: none;
    border-radius: 5px;
}

.form-content fieldset label {
    color: var(--text-color);
}

.form-content fieldset input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    color: var(--custom-black);
    border: 1px solid rgba(255, 255, 255, 0.134);
    border-radius: 5px;
    background-color: #fdfeff;
}

.form-content fieldset select {
    width: 100%;
    font-size: 1rem;
    border-radius: 5px;
    padding: 10px;
}

.form-content fieldset textarea {
    width: 100%;
    min-height: 150px;
    resize: none;
    padding: 10px;
    font-size: 1rem;
    color: var(--custom-black);
    border-radius: 5px;
    background-color: #fdfeff;
}

.form-content fieldset input,
.form-content fieldset textarea,
.form-content fieldset select {
    outline: none;
}

#submit-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    padding: 15px;
    background-color: var(--custom-orange);
    cursor: pointer;
}

#submit-btn:hover {
    background-color: #f79927;
}

#form-status {
    width: 90%;
    padding: 20px;
    text-align: center;
    color: var(--custom-black);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.form-content .success {
    background-color: #00a73e;
}

.form-content .error {
    background-color: #ff4000;
}

footer {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-headline-wrapper {
    width: max-content;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.footer-headline-wrapper img {
    width: 2.5rem;
    height: 2.5rem;
}

.footer-links {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links li {
    list-style: none;
}

.footer-links li a {
    font-size: 14px;
    text-decoration: none;
    color: var(--text-color);
}

.footer-links li a:hover {
    color: var(--custom-cyan);
}

.copyright-wrapper {
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright-wrapper small {
    color: var(--text-color);
    padding: 0;
}