/*font for logo */
@import url('https://fonts.googleapis.com/css2?family=Italianno&family=Philosopher:ital,wght@1,400;1,700&family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Ubuntu:ital,wght@1,300;1,400;1,500;1,700&family=Yellowtail&display=swap');
/*font for body*/
@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@1,400;1,700&family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Ubuntu:ital,wght@1,300;1,400;1,500;1,700&family=Yellowtail&display=swap');

html{

    scroll-behavior:smooth;
}

:root
{
    --bg-black-900:#f2f2fc;
    --bg-black-100:#fdf9ff;
    --bg-black-50:#e8dfec;
    --text-black-900:#302e4d;
    --text-black-700:#504e70;
}
/* for dark mode*/
body.dark
{
    --bg-black-900:#000000;
    --bg-black-100:#151515;
    --bg-black-50:#222222;
    --text-black-900:#ffffff;
    --text-black-700:#e9e9e9;
}

::-webkit-scrollbar{

    width:0;

    background:transparent;
}

body
{
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 16px;
    font-family:'Outfit',sans-serif;
}
/* HEADINGS */

h1,
h2,
h3,
h4,
.logo a{

    font-family:'Space Grotesk',sans-serif;

    letter-spacing:-1px;
}

/* CODE / DEV TEXT */

pre,
code,
.typing,
.snippet-code{

    font-family:'JetBrains Mono',monospace;
}

*{
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}
::before,::after
{
    box-sizing: border-box;

}
.hidden
{
    display: none !important ;
}

.section
{
    background: var(--bg-black-900);
    min-height: 100vh;
    display: block;
    padding: 0 30px;
    opacity: 1;
    position: fixed;
    left: 270px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3 ease;
}
.section.active
{
    z-index: 2;
    opacity: 1;
    animation: slideSection 1s ease;
}
.section.back-section
{
    z-index: 1;
}
@keyframes slideSection
{
    0%
    {
        transform: translateX(100%);
    }
    100%
    {
        transform: translateX(0%);
    }
}
.section .container
{
    padding-top: 60px;
    padding-bottom: 70px;
    padding-left: 30px;
}
.section-title
{
    flex:0 0 100%;
    max-width: 100%;
}
.section-title
{
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 70px;
}
.section-title h2
{
    font-size: 40px;
    color: var(--text-black-900);
    font-weight: 700;
    position:  relative;
}
.section-title h2::before
{
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-color);
    position: absolute;
    top:100%;
    left: 0;
}
.section-title h2::after
{
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--skin-color);
    position: absolute;
    top:100%;
    left: 0;
    margin-top: 8px;
}

.padd-15
{
    padding-left: 15px;
    padding-right: 15px;

}
.row    
{
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position:  relative;
}
.btn
{
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    color: white;
    border-radius: 10px;
    border: none;
    display: inline-block;
    white-space: nowrap;
    background: var(--skin-color);
    transition: all 0.3 ease;
}
.btn:hover
{
    transform: scale(1.05);
}
.shadow-dark
{
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
.container
{
    max-width: 1100px;
    width: 100%;
    margin: auto;
}
ul
{
    list-style: none;
}
/* aside start*/
.aside
{
    width: 270px;
    background: var(--bg-black-100);
    position: fixed;
    padding: 30px;
    height: 100%;
    left: 0;
    top: 0;
    border-right: 1px solid var(--bg-black-50);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.3 ease;
    
}
.aside .logo
{
    position: absolute;
    top: 50px;
    font-size: 30px;
    text-transform: capitalize;
}
.aside .logo a
{
    color: var(--text-black-900);
    font-weight: 700;
    padding: 15px 20px;
    font-size: 20px;
    letter-spacing: 3px;
    position: relative;
}
.aside .logo a span
{
    
    font-family: 'Italianno', cursive;
    /*font-family: 'Ubuntu','Yellowtail', cursive;*/
    font-size: 45px;
}
.aside .logo a::before
{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid var(--skin-color);
    border-left: 5px solid var(--skin-color);
    bottom: 0;
    left: 0;
    
}
.aside .logo a::after
{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 5px solid var(--skin-color);
    border-right: 5px solid var(--skin-color);
    top: 0;
    right: 0;

}
.aside .nav-toggler
{
    height: 40px;
    width: 45px;
    border:1px solid var(--bg-black-50);
    cursor: pointer;
    position: fixed;
    left: 300px;
    top: 20px;
    border-radius: 5px;
    background: var(--bg-black-100);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3 ease;
}
.aside .nav-toggler span
{
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    display: inline-block;
    position: relative;
}
.aside .nav-toggler.open span
{
    background-color: transparent;
}
.aside .nav-toggler span::before
{
    content: '';
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    position: absolute;
    top: -6px;
    left: 0;
}
.aside .nav-toggler.open span::before
{
    transform: rotate(45deg);
    top: 0;
}
.aside .nav-toggler span::after
{
    content: '';
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    position: absolute;
    top: 6px;
    left: 0;
}
.aside .nav-toggler.open span::after
{
    transform: rotate(-45deg);
    top: 0;
}
.aside .nav
{
    margin-top: 50px;
}
.aside .nav li
{
    margin-bottom: 20px;
    display: block;
}
.aside .nav li a
{
    font-size: 16px;
    font-weight: 600;
    display: block;
    color: var(--text-black-900);
    padding: 5px 15px;
    border-bottom: 1px solid var(--bg-black-50);
}
.aside .nav li a.active
{
    color:var(--skin-color);
}
.aside .nav li a i
{
    margin-right: 15px;
}
/* aside end*/

/* home start*/

.home
{
    min-height: 100vh;
    display: flex;
    color: var(--text-black-900);
}
.home .home-info
{
    flex:0 0 60%;
    max-width: 60%px;
}
.home .home-img
{
    flex:0 0 60%;
    max-width: 40%;
    text-align: center;
    position: relative;
}
.home .home-img img
{
    height: 400px;
}
h3.hello
{
    font-size: 28px;
    margin: 15px 0;
}
h3.hello span
{
    font-family: 'Italianno', cursive;
    /*font-family: 'Clicker Script', cursive;*/
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--skin-color);
}
h3.my-profession
{
    font-size: 30px;
    margin: 15px 0;
}
.typing
{
    color: var(--skin-color);
}
.home-info p
{
    margin-bottom: 70px;
    font-size: 20px;
    color: var(--text-black-700);
}
.home-img::after
{
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-bottom: 10px solid var(--skin-color);
    border-right: 10px solid var(--skin-color);
    right: 20px;
    bottom: -40px;
}
.home-img::before
{
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-top: 10px solid var(--skin-color);
    border-left: 10px solid var(--skin-color);
    left: 20px;
    top: -40px;
}
.home .home-img img
{
    margin: auto;
    border-radius: 8px;
    height: 400px;
}

