
:root {
    /* colors */
        /* menu texts */
        --passivetext: rgb(209, 171, 75);
        --activetext: #fff5ee;
        /* body texts */
        --contenttext: rgb(29, 28, 27);
        --headingtext: rgb(112, 81, 3);
        /* background */
        --backwhite: #f5ede6;
        --backblack: #1a1a1a;
        --backgold: rgb(250, 235, 215);
        /* button */
        --buttonpassive: rgb(237, 242, 245);
        --buttonhover: rgb(209, 171, 75);
        --buttonactive: rgb(240, 222, 64);
        /* hover */
        --coltexthover: rgb(40, 40, 40);

        
        
    
    
      }
    
      html {
        scroll-behavior: smooth;
      }
    
    
    /* Scroll bar region */
      ::-webkit-scrollbar {
        width: 15px;
        }
    
        /* Track */
        ::-webkit-scrollbar-track {
        background: var(--backblack);
        }
        
        /* Handle */
        ::-webkit-scrollbar-thumb {
        background: var(--backgold);
        border-radius: 5px;
        }
    
        /* Handle on hover */
        ::-webkit-scrollbar-thumb:hover {
        background: var(--passivetext); 
        }
    
    
        a, a:hover, a:focus, a:active {
            text-decoration: none;
            color: inherit;
       }
    
    
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        /* font-family: 'Microsoft Tai Le'; */
        list-style: none;
        box-sizing: border-box;
        background: var(--backwhite);
    }





    
    
    nav {
        position: fixed;
        z-index: 100;
        height: 7vh;
        width: 96%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 30px;
        padding-right: 10%;
        background-color:  rgba(0, 0, 0, 0.863);
        font-family: 'Instrument Sans', sans-serif;   
    }
    
    .logo {
        color: rgb(203, 182, 154);
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 4px;
    }

    .nav-links{
        padding-left: 0% !important;
        /* background-color: aqua; */

    }
    
    nav .nav-links ul {
        display: flex;
        flex-direction: row;
        margin: 3%;
        margin-left: 0%;
        padding-left: 0%;

    
    }
    
    nav .nav-links ul li {
        list-style: none;
        font-size: 0.8em;
        color: var(--passivetext);
        margin: auto;
        padding: 10px;
        right: 10%;
        letter-spacing: 4px; 
    }
    
    nav .nav-links ul li :hover {   
        color:var(--activetext);
        transition: 0.5s;     
        cursor: pointer;
        } 
    
    nav .nav-links ul img {
        transform: scale(0.8);
        align-self:auto;
        padding: 10px;
    }
    
    nav .nav-links ul img:hover {
        cursor: pointer;
    }
    
    .square {
        background-color:black;
        width: 100%;
        height: 10%; }
    


    /* tablet navigation */


        /* @media screen and (max-width: 992px) {
    
    
            .nav{
                width:10vh; 
            }
            } */
        
    
    
    



    .screen {
        height: fit-content;
        overflow: hidden;
        background-color: #000000;
    }
    
    
    
    section.sky{
        position: absolute !important;
        left: -10% !important;
        top: unset !important;
        bottom: -200px;
    }
    
    .sky img{
        width: 100%;
        height: 80%;
        filter: brightness(0.8);
    }
    
    .backC {
        position: absolute !important;
        left: 5% !important;
        /* top: 25vh !important; */
        top: unset !important;
        bottom: 17vh;
    }
    
    .backC img{
        width: 90%;
        filter: brightness(.8);
        
    }
    
    
    
    
    .girl {
        position: absolute;
        left: 5% !important;
        bottom: 100px !important;
        top:unset !important;
    }
    
    .girl img{
       
        z-index: 2;
        width: 90%;
        /* left: -20px; */
        top: 20vh !important;
        filter: brightness(0.8);
    }
    
    .frontC {
        position: absolute;
        left: 10% !important;
        bottom: 40px !important;
        top:unset !important;
    }
    
    
    .frontC img{
        z-index: 2;
        width: 90%;
        /* left: -20px; */
        top: 20vh !important;
        filter: brightness(0.8);
    }
    
    .dragon {
        position: absolute;
        left: 40% !important;
        bottom: -50px !important;
        top: unset !important;
        /* left: unset !important;  */
    }
    
    .dragon img {
        width: 90%;
        height: 90%;
        z-index: 3;
        filter: brightness(1);
    }
    
    .cliff {
        position: absolute;
        left: -5% !important;
        bottom: -0px !important;
        top: unset !important;
        right: unset !important; 
    }
    
    .cliff img {
        width: 110%;
        height: 100%;
        z-index: 3.5;
        filter: brightness(0.9);
    }
    
    .textpic {
        position: absolute;
        left: 30% !important;
        bottom: 750px !important;
        top: unset !important;
        right: unset !important; 
    }
    
    .textpic img {
        width: 80%;
        height: 80%;
        z-index: 3;
        filter: brightness(0.9);
    }
    
    
