*{
    margin: 0; padding: 0;
    font-family: Assistant, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

body{
    background-color: #051e23;
  
}


/* Header Part */

header{
    display: flex;
  
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /* border-bottom: 6px solid rgba(21, 18, 62, 0.455); */
    letter-spacing: 2px;
    background-color: #0a1325;
  
}



.nav_bar{
    /* font-size: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    min-width: 600px;*/


    font-size: 20px;
    display: flex;
    flex: 2;
    justify-content: center;
    min-width: 600px;
    align-items: center;
   gap: 30px;
   margin-right: 90px;

}

.logo_container{
    /* flex: 1; */
    margin-left: 10px;  
}

.logo{
   height: 35px;
   width: 150px;
  

/* position: absolute;
    left:40px;
    top:10px; */
    
   
}

.nav_bar a{
    text-decoration: none;
  color: rgb(210, 205, 205);
  margin: 10px;
  padding: 7px;
  align-items: center;   
  justify-content: space-around;
 
}

.nav_bar #about{
     color: rgb(41, 79, 135);
    border-bottom: 4px solid rgb(41, 79, 135);
    height: 35px;
    width: 65px;
    /* background-color: #3c2a2a; */
        border-radius: 15px;
    transition: 0.5s;
}


.nav_bar #home:hover{
    color: rgb(41, 79, 135);
    border-bottom: 4px solid rgb(41, 79, 135);
    height: 35px;
    width: 60px;
    /* background-color: #3c2a2a; */
        border-radius: 15px;
    transition: 0.5s;
    
}

.nav_bar #about:hover{
     color: rgb(41, 79, 135);
    border-bottom: 4px solid rgb(41, 79, 135);
    height: 35px;
    width: 65px;
    /* background-color: #3c2a2a; */
        border-radius: 15px;
    transition: 0.5s;
}

.nav_bar #projects:hover{
     color: rgb(41, 79, 135);
    border-bottom: 4px solid rgb(41, 79, 135);
    height: 35px;
    width: 83px;
    /* background-color: #3c2a2a; */
        border-radius: 15px;
    transition: 0.5s;


}


.nav_bar #contact:hover{
     color: rgb(41, 79, 135);
    border-bottom: 4px solid rgb(41, 79, 135);
    height: 35px;
    width: 85px;
    /* background-color: #3c2a2a; */
    border-radius: 15px;
    transition: 0.5s;
}

.nav_bar #home:active{
   color: rgba(41, 79, 135, 0.597);
transition: 0s;
}

.nav_bar #about:active{
   color: rgba(41, 79, 135, 0.597);
transition: 0s;
}

.nav_bar #projects:active{
 color: rgba(41, 79, 135, 0.597);
transition: 0s;
}

.nav_bar #contact:active{
 color: rgba(41, 79, 135, 0.597);
transition: 0s;
}


/* Main Part  */

main{
    color: white;
    margin-left: 9%;
    margin-right: 9%;
}



main .ul1{
        content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background:  rgb(41, 79, 135);
    left: 0;
    right: 0;
    bottom: 660px;
    margin: auto;
}



main h2{
    letter-spacing: 4px;
    align-content: center;
    margin-left: 448px ;
}

main p{
    font-size: 18px;
    min-width: 50px;
    line-height: 1.5;

}

main .detail{
    margin: 10px;
    margin-left: 37.7%;
    display: flex;
    gap: 205px;
    line-height: 1.5;
    
}
main {
    padding-bottom: 350px;
}

.boypng img{
height: 350px;
width: 350x;
border-radius: 50%;
display: flex;
float: left;
margin-right: 100px;
margin-top: -15px;
box-shadow: 0 0 30px rgb(41, 88, 158), 0 0 60px  #1b45d14f, 0 0 100px rgba(51, 10, 198, 0.295), 0 10px 30px rgba(131, 9, 245, 0.284);

}

.boypng img:hover{
    box-shadow: 0 0 50px rgb(41, 88, 158), 0 0 100px #1136ae5b, 0 0 80px rgba(51, 10, 198, 0.416), 0 10px 50px rgba(131, 9, 245, 0.427);
    transition: 0.5s;
}

/* Footer Part */

footer{
    background-color: #0a1325;
    /* display: flex; */
    flex-direction: row;
    color: white;
    padding: 10px;
}

