@charset "utf-8";
/* CSS Document */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #fff; /* dark background for glow contrast */
  position: relative;
  overflow-x: hidden;
}

.content {
  padding-bottom: 0px; /* leave space for glow */
}


.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: white;
  z-index: 10001;
  display: flex;
  align-items: center;           /* vertical centering */
  justify-content: space-between; /* spread left, center, right */
  padding: 0px 0px; 
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left .name {
  display: flex;
  align-items: center;   /* vertically centers the icon inside the header */
  height: 100%;          /* match header height */
}

.header-center {
  flex: 1;
  justify-content: center;
}

.header-content{
display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay.hidden {
  display: none;
   visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-wrapper {
  margin-left: 16px;
}

.menu-popup {
  position: relative;
  background: white;
  padding: 5px;
  border-radius: 0px;
  
  width: 100%;
}

.menu-popup.visible {
  display: block;
}


.sticky-header h1 {
  font-size: 25px; 
  color: #000; 
  font-weight: 300 !important; 
  margin: 0;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.menu-toggle {
  position: relative;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  color: #000;
  z-index: 1001;
  padding-right: 10px;
}

.about-link {
  cursor: pointer;
  background: none;
  border: none;
  color: #000;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  display: inline;
font-weight: 600;
padding-right: 15px;
}

.underline {
  height: 2px;
  width: 60%;
  background-color: #000;
  margin-right: 30px;
}

.intro {
  position: static;
  top: 24px;          /* adjust as you like */
  right: 24px;
  max-width: 600px;   /* wrap nicely on laptops */
  font-family: "Roboto", sans-serif; font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
  color: #4D4D4D;     /* off‑white for better contrast */
  z-index: 10;        /* sits above glow/background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name {
  position: static;
  top: 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: right;
  z-index: 10;
  font-family: 'Roboto', sans-serif;
  color: #4D4D4D;
padding-bottom: 30px;
margin-top: 10px;
padding-left: 5px;
transition: transform 0.2s ease;
}

.name:hover, .Choose:hover{
transform: scale(0.95)
}

.text-block {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  max-width: 500px;
  padding-right: 10px;
  padding-bottom: 30px;
}

.progress-container {
  position: fixed;
  top: 60px !important;
  left: 50%;
  transform: translateX(-50%);
  width: 10%;
  height: 5px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
  z-index: 10;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: black;
  transition: width 0.4s ease-in-out;
}

.carousel {
  position: relative;
  width: 100vw;
  height: calc(100vh); /* subtract sticky-header height */
  overflow: hidden;
  display: flex;
  align-items: center;
  background: transparent;
  border: 0px;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  font-size: 19px;
  line-height: 1.6;
  color: #000;
  moz-user-select: none;
  ms-user-select: none;
}

.carousel-inner {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* hide horizontal scrollbar */
  scroll-behavior: smooth;
  webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  min-height: 100vh;
  height: 100%;
  overflow-y: auto; /* vertical scroll inside slide */
  padding: 40px;
  box-sizing: border-box;
  background: transparent;
  justify-content: flex-start;
  
}

/* Position the title absolutely and center it horizontally */
#carousel-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  white-space: nowrap; /* prevent wrapping */
  pointer-events: none; /* optional: so clicks pass through */
}


/* Buttons */
.btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #000;
  font-size: 2rem;
  padding: 0 10px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  font-weight: 400;
  transition: transform 0.5s ease;
}

.btn:active {
transform: scale(0.99);
}

.btn.prev {
  left: 5px;
}

.btn.next {
  right: 5px;
}


.scroll-arrow {
  position: absolute;
  text-align: center;
  left: 50%;
  bottom: 35px;
  font-size: 2rem;
  font-weight: 400;
  animation: breathe 5s ease-in-out infinite;
  color: #000; 
  font-family: "Roboto", sans-serif;
}

.scroll-spacer {
height: 60px;
}


@keyframes breathe {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}


.slide-hero{
position: relative;
  height: 100vh;              /* fills the whole screen height */
  display: flex;
  align-items: center;        /* centers image vertically if smaller */
  justify-content: center;    /* centers image horizontally */
  overflow: hidden;	
}

.slide-hero img.together {
  max-width: 100%;
  max-height: 80%;         /* keeps it centered without touching arrow */
  height: auto;
  width: auto;}

.carousel-slide img {
  max-width: 100%;     /* Make images responsive, never overflow slide width */
  height: auto;        /* Keep aspect ratio */
  max-height: 550px;   /* Limit vertical size */
  object-fit: contain; /* Prevent distortion */
  margin-bottom: 2px; /* space below each image */
  border-radius: 0px;  /* optional: rounded corners for style */
  
}

.carousel-slide video {
  max-width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
   
  
  
  z-index: 999;
}


h2,.title {font-family: "Roboto", sans-serif;}

h2 {
    display: block;
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    unicode-bidi: isolate;
	margin-top: 15px;
	margin-bottom: 45px;
}

h3 {font-family: "Roboto", sans-serif;}
h3 {
    display: block;
    font-size: 35px;
    font-weight: bold;
    unicode-bidi: isolate;
	margin-top: 0px;
    margin-bottom: 0px;
	
	
    color: #455056;
    
    overflow: visible;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;

    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
	font-family: monospace;
	line-height: 1.6;
    padding-bottom: 70px;
	margin-top: -2px;
    font-size: 19px;
}

p2 {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
	font-family: "Roboto";font-weight: 300;
	line-height: 1.6;
    margin-bottom: 0px;
}

/* Overlay behind the modal */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* About MeF box */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  color: black;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  z-index: 1000;
  display: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border-radius: 0px !important;
  font-family: "Roboto", sans-serif;
}


