
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body p {
    font-size: 16px;
    line-height: 1.6;
    color: #3A4856;
}

html {
    scroll-behavior: smooth;
}

/* MAIN CONTENT START HERE */
main {
    /*font-family: Montserrat, sans-serif;*/
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.7px;
    overflow: hidden;
}

.flex{
    display: flex;
}
.flex_column{
    flex-direction: column;
}
.justify_center{
    justify-content: center;
}
.align_center{
    align-items: center;
}
.space-between{
    justify-content: space-between;
}
.space-evenly{
    justify-content: space-evenly;
}
.space-around{
    justify-content: space-around;
}

/* Slide effect */
.slide {
  opacity: 0;
  transition: all 0.9s ease;
}
.slide-left {
  transform: translateX(-200px);
}

.slide-right {
  transform: translateX(200px);
}

.slide.show {
  opacity: 1;
  transform: translateX(0);
}

/*
.slide-left {
  opacity: 0;
  transform: translateX(-200px);
  transition: all 0.9s ease;
}

.slide-left.show {
  opacity: 1;
  transform: translateX(0);
}
*/

/* NAVBAR MENU START HERE */
#navbar {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.img-container {
    width: 20%;
}

.img-container img {
    width: 100%;
}

#menu_ul {
    z-index: 15;
}


#navbar ul {
    display: flex;
    list-style-type: none;
}

#navbar ul li {
    padding: 15px;
    font-weight: 600;
    font-size: 17px;
}

#navbar ul li a {
    text-decoration: none;
    color: #19232c;
    transition: all 0.5s;
}

#navbar ul li a:hover {
    cursor: pointer;
    color: #c229a3;
}

/* #navbar ul .active{
    color: #ffb41a;
} */
#navbar .icon {
    display: none;
}

#navbar li::after{
    content: " /";
    margin-left: 5px;
    color: #c229a3;
}

#navbar li:last-child:after{
    content: "";
}
/* NAVBAR MENU ENDS HERE */

/* START WELCOME SECTION */

#welcome-section {
    width: 100%;
}

#header {
    position: relative;
    width: 80%;
    height: 100vh;
    display: flex; 
    justify-content: space-around;
    align-items: center;
    padding-top: 50px;
    margin: auto;
}

.header_left_socials{
    width: 10%;
}

.header_left_socials_inner{
    width: 13px;
    gap: 25px;
}

.vertical_line{
    width: 2px;
    height: 0;
    background: black;
    animation: grow 1s forwards;
}

@keyframes grow {
  to {
    height: 120px;
  }
}

.fa-1x{
    border-radius: 50%;
    color: #5f6265;
    transition: all 0.5s;
}
.fa-1x:hover{
    color: #f5797f;
}

.header-data{
    width: 67%;
    margin-top: -100px;;
}

.me{
    font-size: 102px;
    color: #3A4856;
    margin-bottom: 0px;
    line-height: 1;
}

.me .hello {
    font-size: 16px;
    color: #c229a3;
    font-weight: 300;
}

.me .i_am{
    font-weight: 200;
}

.me .my_name {
    letter-spacing: -7px;
    font-weight: bold;
}

.intro {
    font-size: 20px;
    color: #3A4856;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 30px;
}

.connect {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.connect_btn {
    cursor: pointer;
    padding: 13px 30px;
    background-color: #f5797f;
    border: none;
    font-size: 17px;
    color: #ffffff;
    position: relative;
    transition: all 0.5s;
}

.connect_btn::after {
    content: "\f061";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    position: absolute;
    left: 70%;
    top: 31%;
    right: 5%;
    bottom: 0;
    opacity: 0;
    transition: all 0.5s;
}

.connect_btn:hover {
    background: #af579d;
    padding: 1rem 3.5rem 1rem 1rem;
    color: #ffffff;
    border: none;
}

.connect_btn:hover::after {
    opacity: 1;
    color: #ffffff;
}

.fa-2x{
    margin-left:15px;
}

.header_img_con{
    position: relative;
    width: 500px;
    
} 

.header_img_con img {
    width: 100%;
    animation: swing 2s ease-in-out infinite;
    transform-origin: top center;
    
}

.header_img_con::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: #999;
        
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 30% 30%, #8a2be2, #8200fc);
    
    border-radius: 50%;
    box-shadow:
        0 3px 6px rgba(0,0,0,0.4),
    inset 0 2px 4px rgba(255,255,255,0.5);  
}




