* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
	font-family: arial;
	margin : 0;
	padding: 0;
	color: black;
    background-image: 
        linear-gradient(rgba(212, 193, 156, 0.85), rgba(200, 171, 126, 0.85)),
        url('pebbles.png'),
        linear-gradient(to bottom, #D4C19C 0%, #C8AB7E 100%);
    background-repeat: no-repeat, repeat, no-repeat;
    background-size: cover, auto, cover;
    background-attachment: scroll;
    background-position: center center, center center, center top;
}

header {
	position: relative;
	top: 0;
}


p {
  font-size: 22px;
}

.header_image{
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 120px 20px 10px;
  isolation: isolate;
}


.header_image::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:4;

  background: linear-gradient( 
    to bottom, rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.7) 100% 
  );

}

.layer{
  position:absolute;
  inset:-4%;
  width:auto;
  height:auto;
  background-image:url("sunset.png");
  background-size:cover;
  background-position:center center;
  will-change:transform;
}


.header_image h1 {
  color: white;
  text-shadow: 0 0 5px #000, 0 0 5px #000;
  margin-top: 0;
}

.header_content {
  position: relative;
  z-index: 10;
}

.parallax_live {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.nav_container {
  position: absolute;
  top: 40px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 20;
}

.button_container {
    display: flex;
    gap: 15px; 
}

.btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,1);
  display: inline-block;
  text-decoration: none;
}

.btn_primary {
	color: white;
}

.btn_primary:hover {
	background: #002E6D;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.tagline{
  opacity: 90%;
  color: white;
  margin-top: 5px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 5px #000;
}

footer {
    background-color: #212121;
    color: black;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    position: relative;
    font-size: 16px;
    font-weight: bold;
}

footer p {
    margin: 5px 0;
    color: white;
}
  
.crab {
  display: block;
  width: 100px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 500;
  margin: 0;
  animation: none;
  cursor: pointer;
  transition: all 0.2s linear;
}


details {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #e0d8c2;
}

summary {
  font-size: 18px;
  cursor: pointer;
}

summary:hover {
  color: #0077cc;
}

li {
  margin-bottom: 8px;
  line-height: 1.5;
}


.parallax {
    width: 100%;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax1 {
    width: 100%;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("land.png");
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;


}

.parallax1 h2 {
  color: white;
  text-shadow: 0 0 5px #000, 0 0 5px #000;
  margin-top: 0;
  font-size: 45px;

}

.parallax2 {
    width: 100%;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("sea.png");
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.parallax2 h2 {
  color: white;
  text-shadow: 0 0 5px #000, 0 0 5px #000;
  margin-top: 0;
  font-size: 45px;
  
}

.parallax3 {
    width: 100%;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("star.jpg");
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.parallax3 h2 {
  color: white;
  text-shadow: 0 0 5px #000, 0 0 5px #000;
  margin-top: 0;
  font-size: 45px;
  
}

.parallax1,
.parallax2,
.parallax3 {
  position: relative;
  overflow: hidden;
}

/* dark overlay ONLY on images */
.parallax1::before,
.parallax2::before,
.parallax3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* 👈 adjust darkness here */
  z-index: 1;
  pointer-events: none;
}

/* keep text above overlay */
.parallax1 h2,
.parallax2 h2,
.parallax3 h2,
.parallax1 .focus,
.parallax2 .focus,
.parallax3 .cta {
  position: relative;
  z-index: 2;
}


#grouped-presentations h3, #grouped-invited-presentations h3 {
  padding-left: 20px;
}


.hamburger {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,1);
  display: inline-block;
  text-decoration: none;
  color: white;
}

.mobile_menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 50px;
  right: 0;
  background: rgba(0,0,0,0.9);
  border-radius: 8px;
  overflow: hidden;
  min-width: 180px;
  z-index: 100;
}

.mobile_menu.show {
  display: flex;
  z-index: 50;
}

.mobile_menu a {
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  display: block;
}

.mobile_menu a:hover {
  background: #002E6D;
}

