/* ===============================
   GOOGLE FONT
==================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===============================
   ROOT
==================================*/

:root{
    --blue:#2563EB;
    --orange:#F97316;
    --white:#ffffff;
    --bg:#F8FAFC;
    --dark:#1E293B;
    --gray:#64748B;

    --shadow:0 15px 35px rgba(0,0,0,.08);
    --radius:20px;
}

/* ===============================
   RESET
==================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--dark);
    overflow-x:hidden;
}

section{
    padding:100px 10%;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ===============================
   SCROLLBAR
==================================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#f1f5f9;
}

::-webkit-scrollbar-thumb{
    background:var(--blue);
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--orange);
}

/* ===============================
   TITLE
==================================*/

.title{
    text-align:center;
    margin-bottom:60px;
}

.title h2{
    font-size:40px;
    font-weight:700;
    color:var(--blue);
}

.title p{
    color:var(--gray);
    margin-top:10px;
}

/* ===============================
   NAVBAR
==================================*/

header{

    width:100%;
    position:fixed;
    top:0;
    left:0;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 10%;

    z-index:1000;

    background:rgba(255,255,255,.8);

    backdrop-filter:blur(15px);

    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.logo{

    font-size:28px;

    font-weight:700;

    color:var(--blue);

}

.logo span{

    color:var(--orange);

}

nav{

    display:flex;

    gap:40px;

}

nav a{

    color:var(--dark);

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:var(--orange);

}

.menu{

    display:none;

    font-size:28px;

    cursor:pointer;

}

/* ===============================
   HERO
==================================*/

.hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:60px;

}

.hero-text h3{

    color:var(--orange);

    font-size:25px;

}

.hero-text h1{

    font-size:65px;

    margin:15px 0;

    color:var(--blue);

}

.hero-text h2{

    height:45px;

    color:var(--dark);

    margin-bottom:20px;

}

.hero-text p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:35px;

}

.hero-button{

    display:flex;

    gap:20px;

    margin-bottom:30px;

}

.btn{

    background:var(--blue);

    color:white;

    padding:15px 35px;

    border-radius:40px;

    transition:.4s;

}

.btn:hover{

    background:var(--orange);

    transform:translateY(-5px);

}

.btn2{

    border:2px solid var(--orange);

    color:var(--orange);

    padding:15px 35px;

    border-radius:40px;

    transition:.4s;

}

.btn2:hover{

    background:var(--orange);

    color:white;

}

.social{

    display:flex;

    gap:18px;

}

.social a{

    width:50px;

    height:50px;

    background:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    color:var(--blue);

    box-shadow:var(--shadow);

    transition:.4s;

}

.social a:hover{

    background:var(--orange);

    color:white;

    transform:translateY(-8px);

}

.hero-image{

    width:420px;
    height:420px;

    margin:auto;

    position:relative;

}

.hero-image img{

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    border-radius:50%;

    border:8px solid white;

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.circle{

    width:420px;
    height:420px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #2563EB,
        #60A5FA
    );

    position:absolute;

    top:15px;
    left:15px;

    z-index:-1;

}

.hero-image img{
    width:380px;
    border-radius:50%;
    object-fit:cover;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

@keyframes float{
    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-20px);
    }

    100%{
        transform:translateY(0);
    }

}

/*==========================
        ABOUT
===========================*/

.about{
    padding:120px 10%;
    background:#f8fbff;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title span{
    color:#ff7a00;
    font-size:16px;
    font-weight:600;
    letter-spacing:2px;
}

.section-title h2{
    margin-top:12px;
    font-size:52px;
    color:#2457e8;
}

.section-title p{
    margin-top:15px;
    color:#777;
    font-size:18px;
    margin-bottom: 0;
}

.about-text{

    flex:1;
    width: 100%;
    max-width:900px;
    text-align:left;
    text-align: center;

}

.about-text h3{
    text-align:left;
    font-size:40px;
    margin-bottom:30px;
}

.about-text p{
    font-size:18px;
    line-height:1.9;
    color:#666;
    margin-bottom:25px;
    text-align:justify;
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
}

.about-content{
    display:flex;
    grid-template-columns: 1fr 180px;
    gap:50px;
    align-items:start;
    margin-top:20px;
    justify-content: center;
}

.what-i-do{
    margin-top:90px;
}

