body, html {
  margin: 0;
  padding: 0;
  font-family: Helvetica, sans-serif; /* Add a default font family for better consistency */
  min-height: 100vh; /* Ensure the body takes up at least the full viewport height */
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 999;
  transition: background-color 0.3s;
}

header:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

header .logo-container {
  text-align: center;
  padding: 10px 0;
  position: relative;
  height: 50px;
  overflow: hidden;
  line-height: 1.5; /* Adjust the value as needed */
}

.logo-container {
  text-align: center;
  padding: 10px 0;
  position: relative;
  height: 75px;
  overflow: hidden;
}

.logo-container img {
  max-width: 180px;
  height: auto;
  opacity: 1;
  transition: opacity 0.3s;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

header:hover .main-logo .logo {
  opacity: 0;
}

header .logo {
  z-index: 1;
}

header .logo-hover {
  opacity: 0;
}

header:hover .logo {
  opacity: 0;
}

header:hover .logo-hover {
  opacity: 1;
}

nav {
  text-align: center;
}

.main-logo {
  z-index: 1;
}
.menu {
  font-family: Helvetica, sans-serif;
  list-style: none;
  padding: 0px 0; /* Adjust the padding values as needed */
  margin: 0px 0; /* Adjust the margin values as needed */
  display: inline-block;
  padding-bottom: 5px;
}

.menu li {
  display: inline-block;
  margin-right: 10px;
  padding-top: 10px;
  font-size: 14px;
}

.menu li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
   text-transform: uppercase;
}

.menu li a::after {
  content: " | ";
  color: #fefefe87;
  margin-left: 5px;
  margin-right: 5px;
}

header:hover .menu li a {
  color: #000;
}
header:hover .menu li a::after {
color: #00000070;	
}

header:hover .menu li a:hover {
  color: #795548;
  font-weight: bold;
  background-color: transparent;
  transition: color 0.3s;
}

.hidden-menu {
    /* Add any styling for the dropdown menu wrapper here */
    position: relative;
  }
.hidden-menu i {
  cursor: pointer;
}

.hidden-menu ul {
  display: none;
  position: absolute;
  right: 0;
  padding: 0;
  margin: 0;
  max-height: var(--menu-max-height);
  overflow-y: auto;
  background-color: #f9f9f9ba;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1;
  white-space: nowrap;
  transition: opacity 0.3s, transform 0.3s; /* Add transition for opacity and transform */
}

.hidden-menu ul li {
  margin-bottom: 3px;
  list-style: none;
  width: 100%;
  text-align: left;
}

.hidden-menu ul li a {
    /* Add any styling for the anchor links in the dropdown menu here */
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
  }
  
  .hidden-menu ul li a:hover {
    /* Add any styling for the hover effect in the dropdown menu here */
    background-color: #f1f1f1;
  }

.hidden-menu:hover ul {
  display: block;
  opacity: 1;
  transform: translateY(5px);
}
.hidden-menu .listm {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}
header:hover .hidden-menu .listm {
  color: #000;
}

header:hover .hidden-menu .listm:hover {
  color: #fff;
  background-color: transparent;
}
.logo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-duration: 30s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.logo-slide.right1 {
  animation-name: slideRight;
  animation-delay: 0s;
  opacity: 0;
}

.logo-slide.left1 {
  animation-name: slideLeft;
  animation-delay: 0s;
  opacity: 0;
}
.logo-slide.right2 {
  animation-name: slideRight;
  animation-delay: 5s;
  opacity: 0;
}

.logo-slide.left2 {
  animation-name: slideLeft;
  animation-delay: 5s;
  opacity: 0;
}
.logo-slide.right3 {
  animation-name: slideRight;
  animation-delay: 10s;
  opacity: 0;
}

.logo-slide.left3 {
  animation-name: slideLeft;
  animation-delay: 10s;
  opacity: 0;
}
.logo-slide.right5 {
  animation-name: slideRight;
  animation-delay: 15s;
  opacity: 0;
}