.footer_container{
    display: flex;
    flex-direction: row;
justify-content: space-evenly;
margin: 20px;
   
}
footer .footer_container .cloumn1 , .cloumn2{
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: rgb(210, 205, 205);
}
footer .footer_container .cloumn1 a, .cloumn2 a{
    text-decoration: none;
    color: rgb(210, 205, 205);
    /* transition: 0.3s; */
}
footer .footer_container .cloumn1 a:hover, footer .footer_container .cloumn2 a:hover{
    color: rgb(41, 79, 135);
    transition: 0.3s;
}

.cloumn1 h3::after{
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: rgb(41, 79, 135);
    
}
 .cloumn2 h3::after{
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background: rgb(41, 79, 135);
 }
 .cloumn3 h3::after{
    content: "";
    display: block;
    width: 65px;
    height: 2px;
    background: rgb(41, 79, 135);
 }
 .copyright{
    margin-bottom: 5px;
    margin-left: 20px;
    margin-top: 20px;
    margin-right: 20px;
    
 }
 footer .copyright{
    display: flex;
    justify-content: space-between;
 }
 .material-symbols-outlined{
    font-size: 18px;
    color: rgb(41, 79, 135);
    margin-right: 5px;
   gap: 10px;
}

   footer .footer_container .cloumn3{
    display: row;
    flex-direction: colomn;
    gap: 10px;
    text-decoration: none;
    color: rgb(210, 205, 205);
   }

.contant{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}
.social_media{
    display: flex;
    gap: 10px;
    align-items: center;

}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu_btn {
    display: none;
    background: transparent;
    border: none;
    color: rgb(210, 205, 205);
    font-size: 25px;
    cursor: pointer;
    padding: 10px;
    margin-right: 15px;
    z-index: 1001;
}


/* =========================================================
   TABLET / SMALL LAPTOP
   1100px
   ========================================================= */

@media screen and (max-width: 1100px) {

    /* -------------------------
       MAIN IMAGE
       ------------------------- */

    .boypng img {
        height: 300px;
        width: 300px;
        margin-right: 50px;
        margin-top: 0;
    }


    /* -------------------------
       MAIN CONTENT
       ------------------------- */

    main {
        margin-left: 7%;
        margin-right: 7%;
    }


    main h2 {
        margin-left: 0;
        text-align: center;
    }


    main .detail {
        margin-left: 0;
        justify-content: center;
        gap: 100px;
    }


    main p {
        max-width: 100%;
    }


    /* -------------------------
       FOOTER
       ------------------------- */

    .footer_container {
        gap: 30px;
    }

}
footer{
    width: 105%;
}
header{
    width: 109%;
}


/* =========================================================
   TABLET
   768px
   ========================================================= */

