* {
    
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FAF7F3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.navbar {

    background-color: black;
    display: block;
    
}
.menu {
    width: 100%;
    line-height: 350%;
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
    align-items: center;


}
li{
   display: inline-block;
    font-weight: 400;
    user-select: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.50rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    color: black;
}

li:hover{
    background-color: red;
}



a {
    color: white;
    text-decoration: none;
}


.menu-wrapper {
    display: none;
    cursor: pointer;
    
   
}

.ham {
    
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: aliceblue;
}

/* STYLING MAIN DIV */
.main_div{
display: flex;
width: 100%;
gap: 20px;
padding: 20px;
flex-direction: column;

}

.first-row-container {
    /* Set the row to full width */
    width: 100%; 
    
    /* CRITICAL: Stack its children (the columns) horizontally */
    display: flex; 
    gap: 20px; /* Use the same gap as main_div for consistency */
}

/* styling about me*/

.abtme{
       background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   padding: 40px;
   width: 50%;
   height: auto;
align-items: center;
   display: flex;
   justify-content: center;
   flex-direction: column;
    text-align: center;
    overflow: scroll;
}
.abtme:hover{
    color: rgba(0, 0, 0, 0.489);
}

.abtme_img{
height: auto;
 width: 100%;
 
}

#a{

  max-width: 200px;
 max-height: 200px;
    
}
.abt_me_para{
   width: 100%;
}


.bt{
    background-color: black;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     height: auto;
     width: auto;
}
.bt:hover{
   
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* This is styling section for myskills */

.myskills{
    width: 50%;
    height: 50%;
    color: black;
    text-align: center;
    background-color: white;
    gap: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 40px;
    margin-left: 0;
    margin-right: 0;
    overflow: scroll;
}


.myskills:hover{
    color: rgba(0, 0, 0, 0.489); 
}

table{
    border-color: rgba(0, 0, 0, 0.489) ;
   
}
th:hover{
    color: skyblue;
}



/* SECOND ROW CONTAINER STYLE */
.second-row-container{
    
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/*MORE DIV STYLING */
.more{
    color: black;
    text-align: center;
    background-color: white;
   border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
   
}

.more:hover{
    color: rgba(0, 0, 0, 0.489);
}

/* <!-- MORE CAPSTONE PROJECT & MORE CAPSTONE PROJECT DIV START -->
 */

 .more_capstone_project_and_more_capstone_project_div{
    display: flex;
 }

/*  <!-- CAPSTONE PROJECT DESCRIPTION DIV -->*/
.more_capstone_project_div{
    width: 50%;
    align-items: start;
}
.more_capstone_project {
      list-style-type: disc ;
    padding-left: 20px;
    margin: 0;
    display: block ;
}
.more_capstone_project li {
    background-color: transparent;
    display: block ;
    cursor: auto;
}

/* FUCTURE ACCESS FIGURE */

.Future_access_logo{
  max-width: 60px;
}

/* LOCALTEAM AUSTRALIA STYLING */
.intern_LocalTeam_div{
    width: 50%;
    overflow: scroll;
}
.intern_LocalTeam li{
    background-color: transparent;
    cursor: auto;
        display: block ;
}


.bt1{
    background-color: black;
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
}
.bt1:hover{
   
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* PROJECT DIVS STYLING */
/* PROJECT1-3*/
.Project1_block,
.Project2_block,
.Project3_block,
.Project4_block{
background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   padding: 40px;
   width: 80%;
   display: flex;
   gap: 1em;
}
.project1_fig{
    max-width: 200px;
max-height: 200px;
}

.project1_text a,
.project2_text a,
.project3_text a,
.project4_text a{
     color: blue;
    text-decoration: underline;
    cursor: pointer;
    
}

/*  PROJECT 2 FIGURE STYLE*/
.project2_fig{
    max-width: 250px;
max-height: 200px;
}


/* PROJECT 3 & 4 FIGURE STYLE*/
.project3_fig,
.project4_fig{
    max-width: 250px;
max-height: 250px;
}

/* CONTACT BUTTON STYLE */
.contact{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}
/* FORM STYLING */
.form{
    margin-left:30% ;
    margin-right: 30%;
}
#feedbackForm{
   text-align: center;
    background-color: white;
   border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    display: none;
}

#su{
    background-color: black;
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
}

#su:hover{
   
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

#msg{
    text-align: left;
    text-overflow: hidden;
}

footer {
    background-color: white;
    
    /* --- NEW FLEXBOX RULES --- */
    display: flex;
    

    align-items: center; 
    
    padding: 15px 5%; 
    
justify-content: space-between;
}

footer img{
  
   width: 32px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
    transition: transform 0.2s ease-in-out;
}

.icon, 
.icon2, 
.icon3, 
.icon4,
.icon5,
.icon6{
    margin-left: 5%;
    border-radius: 50%;
}






@media (max-width: 580px) {

    .first-row-container {

        flex-direction: column;
    }
   
    .abtme{
        width: 100%;
      
    }
    .myskills{
    
 width: 100%;
       
    }

    .more{
        border-radius: 5%;

        margin-top: 25%;
        margin-left: 2%;
        margin-right: 2%;
    }

    .navbar{
        position: fixed;
        
    }

    

    .menu {
        opacity: 0;
        position: fixed;
        left: -100%;
        top: 0px;
        gap: 0;
        flex-direction: column;
        background-color: black;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        
    }

    .menu-wrapper {
        display: block;
        color: aliceblue;
    }

    .menu-wrapper.active .ham:nth-child(2) {
        opacity: 0;
    }

    .menu-wrapper.active .ham:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-wrapper.active .ham:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .menu.active {
        opacity: 1;
        left: 0;
    }

    .L {
        margin: 15px 0;
    }

    #msg{
        text-align: left;
        text-overflow: hidden;
    }



    /* PROJECT1 DIV */
    .Project1_block,
    .Project2_block,
    .Project3_block,
    .Project4_block{
   display: flex;
   flex-direction: column;
   width: 100%;
}

/* <!-- MORE CAPSTONE PROJECT & MORE CAPSTONE PROJECT DIV START -->
 */
.more_capstone_project_and_more_capstone_project_div{
    display: flex;
    flex-direction: column;
 }
.more_capstone_project_div,
.intern_LocalTeam_div{
    width: 100%;
}
/* LOCALTEAM AUSTRALIA STYLING */
.LocalTeam_Australia_Figure img {
    width: 200px;      /* adjust size */
    height: auto;      /* keeps aspect ratio */
}

}

@media (max-width:424px){
    .project3_fig,
.project4_fig{
    max-width: 200px;
max-height: 200px;
}
}