.mobile_nav{
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.section {
    width: 100%;
    padding: 60px 20px;
}

.section .content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.top_bar {
    position: absolute;
    background-color: #212121;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 50;
}

.hero_center {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
  background-color: none;
  color: white;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 15px;
  margin-top: 20px;
  margin-bottom: 50px;

}

.card p {
  cursor: pointer;
  height: 100%;
  flex: 1;
  overflow: hidden;
  border-radius: 2px;
  transition: all.5s;
  background-color: #212121;
  border: 2px solid #C8AB7E;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card p span {
  min-width: 13em;
  transform: rotate(-90deg);
  text-align: center;
  transition: all .5s;
}

.card p:hover {
  flex: 10;
}

.card p:hover span {
  transform: rotate(0deg);
}

.student {
  flex: 1;
  height: 100%;
  width: 150px;
  position: relative;
  background-color: #212121;
  border: 2px solid #C8AB7E;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.4s ease;
}

.student p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  color: white;
  font-weight: bold;
  margin: 0;
  z-index: 2;
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.student img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.student:hover p, .student.open p {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0;
}

.student:hover {
  flex: 5;
  transition: flex 0.8s ease;
}

.student:hover img {
  opacity: 1;
}

.student.open img {
  opacity: 1;
}

.student.open {
  flex: 5;
}

.wave_typing {
  display: block;
  text-align: center;
  padding: 5px;
  white-space: normal;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: bold;
  color: #fff;
  text-shadow: 
    -2px -2px 0 #000, 
     2px -2px 0 #000,
    -2px 2px 0 #000,
     2px 2px 0 #000,
     0 0 5px #000;
  line-height: 1.2;
}

.wave_typing span {
  display: inline-block;
  opacity: 0;
  visibility:hidden;
  transform: translateY(20px);
  animation: typeWave 0.6s forwards;
  animation-fill-mode: forwards;
  margin: 0 1px;
  text-shadow: 
    -2px -2px 0 #000, 
     2px -2px 0 #000,
    -2px 2px 0 #000,
     2px 2px 0 #000,
     0 0 5px #000;
}


@keyframes typeWave {
  0%   { 
    opacity: 0; 
    transform: 
    translateY(20px); 
  }
  60%  { 
    opacity: 1; 
    transform: translateY(-5px); 
  }
  80%  { 
    transform: translateY(2px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  } 
}

.photos {
  overflow: hidden;
  width: 100%;
  background: #212121;
  padding: 20px 0;
}

.wrapper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 16rem;
  gap: 2rem;
  animation: Lshift 18s linear infinite;
}

.wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.publications_section{
  padding: 80px 20px;
  position: relative;
}

.publications_section h2{
  text-align: center;
  margin-bottom: 40px;
}

.publication_grid{
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 28px;
}

.publication_card{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 28px;
  background:
    linear-gradient(145deg,
    rgba(255,255,255,0.95),
    rgba(247,241,227,0.92));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    0 12px 28px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.8);
  transition: all .35s ease;
}

.publication_card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top right,
    rgba(200,171,126,.18),
    transparent 35%);
  pointer-events:none;
}

.publication_card::after{
  content:"📄";
  position:absolute;
  top:18px;
  right:18px;
  font-size:22px;
  opacity:.25;
}

.publication_card:hover{
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 22px 42px rgba(0,0,0,.16),
    0 8px 18px rgba(0,46,109,.12);
}

.pub_year{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:#002E6D;
  color:white;
  font-size:14px;
  font-weight:700;
  letter-spacing:.5px;
  margin-bottom:18px;
}

.publication_card h3{
  font-size:1.25rem;
  line-height:1.45;
  color:#1f1f1f;
  margin:0 0 14px;
}

.publication_card p{
  margin:0;
  font-size:1rem;
  color:#555;
  line-height:1.7;
}

.pub_link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:22px;
  text-decoration:none;
  font-weight:700;
  color:#002E6D;
  transition:.25s ease;
}

.pub_link:hover{
  transform: translateX(4px);
}

.pub_link::after{
  content:"→";
  font-size:18px;
}


@keyframes Lshift {
  to {
    transform: translateX(calc(-5 * (16rem - 1rem)));
  }
}

.wrapper1 {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 16rem;
  gap: 2rem;
  animation: Lshift 18s linear infinite reverse;
}

.wrapper1 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}



h2 {
    font-size: 2rem;
    margin-top: 60px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 3px solid #C8AB7E;
    color: #212121;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

h2 + ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 40px;
}