/* for text only */

   @media screen and (max-width: 1400px) {
    
    .textpic {
        position: absolute;
        left: 30% !important;
        bottom: 1% !important;
    }
  } 
    
  /* for tablet */


  @media screen and (max-width: 992px) {
    
    
    .square {
        background-color:var(--backblack);
        width: 100%;
        height: 8%; }


    .backC {
        position: absolute !important;
        left: 5% !important;
        /* top: 25vh !important; */
        top: unset !important;
        bottom: 5vh;
    }

    .girl {
        position: absolute;
        left: 5% !important;
        bottom: 60px !important;
        top:unset !important;
    }

    .frontC {
        position: absolute;
        left: 10% !important;
        bottom: 25px !important;
        top:unset !important;
    }
    
    .dragon {
        position: absolute;
        left: 54% !important;
        bottom: 8px !important;
        top:unset !important;
    }
    
    .cliff {
        position: absolute;
        left: -5% !important;
        bottom: -0px !important;
        top: unset !important;
        right: unset !important; 
    }
    
    /* .textpic {
        position: absolute;
        left: 12% !important;
        bottom: 30% !important;
        top: unset !important;
        right: unset !important; 
    } */
    
    /* .textpic img {
        width: 50%;
        height: 40%;
        z-index: 3;
        filter: brightness(0.9);
        
    } */
    
    } 



    
    /* for mobile */
        
        @media screen and (max-width: 768px) {
/* 
            .sky{
               height: 1000px;
            } */
        
        
            .backC {
                position: absolute !important;
                left: 5% !important;
                /* top: 25vh !important; */
                top: unset !important;
                bottom: 3vh;
            }
        
            .girl {
                position: absolute;
                left: 5% !important;
                bottom: 25px !important;
                top:unset !important;
            }
            
            
            
            .frontC {
                position: absolute;
                left: 10% !important;
                bottom: 8px !important;
                top:unset !important;
            }
            
            
            
            
            .dragon {
                position: absolute;
                left: 54% !important;
                bottom: 8px !important;
                top:unset !important;
            }
            
            
            .cliff {
                position: absolute;
                left: -5% !important;
                bottom: -0px !important;
                top: unset !important;
                right: unset !important; 
            }
            
            
            
            .textpic {
                position: absolute;
                padding: 5%;
                left: 0% !important;
                bottom: -7% !important;
                z-index: 15;
            }
            
            
            .textpic img {
                width: 100%;
                height: 100%;
                filter: brightness(0.9);
                
            } 
          } 
        
        
    
        
        
        
        
        

/* ================= ABOUT ME SECTION ================= */

/* ================= ABOUT ME SECTION ============================================================================= */

/* Center only the heading */
.about-me h1 {
  text-align: center;
  margin-bottom: 1%;
  color: rgba(255, 228, 196, 0.65);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
}



/* Text */
.about-text {
  max-width: 100%;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1.8rem;
  line-height: 1.6;
  letter-spacing: 0.5px;
  font-weight: 400;
  color: rgba(255, 228, 196, 0.6);
  margin-bottom: 2%;
margin-left: 3%;
margin-right: 10px;


}

/* Badge strip */
.affiliation-strip {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 8%;
    margin-left: 3%;
}

/* Badges */
.affiliation-strip span {
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.8px;
  border-radius: 20px;

  background-color: rgba(26, 26, 26, 0.35);
  color: rgba(255, 228, 196, 0.65);
  border: 1px solid rgba(206, 184, 146, 0.25);
}

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



    .affiliation-strip {
        gap: 2rem;
        margin-top: 4%;
    }

    .about-text {
        font-size: 28px;
        line-height: 1.8;
    }


}

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

      .about-me {
        margin-top: 30%;
        margin-bottom: 20%;
    }


  .affiliation-strip {
        gap: 2rem;
        /* margin-top: 2%; */
    }

    .about-text {
        font-size: 16px;
        line-height: 2;
    }
}



.affiliation-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2%;
}

/* Logo badges */
.affiliation-strip img {

  max-width: 16%;
  object-fit: contain;

  border-radius: 16px;
  background-color: rgba(26, 26, 26, 0.35);
  border: 1px solid rgba(72, 72, 72, 0.25);
  opacity: 0.75;
  cursor: pointer;
}