/* about*/
.about .about-content
{
    flex:0 0 100%;
    max-width: 100%;
}
.about .about-content .about-text   
{
    flex:0 0 100%;
    max-width:100%;
}
.about .about-content .about-text h3
{
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-black-900);
}
.about .about-content .about-text h3 span
{
    color: var(--skin-color);
}
.about .about-content .about-text p
{
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
}
.about .about-content .personal-info
{
    flex:0 0 60%;
    max-width:60%;
    margin-top: 40px;
}
.about .about-content .personal-info .info-item
{
    flex:0 0 50%;
    max-width:50%;
    
}
.about .about-content .personal-info .info-item p
{
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    color: var(--text-black-900);
    border-bottom: 1px solid var(--bg-black-50);
}
.about .about-content .personal-info .info-item p span
{
    font-weight:400;
    color: var(--text-black-700);
    margin-left: 6px;
    display: inline-block;
}
.about .about-content .personal-info .buttons
{
    margin-top: 65px;
}
.about .about-content .personal-info .buttons .btn
{
    margin-right: 18px;
    margin-top: 10px;
}
.about .about-content .skills
{
    flex:0 0 40%;
    max-width:40%;
    margin-top: 40px;
}
.about .about-content .skills .skill-item
{
    flex:0 0 100%;
    max-width:100%;
}
.about .about-content .skills .skill-item h5
{
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-black-900);
    text-transform:capitalize ;
}
.about .about-content .skills .skill-item .progress
{
    background-color: var(--bg-black-50);
    height: 7px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}
.about .about-content .skills .skill-item
{
    margin-bottom: 20px;
}
.about .about-content .skills .skill-item .progress .progress-in
{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background-color: var(--skin-color);
}
.about .about-content .skills .skill-item .skill-percent
{
    position:absolute;
    right: 0;
    color: var(--text-black-900);
    top: -40px;
    font-weight: 400;
    line-height: 40px;
}
.about .about-content .education,
.about .about-content .experience
{
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}
.about .about-content h3.title
{
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--text-black-900);
}
.about .about-content .timeline-box
{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .timeline
{
    background-color: var(--bg-black-100);
    padding: 30px 15px;
    border: 1px solid var(--bg-black-50);
    border-radius: 10px;
    width: 100%;
    position: relative;
}
.about .about-content .timeline .timeline-item
{
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
}
.about .about-content .timeline .timeline-item:last-child
{
    padding-bottom: 0;
}
.about .about-content .timeline .timeline-item::before
{
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background-color: var(--skin-color);
}
.about .about-content .timeline .circle-dot
{
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: var(--skin-color);
}
.about .about-content .timeline .timeline-date
{
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--skin-color);
}
.about .about-content .timeline .timeline-date .fa
{
    margin-right: 5px;
}
.about .about-content .timeline .timeline-title
{
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: capitalize;
    color: var(--text-black-900);
}
.about .about-content .timeline .timeline-text
{
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
    color: var(--text-black-700);
}