.logo-slide.left5 {
  animation-name: slideLeft;
  animation-delay: 15s;
  opacity: 0;
}
.logo-slide.right6 {
  animation-name: slideRight;
  animation-delay: 20s;
  opacity: 0;
}

.logo-slide.left6 {
  animation-name: slideLeft;
  animation-delay: 20s;
  opacity: 0;
}
@keyframes slideRight {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}
.full {
    display: block;
  }
  .listhided {
    display: none;
  }
  .thumbnails-container {
	display: block;
}
  .formobile {
    display: none;
  }
  .fordesktop {
    display: block;
  }
   /* Media query for mobile screens */
     @media (min-width: 769px) {
.thumbnails-container {
	width: 100px;
}
.thumbnail {
	opacity: 0.8;
	width: 90px;
}
  }
  @media (max-width: 768px) {
    .full {
      display: none; /* Hide "full" version on mobile */
    }
.thumbnails-container {
	width: 60px;
}
.thumbnail {
	opacity: 0.8;
	width: 50px;
}
    .listhided {
      display: block; /* Show "listhided" version on mobile */
    }
	
  .formobile {
    display: block;
  }
  .fordesktop {
    display: none;
  }
	.hidden-menu .listm { 
	font-size: 25px;
    float: right;
	}
	.hidden-menu ul {
	top: 120px;
    position: fixed;
    width: 50%;
}
  }
  main {
  flex: 1; /* Allow the main content to take up all available vertical space */
  position: relative; /* Required for absolute positioning inside */
}
.project-container {
  display: flex;
  justify-content: center; /* Center the projects horizontally */
  max-width: 1200px;
  margin: 0 auto;
  position: absolute;
  bottom: 0; /* Stick the container to the bottom */
  left: 50%;
  transform: translateX(-50%);
}

.project-container2 {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: none;
}
.project-box2 {
  width: 100%; /* Set each project box to occupy 100% of the container width */
  position: absolute;
  overflow: hidden;
  margin: 0;
  max-height: 120px; /* Adjust the max-height as needed */
  min-height: 100px; /* Adjust the min-height as needed */
  cursor: pointer;
  border-top: ridge;
    opacity: 0.9;
  
}
.project-box2 {
  width: 110px; /* Set each project box to occupy 25% of the container width */
  position: relative; /* Change position to relative to allow overlapping */
  overflow: hidden;
  margin: 0 5px; /* Add some margin between the project boxes */
  max-height: 135px; /* Adjust the max-height as needed */
  min-height: 110px; /* Adjust the min-height as needed */
  border-radius: 10px;
  z-index: 1; /* Ensure the project boxes are visible and not overlapped by other elements */
  transition: transform 0.3s ease;
}
.project-box2:hover .project-image {
  opacity: 1;
  transform: scale(1.05);  
  transform: rotateY(180deg);
}

.project-box2:hover .project-overlay {
  opacity: 1;
  transform: scale(1.05);
  font-weight: bold;
}

@media (min-width: 1120px) {
  .project-container2 {
    display: none; /* Display two project boxes in a row */
  }
  .button-container { display: none; }
  .project-box {
  width: 110px; /* Set each project box to occupy 25% of the container width */
  position: relative;
  overflow: hidden;
  margin: 0 5px; /* Add some margin between the project boxes */
  max-height: 135px; /* Adjust the max-height as needed */
  min-height: 110px; /* Adjust the min-height as needed */
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-top: ridge;
    opacity: 0.9;
}
.social_icon {
    position: fixed;
    right: 0;
    /* bottom: 160px; Remove this line */
    bottom: 0; /* Center vertically */
    touch-action: pan-y;
    pointer-events: auto;
    scrollbar-width: none;
    z-index: 1;
    padding-right: 1%;
	padding-bottom: 150px;
}
.social {
	width: 40px;
	margin-bottom: 12px;	
	cursor: pointer;
	transition: transform 0.3s; /* Add smooth transition for hover effect */
}
}

