* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lexend Exa", -apple-system, Roboto, Helvetica, sans-serif;
  background-color: #e6e6e6;
  overflow-x: hidden;
}

.portfolio-container {
  max-width: 1440px;
  margin: 0px auto;
  padding: 150px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.background-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.background-gradient {
  flex-shrink: 0;
  position: absolute;
}

.content-overlay {
  width: 100%;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  position: relative;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  flex-shrink: 0;
  z-index: 1000;
  max-width: 100vw; /* Ensures header doesn't exceed viewport width */
  padding: 0 20px;
  box-sizing: border-box; /* Makes padding part of the width calculation */
  margin-bottom: 50px;
  background-color: #e6e6e6;
}

.header-content {
  display: flex;
  width: 100%;
  height: 126px;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  background-color: #e6e6e6;
  margin: 0 auto; /* Centers the content */
  padding: 0 20px; /* Adds some padding on small screens */
  box-sizing: border-box;
}

.logo {
  color: #000;
  font-family: "Satoshi", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 100% */
}

.logo-contents {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  list-style: none;
}

.nav-link {
  color: #1a1615d9;
  text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.5);
  font-family: "Satoshi", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.8px;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Active navigation link styles */
.nav-link.active {
  position: relative;
  font-weight: 700;
  color: #000;
}

/* Add an underline or indicator for active links */
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
}

/* Optional: hover effect for non-active links */
.nav-link:not(.active):hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 1px;
}