.about-link:hover {
  text-decoration: none;
}

.image-text-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto;
}

.image-switcher {
  position: relative;
 flex: 1;
width: 100%;
max-width: 100%;
aspect-ratio: 3/4;
overflow: hidden;
}

.image-text{
	flex:1;
	max-width:50%;
}

.switch-img {
  position: absolute;
width: 100%;
 height:100%;
 object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
}

.switch-img.active {
  opacity: 1;
  z-index: 1;
}

.logo {
max-width: 150px !important;
height: auto !important;
display: block;
vertical-align: middle;
border: none !important;
box-shadow: none !important; 
margin: 50px auto 0 auto;
}

.logo2 {
max-width: 100px !important;
height: auto !important;
display: block;
border: none !important;
box-shadow: none !important; 
margin-left: auto; 
margin-right: auto;
margin-bottom: -25px !important;
margin-top: -25px !important;
}

.together{
box-shadow: none !important;
display: block;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
padding-top: 2px;

}

.together2{
box-shadow: none !important;
display: block;
margin-left: auto;
margin-right: auto;
padding-top: 2px;
max-height: 550px;
}

.screen4{
box-shadow: none !important;
}

.name img {
  max-width: 100%;
  height: 45px;
  display: block;
  margin: 0 auto; /* center the logo */
  padding-top: 20px;
}

.btn {
  cursor: pointer;
}

/* Tooltip styling */
.btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: none;
  color: black;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show tooltip on hover */
.btn:hover::after {
  opacity: 1;
}

Menu grid

.menu-toggle {
  cursor: pointer;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  color: #000;
  
}

/* Overlay background */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* Hidden by default */
.hidden {
  display: none;
}

/* Popup content */
.menu-popup {
  background: transparent;
  padding: 10px;
  border-radius: 0px;
  box-shadow: none;
  text-align: center;
  max-width: 1800px;
  max-height: 100vh;
  overflow-y: auto;
  height: 100%;
  width: 100%;
}

/* === Fade-in animation === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Grid of projects === */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
  justify-items: center;
}

/* === Project thumb (merged) === */
.project-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: transparent !important;
  border: none !important;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 21px;
  transition: background 0.3s;
  position: relative;
  pointer-events: auto !important;

  /* hidden by default until menu opens */
  opacity: 0;
  transform: translateY(15px);
}

/* Animate only when the menu is open */
.project-grid.animate .project-thumb {
  animation: fadeInUp 0.45s ease forwards;
}

/* Staggered delays */
.project-grid.animate .project-thumb:nth-child(1) { animation-delay: 0.05s; }
.project-grid.animate .project-thumb:nth-child(2) { animation-delay: 0.1s; }
.project-grid.animate .project-thumb:nth-child(3) { animation-delay: 0.15s; }
.project-grid.animate .project-thumb:nth-child(4) { animation-delay: 0.2s; }
.project-grid.animate .project-thumb:nth-child(5) { animation-delay: 0.25s; }
.project-grid.animate .project-thumb:nth-child(6) { animation-delay: 0.3s; }
.project-grid.animate .project-thumb:nth-child(7) { animation-delay: 0.4s; }
.project-grid.animate .project-thumb:nth-child(8) { animation-delay: 0.5s; }


/* === Image hover === */
.project-thumb img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

.project-thumb:hover img {
  transform: scale(1.05);
}



.img-button{
max-width: 100%;
height: 200px !important;
box-shadow: none !important;
display: block;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
padding-top: 20px;
pointer-events: auto !important;

}

/* Container for nav buttons */
.nav-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}


.fullscreen-img {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-height: none !important;
  object-fit: cover !important;
  display: block;
  box-shadow: none !important;
  object-position: center;
}

.LogoMal{
box-shadow: none !important;
}

.Choose{
width:45px;
height: 45px;
transition: transform 0.2s ease;
}