@keyframes swing {
    0% { 
        transform: rotate(0deg); 
    }
    50% { 
        transform: rotate(12deg); 
    }
    100% { 
        transform: rotate(0deg); 
    }
}

.header_right_vertical_con{
    width: 10%;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    
}
.vertical_header_email{
    color: #5f6265;
}


.mouse{
    position: absolute;
    bottom: 10%; 
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid #c229a3; /* The grey outline */
    border-radius: 20px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.arrow {
    width: 2px;
    height: 10px;
    background-color: #c229a3; /* The purple color from your screenshot */
    position: absolute;
    top: 25px;
    animation: scroll-down 1.5s infinite;
}

/* Creating the arrowhead using a pseudo-element */
.arrow::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid #c229a3;
    border-bottom: 2px solid #c229a3;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

/* The bouncing animation */
@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(5px);
    }
}


/* ENDS WELCOME SECTION */

/* START ABOUT SECTION */
#about {
    padding: 100px 0px;
    margin-bottom: 70px;
    color: #3A4856;
}

.inner_container {
    width: 80%;
    margin: auto;
}

.inner_content {
    max-width: 100%;
    margin: auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
}

.me_img_con{
    width: 40%;
}

.me_img_con img {
	width: 100%;
}

.info {
    width: 60%;
}

.abt_me_h1_con {
    max-width: 100%;
    margin: auto;
}

.abt_me_h1{
    font-size: 102px;
    font-family: "Montserrat", sans-serif;
    letter-spacing: -7px;
    margin-bottom: 0px;
}



.info p {
    text-align: justify;
}

.info .resume_btn {
    margin-top: 50px;
    background: #f5797f;
    color: #ffffff;
    border: none;
}

.info .resume_btn:hover {
    background: #af579d;
    color: #ffffff;
}

.info .resume_btn:hover::after {
    color: #ffffff;
}

/* END OF ABOUT SECTION */

/* START MY STACK SECTION */
#my_stack {
    clip-path: polygon(0 20%, 100% 0%, 100% 83%, 0 100%);
    background: #fafafa;
    margin-bottom: 100px;
}

.my_stack_container {
    width: 80%;
    padding: 170px 0px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
}

.stack_des {
    width: 50%;
}

.stack_imgs_parent_con{
    width: 40%;
}

.stack_imgs_con{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.stack_item img{
    width: 70px;
    margin-right: 40px;
}

.my_stack_container h1 {
    font-size: 102px;
    letter-spacing: -7px;
    color: #3A4856;
    margin-bottom: 20px;
}

.my_stack_container p {
    font-size: 16px;
    line-height: 1.6;
    color: #3A4856;
    text-align: justify;
}



/* END OF MY STACK */

/* START PROJECT SECTION */
#projects {
    padding-bottom: 70px;
}

.inner_project_con {
    max-width: 90%;
    margin: auto;
    text-align: center;
}

.portfolio_des {
    max-width: 60%;
    margin: 0px auto 50px;
    line-height: 1.5;
}

.portfolio_des h1 {
    color: #3A4856;
    font-size: 102px;
    letter-spacing: -7px;
    margin-bottom: 0px;
}

.portfolio_des p {
    font-size: 16px;
    margin-top: 5px;
}

.projects_row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.project_item {
    width: 30%;
    min-height: 350px;
    max-height: 350px;
    border-radius: 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 2px 4px -4px, rgba(9, 30, 66, 0.07) 0px 0px 0px 1px;
    margin-bottom: 50px;
    overflow: hidden;
}

/*
.project_item:hover {
    *box-shadow: rgba(58, 72, 86, 0.3) 0px 0px 0px 2px; 
    box-shadow: rgba(16, 72, 85, 0.3) 0px 0px 0px 2px; 
}
*/

.project_item a {
    text-decoration: none;
    color: #3A4856;
    font-size: 16px;
}

.project_item img {
    max-width: 100%;
    transition: all .5s;
}

.project_item:hover img,
.project_item:focus img {
    transform: scale(1.2);
}

.project_item:hover .portfolio_title,
.project_item:focus .portfolio_title {
    color: #104855;
}

.project_item_des_con {
    padding: 0px 15px 10px;
    text-align: left;
}