h2 + ul li {
    margin-bottom: 15px;                     
    line-height: 1.8;                        
    background: rgba(255, 255, 255, 0.85);  
    padding: 12px 15px;                      
    border-radius: 8px;                      
    transition: all 0.3s ease;              
    position: relative;
}

h2 + ul li:hover {
    background: rgba(200, 171, 126, 0.85);  
    transform: translateX(5px);             
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

h2 + ul li::before {
    content: "💡";
    margin-right: 8px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

h2 + ul li {
    padding-left: 35px;
}

h2 + ul li:nth-child(odd) {
    background: rgba(255, 255, 255, 0.9);
}

h2 + ul li:nth-child(even) {
    background: rgba(240, 230, 210, 0.9);
}

h2 + ul li strong {
    font-size: 1.05em;
    color: black;
}

.chalkboard {
  position: relative;
  width: 95%;
  max-width: 1100px;
  height: 500px;
  margin: 40px auto;
  background: #1e2b1f;
  border: 12px solid #3b2a1a;
  border-radius: 10px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
  overflow: hidden;
}

.chalkboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.4;
}

.sticky {
  position: absolute;
  width: 180px;
  min-height: 120px;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  background: #fffa87;
  color: #333;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  transform: rotate(var(--rotate));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.sticky:active {
  cursor: grabbing;
  z-index: 999;
}

.sticky:hover {
  transform: scale(1.1) rotate(0deg);
  z-index: 10;
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.sticky:nth-child(3n) { 
  background: #ffd1dc; 
}
.sticky:nth-child(4n) { 
  background: #caffbf; 
}
.sticky:nth-child(5n) { 
  background: #a0c4ff; 
}

.content_container ul {
  background: none;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  list-style: none;
}

.content_container ul li {
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 16px;
  color: #1f1f1f;
}

.content_container ul li:hover {
  background: rgba(200, 171, 126, 0.35);
}

.content_container table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-top: 20px;
}

.content_container table thead {
  background: #212121;
  color: white;
}

.content_container table th,
.content_container table td {
  padding: 12px 15px;
  text-align: center;
  font-size: 16px;
}

.content_container table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.content_container table tbody tr:hover {
  background: rgba(200, 171, 126, 0.25);
}

.content_container table td:first-child {
  font-weight: 600;
  color: #222;
}

.rotate_text {
  position: relative; 
  display: flex;
  align-items: center;

  z-index: 100;
}
.text {
  font-size: 5rem;
  padding: 20px;
  white-space: nowrap;
}

.words {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 85px;
  overflow: hidden;
  perspective: 800px;
  margin-left: 10px;
}

.word {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  text-align: left;
  line-height: 1;
  font-size: 5rem;
  font-weight: 700;
  transform-origin: center;
  backface-visibility: hidden;
  animation: rotateWord 8s var(--d) infinite ease-in-out;
}

.word:nth-child(1) {
  --d: 0s;
  color: #B1102B;
}

.word:nth-child(2) {
  --d: 2s;
  color: #002E6D;
}

.word:nth-child(3) {
  --d: 4s;
  color: #007935;
}

.word:nth-child(4) {
  --d: 6s;
  color: #A7A8AA;
}

@keyframes rotateWord {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }

  10% {
    opacity: 1;
    transform: rotateX(0);
  }

  25% {
    opacity: 1;
    transform: rotateX(0);
  }

  35% {
    opacity: 0;
    transform: rotateX(90deg);
  }

  100% {
    opacity: 0;
  }
}

.poster {
  display: block;
  max-width: 90%;
  height: auto;
  margin: 20px auto;

}


.badge_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 25px;
}

.badge_grid::before {
  content: "";
  position: absolute;
}