/* service section*/
.service .container
{
    padding-bottom:40px ;
}
.service .service-item
{
    margin-bottom: 30px;
    flex:0 0 33.33%;
    max-width: 33.33%;

}
.service .service-item .service-item-inner
{
    background-color: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    border-radius: 15px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.35 ease;
}
.service .service-item .service-item-inner:hover
{
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
.service .service-item .service-item-inner .icon
{
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 30px;
    text-align: center;
    transition: all 0.3s ease;
}
.service .service-item .service-item-inner .icon .fa
{
    font-size: 40px;
    line-height: 60px;
    color: var(--skin-color);
    transition: all 0.3s ease;
}
.service .service-item .service-item-inner:hover .icon
{
    background-color: var(--skin-color);
}
.service .service-item .service-item-inner:hover .icon .fa
{
    font-size: 25px;
    color: #ffffff;
}
.service .service-item .service-item-inner h4
{
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-black-900);
    font-weight: 700;
    text-transform: capitalize;
}
.service .service-item .service-item-inner p
{
    font-size: 16px;
    color: var(--text-black-700);
    line-height: 25px;
}

/* portfolio section*/
.portfolio .container
{
    padding: 40px;
}
.portfolio .portfolio-heading
{
    flex:0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
}
.portfolio .portfolio-heading h2
{
    color: var(--text-black-900);
    font-weight: 500;
}
.portfolio .portfolio-item
{
    flex:0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;

}
.portfolio .portfolio-item-inner
{
    border: 6px solid var(--bg-black-100);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio .portfolio-item-inner .portfolio-img img
{
    width: 340px;
    display: block;
}

/* Contact*/
.contact-title
{
        color: var(--skin-color);
        text-align: center;
        font-size: 25px;
        margin-bottom: 20px;
        
}
.contact-sub-title
{
        color: var(--text-black-900);
        text-align: center;
        font-size: 15px;
        margin-bottom: 60px;

}
.contact .contact-info-item
{
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
    margin-bottom: 60px;
}
.contact .contact-info-item .icon
{
    display: inline-block; 
    transition: all 0.3s ease;
}
.contact .contact-info-item .icon:hover
{
    transform: scale(1.5);
}
.contact .contact-info-item .icon .fa
{
    font-size: 25px;
    color: var(--skin-color);
}
.contact .contact-info-item h4
{
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black-900);
    text-transform: capitalize;
    margin: 15px 0 5px;
}
.contact .contact-info-item p
{
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
    font-weight: 400;
}
.contact .contact-form
{
    flex:0 0 100%;
    max-width: 100%;

}
.contact .contact-form .col-6
{
    flex:0 0 50%;
    max-width: 50%;
}
.contact .contact-form .col-12
{
    flex:0 0 100%;
    max-width: 100%;
}
.contact .contact-form .form-item
{
    margin-bottom: 30px;
}
.contact .contact-form .form-item .form-control
{
    width: 100%;
    height: 50px;
    border-radius: 10px;
    background-color: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    padding: 10px 25px;
    font-size: 16px;
    color: var(--text-black-700);
    transition: all 0.3s ease;
}
.contact .contact-form .form-item .form-control:hover
{
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
.contact .contact-form .form-item textarea.form-control
{
    height: 140px;
}
.contact .contact-form .btn
{
    height: 50px;
    padding: 0 50px;
}

/*for Responsive*/
@media (max-width:1199px)
{
    .section .container
    {
        padding-top: 70px;
    }
    .aside
    {
        left: -270px;
    }
    .aside.open
    {
        left: 0;
    }
    .aside .nav-toggler.open
    {
        left: 300px;
    }
    .aside .nav-toggler
    {
        display: flex;
        left: 30px;
    }
    .section
    {
        left: 0;
    }
    .section.open
    {
        left: 270px;
    }
    .about .about-content .personal-info .info-item p span  
    {
        display: block;
        margin-left: 0;
    }
}
@media (max-width:991px)
{
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item
    {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .home .home-info
    {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .home .home-img 
    {
        display: none;
    }
}
@media (max-width:767px)
{

    .section{
        padding: 0 10px;
    }

    .section .container{
        padding-left: 0;
        padding-right: 0;
    }

    .row{
        margin-left: 0;
        margin-right: 0;
        justify-content: center;
    }

    .padd-15{
        padding-left: 8px;
        padding-right: 8px;
    }

    .contact .contact-form .col-6,
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item,
    .about .about-content .education,
    .about .about-content .experience,
    .about .about-content .skills,
    .about .about-content .personal-info
    {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .row-project{
        margin-left: 0;
        margin-right: 0;
    }

    .typing{
        font-size: 18px;
    }

    h3.my-profession{
        font-size: 18px;
    }

    p.hero-txt{
        font-size: 16px;
        line-height: 28px;
    }

    .about .about-content .timeline .timeline-text{
        text-align: left;
        line-height: 28px;
    }

    .project-header h3{
        font-size: 18px;
        line-height: 30px;
    }

    .project-content{
        padding: 0 15px;
    }

    .project-card.active .project-content{
        padding: 0 15px 20px 15px;
    }

    .portfolio-img img{
        max-width: 220px;
        height: auto;
        object-fit: contain;
    }

    .screenshot-img{
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .demo-video{
        width: 100%;
        height: 220px;
    }

}





/* project section */
.project-card {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    height: 100%;
    display: flex;
    flex-direction: column;
}


.portfolio-img {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-black-50) 0%, var(--bg-black-100) 100%);
    border-bottom: 1px solid var(--bg-black-50);
}

.portfolio-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    display: inline-block;
}


.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    background: var(--bg-black-100);
    flex: 1;
}


.project-header h3 {
    font-size: 20px;
    margin: 0;
    color: var(--text-black-900);
    font-weight: 600;
    flex: 1;
}

.toggle-btn {
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--skin-color);
    color: #c3c3c3;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-weight: bold;
}