.portfolio_title {
    padding: 20px 0px 0px;
    margin-bottom: 0px;
    font-size: 18px;
}

.project_item_des {
    margin-top: 5px;
    font-size: 14px;
}

/* ENDS PROJECT SECTION */

/* START CONTACT SECTION */
#contact {
    clip-path: polygon(0 0%, 100% 22%, 100% 100%, 0 100%);
    background-color: #C229A3;
    padding: 120px 0px 70px;
    color: #ffffff;
}

.contact_inner_con{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.get_in_touch_h1 {
    font-size: 102px;
    line-height: 1;
    letter-spacing: -7px;
}


.address p,
.social a,
.address a {
    color: #ffffff;
    text-decoration: none;
}

.social p {
    margin-top: 5px;
}

.social a:hover,
.address a:hover {
    color: #f5cdee;
}

.social .fab {
    margin-right: 5px;
}

/* ENDS CONTACT SECTION */

/* START FOOTER */
footer {
    height: 30px;
    text-align: center;
    color: #3A4856;
    /* border-top: 1px solid #F5F5F5; */
}

footer p {
    font-size: 12px;
}

/* ENDS FOOTER */


/* START DEVICE RESPONSIVENESS */

@media only screen and (max-width: 1268px){
    .slide-left {
        transform: translateX(-100px);
    }
    .slide-right {
        transform: translateX(100px);
    }
    .project_item{
        min-height: 320px;
        max-height: 320px;
    }
}


/* Large devices */
@media only screen and (max-width: 1200px) {
    .me, .get_in_touch_h1{
        font-size: 80px;
        letter-spacing: normal !important;
    }

    .me .my_name {
        letter-spacing: normal;
    }
    .header_img_con{
        width: 400px;
    }

    .inner_content {
        padding: 0px;
    }

    .me_img_con{
        width: 40%;
    }

    .info {
        width: 60%;
    }

   

    /* .portfolio_des{
        max-width: 80%;
    } */
}

@media only screen and (max-width: 1100px){
    .inner_content {
        gap: 70px;
    }
    .stack_item img{
        width: 60px;
    }
    .project_item{
        min-height: 300px;
        max-height: 300px;
    }
}

/* Laptop devices */
@media only screen and (max-width: 992px) {
    #header{
        width: 90%;
    }
    .me, .get_in_touch_h1 {
        font-size: 68px;
    }

    #about{
        width: 100%;
    }
    .inner_container, .my_stack_container{
        width: 90%;
    }
    .inner_content {
        gap: 50px;
    }
    .my_stack_container{
        gap: 50px;
    }

    .portfolio_des {
        max-width: 80%;
    }
    .project_item{
        min-height: 280px;
        max-height: 280px;
    }
    
}

/* Tablet devices */
@media only screen and (max-width: 869px) {
    .me, .get_in_touch_h1{
        font-size: 55px;
    }

    .project_item {
        width: 45%;
    }
    .project_item{
        min-height: 320px;
        max-height: 320px;
    }
}

@media only screen and (max-width: 851px){
    .slide-left {
        transform: translateX(-80px);
    }
    .slide-right{
        transform: translateX(80px);
    }
}