.badge_card {
  background: linear-gradient(135deg, #fffdf5, #f3e5ab);
  border: 2px solid #C8AB7E;
  border-radius: 16px;
  padding: 16px 18px;
  width: 260px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.badge_card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.badge_title {
  font-weight: 800;
  font-size: 16px;
  color: #1f1f1f;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.badge_meta {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.badge_card::before {
  content: "🏅SERVED";
  position: absolute;
  top: -10px;
  right: -10px;
  background: #212121;
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
}

section {
  padding: 30px 40px;
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: rgba(0,0,0,0.08);
}

section h2 {
  font-size: 1.9rem;
  margin-top: 50px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 3px solid #C8AB7E;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #212121;
}

.poster_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1100px;
  margin: 30px auto;
}

.posters {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: #fff;
  border: 2px solid #C8AB7E;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  padding: 8px;
  transition: transform 0.25s ease;
}

.posters:hover {
  transform: scale(1.03);
}

.posters:fullscreen {
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.posters:fullscreen img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.profile_section{
    padding: 60px 20px;
}

.profile_card{
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.profile_left{
    background: #212121;
    color: white;
    padding: 40px 25px;
    text-align: center;
}

.profile_img{
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #C8AB7E;
    margin-bottom: 20px;
}

.profile_left h2{
    color: white;
    border: none;
    margin: 10px 0;
}

.profile_title{
    color: #C8AB7E;
    font-size: 20px;
    margin-bottom: 10px;
}

.contact_box{
    margin-top: 25px;
    background: rgba(255,255,255,0.08);
    padding: 18px;
    border-radius: 12px;
}

.contact_box p{
    font-size: 17px;
    line-height: 1.6;
    margin: 8px 0;
}

.profile_right{
    padding: 40px;
}

.info_block{
    margin-bottom: 30px;
}

.info_block h3{
    font-size: 24px;
    color: #212121;
    border-bottom: 3px solid #C8AB7E;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.info_block ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.info_block li{
    background: #f4f1e8;
    margin-bottom: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 17px;
    line-height: 1.5;
    transition: 0.3s ease;
}

.info_block li:hover{
    transform: translateX(6px);
    background: #e7d7b0;
}

.profile_section{
    padding: 70px 20px;
    position: relative;
}

.profile_section::before{
    content:"";
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top right, rgba(255,255,255,.35), transparent 35%),
    radial-gradient(circle at bottom left, rgba(200,171,126,.35), transparent 35%);
    pointer-events:none;
}

.full_profile{
    max-width: 1350px;
    margin:auto;
    background: rgba(255,255,255,.93);
    border-radius: 24px;
    overflow:hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.18);
    border:1px solid rgba(255,255,255,.4);
    position:relative;
    z-index:2;
}


.profile_header{
    display:grid;
    grid-template-columns: 280px 1fr;
    gap:40px;
    align-items:center;
    padding:50px;
    background:
    linear-gradient(rgba(0,46,109,.88), rgba(0,46,109,.88)),
    url("sea.png");
    background-size:cover;
    color:white;
    position:relative;
}

.profile_header::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:8px;
}

.profile_img{
    width:240px;
    height:240px;
    object-fit:cover;
    border-radius:50%;
    border:8px solid rgba(255,255,255,.95);
    box-shadow:0 15px 35px rgba(0,0,0,.35);
    transition:.4s ease;
}

.profile_img:hover{
    transform:scale(1.05) rotate(2deg);
}

.profile_intro h2{
    font-size:3rem;
    color:white;
    border:none;
    margin:0 0 10px;
}

.role{
    font-size:1.4rem;
    color:#ffe8a6;
    font-weight:700;
    margin-bottom:10px;
}

.profile_intro p{
    margin:6px 0;
    font-size:1.1rem;
}

.contact_box{
    margin-top:25px;
    background:rgba(255,255,255,.12);
    backdrop-filter: blur(5px);
    padding:20px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.15);
}

.contact_box p{
    margin:10px 0;
    font-size:1rem;
    line-height:1.6;
}


.profile_intro::after{
    content:"🔬 Open to students, collaborators, and research inquiries";
    display:block;
    margin-top:18px;
    background:#C8AB7E;
    color:#212121;
    font-weight:800;
    width:max-content;
    max-width:100%;
    padding:10px 18px;
    border-radius:999px;
    font-size:.95rem;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
}

.full_profile section{
    padding:45px;
    position:relative;
    overflow:hidden;
}

.full_profile section:nth-child(even){
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f7f1e3 45%,
        #f1e3c6 100%
    );
}

.full_profile section:nth-child(odd){
    background: linear-gradient(
        135deg,
        #f9f9f9 0%,
        #ffffff 50%,
        #f3ead6 100%
    );
}

.full_profile section::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:1px;
    background:rgba(0,0,0,.06);
}