/* Responsive tightening */
@media screen and (max-width: 992px) {
  .affiliation-strip {
    gap: 2rem;
  }

  .affiliation-strip img {
      max-width: 25%;

  }
}

@media screen and (max-width: 600px) {
  .affiliation-strip {
    flex-wrap: nowrap;              /* force single row */
    overflow-x: auto;               /* enable horizontal scroll */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    padding-right: 20px;
  }

  .affiliation-strip img {
    flex: 0 0 auto;                 /* prevent shrinking */
    max-width: 40%;                 /* readable logo size */
    border-radius: 8px;
  }

  /* Optional: hide scrollbar (still scrolls) */
  .affiliation-strip::-webkit-scrollbar {
    display: none;
  }
}
            
        
      
/* ================= WORK SECTION ============================================================================================ */  
        
        
        
        
        
        .page2 {
            width:100%;
            padding: 2%;
            background: linear-gradient(0deg, rgb(26, 26, 26), rgb(0, 0, 0)); 
            animation: gradient 15s ease infinite;
            padding-top: 5%;
            
        }
        
        .page2 h1 {
        
        /* padding-left: 3%; */
        text-align: left !important;
        display: flex;
        padding-left: 3%;
        color:rgba(255, 228, 196, 0.607);

        font-family: 'Instrument Sans', sans-serif;

        font-weight: 800;
        line-height: 1.4; /* adds breathing room */
        letter-spacing: 01px; /* slight spacing for clarity */



        }
        
    .row{
        width:95%;
        padding-bottom: 4%;
        /* background-color: aqua; */
    }

    .column {
    display: flex;
    flex-direction: column;
    float: left;
    width: 29%;
    height: auto;
    margin-top: 2%;
    margin-left: 3%;
    border-radius: 10px;
    /* background-color: rgb(73, 67, 60);  */
    overflow: hidden;
    transition: transform 0.3s ease;
    }

    .column:hover {
    cursor: pointer;
    transform: translateY(-5px);
    background-color: rgba(115, 98, 84, 0.154); /* gentle white overlay tint */
    box-shadow: 0 0px 2px rgba(206, 184, 146, 0.457);   /* subtle drop shadow */
    transition: 0.4s ease;
    }
    

    /* Image block inside each column */
    .col-image {
    width: 100%;
    aspect-ratio: 16/10; /* maintains consistent height ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    opacity: 90%;

    }

    /* Text block inside each column */
    .col-text {
    color: var(--backgold);
    /* margin: 1%; */
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 10%;
    padding-right: 50% ;
    width: 98%;
    border-radius: 0 0 10px 10px;
    transition: 0.5s;
    
    font-family: 'Instrument Sans', sans-serif;

    font-weight: 400;
    line-height: 1.4; /* adds breathing room */
    letter-spacing: 0.6px; /* slight spacing for clarity */
    }

    .page2 h2 {
    
    /* padding-left: 3%; */
    
    /* color:rgba(255, 228, 196, 0.607); */
    margin-bottom: 2%;
    font-weight: 400;
    line-height: 1.4; /* adds breathing room */
    letter-spacing: 02px; /* slight spacing for clarity */
    line-height: 1.2;     /* makes the text feel tighter */
    }
    /* background-color: rgba(3, 3, 3, 0.553); */
   

    .col-image:hover {
    opacity: 40%;
    transition: 0.8s ease;

    }

/* Responsive rules */
@media screen and (max-width: 992px) {
  .column {
    width: 45%;
    margin-top: 3%;
    margin-left: 3%;
  }
}

@media screen and (max-width: 600px) {
  .row {
    width: 90%;
  }

  .column {
    width: 100%;
    margin-top: 5%;
    margin-left: 2%;
  }
}

/* Row clearing */
.row:after {
  content: "";
  display: table;
  clear: both;
}

    
    
    
    .row:after {
        content: "";
        display: table;
        clear: both;
      }
    
    
    
    
    
    
/* ACHIEVEMENTS SECTION */



/* ================= ACHIEVEMENTS SECTION ======================================================= */





.achievements .row {
  width: 95%;
  padding-bottom: 4%;
  overflow: hidden; /* clears floats */

}

/* COLUMN (same float method as projects) */
.achievements .column {
  float: left;
  width: 25%;
  margin-left: 3%;
  margin-top: 2%;
  border-radius: 10px;
  /* background-color: rgba(26, 26, 26, 0.35); */

  padding: 2%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}


@media screen and (max-width: 1080px) {
  .achievements .column {
    width: 40%;
    margin-top: 3%;
    margin-left: 3%;
  }
}

@media screen and (max-width: 900px) {
  .achievements .row {
    width: 99%;
    margin-bottom: 15%;
  }

  .achievements .column {
    width: 88% ;
    margin-top: 5%;
    margin-left: 2%;
    margin-right: 2%;
  }
}


/* HOVER */
.achievements .column:hover {
  transform: translateY(-5px);
  background-color: rgba(115, 98, 84, 0.18);
  box-shadow: 0 0px 2px rgba(206, 184, 146, 0.45);
  /* cursor:auto;  */
}

/* CARD CONTENT LAYOUT */
.achievement-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

/* ICON */
.achievement-card img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* TEXT */
.achievement-text h3 {
  margin: 0 0 0.4rem 0;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  color: var(--backgold);
  letter-spacing: 0.8px;
  line-height: 1.2;
}

.achievement-text p {
  margin: 0;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 228, 196, 0.55);
  letter-spacing: 0.5px;
}