@media (max-width: 1120px) {
	.social_icon {
    position: fixed;
    right: 0;
    bottom: 0;
    touch-action: pan-y;
    pointer-events: auto;
    scrollbar-width: none;
    z-index: 1;
    padding-right: 1%;
	padding-bottom: 150px;
}
.social {
	width: 30px;
	margin-bottom: 12px;	
	cursor: pointer;
	transition: transform 0.3s; /* Add smooth transition for hover effect */
}
  .project-container {
    display: none; /* Display two project boxes in a row */
  }
.arrow-left {
  border-width: 5px 8px 5px 0;
  border-color: transparent #000000 transparent transparent;
  margin-right: 5px;
}

.arrow-right {
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #000000;
  margin-left: 5px;
}
.button-container2 button {
  background-color: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-container2 button:hover {
  background-color: #0000005c;
  color: #ffffff;
}
.button-container2 button:first-child {
  margin-right: auto; /* Push the left button to the left side */
}

.button-container2 button:last-child {
  margin-left: auto; /* Push the right button to the right side */
}
.slider-container {
  position: relative; /* Add this to make the container a reference for absolute positioning */
  overflow: hidden;
  max-width: 100%;
  
}
}



.project-image {
  height: 100%;
  transition: opacity 0.3s;
  transition: transform 2s ease;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Background color for the project name */
  color: #fff; /* Text color for the project name */
  padding: 7px;
  text-align: center;
  font-size: 12px; /* Adjust the font size as needed */
   border-radius: 10px;
}

.project-logo {
  color: #fff; /* Set the text color for the project logo */
}

/* Add styles to make the overlay more prominent on hover */
.project-box:hover .project-image {
  opacity: 1;
  transform: scale(1.05);
  transform: rotateY(180deg);
}

.project-box:hover .project-overlay {
  opacity: 1;
  transform: scale(1.05);
  font-weight: bold;
}
body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, sans-serif;
  min-height: 100vh; /* Ensure the body takes up at least the full viewport height */
  display: flex;
}
/* Center the carousel container vertically */
.carousel-container {
      display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    top: 150px;
    bottom: 155px;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    flex-wrap: nowrap;
}

/* Style the main container */
.image-carousel {
  height: fit-content; /* Set the carousel height to 100% of the available space */
}

/* Style the images and apply the sliding animation */
.image-carousel img {
  width: 100%;
  height: 100%; /* Set the image height to 100% of the carousel height */
  object-fit: cover; /* Maintain image aspect ratio */
  display: none;
  opacity:0;
  transition: opacity 2.5s ease-in-out;
}
.image-container {
    position: relative;
    z-index: 9999;
  }
 .close-button {
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 9px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 25%;
    cursor: pointer;
	display:none;
  }
@media (max-width: 425px) {
.image-carousel {

}
  }
.thumbnails-container {
  position: absolute;
  top: 150px;
  left: 0;
  bottom: 0;
  touch-action: pan-y; /* Enable touch scrolling */
  pointer-events: auto; /* Enable pointer events to allow mouse scrolling on desktop */
  scrollbar-width: none; /* Hide scrollbar in Firefox */
  z-index: 1; /* Ensure the thumbnails are above the carousel */
  overflow: hidden;
}

/* Hide scrollbar in Webkit-based browsers */
.thumbnails-container::-webkit-scrollbar {
  display: none;
}

/* Style the thumbnail images */
.thumbnail {
  height: auto;
  cursor: pointer;
  margin: 5px;
  border: 2px solid transparent; /* Optional: Add border for selected thumbnail */
  border-radius: 6px;
}

.thumbnail:hover {
  border-color: #00f; /* Optional: Add border color on hover */
  opacity: 1;
}
/* Hide scrollbar in Webkit-based browsers */
.social_icon::-webkit-scrollbar {
  display: none;
}

.social:hover {
    transform: translateY(-5%) scale(1.1); /* Scale up slightly on hover */
}