@media screen and (max-width: 768px) {

    /* =====================================================
       HEADER
       ===================================================== */

       footer{
    width: 416px;
}
header{
    width: 109%;
}
    header {
        height: 70px;
       
        padding: 0 5px;
    }


    /* Logo */

    .logo {
        width: 130px;
        height: auto;
    }


    /* Show menu button */

    .menu_btn {
        display: block;
    }


    /* =====================================================
       MOBILE NAVIGATION
       
       IMPORTANT:
       Your original navbar text size,
       hover, active, colors and styles
       are NOT changed.
       ===================================================== */

    .nav_bar {

        position: absolute;

        top: 70px;

        left: 0;

        right: 0;

        width: 100%;

        min-width: 0;

        margin-right: 0;

        margin-left: 0;

        display: flex;

        flex-direction: column;

        justify-content: flex-start;

        align-items: center;

        gap: 5px;

        background-color: #0a1325;

        padding: 15px 20px 20px;

        transform: translateY(-120%);

        opacity: 0;

        visibility: hidden;

        transition:
            transform 0.35s ease,
            opacity 0.35s ease,
            visibility 0.35s ease;

        z-index: 1000;
    }


        /* Open menu */

        .nav_bar.show {

            transform: translateY(0);

            opacity: 1;

            visibility: visible;
        }


    /* =====================================================
       MAIN
       ===================================================== */

    main {

        margin-left: 6%;

        margin-right: 6%;

        padding-top: 50px;

        padding-bottom: 200px;
    }


    /* Heading */

    main h2 {

        margin-left: 0;

        text-align: center;

        letter-spacing: 4px;
    }

    footer{
    width: 105%;
}
header{
    width: 109%;
}

    /* =====================================================
       ABOUT IMAGE
       ===================================================== */

    .boypng {

        display: flex;

        justify-content: center;

        width: 100%;

        margin-bottom: 35px;
    }


    .boypng img {

        float: none;

        height: 280px;

        width: 280px;

        max-width: 75vw;

        margin: 0;
    }


    /* Keep your original hover effect */

    .boypng img:hover {

        box-shadow:
            0 0 50px rgb(41, 88, 158),
            0 0 100px #1136ae5b,
            0 0 80px rgba(51, 10, 198, 0.416),
            0 10px 50px rgba(131, 9, 245, 0.427);

        transition: 0.5s;
    }


    /* =====================================================
       TEXT
       ===================================================== */

    main p {

        width: 100%;

        min-width: 0;

        font-size: 18px;

        line-height: 1.5;
    }


    /* =====================================================
       DETAIL SECTION
       ===================================================== */

    main .detail {

        margin: 25px 0 0 0;

        display: flex;

        justify-content: center;

        align-items: flex-start;

        gap: 70px;

        line-height: 1.5;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    footer {

      

        padding: 10px;
    }


    .footer_container {

        display: flex;

        flex-wrap: wrap;

        justify-content: space-between;

        gap: 40px;

        margin: 20px;
    }


    footer .footer_container .cloumn3 {

        min-width: 100%;
    }


    footer .copyright {

        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 10px;
    }

}


/* =========================================================
   MOBILE
   480px
   ========================================================= */

@media screen and (max-width: 480px) {

    /* =====================================================
       HEADER
       ===================================================== */

    header {

        height: 65px;

        
    }


    .logo {

        width: 115px;
    }


    .menu_btn {

        font-size: 23px;

        margin-right: 8px;
    }


    /* =====================================================
       MOBILE NAVIGATION
       ===================================================== */

    .nav_bar {

        top: 65px;

        width: 100%;

        padding: 10px 15px 15px;
    }


    /* =====================================================
       MAIN
       ===================================================== */

    main {

        margin-left: 5%;

        margin-right: 5%;

        padding-top: 40px;

        padding-bottom: 150px;
    }


    /* =====================================================
       HEADING
       ===================================================== */

    main h2 {

        margin-left: 0;

        text-align: center;

        letter-spacing: 3px;
    }


    /* =====================================================
       ABOUT IMAGE
       ===================================================== */

    .boypng {

        width: 100%;

        display: flex;

        justify-content: center;

        margin-top: 30px;

        margin-bottom: 30px;
    }


    .boypng img {

        float: none;

        height: 230px;

        width: 230px;

        max-width: 70vw;

        margin: 0;
    }


    /* =====================================================
       TEXT
       ===================================================== */

    main p {

        width: 100%;

        min-width: 0;

        font-size: 16px;

        line-height: 1.6;

        text-align: left;
    }


    /* =====================================================
       DETAIL
       ===================================================== */

    main .detail {

        margin: 25px 0 0 0;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        line-height: 1.6;

        width: 100%;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    footer {

        

        padding: 15px 10px;
    }


    .footer_container {

        flex-direction: column;

        align-items: flex-start;

        gap: 35px;

        margin: 15px;
    }


    footer .footer_container .cloumn1,
    footer .footer_container .cloumn2,
    footer .footer_container .cloumn3 {

        width: 100%;

        min-width: 0;
    }


    .contant {

        align-items: flex-start;

        word-break: break-word;
    }


    .contant span {

        overflow-wrap: anywhere;
    }


    footer .copyright {

        margin: 20px 10px 5px;

        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 10px;

        font-size: 13px;

        line-height: 1.5;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   360px
   ========================================================= */

@media screen and (max-width: 360px) {

    /* =====================================================
       MAIN
       ===================================================== */

    main {

        margin-left: 5%;

        margin-right: 5%;

        padding-left: 0;

        padding-right: 0;
    }


    /* =====================================================
       IMAGE
       ===================================================== */

    .boypng img {

        height: 210px;

        width: 210px;

        max-width: 65vw;
    }


    /* =====================================================
       DETAIL
       ===================================================== */

    main .detail {

        gap: 15px;

        font-size: 15px;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    .footer_container {

        margin: 10px;
    }

}

/* =========================================================
   RESPONSIVE FIX
   =========================================================
   
   IMPORTANT:
   - Your original CSS above is NOT changed.
   - Navbar hover styles are NOT changed.
   - Navbar active styles are NOT changed.
   - Navbar colors are NOT changed.
   - This section only adds responsive behavior.
   ========================================================= */


/* =========================================================
   GLOBAL WIDTH FIX
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


/* =========================================================
   HEADER - 100% WIDTH
   ========================================================= */

header {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}


/* =========================================================
   FOOTER - 100% WIDTH
   ========================================================= */

footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

/* Hidden on desktop */

.menu_btn {
    display: none;
}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media screen and (max-width: 1100px) {

    /* Header */

    header {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* Navbar container only
       Hover and active link styles are untouched */

    .nav_bar {
        min-width: 0;
        margin-right: 30px;
        gap: 15px;
    }


    /* Main */

    main {
        margin-left: 7%;
        margin-right: 7%;
        box-sizing: border-box;
    }


    main h2 {
        margin-left: 0;
        text-align: center;
    }


    main .detail {
        margin-left: 0;
        justify-content: center;
        gap: 80px;
    }


    /* Image */

    .boypng img {
        max-width: 100%;
        height: 300px;
        width: 300px;
        margin-right: 40px;
    }


    /* Footer */

    footer {
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer_container {
        max-width: 100%;
        flex-wrap: wrap;
        gap: 30px;
    }
}


/* =========================================================
   TABLET / MOBILE
   768px
   ========================================================= */

@media screen and (max-width: 768px) {

    /* =====================================================
       HEADER
       ===================================================== */

    header {
        width: 100% !important;
        max-width: 100% !important;
        height: 70px;
        padding: 0 10px;
        box-sizing: border-box;
    }


    /* Logo */

    .logo {
        width: 130px;
        height: auto;
        max-width: 100%;
    }


    /* =====================================================
       HAMBURGER BUTTON
       ===================================================== */

    .menu_btn {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 45px;
        height: 45px;

        background: transparent;
        border: none;

        color: rgb(210, 205, 205);

        font-size: 25px;

        cursor: pointer;

        padding: 10px;
        margin-right: 5px;

        z-index: 1001;
    }


    /* =====================================================
       MOBILE NAVIGATION CONTAINER
       
       IMPORTANT:
       This changes ONLY the navbar container.
       
       Your original:
       #home:hover
       #about:hover
       #projects:hover
       #contact:hover
       
       and all :active styles remain untouched.
       ===================================================== */

    .nav_bar {

        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding: 15px 10px 20px;

        display: flex;

        flex-direction: column;

        justify-content: flex-start;

        align-items: center;

        gap: 5px;

        background-color: #0a1325;

        z-index: 1000;

        transform: translateY(-120%);

        opacity: 0;

        visibility: hidden;

        transition:
            transform 0.35s ease,
            opacity 0.35s ease,
            visibility 0.35s ease;

        box-sizing: border-box;
    }


    /* Open menu */

    .nav_bar.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }


    /* =====================================================
       DO NOT TOUCH NAVBAR LINKS
       
       There are intentionally NO rules here for:
       .nav_bar a
       #home
       #about
       #projects
       #contact
       
       Therefore your original hover and active styles
       remain exactly as written above.
       ===================================================== */


    /* =====================================================
       MAIN
       ===================================================== */

    main {
        width: 100%;
        max-width: 100%;

        margin-left: 0;
        margin-right: 0;

        padding: 50px 25px 200px;

        box-sizing: border-box;
    }


    /* Heading */

    main h2 {
        margin-left: 0;
        text-align: center;
        letter-spacing: 4px;
    }


    /* =====================================================
       IMAGE
       ===================================================== */

    .boypng {
        width: 100%;

        display: flex;

        justify-content: center;

        margin-bottom: 35px;
    }


    .boypng img {

        float: none;

        width: 280px;
        height: 280px;

        max-width: 75vw;

        margin: 0;
    }


    /* =====================================================
       TEXT
       ===================================================== */

    main p {

        width: 100%;
        max-width: 100%;

        min-width: 0;

        font-size: 18px;

        line-height: 1.5;

        box-sizing: border-box;
    }


    /* =====================================================
       DETAIL
       ===================================================== */

    main .detail {

        width: 100%;

        margin: 25px 0 0;

        display: flex;

        justify-content: center;

        align-items: flex-start;

        gap: 60px;

        line-height: 1.5;

        box-sizing: border-box;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    footer {

        width: 100% !important;
        max-width: 100% !important;

        padding: 15px;

        box-sizing: border-box;
    }


    .footer_container {

        width: 100%;
        max-width: 100%;

        display: flex;

        flex-wrap: wrap;

        justify-content: space-evenly;

        gap: 30px;

        margin: 20px 0;

        box-sizing: border-box;
    }


    .copyright,
    footer .copyright {

        width: 100%;

        box-sizing: border-box;

        flex-wrap: wrap;

        gap: 10px;
    }
}


/* =========================================================
   MOBILE
   480px
   ========================================================= */

@media screen and (max-width: 480px) {

    /* =====================================================
       HEADER
       ===================================================== */

    header {

        width: 100% !important;
        max-width: 100% !important;

        height: 65px;

        padding: 0 10px;
    }


    .logo {
        width: 115px;
        height: auto;
    }


    .menu_btn {

        width: 42px;
        height: 42px;

        font-size: 23px;

        margin-right: 0;
    }


    /* =====================================================
       MOBILE NAVIGATION CONTAINER
       ===================================================== */

    .nav_bar {

        top: 65px;

        width: 100% !important;

        min-width: 0 !important;

        margin: 0 !important;

        padding: 12px 10px 18px;
    }


    /* =====================================================
       MAIN
       ===================================================== */

    main {

        width: 100%;

        margin-left: 0;
        margin-right: 0;

        padding: 40px 18px 150px;

        box-sizing: border-box;
    }


    main h2 {

        margin-left: 0;

        text-align: center;

        letter-spacing: 3px;

        font-size: 24px;
    }


    /* =====================================================
       IMAGE
       ===================================================== */

    .boypng {

        width: 100%;

        display: flex;

        justify-content: center;

        margin-top: 30px;

        margin-bottom: 30px;
    }


    .boypng img {

        width: 230px;
        height: 230px;

        max-width: 70vw;

        float: none;

        margin: 0;
    }


    /* =====================================================
       TEXT
       ===================================================== */

    main p {

        width: 100%;

        min-width: 0;

        font-size: 16px;

        line-height: 1.6;
    }


    /* =====================================================
       DETAIL
       ===================================================== */

    main .detail {

        width: 100%;

        margin: 25px 0 0;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        line-height: 1.6;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    footer {

        width: 100% !important;
        max-width: 100% !important;

        padding: 15px 10px;
    }


    .footer_container {

        width: 100%;

        margin: 15px 0;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }


    footer .footer_container .cloumn1,
    footer .footer_container .cloumn2,
    footer .footer_container .cloumn3 {

        width: 100%;

        min-width: 0;

        box-sizing: border-box;
    }


    .contant {

        max-width: 100%;

        align-items: flex-start;

        word-break: break-word;
    }


    .contant span {

        overflow-wrap: anywhere;
    }


    footer .copyright {

        width: 100%;

        margin: 20px 0 5px;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        text-align: center;

        gap: 10px;

        font-size: 13px;

        line-height: 1.5;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   360px
   ========================================================= */

@media screen and (max-width: 360px) {

    /* Header */

    header {

        width: 100% !important;
        max-width: 100% !important;

        height: 60px;

        padding: 0 8px;
    }


    .logo {
        width: 105px;
    }


    .menu_btn {

        width: 38px;
        height: 38px;

        font-size: 21px;
    }


    /* Mobile navigation */

    .nav_bar {

        top: 60px;

        width: 100% !important;

        min-width: 0 !important;

        padding: 10px 5px 15px;
    }


    /* Main */

    main {

        width: 100%;

        margin-left: 0;
        margin-right: 0;

        padding: 30px 12px 100px;

        box-sizing: border-box;
    }


    /* Heading */

    main h2 {

        font-size: 21px;

        letter-spacing: 2px;
    }


    /* Image */

    .boypng img {

        width: 210px;
        height: 210px;

        max-width: 65vw;
    }


    /* Text */

    main p {

        font-size: 15px;

        line-height: 1.6;
    }


    /* Detail */

    main .detail {

        width: 100%;

        gap: 15px;

        font-size: 15px;
    }


    /* Footer */

    footer {

        width: 100% !important;
        max-width: 100% !important;

        padding: 15px 10px;
    }


    .footer_container {

        width: 100%;

        margin: 10px 0;

        gap: 20px;
    }


    .copyright,
    footer .copyright {

        width: 100%;

        margin-left: 0;
        margin-right: 0;

        font-size: 12px;

        text-align: center;
    }
}


/* =========================================================
   FINAL IMAGE OVERFLOW PROTECTION
   ========================================================= */

img {
    max-width: 100%;
    height: auto;
}