/* ----------------------------------------------------------------------------------------------------- */




    /* not in use zone */
    
/*     
      .page3 {
        width: 100%;
        padding-top: 10%;
        padding-left: 2%;
       
        background-color: var(--backblack);
        animation: gradient 15s ease infinite;
    } 
    
    .container {
        display: flex;
      }
      .item {
        flex-basis: 43%;
        height: 500px;
        margin: 3%;
      }
    
      .item h1{
          font-size: 5em;
          padding-left: 15%;
          color: var(--headingtext);
      }
    
      .answer {
        position: absolute !important;
        left: 12% !important;
        top: 287% !important;
        bottom:unset;
          width: 38%;
          height: 70%;
          display: flex;
          justify-content: space-between;
          z-index: 100;
        
      }
    
    
    
    .pagev { 
        max-height: 100%;
        background:rgb(112, 81, 3)
    }
    
    .pagev video {
        width: 100%;
        height: auto;
        padding: 5%;
    }
    
    
    
    
    
      .page4 {
        width: 100%;
        height: 90vh;
        padding-top: 5%;
        padding-left: 2%;
        background: linear-gradient(180deg, rgb(26, 26, 26), rgb(222, 212, 197)); 
        animation: gradient 5s ease infinite;
    } 
    
    .page4 h1{
        display: flex;
        text-align: left !important;
        padding-left: 3%;
        color: var(--backgold);
    
    }
    
    .container4 {
        display: flex;
        width: 60%;
        padding-left: 2%;

      }
    
     
    
    
      .item4 {
        background-color:rgba(26, 26, 26, 0.377);
        flex-basis: 40%;
        height: fit-content;
        margin: 3%; 
        border-radius: 2%; 
      } 
    
      .item4 ul {
        padding: 10%;
        line-height: 300%;
        font-size: 130%;
        color: var(--activetext);
    
      }
    
      .feather {
        flex-basis: 40%;
        position: relative;
        left: 55% !important;
        bottom: 80% !important;
        top:unset !important;
    }
    
    .feather img {
       
        z-index: 200;
        width: 35%;
    }
    
    
    
    @media screen and (max-width: 992px) {
        .page4{
            width: 100%;
            height: 100%;
            padding-top: 2%;
        }

        .feather {
          display: none;
        }
    
        .container4 {
            
            display: flex;
            width: 100%;
          }
    
        .page4 h1 {
            font-size: 3em;
            padding: 3%;
            margin-top: 1%;
            margin-left: 1%;

            
        }
    
        .item4 {
            background-color:rgba(26, 26, 26, 0);
            flex-basis: 40%;
            margin: 4%; 
          } 
        
          .item4 ul {
            padding: 8%;
            line-height: 280%;
            font-size: 28px;
            color: var(--activetext);
        
          } 
    
      }






    @media screen and (max-width: 600px) {
        .feather {
          display: none;
        }
    
        .container4 {
            
            display: flex;
            width: 85%;
          }
    
        .page4 h1 {
            text-align: center;
            font-size: 2em;
            padding: 1%;
            margin-top: 5%;
        }
    
        .item4 {
            background-color:rgba(26, 26, 26, 0);
            flex-basis: 40%;
            margin: 7.5%; 
          } 
        
          .item4 ul {
            padding: 8%;
            line-height: 280%;
            font-size: 100%;
            color: var(--activetext);
        
          } 
    
      } */






footer {
    display: flex; 
    height: fit-content;
    width: 100%;
    flex-direction: column; 
    align-items: center; 
    /* text-align: center;   */
    padding: 1rem;
    background-color: var(--backblack);
    color:var(--backgold);
}

.footericon{
    display: flex; 
    align-items: center;
    height: 80px;  
}


.iconlink {
    width: 90%;
    height: 50%;
    margin-bottom: 30%;
}

.iconlink:hover {
    border: 1px solid var(--backgold);
}