.project-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 25px;
    background: var(--bg-black-100);
}

.project-card.active .project-content {
    max-height: 100%;
    padding: 0 25px 30px 25px;
}

.project-card.active .toggle-btn {
    transform: rotate(45deg);
    background: var(--text-black-700);
}

.project-section {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-black-50);
    border-radius: 10px;
    border-left: 4px solid var(--skin-color);
}

.project-section:first-of-type {
    margin-top: 0;
}

.project-section h4 {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--skin-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-section p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-black-700);
    font-size: 14px;
}

.project-section ul {
    padding-left: 20px;
    margin: 0;
}

.project-section ul li {
    margin-bottom: 8px;
    color: var(--text-black-700);
    font-size: 14px;
    line-height: 1.5;
}

.project-section ul li:last-child {
    margin-bottom: 0;
}

/* Screenshot Container Styling */
.screenshot-container {
    margin-top: 15px;
    text-align: center;
}

.screenshot-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    border: 2px solid var(--bg-black-50);
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(48, 46, 77, 0.2);
    border-color: var(--skin-color);
}

.screenshot-caption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-black-700);
    font-style: italic;
    line-height: 1.4;
}

/* Video Container Styling */
.video-container {
    margin-top: 15px;
    text-align: center;
}

.demo-video {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border-radius: 10px;
    border: 2px solid var(--bg-black-50);
    transition: all 0.3s ease;
}

.demo-video:hover {
    border-color: var(--skin-color);
    box-shadow: 0 5px 15px rgba(48, 46, 77, 0.2);
}

.video-caption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-black-700);
    font-style: italic;
    line-height: 1.4;
}

/* Responsive adjustments for screenshots and videos */
@media (max-width: 767px) {
    .screenshot-img {
        max-width: 100%;
        height: auto;
    }
    
    .demo-video {
        width: 100%;
        max-width: 100%;
        height: 200px;
    }
}

/* Enhanced responsive design for project cards */
.portfolio .portfolio-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .project-header h3 {
        font-size: 18px;
    }
    
    .toggle-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .portfolio-img {
        padding: 20px;
    }
    
    .portfolio-img img {
        width: 10px;
        height: 60px;
    }
}

