@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root{
    --body-color: #0f1419;
    --color-white: #1a2332;
    --text-color-second: #e8eef5;
    --text-color-third: #64b5f6;
    --first-color: #7c3aed;
    --first-color-hover: #6d28d9;
    --second-color: #0ea5e9;
    --third-color: #f59e0b;
    --first-shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
}
/* ----- BASE ----- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
/* ----- SMOOTH SCROLL ----- */
html{
    scroll-behavior: smooth;
}
/* ----- CHANGE THE SCROLL BAR DESIGN ----- */
::-webkit-scrollbar{
    width: 10px;
    border-radius: 25px;
}
::-webkit-scrollbar-track{
    background: #f1f1f159;
}
::-webkit-scrollbar-thumb{
    background: var(--gradient-primary);
    border-radius: 30px;
}
::-webkit-scrollbar-thumb:hover{
    background: var(--first-color-hover);
}
/* ---##-- REUSABLE CSS --##--- */
/* ----- GLOBAL BUTTON DESIGN ----- */
.btn{
    font-weight: 600;
    padding: 12px 28px;
    background: #1a2332;
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-color-second);
}
.btn>i{
    margin-left: 10px;
}
.btn:hover{
    background: var(--gradient-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
    border-color: var(--second-color);
}
/* ----- GLOBAL ICONS DESIGN ----- */
i{
    font-size: 16px;
}
/* ------- BASE -------- */
body{
    background: var(--body-color);
}
.container{
    width: 100%;
    position: relative;
}
/* ----- NAVIGATION BAR ----- */
nav{
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 90px;
    line-height: 90px;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    padding-inline: 9vw;
    transition: .3s;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-logo{
   position: relative;
}
.nav-name{
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-logo span{
    position: absolute;
    top: -15px;
    right: -20px;
    font-size: 5em;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-menu, .nav_menu_list{
    display: flex;
}
.nav-menu .nav_list{
    list-style: none;
    position: relative;
}
.nav-link{
    text-decoration: none;
    color: #b0b8c8;
    font-weight: 500;
    padding-inline: 15px;
    margin-inline: 20px;
    transition: color 0.3s ease;
}
.nav-link:hover{
    color: var(--first-color);
}
.nav-menu-btn{
    display: none;
}
.nav-menu-btn i{
    font-size: 28px;
    cursor: pointer;
}
.active-link{
    position: relative;
    color: var(--first-color);
    transition: .3s;
    font-weight: 600;
}
.active-link::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}
/* ----- WRAPPER DESIGN ----- */
.wrapper{
    padding-inline: 10vw;
}
/* ----- FEATURED BOX ----- */
.featured-box{
    position: relative;
    display: flex;
    height: 100vh;
    min-height: 700px;
}
/* ----- FEATURED TEXT BOX ----- */
.featured-text{
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    min-height: 80vh;
    flex-direction: column;
    width: 50%;
    padding-left: 20px;
}
.featured-text-card span{
    background: var(--gradient-primary);
    color: rgb(253, 251, 251);
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 50px;
    width: fit-content;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.featured-name{
    font-size: 52px;
    font-weight: 700;
    color: var(--text-color-second);
    margin-block: 20px;
    line-height: 1.2;
}
.typedText{
    text-transform: capitalize;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.featured-text-info{
    font-size: 16px;
    margin-bottom: 30px;
    color: #a0aab8;
    line-height: 1.6;
    max-width: 500px;
}
.featured-text-btn{
    display: flex;
    gap: 20px;
}
.featured-text-btn>.blue-btn{
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    font-weight: 700;
}
.featured-text-btn>.blue-btn:hover{
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}
.social_icons{
    display: flex;
    margin-top: 5em;
    gap: 30px;
}
.icon{
    background-color: #1a2332;
    display:flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: var(--first-color);
    font-size: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}
.icon:hover{
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    border-color: var(--first-color);
}
.icon a{
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}
.icon-text {
    position: absolute;
    bottom: -30px;
    opacity: 0;
    font-size: 11px;
    color: var(--text-color-second);
    transition: opacity 0.3s ease, bottom 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
}

.icon:hover .icon-text {
    bottom: -28px;
    opacity: 1;
}
/* ----- FEATURED IMAGE BOX ----- */
.featured-image{
    display: flex;
    justify-content: right;
    align-content: center;
    min-height: 80vh;
    width: 50%;
}
.image{
    margin: auto 0;
    width: 380px;
    height: 380px;
    border-radius: 55% 45% 55% 45%;
    overflow: hidden;
    animation: imgFloat 7s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.25);
    border: 8px solid rgba(124, 58, 237, 0.15);
}
.image img{
    width: 380px;
    height: 380px;
    object-fit: cover;
}
@keyframes imgFloat {
    50%{
        transform: translateY(10px);
        border-radius: 45% 55% 45% 55%;
    }
}
.scroll-btn{
   position: absolute;
   bottom: 0;
   left: 50%;
   translate: -50%;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 160px;
   height: 55px;
   gap: 8px;
   text-decoration: none;
   color: var(--text-color-second);
   background: #1a2332;
   border-radius: 30px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
   font-weight: 600;
   transition: all 0.3s ease;
   border: 1px solid rgba(255, 255, 255, 0.1);
}
.scroll-btn:hover{
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}
.scroll-btn i{
    font-size: 22px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100%{ transform: translateY(0); }
    50%{ transform: translateY(-10px); }
}
/* ----- MAIN BOX ----- */
.section{
    padding-block: 5em;
}
.row{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}
.col{
    display: flex;
    width: 50%;
}
/* -- ## --- RESUABLE CSS -- ## -- */
.top-header{
    text-align: center;
    margin-bottom: 5em;
}
.top-header h1{
    font-weight: 700;
    font-size: 42px;
    color: var(--text-color-second);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.top-header h1::after{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.top-header span{
    color: #7a8492;
    font-size: 16px;
}
h3{
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color-second);
    margin-bottom: 15px;
}
/* ----- ABOUT INFO ----- */
.about-info{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 40px 40px;
    padding-inline: 30px;
    width: 100%;
    background: #1a2332;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.15);
}
.about-info:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
}
.about-info h3{
    font-size: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-info p{
    text-align:left;
    font-size: 15px;
    color: #a0aab8;
    line-height: 1.8;
}
.about-btn button{
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 30px;
}
.about-btn button:hover{
    background: var(--first-color-hover);
    transform: translateY(-2px);
}
/* ----- ABOUT / SKILLS BOX ----- */
.skills-box{
    margin: 10px;
    padding: 20px;
    background: #0f1419;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.15);
}
.skills-box:hover{
    background: #1a2332;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
    transform: translateY(-3px);
}
.skills-header{
    margin-bottom: 20px;
}
.skills-header h3{
    font-size: 18px;
    color: var(--first-color);
    font-weight: 700;
}
.skills-list{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.skills-list span{
    font-size: 13px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.skills-list span:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
/* ----- PROJECTS BOX ----- */
.project-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}
.project-box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: calc(33.333% - 17px);
    height: 280px;
    background: #1a2332;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.15);
    padding: 30px 20px;
}
.project-box:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(124, 58, 237, 0.25);
}
.project-box>i{
    font-size: 55px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.project-box:hover>i{
    transform: scale(1.1) rotate(5deg);
}
.project-box h3{
    font-size: 20px;
    color: var(--text-color-second);
    margin-bottom: 10px;
}
.project-box label{
    font-size: 14px;
    color: #a0aab8;
    text-align: center;
    line-height: 1.6;
}
.project-box label span{
    font-weight: 700;
    color: var(--first-color);
}
.project-box label img{
    width: 24px;
    margin: 0 6px;
    opacity: 0.8;
}
.project-box label a{
    font-weight: 700;
    text-decoration: none;
    color: var(--first-color);
    transition: all 0.3s ease;
}
.project-box label a:hover{
    color: var(--second-color);
    text-decoration: underline;
}
.project-box::after, .contact-info::after{
    content: "";
    position: absolute;
    bottom: -100%;
    background: var(--gradient-secondary);
    width: 100%;
    height: 100%;
    transition: .4s;
    z-index: -1;
}
}
.project-box:hover.project-box::after,
.contact-info:hover.contact-info::after{
    bottom: 0;
}
.project-box:hover.project-box i,
.project-box:hover.project-box>h3,
.project-box:hover.project-box>label{
    color: var(--color-white);
    z-index: 2;
}
/* ----- CONTACT BOX ----- */
.contact-info{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    width: 100%;
    height: auto;
    background: var(--gradient-secondary);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}
.contact-info:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}
.contact-info>h2{
    color: white;
    margin-bottom: 30px;
    font-size: 24px;
}
.contact-info>p{
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    margin-block: 12px;
    font-size: 15px;
}
.contact-info p>i{
    font-size: 20px;
    min-width: 25px;
}
.contact-info::after{
    background: #1a2332;
}
.contact-info:hover.contact-info h2,
.contact-info:hover.contact-info p,
.contact-info:hover.contact-info i{
    color: #666;
    z-index: 2;
}
/* ----- CONTACT FORM ----- */
.form-control{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}
.form-inputs{
    display: flex;
    gap: 15px;
    width: 100%;
}
.input-field{
    width: 50%;
    height: 55px;
    background: rgba(15, 20, 25, 0.5);
    border: 2px solid rgba(124, 58, 237, 0.4);
    border-radius: 12px;
    padding-inline: 20px;
    outline: none;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-color-second);
}
.input-field::placeholder{
    color: #7a8492;
}
.input-field:focus{
    border-color: var(--first-color);
    background: rgba(15, 20, 25, 0.7);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
textarea{
    width: 100%;
    height: 200px;
    background: rgba(15, 20, 25, 0.5);
    border: 2px solid rgba(124, 58, 237, 0.4);
    border-radius: 12px;
    padding: 15px 20px;
    outline: none;
    resize: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-color-second);
}
textarea::placeholder{
    color: #7a8492;
}
textarea:focus{
    border-color: var(--first-color);
    background: rgba(15, 20, 25, 0.7);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.form-button>.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a2332;
    color: var(--first-color);
    font-weight: 700;
    border: 1px solid rgba(124, 58, 237, 0.3);
}
.form-button>.btn:hover{
    background: var(--first-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--first-color);
}
.form-button i{
    font-size: 18px;
    rotate: -45deg;
}
/* ----- FOOTER BOX ----- */
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
    background: linear-gradient(135deg, #0a0e14 0%, #0f1419 100%);
    padding-block: 50px 60px;
}
.top-footer p{
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.middle-footer .footer-menu{
    display: flex;
}
.footer_menu_list{
    list-style: none;
}
.footer_menu_list a{
    text-decoration: none;
    color: #7a8492;
    font-weight: 500;
    margin-inline: 20px;
    transition: all 0.3s ease;
}
.footer_menu_list a:hover{
    color: var(--first-color);
    transform: translateY(-2px);
}
.footer-social-icons{
    display: flex;
    gap: 30px;
}
.footer-social-icons .icon{
    background: rgba(255, 255, 255, 0.05);
    color: #64b5f6;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}
.footer-social-icons .icon:hover{
    background: var(--gradient-primary);
    border-color: var(--first-color);
    color: white;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}
.bottom-footer{
    font-size: 14px;
    color: #5a6472;
    margin-top: 10px;
}
.bottom-footer a{
    color: var(--first-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.bottom-footer a:hover{
    color: var(--second-color);
}

@media only screen and (max-width: 1024px){
    .featured-text{
        padding: 0;
    }
    .image, .image img{
        width: 320px;
        height: 320px;
    }
}

@media only screen and (max-width: 900px) {
    .nav-button{
        display: none;
    }
    .nav-menu.responsive{
        left: 0;
    }
    .nav-menu{
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        min-height: 450px;
        height: 90vh;
        transition: .3s;
    }
    .nav_menu_list{
        flex-direction: column;
    }
    .nav-menu-btn{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .featured-box{
        flex-direction: column;
        justify-content: center;
        height: 100vh;
    }
    .featured-text{
        width: 100%;
        order: 2;
        justify-content: center;
        align-content: flex-start;
        min-height: 60vh;
    }
    .featured-name{
        font-size: 38px;
    }
    .social_icons{
        margin-top: 2em;
    }
    .featured-image{
        order: 1;
        justify-content: center;
        min-height: 150px;
        width: 100%;
        margin-top: 65px;
    }
    .image, .image img{
        width: 150px;
        height: 150px;
    }
    .row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
    .col{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .about-info, .contact-info{
        width: 100%;
    }
    .project-container{
        justify-content: center;
    }
    .project-box{
        width: 80%;
    }
    .form-inputs{
        flex-direction: column;
    }
    .input-field{
        width: 100%;
    }
}

@media only screen and (max-width: 540px){
    .featured-name{
        font-size: 32px;
    }
    .top-header h1{
        font-size: 28px;
    }
    .top-header h1::after{
        width: 40px;
    }
    .project-box{
        width: 100%;
    }
    .form-inputs{
        flex-direction: column;
    }
    .input-field{
        width: 100%;
    }
    .nav-name{
        font-size: 20px;
    }
}
