:root {
  --primary-color: #3e8de3; /* Sunny Blue */
  --text-color: #101720; /* Midnight Blue */
  --background-color: #fff; /* White */
  --font-family: "Poppins", sans-serif;
}
html, body {
  font-family: var(--font-family);
  font-size: clamp(1rem, 0.9681rem + 0.1307vw, 1.125rem);
  font-weight: 400;
  line-height: 160%;
  color: var(--text-color);
  background-color: var(--background-color);
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}
.site-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
}
.content-wrapper {
  padding: 0 20px;
  box-sizing: border-box;
}
.nav-toggle {
  display: none;
}
.nav {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}
.nav-logo {
  grid-column: 1 / 3;
  text-align: left;
  font-size: 1.75em;
  font-weight: 700;
  color: var(--primary-color);;
}
.nav-menu {
  grid-column: 3 / 7;
  display: flex;
  justify-content: space-evenly;
}
.nav-menu a {
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 400;
  color: var(--text-color);
}
.hero-section {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  height: 100vh;
}
.hero-text {
  grid-column: 1 / 4;
  align-self: center;
  text-shadow: 0 0 10px white;
  z-index: 10;
}
.hero-stats {
  font-size: 0.9em;
  margin-bottom: 20px;
  color: var(--primary-color);;
  font-weight: 600;
}
.hero-stats svg {
  height: 1em;
  width: auto;
  margin-right: 5px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.hero-text h1 {
  margin: 10px 0;
  font-size: 3rem;
  line-height: 1.4;
}
.hero-text p {
  font-size: 1.2em;
  line-height: 1.4;
  margin: 0;
}
.highlight {
  color: var(--primary-color);;
}
.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--background-color);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  margin-top: 20px;
  transition: filter 0.3s ease;
  text-decoration: none;
  text-shadow: none;
}
.cta-button:hover {
  box-shadow: 0 0 10px var(--primary-color);
}
.cta-button .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.cta-button:hover .arrow {
  transform: translateX(5px);
}
.hero-box {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 800px;
  height: 600px;
  overflow: hidden;
  background: var(--background-color);
  box-sizing: border-box;
}
.hero-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    linear-gradient(to bottom, white, transparent 50%),
    linear-gradient(to top, white, transparent 50%),
    linear-gradient(to left, white, transparent 50%);
  background-repeat: no-repeat;
  background-position: top, bottom, right;
  background-size: 100% 30%, 100% 30%, 30% 100%;
}
.angled-block {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 750px;
  height: 850px;
  transform-origin: bottom left;
  transform: rotate(10deg);
}
.column-container {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}
.column {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.photo-stack {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  display: flex;
  flex-direction: column;
  animation: scroll-up 60s linear infinite;
  will-change: transform;
}
.column.reverse .photo-stack {
  animation: scroll-down 60s linear infinite;
}
.copy {
  display: flex;
  flex-direction: column;
}
.photo-wrapper {
  margin: 5px;
  flex: 0 0 auto;
  width: calc(100% - 10px);
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}
/* Profile image */
.photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.6;
  transition: opacity 0.3s ease-in-out;
}
/* On hover, photo becomes clear */
.photo-wrapper:hover .photo {
  opacity: 1;
}
/* Profile info overlay (hidden by default, appears on click) */
.profile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-color);
  color: var(--background-color);
  text-align: center;
  padding: 5px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.photo-wrapper.show-info .profile-info {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.profile-info .name {
  font-size: 0.6em;
  line-height: 1;
  margin: 0;
}
.profile-info .occupation {
  font-size: 0.5em;
  line-height: 1;
  margin: 0;
}

/* Keyframes for scrolling */
@keyframes scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

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

/* RESPONSIVE DESIGN */
@media (min-width: 1680px) {
  .hero-box {
    right: calc((100vw - 1680px) / 2);
    transform: translateY(-50%);
  }
}
@media (max-width: 1480px) {
  .nav {
    position: relative;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    grid-template-columns: 1fr auto; /* Adjust columns as needed */
    justify-content: space-between;  /* This pushes logo left and menu right */
  }
  .nav-menu {
    display: flex;
    gap: 50px; /* Adds space between each menu item */
  }
  .hero-section {
    grid-template-columns: 1fr;
  }
  .hero-text {
    grid-column: 1 / -1; /* take up full width */
    padding: 0 20px; /* match the container padding */
  }
  .hero-box {
    transform: translate(calc(1480px - 100vw), -50%);
  }
}
@media (max-width: 768px) {
  .nav {
    padding: 20px 0;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: var(--background-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    gap: 0;
  }
  .nav-menu.active a {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }
  .nav-toggle {
  grid-column: 5;
  justify-self: end;
  text-align: right;
  display: block;
  cursor: pointer;
  z-index: 100;
  }
  .hero-section {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hero-text {
    padding: 0;
  }
  .cta-button {
    display: inline-block;
    margin: 20px auto 0 auto;
  }
  .hero-box {
    display: none;
  }
}