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

html{
    scroll-behavior: smooth;
}

body{
    background: #000000;
    color: #e2e8f0;
}

#header{
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #0f1029 45%, #1a0b2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.container{
    padding: 10px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10,10,10,0.92);
    box-shadow: 0 1px 0 rgba(139,92,246,0.18);
    z-index: 100;
    padding: 15px 10%;
    backdrop-filter: blur(10px);
}

.logo{
    width: 40px;
    height: 40px;
    background: #8b5cf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-weight: bold;
    font-size: 20px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 0 20px;
}

nav ul li a{
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover{
    color: #8b5cf6;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 2px;
    background: #8b5cf6;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    text-align: center;
    color: #e2e8f0;
    margin-top: 80px;
}

.header-text p{
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #8b5cf6;
    letter-spacing: 0.06em;
}

.header-text h1{
    font-size: 60px;
    margin-top: 20px;
    font-weight: 700;
    color: #f1f5f9;
}

#about{
    padding: 100px 0;
    background: #0b0a16;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-col-1{
    flex-basis: 35%;
}

.about-col-1 img{
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(139,92,246,0.18);
}

.about-col-2{
    flex-basis: 60%;
}

.subtitle{
    font-size: 50px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.about-col-2 > p {
    color: #94a3b8;
    line-height: 1.8;
}

.tab-titles{
    display: flex;
    margin: 30px 0 40px;
    gap: 30px;
}

.tab-links{
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #475569;
    transition: 0.3s;
}

.tab-links:hover{
    color: #8b5cf6;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #8b5cf6;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.3s;
}

.tab-links.active-link{
    color: #8b5cf6;
}

.tab-links.active-link::after{
    width: 100%;
}

.tab-contents ul li{
    list-style: none;
    margin: 15px 0;
    color: #94a3b8;
    line-height: 1.8;
}

.tab-contents ul li span{
    color: #8b5cf6;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CERTIFICATIONS */
#certifications{
    padding: 100px 0;
    background: #000000;
}

.cert-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
    max-width: 800px;
}

.cert-card{
    display: flex;
    align-items: center;
    gap: 25px;
    background: #15131f;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.4);
    border-left: 4px solid #3b2a6b;
    transition: all 0.3s;
}

.cert-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(139,92,246,0.12);
    border-left-color: #8b5cf6;
}