.what-i-do h3{
    text-align:center;
    font-size:35px;
    margin-bottom:50px;
    color:#2457e8;
}

.service-container{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

.service-card{
    background:white;
    padding:40px;
    font-size: 24px;
    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:#2457e8;

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 50px rgba(0,0,0,.12);

}

.service-card i{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#2457e8;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    margin-bottom:25px;

}

.service-card h4{

    font-size:26px;

    margin-bottom:15px;

    color:#222;

}

.service-card p{

    color:#666;

    line-height:1.8;

}

@media(max-width:900px){

.service-container{

grid-template-columns:1fr;

}

}

.about-wrapper{

    display:grid;
    grid-template-columns: 1fr 180px;
    justify-content:space-between;
    align-items:start;
    gap:60px;
    margin-top:60px;

}

/* ===============================
   PORTFOLIO
==================================*/

.portfolio{
    background:white;
}

.portfolio-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.card{

    position:relative;

    overflow:hidden;

    border-radius:25px;

    box-shadow:var(--shadow);

    cursor:pointer;

}

.card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.card:hover img{

    transform:scale(1.1);

}

.overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(37,99,235,.2),
        rgba(37,99,235,.9)
    );

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    color:white;

    opacity:0;

    transition:.4s;

}

.card:hover .overlay{

    opacity:1;

}

.overlay h3{

    font-size:28px;

    margin-bottom:10px;

}

.overlay p{

    font-size:16px;

}

/* ===============================
   EDUCATION
==================================*/

.education{

    background:var(--bg);

}

.timeline{

    max-width:800px;

    margin:auto;

}

.timeline-box{

    background:white;

    padding:40px;

    border-left:6px solid var(--orange);

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:.4s;

}

.timeline-box:hover{

    transform:translateY(-8px);

}

.timeline-box h3{

    color:var(--blue);

    margin-bottom:10px;

}

.timeline-box span{

    color:var(--orange);

    font-weight:600;

}

.timeline-box p{

    margin-top:10px;

    color:var(--gray);

}

/* ================= CONTACT ================= */

.contact{

    background:#f8fbff;
    padding:120px 10%;

}

.contact-wrapper{

    display:grid;
    grid-template-columns:380px 1fr;
    gap:45px;
    margin-top:60px;

}

.contact-info{

    display:flex;
    flex-direction:column;
    gap:22px;

}

.contact-card{

    display:flex;
    align-items:center;
    gap:20px;

    background:#fff;

    padding:25px;

    border-radius:20px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.35s;

    color:#222;

}

.contact-card:hover{

    transform:translateY(-8px);

    background:#2563EB;

    color:white;

}

.contact-card:hover p{

    color:white;

}

.contact-card:hover .contact-icon{

    background:white;

}

.contact-card:hover .contact-icon i{

    color:#2563EB;

}

.contact-icon{

    width:70px;
    height:70px;

    border-radius:18px;

    background:#2563EB;

    display:flex;
    justify-content:center;
    align-items:center;

}

.contact-icon i{

    font-size:32px;

    color:white;

}

.contact-card h4{

    font-size:20px;

    margin-bottom:6px;

}

.contact-card p{

    color:#666;

    transition:.3s;

}

.contact-form{

    background:white;

    padding:35px;

    border-radius:22px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.input-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:18px;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:18px;

    margin-top:18px;

    border:none;

    background:#f3f6fc;

    border-radius:15px;

    font-size:16px;

}

.contact-form textarea{

    resize:none;

}

.contact-form button{

    margin-top:25px;

    width:100%;

    padding:18px;

    border:none;

    border-radius:50px;

    background:#2563EB;

    color:white;

    font-size:17px;

    cursor:pointer;

    transition:.35s;

}

.contact-form button:hover{

    background:#ff7a00;

    transform:translateY(-3px);

}

.contact-form button i{

    margin-right:8px;

}

@media(max-width:900px){

.contact-wrapper{

grid-template-columns:1fr;

}

.input-row{

grid-template-columns:1fr;

}

}

/* ===============================
   FOOTER
==================================*/

footer{

    background:var(--blue);

    color:white;

    text-align:center;

    padding:40px;

}

footer h3{

    font-size:28px;

    margin-bottom:10px;

}

footer p{

    opacity:.8;

}

