/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/*===== VARIABLES CSS =====*/
:root{
  --header-height: 3rem;
  --nav-width: 324px;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --first-color: #CC4B2C;
  --first-color-dark: #662616;
  --first-color-darken: #290F09;
  --text-color: #54423D;
  --first-color-light: #EAE7EF;
  --first-color-ligten: #FFFAFA;
  --body-font: 'Poppins';
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --z-fixed: 100;
}

@media screen and (min-width: 768px){
  :root{
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*===== BASE =====*/
*,::before,::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0; /* Ensure no margin */
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  background-color: var(--first-color-ligten);
  color: var(--text-color);
  line-height: 1.6;
  overflow-y: scroll; /* Ensure vertical scrolling */
}

h1, h2, h3, p{
  margin: 0;
}

h3{
  font-weight: var(--font-semi-bold);
}

ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

a{
  text-decoration: none;
  color: var(--text-color);
}

img{
  /* max-width: 100%; */
  height: auto;
  display: block;
}

/*===== CLASS CSS ===== */
.section{
  padding: 4rem 0 2rem;
}

.section-title{
  font-size: var(--h1-font-size);
  color: var(--first-color);
  margin-bottom: var(--mb-3);
  text-align: center;
}

.section-subtitle{
  display: block;
  font-size: var(--small-font-size);
  color: var(--first-color-darken);
  text-align: center;
  font-weight: var(--font-bold);
  margin-bottom: .25rem;
}

/*===== LAYOUT =====*/
.bd-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
}

.header{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--first-color-ligten);
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/*===== NAV =====*/
.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__menu{
  position: fixed;
  top: 0;
  left: -100%;
  width: 90%;
  height: 100vh;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items:flex-start;
  background-color: var(--first-color);
  transition: .5s;
  overflow-y: auto; /* Ensure the menu is scrollable */
}

.nav__close{
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: var(--first-color-dark);
  cursor: pointer;
}

.nav__item{
  margin-bottom: var(--mb-4);
  padding-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
  .nav__item{
  margin-bottom: var(--mb-4);
  padding-bottom: 1.5rem;
  }
}

.nav__link{
  font-size:1rem;
  text-transform: uppercase;
  color: var(--first-color-ligten);
  font-weight: var(--font-bold);
  transition: .3s;
}

.active.nav__link{
  color: var(--first-color-ligten);
}

.nav__link:hover{
  color: var(--text-color);
}

.nav__toggle{
  color: var(--first-color-dark);
  font-size: 1.3rem;
  cursor: pointer;
}

/*=== Show menu ===*/
.show{
  left: 0;
}

/*Active menu*/
.active{
  color: var(--text-color);
}

.home__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 3rem auto 1rem;

}

.home__image img {
  margin-top: 3rem;
  max-width: 300px;
  max-height: 300px;
  width: auto;
  height: auto;
}

.home__title {
  font-size: 2.2rem;
  margin-top: 1rem;
  text-align: center;
  color: var(--first-color);
}

.home__profession {
  font-size: 1.6rem;
  margin-top: 0.5rem;
  text-align: center;
}

.home__social {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.home__social-link {
  font-size: 1.8rem;
  margin: 0 0.7rem;
}

.home__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home__data {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home__bio {
  background-color: #FFFAFA;
  border-radius: 20px;
  padding: 1rem;
  color: #662616;
  font-size: 1.25rem;
  line-height: 1.59;
  text-align: justify;
  margin-top: 1rem;
}

@media screen and (min-width: 768px) {
  .home__container {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  .home__bio {
    margin-left: 2rem;
    margin-top: 0;
  }
}


.home__profession {
  font-size: 1.25rem;
  margin-top: 0.5rem;
  text-align: center;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid var(--first-color-dark);
  animation: caret 0.75s steps(1) infinite;
  min-height: 2em;
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}

.home__prefix {
  font-size: 1.5rem;
  display: block;
  text-align: center;
}


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

.about__Container{
  row-gap: 2rem;
}

.about__data{
  text-align: justify;
}

.about__description{
  margin-bottom: var(--mb-4);
}

.about__img{
  width: 150px;
  border-radius: .5rem;
  margin: 0 auto;
}

.about__image{
  margin-top: 29px;
}

.about__information{
  margin-bottom: var(--mb-4);
}

.about__information-title{
  font-size: var(--h3-font-size);
  color: var(--first-color-dark);
  margin-bottom: var(--mb-2);
}


.about__information-data{
  display: flex ;
  flex-direction: column;
  align-items: stretch;
  padding-left: 1.5rem;
  margin-bottom: var(--mb-3);
  padding: inherit;
}

.about__information-icon{
  font-size: 1.5rem;
  color: var(--first-color);
  margin-right: var(--mb-4);
}

.about__information-subtitle{
  display: block;
  font-weight: var(--font-semi-bold);
}

.about__information-subtitle-small{
  font-size: var(--small-font-size);
}



/* Collapsible elements */
.collapsible {
  margin-right: 0.1rem; /* Add a small margin to the right of each button */
  background-color: var(--first-color);
  color: var(--first-color-ligten);
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 3px;
  width: auto ;
  border: none;
  text-align: justify;
  outline: none;
  font-size: 1rem;
  transition: 0.4s;
}


@media screen and (min-width: 768px) {
  .collapsible {
    font-size: 1.25rem;
  }
}



.collapsible:hover {
  background-color: var(--first-color-dark);
}

.content {
  padding: 01rem;
  display: none;
  /* overflow: hidden; */
  background-color: var(--first-color-light);
  padding: initial;
}

.content.active {
  display: block;
  margin-right: 0.1rem;
  padding: initial;
  padding: 0 1rem 0 1rem;
}

/* Scholar Indices */
#icu {
  padding: 0.5rem;
}

#ICONS {
  width: 41px;
  height: auto;
}

.memb {
  width: 100%;
  text-align: left;
}

.publications {
  margin-bottom: 20px;
}

.publication-list {
  margin-top: 10px;
}

.publication-item {
  margin-bottom: 10px;
}


/*Teaching Section*/



.teaching-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* padding-left: 1.5rem; */
  margin-bottom: var(--mb-3);
}