@media only screen and (max-width: 768px) {
    /* Navbar container */

    #navbar {
    
        display: block;
        position: fixed;
    
        padding: 15px 20px;
    
        box-sizing: border-box;
    
    }
    
    
    
    /* Mobile menu */
    
    #menu_ul {
    
        position: fixed;
    
        top: 0;
        right: -100%;   /* ✅ hidden outside screen */
    
        width: 70%;
        height: 100vh;
    
        background: rgba(194, 41, 163, 0.90);
    
        z-index: 19;
    
        text-align: center;
    
        padding-top: 120px;
    
        flex-direction: column;
    
        transition: right 0.4s ease;
    
    }
    
    
    
    /* When active → slide in */
    
    #menu_ul.active {
    
        right: 0;
    
    }
    
    
    
    /* Menu items */
    
    #menu_ul li {
    
        padding: 20px 0;
    
    }
    
    
    
    /* Links */
    
    #menu_ul .menu_item {
    
        color: #ffffff;
    
        font-size: 28px;

        font-weight: 300;
    
        text-decoration: none;
    
    }

    #navbar .inner_container{
        position: relative;
    }
    
    
    
    /* Hamburger icon */
    
    #navbar .icon {
    
        display: block;
    
        position: absolute;
    
        z-index: 20;
    
        right: 0;
    
        top: 0.3em;
    
        font-size: 20px;
    
        color: #f5797f;
    
        cursor: pointer;
    
    }
    
    
    
    /* Remove slash on mobile */
    
    #navbar li::after {
    
        content: "";
    
    }

    #navbar .img-container{
        width: 30%;
    }
    /*
     #navbar {
        display: block;
        position: fixed;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    #navbar #menu_ul {
        position: absolute;
        display: none;
        width: 50%;
        height: 100vh;
        background: rgba(25, 35, 44, 0.96);
        top: 0;
        right: 0%;
        z-index: 19;
        text-align: center;
        padding: 20% 0% 0% 0%;
    }


    #menu_ul .menu_item {
        color: #ffffff;
        font-size: 30px;
    }

    #navbar .icon {
        display: block;
        position: absolute;
        z-index: 20;
        right: 2.9%;
        top: 5px;
        font-size: 30px;
        color: #f5797f;
    }
        #navbar li::after{
        content: " ";
    }   
*/

    #welcome-section{
        padding-top: 70px;
    }

    #header {
        width: 80%;
        position: relative;
        flex-direction: column-reverse;
        gap: 70px;
        height: auto;
    }
    .header_left_socials{
        position: absolute;
        left: 0;
        top: 20%;
        transform: translate(-50%);
    }
    .header_right_vertical_con{
        position: absolute;
        right: 0;
        top: 20%;
        transform: translate(50%);
    }

    .fa-1x{
        font-size: 14px;

    }

    .vertical_line{
        width: 1px;
    }

    @keyframes grow {
        to {
            height: 60px;
        }
    }

    .header_right_vertical_con{
        font-size: 14px;
    }

    .header-data{
        width: 80%;
    }
    .me, .get_in_touch_h1{
        font-size: 90px;
    }

    .intro{
        font-size: 16px;
    }
    .header_img_con{
        width: 60%;
    }

    .header_img_con img{
        width: 100%;
        rotate: calc(-4deg);
    }

    .mouse{
        bottom: -10%;
    }


    #about{
        margin-top: 170px;
        margin-bottom: 0px;
        padding-bottom: 50px;
    }
    .inner_container{
        width: 90%;
    }
    .inner_content{
        display: flex;
        flex-direction: column;
    }
    .me_img_con{
        width: 70%;
    }
    .info{
        width: 90%;
    }


    #my_stack{
        padding-top: 50px;
    }
    .my_stack_container{
        width: 90%;
        flex-direction: column;
    }
    .stack_des, .stack_imgs_parent_con{
        width: 90%;
    }
    .portfolio_des p {
        text-align: justify;
    }
    .project_item{
        min-height: 290px;
        max-height: 290px;
    }
   
    .contact_inner_con{
        width: 80%;
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }
}

/* Phone devices */
@media only screen and (max-width: 600px) {

    #header{
        padding-top: 20px;
    }

    .me{
        font-size: 80px;
    }

    .header_img_con::before {
        top: -5px; 
    }

    .project_item {
        width: 80%;
        min-height: 360px;
        max-height: 360px;
    }


    .contact_inner_con .social {
        flex-direction: row;
        justify-content: space-evenly;
        margin-left: 0px;
        margin-top: 20px;
    }
}

@media only screen and (max-width: 550px) {
    
    #navbar .img-container{
        width: 35%;
    }
    
    .me{
        font-size: 60px;
    }
     .abt_me_h1, .stack_des h1, .portfolio_des h1{
        font-size: 80px;
    }
    .mouse{
        bottom: -15%;
    }

    .portfolio_des {
        max-width: 90%;
    }
}

/* 425 */
@media only screen and (max-width: 425px) {
    
    #navbar .img-container{
        width: 40%;
    }
    
    #header{
        gap: 100px;
    }
    .me{
        font-size: 40px;
    }
    .abt_me_h1, .stack_des h1, .portfolio_des h1{
        font-size: 60px;
    }
    .header_img_con::before {
        top: -7px; 
    }

    #contact h1 {
        font-size: 30px;
    }

    .project_item {
        width: 80%;
        min-height: 280px;
        max-height: 280px;
    }
}

/* 320 */