@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 62.5%;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}




/* Home page Css Code  ......................................................................................................................................................................................................................*/
header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    font-size: 2.5rem;
    color: #b74b4b;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}

@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
    }

    nav.active{
        display: block;
    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b74b4b;
    }
}

section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #b74b4b;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #b74b4b;
}

.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0  0 25px #b74b4b;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}

.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span{
    position: relative;
}

.typing-text span::before{
    content: "software Developer";
    color: #b74b4b;
    animation: words 20s infinite;
}

.typing-text span::after{
    content: "";
    background-color: black;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor{
    to{
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words{
    0%, 20%{
        content: "Web Developer";
    }
    21%, 40%{
        content: "Developer";
    }
    41%, 60%{
        content: "Web Designer";
    }
    61%, 80%{
        content: "Code Lover";
    }
    81%, 100%{
        content: "Collage Student";
    }
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}


/* Skils  Css Code   ......................................................................................................................................................................................................................*/
.skills-section{
    padding-top: 9rem;
    min-height: 100vh;
    background:black;
}

.section-title{
    font-size: 4rem;
    text-align:center;
    margin-bottom: 4rem;
}

.section-title span{
    color:#b74b4b;
}

.skills-container{
    width:85%;
    margin:auto;
    display:grid;
    grid-template-columns: 1.3fr 1fr;
    gap:4rem;
}


/* ===== LEFT SIDE SKILL CARDS ===== */

.skills-list{
    display:grid;
    gap:2rem;
}

.skill-card{
    padding:2rem;
    background:#0f0f0f;
    border:2px solid #b74b4b;
    border-radius:1.2rem;
    transition:0.4s ease;
}

.skill-card:hover{
    transform: translateY(-6px) scale(1.02);
    box-shadow:0 0 25px #b74b4b;
}

.skill-card h3{
    font-size:2.2rem;
    color:#b74b4b;
}

.skill-card p{
    font-size:1.4rem;
    margin:.5rem 0 1.2rem;
}

/* GitHub button */

.repo-btn{
    padding:.8rem 1.8rem;
    border-radius:3rem;
    border:2px solid #b74b4b;
    color:#b74b4b;
    font-size:1.4rem;
    transition:.3s;
}

.repo-btn:hover{
    background:#b74b4b;
    color:black;
    box-shadow:0 0 20px #b74b4b;
}


/* ===== RIGHT SIDE (IMAGE + TAGS) ===== */

.skills-right{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:2rem;
}

.skills-img{
    width:100%;
    border-radius:1.5rem;
    border:2px solid #b74b4b;
    box-shadow:0 0 25px rgba(183,75,75,.4);
    transition:.4s ease;
}

.skills-img:hover{
    transform:scale(1.03);
    box-shadow:0 0 40px #b74b4b;
}

/* Tags */

.skill-tags-box{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    justify-content:center;
}

.tag{
    padding:1rem 2rem;
    border-radius:3rem;
    border:2px solid #b74b4b;
    font-size:1.4rem;
    transition:.3s ease;
}

.tag:hover{
    transform: translateY(-6px) scale(1.05);
    background:#b74b4b;
    color:black;
    box-shadow:0 0 25px #b74b4b;
}


/* ===== RESPONSIVE ===== */

@media(max-width:900px){

    .skills-container{
        grid-template-columns:1fr;
    }

    .skills-img{
        width:90%;
    }
}

/* Education Css Code  ......................................................................................................................................................................................................................*/

/* MAIN SECTION */

.education-section{
    padding-top:9rem;
    min-height:100vh;
}

/* TITLE */

.section-title{
    text-align:center;
    font-size:4rem;
    margin-bottom:4rem;
}

.section-title span{
    color:#b74b4b;
}

/* GRID LAYOUT */

.edu-container{
    width:85%;
    margin:auto;
    display:grid;
    grid-template-columns: 1.2fr 1fr;
    gap:4rem;
    align-items:center;
}

/* CURRENT BCA CARD (CENTER FOCUS) */

.current-edu{
    padding:2.5rem;
    border:2px solid #b74b4b;
    border-radius:1.5rem;
    background:#0f0f0f;
    box-shadow:0 0 25px rgba(183,75,75,.4);
    transition:.4s ease;
}

.current-edu:hover{
    transform:scale(1.02);
    box-shadow:0 0 40px #b74b4b;
}

.current-edu h2{
    color:#b74b4b;
    font-size:2.6rem;
}

.current-edu p{
    margin-top:.6rem;
    font-size:1.5rem;
}

/* RIGHT SIDE EDUCATION IMAGE */

.edu-img{
    width:100%;
    border-radius:1.5rem;
    border:2px solid #b74b4b;
    box-shadow:0 0 25px rgba(183,75,75,.4);
    transition:.4s;
}

.edu-img:hover{
    transform:scale(1.03);
    box-shadow:0 0 40px #b74b4b;
}

/* TIMELINE EDUCATION CARDS */

.timeline{
    margin-top:4rem;
    display:grid;
    gap:2rem;
}

.edu-card{
    padding:2rem;
    border:2px solid #b74b4b;
    background:#0b0b0b;
    border-radius:1.2rem;
    transition:.3s ease;
}

.edu-card:hover{
    transform:translateY(-5px);
    box-shadow:0 0 25px #b74b4b;
}

.edu-card h3{
    color:#b74b4b;
    font-size:2rem;
}

.edu-card p{
    font-size:1.4rem;
    margin-top:.5rem;
}

/* CERTIFICATE BUTTON */

.certificate-box{
    margin-top:4.5rem;
    text-align:center;
}

.certi-btn{
    padding:1.2rem 3rem;
    border-radius:4rem;
    border:2px solid #b74b4b;
    color:#b74b4b;
    font-size:1.6rem;
    letter-spacing:.2rem;
    transition:.4s ease;
    cursor:pointer;
    display:inline-block;
    animation:pulse 2s infinite ease-in-out;
}

.certi-btn:hover{
    background:#b74b4b;
    color:black;
    box-shadow:0 0 35px #b74b4b;
    transform:translateY(-4px) scale(1.05);
}

@keyframes pulse{
    0%{ box-shadow:0 0 0px #b74b4b; }
    50%{ box-shadow:0 0 20px #b74b4b; }
    100%{ box-shadow:0 0 0px #b74b4b; }
}

/* RESPONSIVE */

@media(max-width:900px){
    .edu-container{
        grid-template-columns:1fr;
    }

    .edu-img{
        width:90%;
        margin:auto;
        display:block;
    }
}


/* Contact Css Code  ......................................................................................................................................................................................................................*/


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:black;
    color:white;
}

/* BACKGROUND GRADIENT + WAVES */
.contact-section{
    min-height:100vh;
    padding-top:9rem;
    background: radial-gradient(circle,#200000,#000000);
    position:relative;
    overflow:hidden;
}

.contact-section::before{
    content:"";
    position:absolute;
    width:120%;
    height:120%;
    top:-10%;
    left:-10%;
    background:linear-gradient(120deg,#b74b4b33,#000000,#b74b4b33);
    filter:blur(60px);
    animation:wave 12s infinite linear;
}

@keyframes wave{
    0%{transform:rotate(0deg);}
    100%{transform:rotate(360deg);}
}


/* GLASS CONTAINER */
.contact-box{
    width:85%;
    margin:auto;
    padding:3rem;
    border-radius:1.6rem;
    backdrop-filter: blur(14px);
    background: rgba(20,20,20,.7);
    border:2px solid #b74b4b;
    box-shadow:0 0 40px rgba(183,75,75,.45);
    position:relative;
    z-index:2;
}

/* HEADING */
.page-title{
    text-align:center;
    font-size:4rem;
    margin-bottom:2.2rem;
}

.page-title span{
    color:#b74b4b;
}

/* LAYOUT GRID */
.contact-grid{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:3rem;
    align-items:center;
}


/* LEFT IMAGE */
.contact-img{
    width:100%;
    border-radius:1.2rem;
    border:2px solid #b74b4b;
    box-shadow:0 0 25px #b74b4b88;
    animation:float 3.5s infinite ease-in-out;
}

@keyframes float{
    0%{transform:translateY(0);}
    50%{transform:translateY(-7px);}
    100%{transform:translateY(0);}
}


/* INTRO TEXT */
.intro-text{
    font-size:1.6rem;
    margin-bottom:2.5rem;
    line-height:2.4rem;
}


/* BUTTON LIST */
.contact-buttons{
    display:grid;
    gap:1.2rem;
}

/* BUTTON STYLE (NEW NEON SLIDE EFFECT) */
.contact-btn{
    display:flex;
    align-items:center;
    gap:1.2rem;
    padding:1.2rem 1.6rem;
    border-radius:1rem;
    border:2px solid #b74b4b;
    background:#0b0b0b;
    color:#ffcaca;
    font-size:1.45rem;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    letter-spacing:.3px;
    transition:.35s ease;
}

/* subtle neon sweep */
.contact-btn::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg,#ffcccc22,#b74b4b66,#ffcccc22);
    opacity:0;
    transition:.4s;
}

.contact-btn:hover{
    transform:translateY(-4px) scale(1.02);
    box-shadow:0 0 25px #b74b4b;
    color:#ffffff;
}

.contact-btn:hover::after{
    opacity:.35;
}

/* ICON */
.contact-btn img{
    width:26px;
    filter:invert(75%) sepia(90%) saturate(300%) hue-rotate(-10deg);
}


/* LOCATION */
.location-box{
    margin-top:3rem;
    text-align:center;
    font-size:1.6rem;
}

/* RESPONSIVE */
@media(max-width:900px){
    .contact-grid{
        grid-template-columns:1fr;
    }
}

/*  MOBILE MENU BUTTON  */

.menu-btn{
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: fixed;
    top: 30px;
    right: 6%;
    z-index: 999;
}

.menu-btn span{
    width: 26px;
    height: 3px;
    background: #b74b4b;
    margin: 4px 0;
    transition: .3s ease;
}

/* show button on mobile */
@media (max-width: 995px){
    .menu-btn{
        display: flex;
    }

    nav{
        display: none !important;
    }
}

/*  RIGHT SLIDE MOBILE MENU  */

.mobile-menu{
    position: fixed;
    top: 80px;
    right: -100%;
    width: 75%;
    max-width: 280px;

    background: rgba(20,20,20,0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-left: 2px solid #b74b4b;
    border-bottom-left-radius: 1.6rem;

    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;

    transition: .45s ease;
    z-index: 998;
    box-shadow: -12px 0 30px rgba(0,0,0,.6);
}

.mobile-menu.active{
    right: 0;
}

/* menu links */
.mobile-menu a{
    font-size: 2rem;
    color: white;
    text-decoration: none;
    padding: .8rem 1rem;
    border-radius: .8rem;
    transition: .3s ease;
}

.mobile-menu a:hover{
    color: #b74b4b;
    background: rgba(183,75,75,0.12);
    transform: translateX(6px);
}

/* MENU BUTTON ANIMATION */

.menu-btn.open span:nth-child(1){
    transform: rotate(45deg) translate(5px,5px);
}
.menu-btn.open span:nth-child(2){
    opacity: 0;
}
.menu-btn.open span:nth-child(3){
    transform: rotate(-45deg) translate(6px,-6px);
}