@keyframes revealFade {
  0% {
    opacity: 0.7;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.together,
.together2 {
  opacity: 0;
  transform: scale(0.9);
  transition: none;
}

/* When this class is added, animation is triggered */
.reveal-animate {
  animation: revealFade 0.7s ease-out forwards;
}

.expertise-section {
  text-align: Left;
  margin-bottom: 50px;
  font-family: monospace;
}

.expertise-container {
  display: flex;
  justify-content: Left;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.expertise-box {
  background-color: transparent;
  padding: 4px 12px;
  border-radius: 0px;
  border: 2px solid black;
  font-size: 19px;
}

.about-content p {
  margin: 5px 0;   /* tighten vertical spacing */
  line-height: 1.4; /* adjust line height for readability */
  font-size: 18px;  /* optional: matches project menu text */
}

#aboutPopup {
  text-align: left;       /* aligns all text inside to the left */
  padding: 30px;          /* keep same padding as project menu */
}

.about-text {
  font-family: monospace;
  padding-top: 100px;
  
  overflow: hidden;
  font-size: 19px;
}

#aboutTextContent {
  white-space: pre-line;  /* preserves line breaks from plain text */
  display: block;
}


.copy-email, #emailText {
  cursor: pointer;
  text-decoration: underline; /* makes it look clickable */
}

/* Add these styles for the staggered fade-in animation */
.about-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-item.visible {
  opacity: 1;
  transform: translateY(0);
}

#cvText a {
  color: inherit;
}

/* Loading Icon Styles */
.loading-icon {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  display: none;
  background: rgba(0, 0, 0, 0.8);
  padding: 35px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.5s ease-in-out; /* Smooth fade transition */
}

.loading-icon img {
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease;
}

/* Animation for the loading icon - only the image moves LEFT */
@keyframes loadingAnimation {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  20% {
    opacity: 1;
    transform: translateX(0);
  }
  80% {
    opacity: 1;
    transform: translateX(-30px);
  }
  100% {
    opacity: 0;
    transform: translateX(-30px);
  }
}

.loading-icon.active {
  display: block;
  opacity: 1; /* Fade in when active */
}

.loading-icon.active img {
  animation: loadingAnimation 1s ease-in-out forwards;
}

.small_image{
max-height: 440px !important;
width: auto !important;
}


/* iPhone-specific adjustments */
@media only screen and (max-width: 768px) {
  /* Dramatically increase font sizes for iPhone */
	
	.project-grid {
    grid-template-columns: 1fr !important; /* 1 project per row */
    gap: 30px !important; /* More space between items */
    padding: 20px 10px !important;
  }
  
  .project-thumb {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important; /* Center each project */
	color: black !important;
	text-decoration: none !important;
  }
  
  .project-thumb img {
    width: 100% !important;
    height: auto !important;
    max-height: 600px !important; /* Adjust image height for mobile */
    object-fit: contain !important;
    padding-bottom: 0px !important;
  }
  
  .project-thumb span {
    font-size: 50px !important; /* Larger text for mobile */
    font-weight: 300 !important;
    padding: 10px 0 !important;
  }
	
	.image-text-container{
	flex-direction: column !important;
	gap: 0px !important;
	}
	
	  .image-text-container .image-switcher {
    max-width: 100% !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
    min-height: 430px !important;
    max-height: 430px !important;
    box-shadow: none !important;
  }
	
  .image-text-container .image-text {
    max-width: 100% !important;
    order: 2 !important;
  }
	
	
  .sticky-header h1 {
    font-size: 20px !important;
    font-weight: 300 !important;
  }
	
  .sticky-header{
   height: 40px !important;
  }
  
  .menu-toggle, .about-link {
    font-size: 18px !important;
    padding: 12px 8px !important;
  }
  
  .carousel-slide {
    font-size: 19px !important;
	padding: 10px;
  }
  
  h2, .title {
    font-size: 36px !important;
    margin-bottom: 30px !important;
  }
  
  h3 {
    font-size: 28px !important;
    margin-bottom: 5px !important;
	font-weight: 700 !important;
  }
  
  p {
    font-size: 18px !important;
    line-height: 1.3 !important;
    padding-bottom: 50px !important;
	font-weight:100 !important;
  }
  
  /* Make progress bar much more visible */
  .progress-container {
    width: 30% !important;
    height: 6px !important;
    top: 45px !important;
  }
  
  .progress-bar {
    height: 6px !important;
  }
  
  /* Make navigation arrows much larger */
  .btn {
	color: transparent;
    font-size: 3rem !important;
    padding: 5px 5px !important;
    border: none !important;
	opacity: 1 !important;
  }
  
  .btn.prev {
    left: 3px !important;
	opacity: 0 !important;
  }
  
  .btn.next {
    right: 3px !important;
	opacity: 0 !important;
  }
  
  /* Increase header icon sizes */
  .name img, .Choose {
    width: 40px !important;
    height: 40px !important;
  }
  
  /* Increase project menu text */
  .project-thumb span {
    font-size: 20px !important;
    font-weight: 500 !important;
  }
  
  /* Increase about text */
  .about-text {
    font-size: 19px !important;
    line-height: 1.3 !important;
	padding-bottom: 20px !important;
	color: black !important;
  }
	
	#aboutPopup{
	padding: 10px !important;
	}
  
  /* Make expertise boxes larger */
  .expertise-box {
    padding: 2px 5px !important;
    font-size: 14px !important;
    border-width: 2px !important;
  }

.expertise-container {
  display: flex;
  justify-content: Left;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 5px;
  
  /* Increase scroll arrow size */
  .scroll-arrow {
    font-size: 2.5rem !important;
    bottom: 40px !important;}
	
}

























