#hero-section {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: clamp(720px, 90vh, 900px);
  /* border: 1px solid black; */
}

#hero-section div {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: baseline;
  margin-bottom: clamp(0px, 10vw, 200px);
}

#hero-section div :not(:first-child) {
  animation: fade-in 2.5s ease-in-out 1 0.2s both;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.role {
  color: rgb(161, 105, 105); /* Sets the text color to a dark red */
  font-size: clamp(20px, 3vw, 30px);
  margin: 5px 0; /* Responsive font size */
}

#hero-section div a {
  font-weight: bold;
  position: relative;
  text-decoration: none;
  transition: color ease-in-out 0.3s;
}

#hero-section div a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transition: transform ease-in-out 0.3s;
}

#hero-section div a:hover::after {
  transform: scaleX(1);
}

#hero-section span {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: fill;
}

#hero-section img {
  width: 100%;
  height: auto;
  max-width: 600px;
  animation: img-fade-in 2s ease-in-out 1 0.5s both;
}

@keyframes img-fade-in {
  from {
    scale: 0.8;
    opacity: 0;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}

#myName {
  animation: tracking-in-expand 2s ease-in-out 1 0.2s both;
}

@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

section:not(#hero-section) {
  width: 100%;
  margin-top: clamp(72px, 5vw, 145px);
  display: flex;
  flex-direction: column;
  /* height: calc(100vh - margin-top); */
}

#project-section {
  align-items: flex-start;
  justify-content: center;
}

/* 
.container {
  width: 100%;
  height: 90%;
  display: grid;
  column-gap: clamp(30px, 5vw, 50px);
}

#project-section .container {
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(30px, 5vw, 50px);
}

.project {
  background: linear-gradient(to bottom, rgb(22, 22, 22), rgb(37, 36, 36));
  color: white;
  border-radius: 20px;
  box-shadow: 10px 10px 15px 5px rgba(0, 0, 0, 0.3);
  padding: 20px;
  gap: 20px;
  transition: background-color 2s ease-in-out 0.5s;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project > div {
  margin: clamp(10px, 5vh, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.project img {
  width: 100%;
}

.project > div > span {
  margin-bottom: clamp(10px, 5vh, 60px);
} */

#project-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 40px;
  color: #1a1a1a;
}

.container {
  width: 100%;
  display: grid;
  gap: clamp(30px, 5vw, 50px);
}

#project-section .container {
  /* 400px */
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  max-width: 1500px;
  margin: 0 auto;
}

.project {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.project:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.project:hover::before {
  opacity: 1;
}

.project > div {
  position: relative;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.project-header span:first-child {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.project-header span:last-child {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-overlay span::before {
  content: "→";
  font-size: 1.2rem;
}

.project-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  #project-section .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .project > div {
    padding: 20px;
  }

  .project-header {
    flex-direction: column;
    gap: 10px;
  }

  .project-header span:last-child {
    align-self: flex-start;
  }
}

#service-section .container {
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(30px, 5vw, 50px);
}

.service-item {
  background-color: rgba(162, 167, 167, 0.51);
  border-radius: 20px;
  padding: clamp(10px, 5vh, 30px);
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
    rgba(0, 0, 0, 0.22) 0px 15px 12px;

  margin-top: 10px;
  display: grid;
  grid-template-rows: 20% 80%;
}

.service-item > span {
  color: #646464;
  font-weight: 600;
}

#technology-section span {
  color: #646464;
  font-weight: bolder;
  font-size: 1.1em;
  margin: clamp(30px, 5vw, 60px) 0 clamp(20px, 5vw, 40px);
}

/* #technology-section div {
  background-color: rgba(162, 167, 167, 0.4);
  border-radius: 20px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: clamp(30px, 5vw, 50px);
  place-items: center;
}

#technology-section img {
  width: clamp(60px, 5vw, 120px);
} */

.carousel-container {
  background-color: rgba(162, 167, 167, 0.4);
  border-radius: 20px;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.carousel-track {
  display: flex;
  gap: clamp(40px, 5vw, 60px);
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel-item {
  flex: 0 0 auto;
  width: clamp(60px, 5vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-item span {
  font-size: 0.85em;
  color: #555;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 768px) {
  .carousel-track {
    animation-duration: 15s;
  }

  .carousel-item {
    width: clamp(70px, 12vw, 100px);
  }
}

@media screen and (max-width: 1350px) {
  #service-section .container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: clamp(30px, 5vw, 50px);
  }

  #service-section .container div:last-child {
    grid-column: 1 / 3;
    justify-self: center;
  }
}

@media screen and (max-width: 768px) and (min-width: 594px) {
  #hero-section {
    flex-direction: column-reverse;
  }

  #hero-section div {
    width: 100%;
  }

  #hero-section span {
    width: 100%;
  }
}

@media screen and (max-width: 594px) {
  #hero-section {
    flex-direction: column-reverse;
  }

  #hero-section div {
    width: 100%;
  }

  #hero-section span {
    width: 100%;
  }

  #project-section .container {
    grid-template-columns: repeat(1, 1fr);
    row-gap: clamp(30px, 5vw, 50px);
  }

  #service-section .container {
    grid-template-columns: repeat(1, 1fr);
    row-gap: clamp(30px, 5vw, 50px);
  }

  #service-section .container div:last-child {
    grid-column: 1 / 1;
    justify-self: center;
  }

  #technology-section div {
    grid-template-columns: repeat(3, 1fr);
    row-gap: clamp(30px, 5vw, 50px);
  }
}

/* #navigate-section {
  align-items: center;
  justify-content: center;
  margin: clamp(30px, 5vw, 60px) 0 clamp(20px, 5vw, 40px);
}

#navigate-section span {
  color: #646464;
  font-weight: bolder;
  margin: clamp(30px, 5vw, 60px) 0 5px;
}

#navigate-section a {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 5vw, 60px);
  white-space: nowrap;
  font-weight: bold;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
  transition: color ease-in-out 0.3s;

  position: relative;
  text-decoration: none;

  transition: text-shadow ease-in-out 0.5s;
}

#navigate-section a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 4px;
  background-color: currentColor;
  transform: scaleX(0);
  transition: transform ease-in-out 0.5s;
}1200px
  margin: clamp(72px, 5vw, 145px) 0 clamp(30px, 5vw, 80px);
  width: 80vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer hr {
  width: 100%;
}

footer > div {
  margin-top: clamp(30px, 5vw, 60px);
  display: flex;
  width: 100%;
  justify-content: space-between;
}

#copyright-notice {
  font-size: clamp(8px, 3vw, 15px);
  text-align: center;
  position: relative;
  bottom: 0;
}

.footer-icon {
  height: clamp(15px, 3vw, 20px);
}

.profiles {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer ul li {
  font-size: clamp(12px, 3vw, 18px);
  margin-bottom: 7px;
}

footer ul li:first-child {
  font-weight: bold;
}

footer div div:first-child {
  display: flex;
  flex-direction: column;
}

#contact-link {
  width: clamp(30px, 5vw, 60px);
  height: clamp(30px, 5vw, 60px);
  border-radius: 50%;
  background-color: bisque;

  position: fixed;
  left: 5%;
  top: 90%;
  transform: translate(-50%, -50%);

  transition: scale ease-in-out 0.3s;
}

#contact-link i {
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#contact-link:hover {
  scale: 1.1;
} */