.teaching-title{
  font-weight: bold;
  margin-top: 2rem;
  font-size: 2rem;
  color: var(--first-color);
  text-align: center;
  margin-bottom: 2rem;
}

.teaching.bd-grid{
  gap: 0;
}

table{
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

table th{
  border: 1px solid #ddd;
  padding: 8px;
}

.teaching-section td {
  border: 1px solid #ddd;
  padding: 8px;
}

table th {
  background-color: var(--first-color-light);
  color: var(--first-color-dark);
  text-align: left;
}

/* .teaching-section.img{
  font-size: 30px;
  color: var(--first-color-dark);
  width: 30px;
  height: 30px;
} */

/* Load more button */

#load-more-button.collapsible{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: calc(100% - 2rem);
  margin: 0 auto;

  align-items: stretch;
  padding-left: 1.5rem;
  margin-bottom: var(--mb-3);
  background-color: rgb(128, 120, 118);
  color: var(--first-color-ligten);
  cursor: pointer;
  border-radius: 3px;
  border: none;
  text-align: justify;
  outline: none;
  font-size: 1.25rem;
  transition: 0.4s;
}

#load-more-button.collapsible.collapsible:hover {
  background-color: var(--first-color-dark);
}


/* In the news section */

.in-the-news {
  text-align: center;
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin: var(--mb-4) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: calc(100% - 2rem);
  margin: 0 auto;

}

.in-the-news-link {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
}

.memb{
  display: stretch;
  grid-template-columns: 1fr;
  gap: 0rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
}



.memb {
    list-style: none;
    padding: 0;
    
}

.memb li {
    margin-bottom: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.news-text {
    color: var(--text-color);
    text-align: left;
    width: 90%;
}

.news-link {
    text-align: right;
    width: 10%;
}

.news-icon {
    height: 30px;
    width: 30px;
}




/* vs lab home */


.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
  justify-items: center;
  align-items: center;
  padding: 2rem 1rem;
  margin-left: 2rem;
}

.pellets {
  width: 100%;
  height: auto;
  max-width: 300px; /* adjust as needed */
}

.newcoll {
  width: 100%;
}

.contentu {
  grid-column: span 3;
  width: 100%;
}

.vslab-home {
  text-align: center;
}

.centered-image {
  display: block;
  margin: 0 auto;
  width: 50%; /* Adjust the width as needed */
  max-width: 100%; /* Ensures the image doesn't overflow the container */
  padding-bottom: 30px;
}

.profu{
  text-align: justify;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 30px;
}