/*  */
.portfolio-img{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.portfolio-img img{
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

/* MOBILE VIEW */

@media(max-width:768px){

    .portfolio-img img{
        max-width: 220px;   /* small size */
    }

}

/* code snippet */
.snippet-container{
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #30363d;
    background: #0d1117;
    margin-top: 15px;
}

/* LEFT SIDEBAR */

.snippet-sidebar{
    width: 200px;
    background: #161b22;
    border-right: 1px solid #30363d;
}

.snippet-file{
    padding: 15px 18px;
    cursor: pointer;
    color: #c9d1d9;
    font-size: 14px;
    border-bottom: 1px solid #30363d;
    transition: 0.3s;
    word-break: break-word;
}

.snippet-file:hover{
    background: #21262d;
}

.snippet-file.active{
    background: #21262d;
    color: #58a6ff;
}

/* RIGHT SIDE */

.snippet-viewer{
    flex: 1;
    overflow: hidden;
}

/* TOP BAR */

.code-topbar{
    background: #161b22;
    padding: 12px 20px;
    border-bottom: 1px solid #30363d;
    color: #c9d1d9;
    font-size: 14px;
}

/* CODE */

.snippet-code{
    display: none;
}

.snippet-code.active{
    display: block;
}

.snippet-code pre{
    margin: 0;
    padding: 20px;
    overflow-x: auto;
}

.snippet-code code{
    color: #c9d1d9;
    font-size: 14px;
    line-height: 28px;
    font-family: Consolas, monospace;
    white-space: pre;
}

/* MOBILE */

@media(max-width:768px){

    .snippet-container{
        flex-direction: column;
    }

    .snippet-sidebar{
        width: 100%;
    }

}

/* ===== GITHUB EDITOR ===== */

.github-editor{
    background: #0d1117;
    border: 1px solid #30363d;
    
    overflow: hidden;
    margin-top: 15px;
}

/* TOP */

.editor-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 5px 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.editor-tabs{
    display: flex;
    gap: 5px;
}

.editor-tab{
    padding: 2px 14px;
    border-radius: 8px;
    color: #c9d1d9;
    font-size: 14px;
    cursor: pointer;
}

.editor-tab.active{
    background: #21262d;
    border: 1px solid #30363d;
}

.editor-info{
    color: #8b949e;
    font-size: 13px;
}

/* BODY */

.editor-body{
    display: flex;
    overflow-x: auto;
}

/* LINE NUMBERS */

.line-numbers{
    background: #0d1117;
    color: #6e7681;
    padding: 20px 12px;
    text-align: right;
    user-select: none;
    border-right: 1px solid #30363d;
    min-width: 55px;
}

.line-numbers span{
    display: block;
    line-height: 28px;
    font-size: 14px;
    font-family: Consolas, monospace;
}

/* CODE */

.github-editor pre{
    margin: 0;
    padding: 20px;
    overflow-x: auto;
}

.github-editor code{
    color: #c9d1d9;
    font-size: 14px;
    line-height: 28px;
    font-family: Consolas, monospace;
    white-space: pre;
}

/* COLORS */

.keyword{
    color: #ff7b72;
}

.string{
    color: #a5d6ff;
}

.class-name{
    color: #d2a8ff;
}

.method{
    color: #7ee787;
}

.comment{
    color: #8b949e;
}

/* MOBILE */

@media(max-width:768px){

    .editor-top{
        flex-direction: column;
        align-items: flex-start;
    }

    .editor-body{
        overflow-x: auto;
    }

}
/* ===== MOBILE GITHUB CONTAINER SMALL ===== */

@media(max-width:768px){

    /* MAIN CONTAINER */

    .snippet-container{
        border-radius: 10px;
    }

    /* SIDEBAR */

    .snippet-sidebar{
        width: 100%;
    }

    .sidebar-top{
        padding: 10px 12px;
        font-size: 12px;
        gap: 8px;
    }

    .tree-toggle{
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .branch-name{
        padding: 10px 12px;
        font-size: 11px;
    }

    .snippet-file{
        padding: 10px 12px;
        font-size: 11px;
    }

    /* TOP BAR */

    .editor-top{
        padding: 8px 12px;
        gap: 6px;
    }

    .editor-tabs{
        gap: 6px;
    }

    .editor-tab{
        padding: 4px 10px;
        font-size: 11px;
        border-radius: 6px;
    }

    .editor-info{
        font-size: 10px;
    }

    /* CODE AREA */

    .editor-body{
        overflow-x: auto;
    }

    .line-numbers{
        min-width: 35px;
        padding: 12px 6px;
    }

    .line-numbers span{
        font-size: 10px;
        line-height: 20px;
    }

    .github-editor pre{
        padding: 5px;
        min-width: 420px;
    }

    .github-editor code{
        font-size: 10px;
        line-height: 20px;
    }
    
     .project-section{
        padding: 10px;
        margin-top: 10px;
    }

    .project-section h4{
        margin-bottom: 10px;
        font-size: 14px;
    }

    .snippet-container{
        margin-top: 8px;
    }

    .github-editor{
        margin-top: 0;
    }

    .snippet-file{
        margin: 0;
    }

    .editor-top{
        margin: 0;
    }

    .github-editor pre{
        margin: 0;
    }

    .project-section{
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 6px !important;
    }

    .project-content{
        padding: 1 6px !important;
    }

    .project-card.active .project-content{
        padding: 0 6px 12px 6px !important;
    }
}


/* github profile pic */
/* ===== GITHUB PROFILE ===== */

.github-profile{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #30363d;
    background: #0d1117;
}

.github-profile img{

    width: 48px;
    height: 48px;

    border-radius: 50%;

    object-fit: cover;

    image-rendering: auto;

    flex-shrink: 0;

    border: 2px solid #fff;
}

.github-profile-info{
    overflow: hidden;
}

.github-profile-info h5{
    color: #f0f6fc;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.github-profile-info span{
    color: #8b949e;
    font-size: 11px;
}

/* MOBILE */

@media(max-width:768px){

    .github-profile{
        padding: 10px 12px;
        gap: 8px;
    }

    .github-profile img{
        width: 30px;
        height: 30px;
    }

    .github-profile-info h5{
        font-size: 12px;
    }

    .github-profile-info span{
        font-size: 10px;
    }

}

/* ===== PROFILE MODAL ===== */

.profile-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    padding: 20px;
}

.profile-modal.active{
    opacity: 1;
    visibility: visible;
}

/* CARD */

.profile-modal-card{
    width: 100%;
    max-width: 500px;
    background: var(--bg-black-100);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* CLOSE */

.profile-close{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: var(--bg-black-50);
    color: var(--text-black-900);
    cursor: pointer;
}

/* TOP */

.profile-top{
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.profile-top img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h3{
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-black-900);
}

.profile-info p{
    line-height: 28px;
    color: var(--text-black-700);
}

/* STATS */

.profile-stats{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.profile-stat{
    background: var(--bg-black-50);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
}

.profile-stat h4{
    font-size: 22px;
    color: var(--skin-color);
    margin-bottom: 5px;
}

.profile-stat span{
    font-size: 13px;
    color: var(--text-black-700);
}

/* SKILLS */

.profile-skills{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.profile-skills span{
    background: var(--bg-black-50);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-black-700);
}

/* ACTIONS */

.profile-actions{
    display: flex;
    justify-content: center;
}

.share-btn{
    border: none;
    background: var(--skin-color);
    color: white;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

/* MOBILE */

@media(max-width:768px){

    .profile-modal-card{
        padding: 20px;
        border-radius: 16px;
    }

    .profile-top{
        flex-direction: column;
        text-align: center;
    }

    .profile-top img{
        width: 65px;
        height: 65px;
    }

    .profile-info h3{
        font-size: 20px;
    }

    .profile-info p{
        font-size: 14px;
        line-height: 25px;
    }

    .profile-stats{
        grid-template-columns: repeat(2,1fr);
    }

}

/* IMAGE OPEN AND CLOSE */

.zoom-img{

    cursor:pointer;

    transition:.3s;
}

.zoom-img:hover{

    transform:scale(1.02);
}

/* MODAL */

.image-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.94);

    backdrop-filter:blur(8px);

    display:none;

    align-items:center;

    justify-content:center;

    padding:20px;

    z-index:99999;

    overflow:auto;
}

/* IMAGE */

.image-modal img{

    display:block;

    width:auto;

    height:auto;

    max-width:95%;

    max-height:95vh;

    border:none;

    outline:none;

    border-radius:22px;

    object-fit:contain;

    box-shadow:
    0 20px 60px rgba(0,0,0,.45);
}

/* CLOSE */

.close-modal{

    position:absolute;

    top:18px;

    right:28px;

    color:#fff;

    font-size:42px;

    cursor:pointer;

    user-select:none;

    z-index:2;
}

/* MOBILE */

@media(max-width:768px){

    .image-modal{

        padding:12px;
    }

    .image-modal img{

        max-width:100%;

        border-radius:16px;
    }

    .close-modal{

        top:10px;

        right:18px;

        font-size:34px;
    }
}


/* ← Previous     Next → */
.mobile-section-nav{

    display:none;

    width:100%;

    align-items:center;

    justify-content:space-between;

    margin-top:25px;
    margin-bottom:25px;
    padding:0 12px;
}

.swipe-next,
.swipe-prev{

    display:flex;

    align-items:center;

    gap:6px;

    cursor:pointer;

    font-size:12px;

    font-weight:600;

    letter-spacing:2px;

    transition:.3s;

    color:var(--text-black-700);
}

.swipe-next{

    margin-left:auto;

    animation:
    nextMove 1.5s infinite;
}

.swipe-prev{

    animation:
    prevMove 1.5s infinite;
}

@media(max-width:768px){

    .mobile-section-nav{

        display:flex;
    }
}

.mobile-section-nav{

    display:none;

    width:100%;

    margin-top:25px;

    padding:0 12px;

    display:flex;

    align-items:center;
}

.swipe-prev{

    display:flex;

    align-items:center;

    gap:6px;

    margin-right:auto;
}

.swipe-next{

    display:flex;

    align-items:center;

    gap:6px;

    margin-left:auto;
}

.swipe-prev,
.swipe-next{

    cursor:pointer;

    font-size:12px;

    font-weight:600;

    letter-spacing:2px;

    color:var(--text-black-700);

    padding:10px 0;

    white-space:nowrap;
}

@media(max-width:768px){

    .mobile-section-nav{

        display:flex;
    }
}

/* HOME NEXT CENTER */

.home .swipe-next{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:35px auto 10px;

    animation:
    homeNextMove 1.5s infinite;
}

/* ANIMATION */

@keyframes homeNextMove{

    0%{
        transform:translateX(0);
    }

    50%{
        transform:translateX(8px);
    }

    100%{
        transform:translateX(0);
    }
}
/* HIDE ALL BY DEFAULT */

.swipe-next,
.swipe-prev,
.mobile-section-nav{

    display:none !important;
}

/* MOBILE ONLY */

@media(max-width:768px){

    .swipe-next{

        display:flex !important;
    }

    .swipe-prev{

        display:flex !important;
    }

    .mobile-section-nav{

        display:flex !important;
    }

    /* HOME NEXT */

    .home .swipe-next{

        width:100%;

        justify-content:center;

        align-items:center;

        margin:35px auto 10px;

        animation:
        homeNextMove 1.5s infinite;
    }
}

/* HOME ANIMATION */

@keyframes homeNextMove{

    0%{
        transform:translateX(0);
    }

    50%{
        transform:translateX(8px);
    }

    100%{
        transform:translateX(0);
    }
}

/* CONTACT HOME BUTTON CENTER */

.contact .swipe-next{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:35px auto 10px;

    animation:
    contactHomeMove 1.5s infinite;
}

/* ANIMATION */

@keyframes contactHomeMove{

    0%{
        transform:translateX(0);
    }

    50%{
        transform:translateX(-8px);
    }

    100%{
        transform:translateX(0);
    }
}

.contact-info-item a{

    color:var(--text-black-700) !important;

    text-decoration:none !important;
}

body.dark .contact-info-item a{

    color:var(--text-black-700) !important;
}
.info-item a{

    color:inherit !important;

    text-decoration:none !important;

    transition:.3s;
}

.info-item a:hover{

    opacity:.7;
}


/* QR side label */
/* ================= QR SIDEBAR ================= */

.qr-sidebar{

    position:fixed;

    top:40%;

    right:-170px;

    transform:translateY(-50%);

    display:flex;

    align-items:center;

    z-index:9999;

    transition:.4s;
}

/* HOVER OPEN */

.qr-sidebar:hover{

    right:0;
}

/* VERTICAL LABEL */



.qr-label{

    writing-mode:vertical-rl;

    transform:rotate(180deg);

    background:var(--skin-color);

    color:#fff;

    padding:45px 6px;

    font-size:14px;

    font-weight:600;

    letter-spacing:2px;
    border:none;

    outline:none;

    box-shadow:none;
    border-radius:0 5px 5px 0;

    cursor:pointer;
}

/* QR BOX */

.qr-content{

    width:170px;

    background:#fff;

    padding:15px;

    text-align:center;

    

    box-shadow:
    0 5px 20px rgba(0,0,0,.15);
}

/* QR IMAGE */

.qr-content img{

    width:110px;

    border-radius:10px;
}

/* BUTTON */

.qr-content button{

    width:70%;

    margin-top:8px;

    border:none;

    background:#1565C0;

    color:#fff;

    padding:10px;

    border-radius:8px;

    cursor:pointer;

    font-size:13px;

    transition:.3s;
}

.qr-content button:hover{

    opacity:.8;
}

/* MOBILE */

@media(max-width:768px){

    .qr-sidebar{

        zoom:.85;
    }
    .qr-label{
        padding: 50px 3px;
    }
}



/* ================= VCARD SIDEBAR ================= */

.vcard-sidebar{

    position:fixed;

    top:70%;

    right:-170px;

    transform:translateY(-50%);

    display:flex;

    align-items:center;

    z-index:9999;

    transition:.4s;
}

/* HOVER OPEN */

.vcard-sidebar:hover{

    right:0;
}

/* VERTICAL LABEL */

.vcard-label{

    writing-mode:vertical-rl;

    transform:rotate(180deg);

    background:var(--skin-color);

    color:#fff;

    padding:45px 6px;

    font-size:14px;

    font-weight:600;

    letter-spacing:2px;
    border-radius:0 5px 5px 0;
    border:none;

    outline:none;

    box-shadow:none;

    cursor:pointer;
}

/* VCARD BOX */

.vcard-content{

    width:170px;

    background:#fff;

    padding:15px;

    text-align:center;


    box-shadow:
    0 5px 20px rgba(0,0,0,.15);
}

/* VCARD IMAGE */

.vcard-content img{

    width:130px;
    cursor: pointer;
    border-radius:8px;
}

/* BUTTON */

.vcard-content button{

    width:100%;

    margin-top:12px;

    border:none;

    background:#1565C0;

    color:#fff;

    padding:10px;

    border-radius:8px;

    cursor:pointer;

    font-size:13px;

    transition:.3s;
}

.vcard-content button:hover{

    opacity:.8;
}

/* MOBILE */

@media(max-width:768px){

    .vcard-sidebar{

        zoom:.85;
    }

    .vcard-label{

        padding:50px 3px;
    }
    .vcard-sidebar{
        top:65%;
    }
}

/* ================= VIDEO CARD ================= */

.project-video-card{

    width:100%;

    border-radius:18px;

    overflow:hidden;

    background:#fff;

    box-shadow:
    0 5px 25px rgba(0,0,0,.12);
}

/* POSTER */

.video-poster{

    position:relative;

    cursor:pointer;
}

.video-poster img{

    width:100%;
    height:523px;
    display:block;

    border-radius:18px;
}

/* PLAY BUTTON */

.play-btn{

    position:absolute;

    top:50%;

    left:50%;

    transform:
    translate(-50%,-50%);

    width:70px;

    height:70px;

    border-radius:50%;

    background:rgba(0,0,0,.7);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:24px;

    backdrop-filter:blur(6px);

    transition:.3s;
}

.video-poster:hover .play-btn{

    transform:
    translate(-50%,-50%)
    scale(1.08);
}

/* VIDEO */

.project-video-card iframe{

    width:100%;

    height:523px;

    border:none;

    border-radius:18px;
}
@media(max-width:768px){
    .project-video-card iframe{
        height: 180px;
    }
    .video-poster img{
        height: 180px;
    }
}
/* MOBILE SCORE CARD FIX */
/* ================= MOBILE PROFILE MODAL FIX ================= */

/* EXTRA COMPACT MOBILE PROFILE MODAL */

@media(max-width:768px){

    .profile-modal-card{

        padding:14px 12px;
    }

    /* PROFILE TOP */

    .profile-top{

        gap:10px;
    }

    .profile-top img{

        width:65px;

        height:65px;
    }

    .profile-info h3{

        font-size:16px;

        margin-bottom:4px;
    }

    .profile-info p{

        font-size:12px;

        line-height:1.5;
    }

    /* STATS */

    .profile-stats{

        gap:8px;

        margin-top:14px;
    }

    .profile-stat{

        padding:12px 8px;

        min-height:78px;
    }

    .profile-stat h4{

        font-size:16px;

        margin-bottom:2px;
    }

    .profile-stat span{

        font-size:11px;
    }

    /* SKILLS */

    .profile-skills{

        gap:8px;

        margin-top:14px;
    }

    .profile-skills span{

        font-size:11px;

        padding:6px 10px;
    }

    /* BUTTON */

    .share-btn{

        padding:8px 16px;

        font-size:12px;
    }
}



/* ================= TOP FLOAT LOGO ================= */

.top-logo{

    position:fixed;

    top:-12px;

    left:55%;

    transform:translateX(-50%);

    width:100%;

    height:70;

    background:#000;

    backdrop-filter:blur(10px);

    border-radius: none;

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:9999;

    

    box-shadow:
    0 10px 30px rgba(0,0,0,.25);
    cursor:pointer;

    
    -webkit-tap-highlight-color:transparent;
    user-select:none;
    -webkit-user-select:none;
    -webkit-touch-callout:none;
    outline:none;
}

/* IMAGE */

.top-logo img{

    width:220px;

    height:auto;

    margin-top:10px;

    object-fit:contain;

    pointer-events:none;
    user-select:none;
    -webkit-user-select:none;
    -webkit-touch-callout:none;
    -webkit-user-drag:none;
}

/* MOBILE */

@media(max-width:768px){

    .top-logo{

        width:100%;
        left: 50%;
        height:50px;
    }

    .top-logo img{

        width:145px;
    }
}


/* ================= PROJECT YEAR VERTICAL LABEL ================= */

.project-card{

    position:relative;

    overflow:hidden;
}

.project-year-label{

    position:absolute;

    top:14px;

    right:0;

    writing-mode:vertical-rl;

    transform:rotate(180deg);

    background:var(--skin-color);

    color:#fff;

    padding:14px 5px;

    font-size:11px;

    font-weight:600;

    letter-spacing:2px;

    z-index:10;

    border-radius:0 4px 4px 0;

    box-shadow:
    0 5px 15px rgba(0,0,0,.18);
}
@media(max-width:768px){

    .project-year-label{

        top:10px;

        padding:10px 3px;

        font-size:9px;

        letter-spacing:1px;

        border-radius:0 3px 3px 0;
    }
}

.editor-info{

    text-decoration:none;

    cursor:pointer;
}

.github-link{
    color: var(--skin-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.github-link:hover{
    color: var(--skin-color);
    text-decoration: underline;
}