.download-resume {
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-resume img {
  vertical-align: middle;
  /* Optional: adjust size if needed */
  width: 16px;
  height: 16px;
}

.nav-link:hover {
  /* color: #4f37ea; */
}

.resume-button {
  width: 133px;
  height: 45px;
  position: relative;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.resume-button:hover {
  transform: translateY(-2px);
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 80px auto;
  height: auto;
  z-index: 3;
}

.hero-content {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-title {
  width: 100%;
  color: rgba(26, 22, 21, 0.85);
  font-family: "Satoshi", sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -2.8px;
  position: relative;
}

.title-section {
  /* display: flex;
  flex-direction: column; */
  position: relative;
  margin-bottom: 50px;
  padding: 0px 40px;
  height: auto;
  z-index: 3;

  h1 {
    color: #1a1615;
    font-family: "Satoshi", sans-serif;
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%; /* 61.6px */
    letter-spacing: -1.4px;
  }
}

.title-content {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.company-highlight {
  /* color: rgba(67, 41, 236, 1); */
}

.industry-highlight {
  /* color: rgba(67, 41, 236, 1); */
}

.projects-highlight {
  /* color: rgba(67, 41, 236, 1); */
}

.highlights-section {
  margin-bottom: 80px;
}

highlights-section--last {
  margin-bottom: 0px !important;
}

.youtube-screenshot-parent {
  position: relative;
  width: 100%;
  display: block;
}

.youtube-screenshot-parent .screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 25px;
}

.youtube-screenshot-parent .youtube-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  /* Optional: set specific dimensions for the overlay */
  width: 80px; /* Adjust as needed */
  height: auto;
  /* Optional: add a drop shadow for better visibility */
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
}

.section-title {
  position: relative;
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 110%;
  display: flex;
  font-family: "Satoshi", sans-serif;
  color: #1a1615;
  text-align: center;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  margin-bottom: 50px;
}

.section-subtitle {
  margin: 0;
  font-size: 20px;
  font-weight: 300;
  align-self: stretch;
  position: relative;
  letter-spacing: -0.05em;
  flex-shrink: 0;
  color: #1a1615;
  margin-bottom: 50px;
}

.page-section-parent {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  background-color: #f5f5f5;
  font-size: 20px;
  color: #1a1615;
  font-family: "Satoshi", sans-serif;
  padding: 50px 0px;
}
.page-section-parent-transparent {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  font-size: 20px;
  color: #1a1615;
  font-family: "Satoshi", sans-serif;
}
.page-section-child {
  padding: 0 40px;
  margin-bottom: 40px;
}
.page-section-title {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.page-section-title-main {
  font-size: 32px;
  letter-spacing: -0.02em;
  text-align: right;
  opacity: 0.85;
}
.page-section-title-sub {
  letter-spacing: -0.05em;
  font-weight: 500;
  opacity: 0.85;
}

.page-section-details-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 35px;
  margin-bottom: 0;
}
.page-section-details-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 23px;
}
.page-section-detail {
  margin: 0;
  /* font-size: 20px;
  font-weight: 300; */
  align-self: stretch;
  position: relative;
  /* letter-spacing: -0.05em; */
  flex-shrink: 0;
  /* color: #1a1615; */

  color: #000;
  font-family: "Satoshi", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 35.5px; /* 197.222% */
  letter-spacing: -0.9px;
}
.page-section-detail-subtitle {
  font-family: "Satoshi", sans-serif;
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 130% */
  letter-spacing: -1px;
}

.page-section-details-content {
  color: #000;
  margin-top: 44px;
}

.page-section-child-two-up {
  display: flex;
  gap: 30px;
  align-items: stretch;
  padding: 0 40px;
}

.page-section-child-two-up .left-column {
  width: 40%;
  flex-shrink: 0;
}

.page-section-child-two-up .right-column {
  width: 60%;
  flex: 1;
}

.centered {
  text-align: center;
}

.vertically-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screenshot {
  border-radius: 25px;
  max-width: 1140px; /* Default maximum width */
  width: 100%; /* Fill available space, but don't exceed max-width */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: block; /* Alternative to align-self if in a non-flex container */
}

.screenshot-max-width {
  border-radius: 25px;
  width: 100%; /* Fill available space, but don't exceed max-width */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: block; /* Alternative to align-self if in a non-flex container */
}

.screenshot-caption {
  font-size: 16px;
  margin: 20px 0 30px 20px;
}

@media (max-width: 1520px) {
  .highlights-section {
    margin-bottom: 40px;
    padding: 0 20px;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .portfolio-container {
    max-width: 1024px;
    width: 100%;
    height: auto;
    padding-bottom: 200px;
  }

  .main-header {
    width: calc(100% - 40px);
    left: 20px;
  }

  .header-content {
    width: 100%;
    height: 80px;
  }

  .logo {
    color: #000;
    font-family: "Satoshi", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 100% */
  }

  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 16px;
  }

  .hero-section {
    width: calc(100% - 80px);
    height: auto;
  }

  .hero-content {
    width: 100%;
    height: auto;
  }

  .hero-title {
    width: 100%;
    font-size: 45px;
    position: relative;
    height: auto;
  }

  .screenshot {
    max-width: 90%; /* Slightly smaller on medium screens */
  }

  .page-section-parent {
    padding: 20px 0;
  }

  .page-section-child {
    padding: 20px;
  }

  .page-section-details-content {
    margin-top: 20px;
  }

  .page-section-child-two-up {
    flex-direction: column;
    gap: 20px;
  }

  .page-section-child-two-up .left-column,
  .page-section-child-two-up .right-column {
    width: 100%;
  }
}

/* Mobile menu button - hidden by default */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .main-header {
    width: calc(100% - 20px);
    left: 10px;
  }

  .header-content {
    /* width: 100%;
    height: 70px;
    flex-direction: row;
    justify-content: space-between; */
    position: relative;
  }

  .mobile-menu-button {
    display: block;
    z-index: 100;
  }

  .logo {
    color: #000;
    font-family: "Satoshi", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 100% */
  }

  .logo-name p {
    font-size: 14px;
  }

  .logo-image {
    width: 30px;
    height: auto;
  }

  .main-navigation {
    position: fixed;
    top: 80px; /* Adjust based on your header height */
    left: 0;
    width: 100%;
    background-color: #e6e6e6;
    z-index: 1000;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }

  .main-navigation.open {
    height: auto;
    max-height: calc(100vh - 80px); /* Viewport height minus header */
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links {
    flex-direction: column;
    padding: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
  }

  .nav-links.visible {
    opacity: 1;
    transform: translateY(0);
    display: flex;
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 15px;
  }

  .nav-link {
    display: block;
    padding: 10px 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .portfolio-container {
    max-width: 640px;
    width: 100%;
    height: auto;
    min-height: initial;
    padding: 100px 0 100px 0;
  }

  .screenshot {
    max-width: 100%; /* Use more screen width on small screens */
    margin-top: 30px; /* Less margin on small screens */
  }

    .hero-section {
    width: calc(100% - 60px);
    margin: 0px auto;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: -1.5px;
  }

  .title-section {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .highlights-section {
    margin-bottom: 20px;
  }

  .portfolio-container {
    padding-top: 100px;
    margin-bottom: 80px;
    padding-bottom: 0;
  }

  .title-section {
    margin-bottom: 50px;
  }
}