/* ===============================
   RESPONSIVE
==================================*/

@media(max-width:992px){

    header{

        padding:20px 6%;

    }

    section{

        padding:90px 6%;

    }

    .hero{

        grid-template-columns:1fr;

        text-align:center;

    }

    .hero-image{

        order:-1;

    }

    .about-container{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    nav{

        position:absolute;

        top:90px;
        left:0;

        width:100%;

        background:white;

        flex-direction:column;

        text-align:center;

        padding:30px 0;

        display:none;

        box-shadow:0 10px 20px rgba(0,0,0,.08);

    }

    nav.active{

        display:flex;

    }

    .menu{

        display:block;

    }

    .hero h1{

        font-size:45px;

    }

    .hero h2{

        font-size:24px;

    }

    .circle{

        width:320px;

        height:320px;

    }

    .hero-image img{

        width:260px;

    }

}

@media(max-width:500px){

    .hero-button{

        flex-direction:column;

    }

    .social{

        justify-content:center;

    }

    .title h2{

        font-size:32px;

    }

    .portfolio-container{

        grid-template-columns:1fr;

    }

}

/* ===============================
   HOVER EFFECT
==================================*/

.card,
.about-card,
.info,
.timeline-box{

    transition:.4s ease;

}

.card:hover{

    transform:translateY(-12px);

}

.about-card:hover{

    box-shadow:0 20px 50px rgba(37,99,235,.18);

}

.timeline-box:hover{

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

/* ===============================
   FADE
==================================*/

.hero,
.about,
.skills,
.portfolio,
.education,
.contact{

    animation:fade 1.2s ease;

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ===============================
   BACKGROUND SHAPE
==================================*/

body::before{

    content:"";

    width:350px;

    height:350px;

    background:#2563EB22;

    position:fixed;

    border-radius:50%;

    top:-100px;

    left:-120px;

    filter:blur(90px);

    z-index:-2;

}

body::after{

    content:"";

    width:350px;

    height:350px;

    background:#F9731625;

    position:fixed;

    right:-120px;

    bottom:-120px;

    border-radius:50%;

    filter:blur(90px);

    z-index:-2;

}

/* ===============================
   BUTTON GLOW
==================================*/

.btn{

    box-shadow:0 10px 30px rgba(37,99,235,.35);

}

.btn:hover{

    box-shadow:0 15px 40px rgba(249,115,22,.45);

}

/* ===============================
   TEXT SELECTION
==================================*/

::selection{

    background:#2563EB;

    color:white;

}

/* ===============================
   IMAGE
==================================*/

img{

    max-width:100%;

    display:block;

}

/* ===============================
   GLASS
==================================*/

.about-card,
.info,
.timeline-box,
.card{

    border:1px solid rgba(255,255,255,.4);

}

header:hover{

    box-shadow:0 10px 40px rgba(0,0,0,.08);

}

form input:focus,
form textarea:focus{

    border:2px solid var(--blue);

    background:white;

}

.overlay{

    backdrop-filter:blur(5px);

}

footer{

    margin-top:70px;

}

/*============================
        GROWTH JOURNEY
=============================*/

.journey{
    background:#f8fbff;
    padding:120px 10%;
}

.journey-container{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:60px;

}

.journey-card{

    background:#fff;
    border-radius:22px;
    padding:35px 25px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

    cursor:pointer;

}

.journey-card:hover{

    transform:translateY(-10px);

}

.journey-icon{

    width:75px;
    height:75px;

    margin:auto;

    border-radius:50%;

    background:#2457e8;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    font-size:30px;

    margin-bottom:20px;

}

.journey-card h3{

    font-size:32px;

    color:#2457e8;

    margin-bottom:8px;

}

.journey-card span{

    color:#ff7a00;

    font-weight:600;

}

.journey-card p{

    margin:20px 0;

    color:#666;

    font-size:15px;

    line-height:1.7;

}

.journey-card button{

    background:#2457e8;

    color:white;

    border:none;

    padding:10px 25px;

    border-radius:30px;

    cursor:pointer;

    transition:.3s;

}

.journey-card button:hover{

    background:#ff7a00;

}

.journey-item{
    padding:14px 0;
}

.journey-item:first-of-type{

    border-top:none;

    margin-top:10px;

}

.journey-item h3{
    font-size:18px;
    font-weight:600;
}

.journey-item p{
    display:none;   /* karena tadi kita sepakat gak pakai deskripsi */
}

.journey-item a{
    font-size:14px;
}

.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);

    justify-content:center;
    align-items:center;

    overflow-y:auto;
    padding:40px 20px;

    z-index:9999;
}

.modal-content{
    width: 600px;
    max-width: 90%;

    background: #fff;
    border-radius: 22px;

    padding: 28px 32px;

    max-height: 70vh;

    overflow-y: auto;

    box-shadow:0 15px 45px rgba(0,0,0,.18);
}

.modal-content h2{
    font-size:28px;
    margin-bottom:20px;
}

.modal-content::-webkit-scrollbar{

    width:8px;

}

.modal-content::-webkit-scrollbar-thumb{

    background:#2563eb;

    border-radius:20px;

}

.close{

    position:absolute;

    right:25px;

    top:20px;

    font-size:26px;

    cursor:pointer;

    color:#666;

    transition:.3s;

}

.close:hover{

    color:#2563EB;

    transform:rotate(90deg);

}

.modal ul{

    margin-top:25px;

    padding-left:20px;

}

.modal li{

    margin-bottom:15px;

    line-height:1.8;

}

@keyframes popup{

    from{

        opacity:0;

        transform:translateY(-30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ================= PORTFOLIO TAB ================= */

.portfolio-tabs{

    display:flex;

    justify-content:center;

    gap:18px;

    margin:45px 0;

}

.portfolio-tabs .tab-btn{

    padding:14px 35px;

    border:none;

    border-radius:999px;

    background:#fff;

    color:#555;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

}

.portfolio-tabs .tab-btn:hover{

    transform:translateY(-3px);

}

.portfolio-tabs .tab-btn.active{

    background:#2962ff;

    color:white;

}

.portfolio-content{

    display:none;

}

.portfolio-content.active{

    display:block;

}

.portfolio{

    padding:100px 10%;

    background:#f7faff;

}

/*================ TECH & TOOLS =================*/

.tech-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,170px);

    justify-content:center;

    gap:28px;

    margin-top:40px;

}

.tech-card{

    width:170px;

    height:170px;

    background:#fff;

    border-radius:20px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.tech-card:hover{

    transform:translateY(-8px);
    background:#2962ff;
    box-shadow:0 18px 40px rgba(41,98,255,.15);

}

.tech-card:hover span{
    color:white;
}

.tech-card:hover i{
    color:white !important;
}

.tech-card i{

    width:65px;
    
    height:65px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:36px;

}

.tech-card span{

    display:block;
    color:white;
    margin-top:12px;

    font-size:16px;

    font-weight:500;

    color:#555;

}

/*.html{color:#E34F26;}
.css{color:#1572B6;}
.js{color:#F7DF1E;}
.php{color:#777BB4;}
.python{color:#3776AB;}
.java{color:#EA2D2E;}
.cpp{color:#00599C;}
.mysql{color:#00758F;}
.mongo{color:#4DB33D;}
.figma{color:#F24E1E;} */

.html{
    color:#2962ff;
}

.css{
    color:#2962ff;
}

.js{
    background:#f7df1e;
    color:#222;
}

.php{
    color:#777BB4;
}

.python{
    color:#2962ff;
}

.java{
    color:#dc2626;
}

.cpp{
    color:#2962ff;
}

.mysql{
    color:#00758F;
}

.mongo{
    color:#4DB33D;
}

.figma{
    color:#F24E1E;
}

/*================ PROJECT =================*/

.project-container{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

    margin-top:60px;

}

.project-card{

    background:white;

    border-radius:25px;

    padding:25px;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.project-card:hover{

    transform:translateY(-10px);

}

.project-card img{

    width:100%;
    height:190px;

    object-fit:cover;

    border-radius:18px;

    margin-bottom:20px;

}

.project-card h3{

    color:#2962ff;

    font-size:24px;

    margin-bottom:12px;

}

.project-card p{

    color:#777;

    margin-bottom:25px;

}

.project-btn{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:12px 24px;

    border-radius:30px;

    background:#2962ff;

    color:white;

    font-weight:600;

    transition:.3s;

}

.project-btn:hover{

    background:#ff7a00;

}