.email-link {
  color: var(--first-color, #CC4B2C);
  text-decoration: none;
}

.email-link:hover,
.email-link:active {
  color: var(--first-color-dark, #662616);
}

.pellets {
  width: 100%;
  height: auto;
  max-width: 300px; /* Adjust as needed */
  border: none; /* Remove border color */
}


.contentu {
  grid-column: span 4; /* Span full width */
  width: 100%;
  display: none;
  padding: 1rem;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  text-align: justify; /* Added to justify text */
  padding-right: 2rem;
}

.collapsible.active + .contentu {
  display: block;
}

/* Collapsible Button */

.collapsible.newcoll{
  cursor: pointer;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  padding: 0;
  background: none;
}

.pupl {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align items to the left */
  margin: 1.5rem;
  padding: 1rem;
}

.pupl h2{
  font-size: 2.5rem;
  color: #CC4B2C;
  text-align: justify; /* Justify text alignment */
}

.pupl h3,
.pupl p {
  text-align: justify; /* Justify text alignment */
}

.pupl h2 {
  margin-bottom: var(--mb-3);
}

.pupl ul {
  list-style-type: square;
  margin-bottom: var(--mb-3);
  font-size: 1.2rem;
}

.pupl img {
  width: 100px; /* Adjust image size as needed */
  height: auto;
  margin-right: 1rem; /* Space between image and text */
}

.phori,
.phole {
  background-color: var(--first-color-light); /* Set background color */
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 8px; /* Optional: Rounded corners */
}

.phori h4,
.phole h4 {
  margin: 0 1.5rem .5rem 1.5rem; /* Adjust margin */
  color: #CC4B2C;
}

.phori p,
.phole p {
  margin: 0;
  text-align: justify; /* Justify text alignment */
}

.email-link {
  color: var(--first-color, #CC4B2C);
  text-decoration: none;
}

.email-link:hover,
.email-link:active {
  color: var(--first-color-dark, #662616);
}


.pupl h3{
  padding-bottom: 1.5rem;
  color: #CC4B2C;
  font-size: 2rem;
}

@media (max-width: 768px) {
  .pupl h3{
    padding-bottom: 1.5rem;
    color: #CC4B2C;
    font-size: 1.2rem;
  }
}


.funding {
  padding: 1rem 0 2rem;
  background-color: var(--first-color-ligten);
  color: var(--text-color);
}

.funding-content {
  width: calc(100% - 2rem);
  margin: 0 auto;
}

.funding table {
  width: 100%;
  margin-bottom: 2rem;
  border-spacing: 0;
}

.funding td {
  vertical-align: top;
  padding-bottom: 1rem;
  padding-left: 2rem;
}

.funding-info {
  width: 70%;
}

.funding-logo {
  width: 30%;
  text-align: center;
}

.funding-logo img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6.5%;
}

.funding ul {
  padding-left: 1.5rem;
  list-style-type: square;
}

.funding ul li {
  margin-bottom: 0.5rem;
  padding-bottom: 1.5rem;
  text-align: justify;
  padding-right: 1rem;
}

.section-title {
  font-size: 2rem;
  color: var(--first-color);
  text-align: center;
  margin-bottom: 2rem;
}

.donu {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-color);
  padding: 1rem;
}

@media (max-width: 768px) {
  .funding-info {
    width: calc(100% - 2rem);
    margin: 0;
    text-align: justify;
  }
  .funding-logo{
    grid: 1fr;
    padding-right: 1.5px;
  }
}


/* not added yet */





.collaborators {
  padding: 0rem;
  background-color: var(--first-color-ligten);
  color: var(--text-color);
}

.collaborators-content {
  width: calc(100% - 2rem);
  margin: 0 auto;
}

.collaborators table {
  width: 100%;
  margin-bottom: 2rem;
  border-spacing: 0;
}

.collaborators td {
  vertical-align: top;
  padding-bottom: 0.35rem;
  padding-left: 0rem;
}

.collaborators-info {
  width: 40%;
}

.collaborators-logo {
  width: 100%;
  text-align: center;
}

.collaborators-logo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6.5%;
}

.collaborators ul {
  padding-left: 1.5rem;
  list-style-type: square;
}

.collaborators ul li {
  margin-bottom: 0.5rem;
  padding-bottom: 1.5rem;
  text-align: justify;
}

.section-title {
  font-size: 2rem;
  color: var(--first-color);
  text-align: center;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .collaborators-info {
      width: calc(100% - 2rem);
      margin: 0;
      text-align: justify;
  }
  .collaborators-logo {
      width: 100%;
      padding-right: 1.5px;
  }
  .collaborators table, .collaborators td {
      width: 100%;
      display: block;
  }
  .collaborators-logo img {
      width: 100%;
      margin: 1rem auto;
  }
}


/* Sticky Show Less Button */
#sticky-button {
  position: fixed;
  bottom: 0px;
  right: 1rem;
  color: var(--first-color-ligten);
  border: none;
  padding: 0.8rem;
  border-top-left-radius: 1%;
  border-top-right-radius: 1%;
  cursor: pointer;
  font-size: 1.33rem;
  z-index: var(--z-fixed);
  position: sticky;
  top: 0;
  background-color: rgb(128, 120, 118);
  /* display: none; */
  margin-right: 0.1rem;
  width: -webkit-fill-available;
  
  
}

#sticky-button:hover {
  background-color: var(--first-color-dark);
}

#load-more-container {
  display: none;
}



/* Rough Area */


.newhome__social{
  display: flex;
  justify-content: left;
  margin-top: 2rem;
  margin-left: 1rem;
  margin-bottom: 1.4rem;
}