.cert-icon{
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.cert-icon-tf{
    background: #2e1a5e;
    color: #a78bfa;
}

.cert-icon-k8s{
    background: #1e3a5f;
    color: #60a5fa;
}

.cert-icon-kcsa{
    background: #1e2f5e;
    color: #60a5fa;
}

.cert-info h3{
    color: #f1f5f9;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cert-org{
    color: #64748b;
    font-size: 13px;
    margin-bottom: 10px;
}

.cert-badge{
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-earned{
    background: #1e2f5e;
    color: #93c5fd;
    border: 1px solid #3b2a6b;
}

.badge-progress{
    background: #1e3a5f;
    color: #60a5fa;
}

/* EDUCATION ROADMAP */
#education-roadmap{
    padding: 100px 0;
    background: #0b0a16;
}

.roadmap-container{
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-item{
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.roadmap-item:not(:first-child)::after{
    content: '';
    position: absolute;
    left: 29px;
    top: -50px;
    width: 2px;
    height: 50px;
    background: #3b2a6b;
}

.roadmap-marker{
    width: 60px;
    height: 60px;
    background: #8b5cf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(139,92,246,0.35);
}

.roadmap-content{
    margin-left: 40px;
    padding: 20px;
    background: #15131f;
    border-radius: 10px;
    border: 1px solid #2a2240;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.roadmap-content h3{
    color: #f1f5f9;
    font-size: 20px;
    margin-bottom: 5px;
}

.roadmap-content p{
    color: #64748b;
    font-size: 14px;
    margin-bottom: 10px;
}

.roadmap-content ul{
    list-style: none;
    padding-left: 0;
}

.roadmap-content li{
    color: #94a3b8;
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.roadmap-content li:before{
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: bold;
}

/* PORTFOLIO */
#portfolio{
    padding: 100px 0;
    background: #000000;
}

.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.github-work{
    border-radius: 12px;
    overflow: visible;
    box-shadow: none;
    transition: none;
}

.github-work:hover{
    transform: none;
}

.github-card{
    background: #13111c;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
    border: 1px solid #241f38;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    transition: all 0.3s;
}

.github-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(139,92,246,0.14);
    border-color: #8b5cf6;
}

.github-card-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.github-icon{
    font-size: 28px;
    color: #94a3b8;
}

.repo-lang{
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shell-lang{
    background: #1e3a5f;
    color: #60a5fa;
}

.hcl-lang{
    background: #2e1a5e;
    color: #a78bfa;
}

.github-card h3{
    font-size: 17px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.github-card p{
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
}

/* Architecture photo styles */
.arch-photo-wrap{
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1530;
    border: 1px solid #2a2240;
    min-height: 0;
}

.arch-photo{
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.github-card:hover .arch-photo{
    transform: scale(1.03);
}

.github-card-footer{
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #241f38;
}

.github-link{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #8b5cf6;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.github-link:hover{
    color: #a78bfa;
}

.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.work:hover{
    transform: scale(1.05);
}

.work img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.9), rgba(139,92,246,0.85));
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    color: white;
    font-size: 14px;
    transition: height 0.3s;
}

.layer h3{
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
}

.layer a{
    margin-top: 15px;
    color: #8b5cf6;
    text-decoration: none;
    font-size: 20px;
    line-height: 50px;
    background: #15131f;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
}

.work:hover .layer{
    height: 100%;
}

.btn{
    display: inline-block;
    margin: 30px auto;
    border: 2px solid #8b5cf6;
    padding: 12px 40px;
    border-radius: 8px;
    text-decoration: none;
    color: #8b5cf6;
    transition: all 0.3s;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    font-size: 16px;
}

.btn:hover{
    background: #8b5cf6;
    color: #0a0a0a;
}

/* CONTACT */
#contact{
    padding: 100px 0;
    background: #0b0a16;
}

.contact-left{
    flex-basis: 35%;
}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 20px;
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.contact-left p i{
    color: #8b5cf6;
    margin-right: 15px;
    font-size: 22px;
}

.social-icons{
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-icons a{
    text-decoration: none;
    font-size: 28px;
    color: #8b5cf6;
    transition: all 0.3s;
}

.social-icons a:hover{
    color: #a78bfa;
    transform: translateY(-5px);
}

.btn.btn2{
    display: inline-block;
    background: #8b5cf6;
    color: #0a0a0a;
    border: 2px solid #8b5cf6;
    margin-top: 30px;
}

.btn.btn2:hover{
    background: #7c3aed;
    border-color: #7c3aed;
    color: #ffffff;
}

.contact-right form{
    width: 100%;
}

form input, form textarea{
    width: 100%;
    border: 1.5px solid #241f38;
    outline: none;
    background: #15131f;
    padding: 15px;
    margin: 15px 0;
    color: #e2e8f0;
    font-size: 16px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

form input::placeholder, form textarea::placeholder{
    color: #475569;
}

form input:focus, form textarea:focus{
    border-color: #8b5cf6;
    background: #1f1f1f;
    box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}

form .btn2{
    padding: 12px 40px;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
}

.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #000000;
    color: #475569;
    font-weight: 300;
    margin-top: 20px;
    border-top: 1px solid #241f38;
}

.copyright i{
    color: #8b5cf6;
}

nav .fa-solid{
    display: none;
}

@media only screen and (max-width: 600px){
    .header-text h1{
        font-size: 32px;
    }

    nav .fa-solid{
        display: block;
        font-size: 22px;
        cursor: pointer;
        color: #e2e8f0;
    }

    nav ul{
        background: #0c0a16;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        padding-top: 60px;
        z-index: 200;
        transition: right 0.3s;
        border-left: 1px solid #241f38;
    }

    nav ul li{
        display: block;
        margin: 20px;
    }

    nav ul li a{
        color: #cbd5e1;
    }

    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        color: #8b5cf6;
    }

    .subtitle{
        font-size: 32px;
    }

    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }

    .about-col-1{
        margin-bottom: 30px;
    }

    .tab-links{
        font-size: 14px;
        margin-right: 10px;
    }

    .contact-left, .contact-right{
        flex-basis: 100%;
    }

    .roadmap-item{
        margin-bottom: 40px;
    }

    .roadmap-marker{
        width: 50px;
        height: 50px;
        font-size: 14px;
    }

    .roadmap-content{
        margin-left: 30px;
    }

    .cert-card{
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