.full_profile section h3{
    font-size:2rem;
    color:#002E6D;
    margin-bottom:28px;
    padding-left:18px;
    position:relative;
    letter-spacing:.5px;
}

.full_profile section h3::before{
    content:"";
    position:absolute;
    left:0;
    top:5px;
    width:8px;
    height:34px;
    border-radius:10px;
    background:#C8AB7E;
}

.full_profile section h3::after{
    content:"";
    display:block;
    width:90px;
    height:4px;
    background:#C8AB7E;
    margin-top:10px;
    border-radius:10px;
}

.info_grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:20px;
}

.info_card,
.mini_card{
    background:white;
    border-radius:18px;
    padding:24px;
    box-shadow:0 10px 22px rgba(0,0,0,.08);
    transition:.3s ease;
    border-top:5px solid #C8AB7E;
    position:relative;
}

.info_card:hover,
.mini_card:hover{
    transform:translateY(-8px) scale(1.02);
    box-shadow:0 18px 32px rgba(0,0,0,.12);
}

.info_card h4,
.mini_card h4{
    margin:0 0 10px;
    color:#002E6D;
    font-size:1.25rem;
}

.info_card p,
.mini_card p{
    margin:0;
    font-size:1rem;
}

.info_card span{
    display:block;
    margin-top:10px;
    font-weight:700;
    color:#777;
}


.timeline{
    position:relative;
    display:grid;
    gap:18px;
}

.timeline::before{
    content:"";
    position:absolute;
    left:18px;
    top:0;
    bottom:0;
    width:4px;
    background:#C8AB7E;
    border-radius:20px;
}

.time_card{
    margin-left:45px;
    background:white;
    border-radius:16px;
    padding:18px 22px;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
    position:relative;
    transition:.3s ease;
}

.time_card::before{
    content:"";
    position:absolute;
    left:-35px;
    top:22px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#002E6D;
    border:4px solid #C8AB7E;
}

.time_card:hover{
    transform:translateX(8px);
}

.time_card span{
    font-weight:800;
    color:#002E6D;
    display:block;
    margin-bottom:6px;
}

.full_profile ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.full_profile li {
  position: relative;
  padding: 12px 16px 12px 42px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.85);
  border-radius: 10px;
  transition: all 0.25s ease;
  line-height: 1.6;
}

.full_profile li::before {
  content: "✦";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #C8AB7E;
  font-size: 14px;
  transition: all 0.25s ease;
}