.membedit{
  list-style: none;
  padding: 1rem;
  list-style-type: square;
  margin: 1rem;
  padding-left: 1.5rem;
  padding-top: 0;
  margin-top: 0;
}


.heads{
  padding: 1.5rem;
}





.sticky-button.about__information-data{
  display: grid;
}






#journal-load-more-button.collapsible, #conference-load-more-button.collapsible{
  width: -webkit-fill-available;
  text-align: center;
}



#journal-load-more-button.collapsible.active , #conference-load-more-button.collapsible.active{
  display: none;
}






#sticky-button.active{
  display: flex;
  text-align: center;
}


/* #sticky-button{
  display: none;
  text-align: center;
} */

#journal-load-more-button.collapsible, #conference-load-more-button.collapsible{
  background-color: rgb(128, 120, 118);
}

#journal-load-more-button.collapsible.sticky-button ,#conference-load-more-button.collapsible.sticky-button{
  display: flex;
  text-align: center;
}


.home__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28.8px; /* Match the size of your icons */
  height: 28.8px; /* Match the size of your icons */
}






.active#sticky-button{
  display: flex;
  text-align: center;
}



/* rough */



.home__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28.8px;
  height: 28.8px;
}

.profile-pic {
  width: 28.8px;
  height: 28.8px;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  .home__social-link {
      width: 24px; /* Slightly smaller for mobile */
      height: 24px;
  }

  .profile-pic {
      width: 24px; /* Match the new size for mobile */
      height: 24px;
  }
}

@media (max-width: 480px) {
  .home__social-link {
      width: 20px; /* Even smaller for very small screens */
      height: 20px;
  }

  .profile-pic {
      width: 20px; /* Match the new size for very small screens */
      height: 20px;
  }
}



#journal-content.content.active, #conference-content.content.active{
  margin-right: 0.1rem;
  padding: initial;
}










/* ===== SKILLS =====*/
/* ===== EDUCATION =====*/
/* ===== SERVICES =====*/
/* ===== PROJECT IN MIND  =====*/
/* ===== WORKS =====*/
/* ===== CONTACT =====*/
/* ===== FOOTER =====*/
/* ===== MEDIA QUERIES=====*/







/* 

.content.active.sticky-button.active{
display: -webkit-inline-flex;
}



#journal-load-more-button.collapsible.active.sticky-button{
  display: -webkit-inline-flex;
  width: -webkit-fill-available;
}


#journal-load-more-button.sticky-button{
  display: -webkit-inline-flex;
  width: -webkit-fill-available;
}

#journal-content.content.active.sticky-button{
  display: -webkit-inline-flex;
  width: -webkit-fill-available;
} */


/* #journal-load-more-button.collapsible.active.sticky-button{
  display: none;
  width: -webkit-fill-available;
} */



/* .active#sticky-button{
  display: flex;
  text-align: center;
}
.sticky-button#sticky-button{
  display: none;
}

.active#sticky-button{
  display: flex;
  text-align: center;
}

.sticky-button#sticky-button.active{
  display: flex;
  text-align: center;
} */


.active#sticky-button{
  display: none;
  text-align: center;
}


@media (max-width: 768px) {
  .home__bio{
    font-size: 1rem;
  }
}



@media (min-width: 768px) {
.nav__menu {
  width: 40%;
  }
}


#journal-load-more-button.collapsible.active,  #conference-load-more-button.collapsible.active{
  display:grid;
  text-align: center;
}



#journal-load-more-button ,#conference-load-more-button{
  bottom: 0px;
    right: 1rem;
    color: var(--first-color-ligten);
    border: none;
    padding: 0.8rem;
    border-top-left-radius: 1%;
    border-top-right-radius: 1%;
    cursor: pointer;
    font-size: 1.15rem;
    z-index: var(--z-fixed);
    position: sticky;
    top: 0;
    background-color: rgb(128, 120, 118);
    margin-right: 0.1rem;
    width: -webkit-fill-available;
    display:grid;
    text-align: center;
}


#journal-load-more-button:hover, #conference-load-more-button:hover {
  background-color: var(--first-color-dark);
}


conference-load-more-button.sticky-button{
  display: none;
}








/* Sticky Show Less Button */
#sticky-button1 {
  position: fixed;
  bottom: 0px;
  right: 1rem;
  color: var(--first-color-ligten);
  border: none;
  padding: 0.8rem;
  border-top-left-radius: 1%;
  border-top-right-radius: 1%;
  cursor: pointer;
  font-size: 1.306rem;
  z-index: var(--z-fixed);
  position: sticky;
  top: 0;
  background-color: rgb(128, 120, 118);
  /* display: none; */
  margin-right: 0.1rem;
  width: -webkit-fill-available;
  
  
}

#sticky-button1:hover {
  background-color: var(--first-color-dark);
}