.full_profile li:hover {
  transform: translateX(6px);
  background: rgba(200, 171, 126, 0.25);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.full_profile li:hover::before {
  color: #002E6D;
  transform: translateY(-50%) scale(1.4);
}


.full_profile details{
    background:white;
    border-radius:18px;
    margin-bottom:16px;
    box-shadow:0 10px 22px rgba(0,0,0,.08);
    overflow:hidden;
}

.full_profile summary{
    padding:18px 22px;
    cursor:pointer;
    font-weight:800;
    font-size:1.1rem;
    list-style:none;
    background:linear-gradient(to right,#fff8df,#fff);
}

.full_profile summary::-webkit-details-marker{
    display:none;
}

.full_profile summary::after{
    content:"+";
    float:right;
    font-size:1.4rem;
    color:#002E6D;
}

.full_profile details[open] summary::after{
    content:"−";
}


.join_lab_banner{
    margin:45px;
    padding:45px;
    border-radius:24px;
    text-align:center;
    color:white;
    background:
    linear-gradient(rgba(33,33,33,.78), rgba(33,33,33,.88)),
    url("scenery.jpg");
    background-size:cover;
}

.join_lab_banner h3{
    color:white;
    font-size:2.2rem;
    margin-bottom:14px;
}

.join_lab_banner p{
    max-width:800px;
    margin:auto;
    line-height:1.8;
    font-size:1.1rem;
}

.join_lab_banner a{
    display:inline-block;
    margin-top:24px;
    padding:14px 28px;
    border-radius:999px;
    background:#C8AB7E;
    color:#212121;
    font-weight:800;
    text-decoration:none;
    transition:.3s ease;
}

.join_lab_banner a:hover{
    transform:translateY(-4px) scale(1.03);
}

.flip_controls{
  width:95%;
  max-width:1100px;
  margin:0 auto 15px;
  text-align:right;
}

.flip_btn{
  padding:12px 22px;
  border:none;
  border-radius:8px;
  background:#212121;
  color:white;
  font-size:16px;
  font-weight:bold;
  cursor:pointer;
  transition:.25s ease;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
}

.flip_btn:hover{
  background:#002E6D;
  transform:translateY(-2px);
}

.flip_scene{
  width:95%;
  max-width:1100px;
  height:500px;
  margin:0 auto 40px;
  perspective:1600px;
}

.flip_inner{
  width:100%;
  height:100%;
  position:relative;
  transform-style:preserve-3d;
  transition:transform .9s ease;
}

.flip_scene.flipped .flip_inner{
  transform:rotateY(180deg);
}

.flip_face{
  position:absolute;
  inset:0;
  backface-visibility:hidden;
}

.flip_back{
  transform:rotateY(180deg);
}

.flip_face .chalkboard{
  width:100%;
  height:100%;
  margin:0;
}

.photo_grid{
  width:95%;
  max-width:1200px;
  margin:40px auto;
  display:grid;

  /* key: uneven columns */
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap:14px;
}

/* base styling */
.photo_grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 8px 18px rgba(0,0,0,.2);
  transition:transform .35s ease, box-shadow .35s ease;
}

.photo_grid img:hover{
  transform:scale(1.06) rotate(0.5deg);
  box-shadow:0 16px 30px rgba(0,0,0,.35);
  z-index:10;
}

.photo_grid img:nth-child(1){
  grid-column: span 2;
  grid-row: span 2;
}

.photo_grid img:nth-child(2){
  grid-column: span 2;
  grid-row: span 2;
}

.photo_grid img:nth-child(3){
  grid-column: span 2;
  grid-row: span 3;
}

.photo_grid img:nth-child(4){
  grid-column: span 3;
  grid-row: span 2;
}

.photo_grid img:nth-child(5){
  grid-column: span 1;
  grid-row: span 1;
}

.photo_grid img:nth-child(6){
  grid-column: span 3;
  grid-row: span 2;
}

.photo_grid img:nth-child(7){
  grid-column: span 2;
  grid-row: span 2;
}

.photo_grid img:nth-child(8){
  grid-column: span 1;
  grid-row: span 1;
}

.photo_grid img:nth-child(9){
  grid-column: span 2;
  grid-row: span 2;
}

.photo_grid img:nth-child(10){
  grid-column: span 2;
  grid-row: span 2;
}

.photo_grid img:nth-child(11){
  grid-column: span 2;
  grid-row: span 2;
}

.photo_grid img:nth-child(12){
  grid-column: span 2;
  grid-row: span 1;
}

.photo_grid img:nth-child(13){
  grid-column: span 2;
  grid-row: span 3;
}

.photo_grid img:nth-child(14){
  grid-column: span 2;
  grid-row: span 2;
}
.photo_grid img:nth-child(15){
  grid-column: span 2;
  grid-row: span 2;
}

.focus {
  color: white;
  font-size: 2rem;
  margin-top: 60px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  letter-spacing: 1px;
  font-weight: 700;
}

.presentations_section{
  padding: 80px 20px;
  position: relative;
}

.presentations_section .tagline{
    text-align: left;
    max-width: 1300px;
    padding-left: 20px;
    max-height: 1000px;
  }

.presentations_section h2{
  text-align: center;
  margin-bottom: 40px;
}

.presentations_grid{
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 28px;
}

.presentations_card{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 28px;
  background:
    linear-gradient(145deg,
    rgba(255,255,255,0.95),
    rgba(247,241,227,0.92));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    0 12px 28px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.8);
  transition: all .35s ease;
}

.presentations_card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top right,
    rgba(200,171,126,.18),
    transparent 35%);
  pointer-events:none;
}

.presentations_card::after{
  content:"📄";
  position:absolute;
  top:18px;
  right:18px;
  font-size:22px;
  opacity:.25;
}

.presentations_card:hover{
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 22px 42px rgba(0,0,0,.16),
    0 8px 18px rgba(0,46,109,.12);
}

.pub_year{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:#002E6D;
  color:white;
  font-size:14px;
  font-weight:700;
  letter-spacing:.5px;
  margin-bottom:18px;
}

.presentations_card h3{
  font-size:1.25rem;
  line-height:1.45;
  color:#1f1f1f;
  margin:0 0 14px;
}

.presentations_card p{
  margin:0;
  font-size:1rem;
  color:#555;
  line-height:1.7;
}

.pub_link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:22px;
  text-decoration:none;
  font-weight:700;
  color:#002E6D;
  transition:.25s ease;
}

.pub_link:hover{
  transform: translateX(4px);
}

.pub_link::after{
  content:"→";
  font-size:18px;
}

.cta_button{
  display: block;
  width: fit-content;
  margin: 28px auto 0;
  padding: 18px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFD166, #C8AB7E);
  color: #111;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.5px;

  box-shadow:
    0 10px 24px rgba(0,0,0,0.35),
    0 0 18px rgba(255,209,102,0.45);

  transition: all 0.3s ease;
}

.cta_button:hover{
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 18px 35px rgba(0,0,0,0.4),
    0 0 26px rgba(255,209,102,0.65);
}

.cta_button::after{
  content: " →";
}



@media only screen and (max-width: 881px) {

  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .button_container {
    display: none;
  }

  .mobile_nav {
    display: flex; 
    position: relative;
    z-index: 50;
    align-items: center;
  }

  .mobile_menu{
    top: 95px;
    right: 0;
    width: 320px;
    border-radius: 22px;
    background: rgba(10,10,10,0.97);
    box-shadow:
      0 20px 45px rgba(0,0,0,0.55);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
  }

  .mobile_menu a{
    font-size: 1.35rem;
    padding: 24px 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom:
      1px solid rgba(255,255,255,0.08);
    transition: all 0.25s ease;
  }

  .mobile_menu a:hover{
    background: #002E6D;
    padding-left: 38px;
  }

  .mobile_menu a:last-child{
    border-bottom: none;
  }

  .top_bar {
    padding: 12px 15px;
    justify-content: flex-end;
    z-index: 999;
  }

  .hamburger{
    padding: 14px 20px;
    font-size: 34px;
    border-radius: 14px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  }

  .header_image {
    height: 100vh;
    padding: 20px 10px;
    background-attachment: scroll;
  }

  body.homepage .homepage_buttons {
    top: 10px;
    right: 10px;
    flex-direction: column;
  }
  
  h1 {
    font-size: 28px;
    margin-top: 10px;
  }
  
  .section {
      padding: 40px 15px;
    }

  .parallax {
    background-attachment: scroll;
    height: 60vh;
  }

  .parallax1, .parallax2, .parallax3 {
    height: 60vh;
  }

  .header_content {
    padding: 0 15px;
    text-align: center;
  }

  .wave_typing {
    font-size: 40px;
    line-height: 1.3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .wave_typing span:empty {
    flex-basis: 100%;
    height: 0;
  }
  
  .parallax h2 {
    font-size: 28px;
  }

  .content_container > div {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .content_container > div > div:last-child {
    order: -1;
    text-align: center;
    width: 100%;
  }

  .content_container > div > div:first-child {
    order: 1;
    width: 100%;
  }

  h2 {
    font-size: 1.6rem;
    margin-top: 40px;
    }
  h2 + ul li {
    padding-left: 30px;
    line-height: 1.6;
    }

  .student {
    flex: 1;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
  }

  .student p {
    font-size: 1rem;
    transform: translate(-50%, -50%) scale(1);
  }

  .student img {
    opacity: 1;
  }
  
  .chalkboard {
    height: 650px;
    overflow: hidden;
  }

  .sticky {
    width: 140px;
    font-size: 14px;
    touch-action: none;

  }
  
  .sticky:hover {
    transform: rotate(0deg);
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
  }

  .flip_face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  pointer-events: auto;
}

.flip_back {
  transform: rotateY(180deg);
}

.flip_scene:not(.flipped) .flip_back {
  pointer-events: none;
}

/* BACK ACTIVE ONLY */
.flip_scene.flipped .flip_face {
  pointer-events: none;
}

.flip_scene.flipped .flip_back {
  pointer-events: auto;
}

/* stronger 3D isolation (prevents mobile ghosting) */
.flip_inner {
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}


  .rotate_text {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .text {
    font-size: 2rem;
    padding: 20px;
  }

  .words {
    max-width: 100%;
    width: 100%;
    height: 50px;
    margin-left: 0;
  }

  .word {
    font-size: 3rem;
    text-align: center;
  }
  
  .card {
  margin-bottom: 5px;
  height: auto;
  }

  .badge_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .badge_card {
    width: 100%;
  }
  
  .badge_grid img {
  grid-column: span 2;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 10px auto;
  display: block;
  border-radius: 10px;
  }

  section h2 {
    margin-top: 30px;
    text-align: center;
  }

  .profile_section{
    padding:25px 12px;
  }

  .full_profile{
    border-radius:18px;
    overflow:hidden;
  }

  /* Header profile area */
  .profile_header{
    grid-template-columns:1fr;
    gap:20px;
    text-align:center;
    padding:28px 18px;
  }

  .profile_img{
    width:170px;
    height:170px;
    margin:auto;
    border-width:6px;
  }

  .profile_intro h2{
    font-size:2rem;
    margin-bottom:8px;
  }

  .role{
    font-size:1.05rem;
  }

  .profile_intro p{
    font-size:0.98rem;
  }

  .profile_intro::after{
    display:block;
    width:100%;
    font-size:.85rem;
    padding:10px 12px;
    margin-top:15px;
    text-align:center;
  }

  .contact_box{
    margin-top:18px;
    padding:16px;
    border-radius:14px;
    text-align:left;
  }

  .contact_box p{
    font-size:.95rem;
    line-height:1.55;
    word-break:break-word;
  }

  .full_profile section{
    padding:24px 16px;
  }

  .full_profile section h3{
    font-size:1.35rem;
    line-height:1.3;
    padding-left:14px;
    margin-bottom:20px;
  }

  .full_profile section h3::before{
    width:6px;
    height:28px;
  }

  .full_profile section h3::after{
    width:70px;
  }

  .styled_list,
  .full_profile ul{
    padding:0;
    margin:0;
  }

  .styled_list li,
  .full_profile li{
    font-size:.95rem;
    line-height:1.55;
    padding:14px;
    margin-bottom:10px;
    word-break:break-word;
  }

  .full_profile details{
    border-radius:14px;
    margin-bottom:12px;
  }

  .full_profile summary{
    padding:15px 16px;
    font-size:1rem;
    line-height:1.4;
  }

  .full_profile details ul{
    padding:0 14px 14px;
  }


  .join_lab_banner{
    margin:16px;
    padding:24px 16px;
    border-radius:18px;
  }

  .join_lab_banner h3{
    font-size:1.5rem;
    margin-bottom:10px;
  }

  .join_lab_banner p{
    font-size:.95rem;
    line-height:1.6;
  }

  .join_lab_banner a{
    width:100%;
    max-width:260px;
    padding:13px 18px;
    font-size:.95rem;
  }
  .profile_intro::after{
    padding: 2px;

  }

  footer{
    padding:18px 12px;
  }

  footer p{
    font-size:.95rem;
    line-height:1.5;
  }

  .flip_scene{
    height:650px;
  }

  .flip_controls{
    text-align:center;
    margin-bottom:12px;
  }

  .flip_btn{
    width:100%;
    max-width:250px;
  }

  .full_profile li {
  padding: 12px 14px 12px 38px;
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  }

  .full_profile li::before {
    font-size: 12px;
    left: 12px;
  }

  .full_profile li:hover {
    transform: none;
    background: rgba(200, 171, 126, 0.18);
  }

  .presentations_section{
    padding: 55px 10px;
  }

  .presentations_section .tagline{
    text-align: left;
    max-width: 1300px;
    padding-left: 75px;
    max-height: 1000px;
  }

  .presentations_section h2{
    text-align: center;
    margin-bottom: 25px;
    margin-top: 40px;
  }

  .presentations_grid{
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 18px 25px;
    max-width: 75%;
  
  }

  .publication_grid::-webkit-scrollbar{
   display: none;
  } 

  .presentations_card{
    padding:22px;
    border-radius:18px;
    flex: 0 0 92%;
    scroll-snap-align: center;
    transform: scale(0.98);
    transition: transform 0.3s ease;
  }

  .presentations_card:active{
  transform: scale(1);
  }

  .presentations_card h3{
    font-size:1.1rem;
  }



}








