/* ========================================
   VARIABLES
   ======================================== */
:root {
  --health: #7dd3f7;
  --life: #dc3b79;
  --industrial: #3d59df;
  --special: #45137a;
  --gray: #bcbcbc;
  --font-family: "tt-commons-pro", sans-serif;
  --padding-sides: 8vw;
}
::selection {
  color: white;
  background-color: rgb(198, 198, 198);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: 300;
  font-style: normal;
  overflow-x: hidden;
  background: white;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  padding: 0 var(--padding-sides);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 10vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 100px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.8s ease;
  position: relative;
  --hover-color: #007bff;
}

.nav-menu a:hover {
  color: var(--hover-color);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hover-color);
  transition: width 0.8s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.nav-profile {
  --hover-color: var(--health);
}

.nav-menu a.nav-work {
  --hover-color: var(--life);
}

.nav-menu a.nav-clients {
  --hover-color: var(--industrial);
}

.nav-menu a.nav-team {
  --hover-color: var(--special);
}

.nav-menu a.nav-contact {
  --hover-color: var(--gray);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 100;
  position: relative;
  padding: 5px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -8px);
}

/* ========================================
   INTRO ANIMATION
   ======================================== */
#intro-animation {
  /* width: 100%; */
  height: 65%;
  position: relative;
  background-color: #ffffff;
  z-index: 13;
  top: 0;
  transition: all 0.7s ease;
  opacity: 1;

  /* mix-blend-mode: darken; */
}
.intro-back {
  width: 100%;
  background-color: #ffffff;
  height: 100%;
  position: fixed;
  z-index: 12;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
}

#intro-animation.fade-out {
  opacity: 0;
  transition: all 0.7s ease;
  pointer-events: none;
}
.intro-back.fade-out {
  opacity: 0;
  transition: all 0.7s ease;
  pointer-events: none;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  /* height: 90vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--padding-sides) 8rem;
  scroll-snap-align: start;
  background: white;
  transition: opacity 1s ease-in-out;
}

/* Fade-in animation for sections on all pages except index */
body:not(.home-page) .section {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

.section.current-section {
  opacity: 1;
  transition: opacity 2s ease-in-out;
}

.section.landing {
  height: 100vh;
  padding-bottom: 0;
}

.section.two-column.clients {
  margin-bottom: 0;
}

.section.two-column.contact {
  /* height: 90vh; */
  padding-top: 10vh;
}

.section.two-column.contacts {
  height: 100vh;
  padding-top: 10vh;
}

.section.team-section {
  height: fit-content;
  padding-top: 17vh;
}

/* Section Content */
.section-content {
  width: 100%;
}

.section-content.team-content {
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

/* Section 1 Specific */
#section1 {
  background: white;
  color: #333;
  transform: translateY(0);
  animation: fadeInUp 1s ease;
  opacity: 1;
}

#section1 .section-content {
  width: 100%;
  height: 100%;
}

#section1 .section-content > div:first-child {
  font-family: var(--font-family);
  font-weight: 600;
  font-style: normal;
  font-size: 3rem;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

#section1 .section-content p {
  font-family: var(--font-family);
  font-weight: 300;
  font-style: normal;
  font-size: 1.25rem;
}
#section2,
#section3,
#section4,
#section5 {
  height: 115vh;
}
/* #section5 {
  height: 100vh !important;
} */

/* Landing Page */
.landing-im {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* opacity: 0.47; */
}

.landing-header {
  position: absolute;
  bottom: 10vh;
  font-size: 4rem;
  width: 45%;
  line-height: 1;
  font-weight: 600;
  left: 3rem;
}

.project-navigation {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.project-nav-button {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--life);
  text-decoration: none;
  cursor: pointer;
}
/* Two Column Layout */
.section.two-column .section-content {
  width: 100%;
  height: fit-content;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: end;
  text-align: left;
}

.section.two-column .section-content.profile,
.section.two-column .section-content.clients {
  align-items: start;
}

.section.two-column .section-content.contact {
  align-items: center;
}
.section.two-column .section-content.contact.works {
  align-items: start;
}
.section.two-column.profile,
.section.two-column.clients,
.section.two-column.works {
  padding-top: 14vh;
}
.section.two-column.works {
  height: fit-content;
  flex-direction: column;
}

/* Text Column */
.text-column {
  display: flex;
  flex-direction: column;
}

.text-column-header {
  font-family: var(--font-family);
  font-weight: 600;
  font-style: normal;
  font-size: 3rem;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.text-column-header.sub-head {
  margin-bottom: 1.2rem;
}
.text-column-header.works {
  margin-bottom: 0;
}

.text-column-line {
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  border-bottom: 1.5px black solid;
  width: 100%;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}
.text-column-bold {
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  width: 100%;
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
}

.text-column p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.9rem;
  font-style: normal;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.text-column-span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ========================================
   BUTTONS
   ======================================== */
.button-block {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.8s ease;
}

a.button-block {
  text-decoration: none;
  color: inherit;
}

.button-block span {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1.2rem;
  font-style: normal;
  line-height: 105%;
}

.button-block:hover,
.button-block:hover span {
  color: black;
}

.button-block:hover .color-block {
  background: black;
}

/* Color Blocks */
.color-block {
  width: 5px;
  height: 16px;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.color-block.life {
  background: var(--life);
}

.color-block.health {
  background: var(--health);
}

.color-block.industrial {
  background: var(--industrial);
}

.color-block.special {
  background: var(--special);
}

.color-block.white {
  background-color: white;
  transition: background-color 0.8s ease;
}

.project-nav-button.life {
  color: var(--life);
}
.project-nav-button.health {
  color: var(--health);
}
.project-nav-button.industrial {
  color: var(--industrial);
}
.project-nav-button.special {
  color: var(--special);
}
/* Color Text */
.color-text-life {
  color: var(--life);
}

.color-text-health {
  color: var(--health);
}

.color-text-industrial {
  color: var(--industrial);
}

.color-text-special {
  color: var(--special);
}

/* Background Colors */
.back-life,
.back-health {
  background: var(--health);
}

.back-industrial {
  background: var(--industrial);
}

.back-special {
  background: var(--special);
}

/* ========================================
   IMAGES
   ======================================== */
.image-column {
  height: 90vh;
  display: flex;
  align-items: flex-end;
}

.image-column.image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.5rem 1.5rem;
  align-items: stretch;
  justify-items: stretch;
  height: auto;
  padding-top: 2.5rem;
}

.image-column.vertical {
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  padding-top: 6rem;
  justify-content: start;
  height: 100%;
}

.image-column.vertical.about {
  padding-top: 0rem;
}
.image-column.contact {
  align-items: center;
}

.image-column.works {
  height: fit-content;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.section-image {
  width: 100%;
  height: 80%;
  object-fit: cover;
}

.section-image.profile {
  height: 28%;
}

.section-image.contact {
  height: 80%;
  border: black 1.5px solid;
}

.section-image-padding-left {
  padding-left: 4rem;
}

.section-image-padding-right {
  padding-right: 4rem;
}

.image-column.image-grid .grid-image {
  max-width: 130px;
  max-height: 130px;
  object-fit: contain;
  padding: 1rem;
}
.section.landing-footer {
  /* height: ; */
  background: #e2e2e5;
  height: fit-content;
  padding: 3rem 8rem 4rem;
  margin-top: 1rem;
}
.container-footer {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
}
.footer-left {
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.85rem;
}
.footer-email {
  text-decoration: none;
  color: #333;
}
.flex-h-footer {
  display: flex;
  flex-direction: row;
  gap: 0.7rem;
}

/* ========================================
   TEAM
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 3rem 4rem;
  width: 100%;
  margin-top: 4rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.team-photo {
  width: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.team-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.team-name {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1rem;
  font-style: normal;
  width: 100%;
}

.team-title {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 0.9;
  color: #666;
}

.team-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-social img {
  width: 12px;
  object-fit: contain;
}

.grid-h-4,
.grid-h-0 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.grid-h-4 {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.grid-content {
  display: grid;
  gap: 1rem;
  margin: 0;
  grid-template-columns: 0.25fr 1fr;
}
.grid-content.social {
}

.grid-h-0 {
  margin-bottom: 1rem;
  /* gap: 1rem 0; */
}
.grid-h-2.works {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 0.5rem 0;
  margin: 1rem 0;
}

.contact-h {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.1;
}

.contact-body {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.1;
  text-decoration: none;
  color: black;
}
.contact-body a {
  text-decoration: none;
  color: black;
}
.works-h {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.1;
}

.works-h-info {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.1;
  margin: 0;
}
.works-body {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1;
}
.works-h-body {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1;
}
.works-h1 {
  display: flex;
  flex-direction: row;
  margin-left: calc((12px + 0.5rem) * -1);
  width: 100%;
  /* align-items: flex-start; */
  align-items: baseline;
}
.column-line {
  border-bottom: 1.5px black solid;
  width: 100%;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}
.carousel {
  position: relative;
  /* width: 600px; */
  /* max-width: 90%; */
  overflow: hidden;
  background: #fff;
  /* height: 500px; */
}
.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  position: relative;
}
.carousel-images img {
  width: 100%;
  flex-shrink: 0;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.3s ease;
  aspect-ratio: 3 / 2;
}

.carousel-images img:hover {
  opacity: 0.9;
}
.arrow {
  position: absolute;
  top: 51%;
  transform: translateY(-50%);
  font-size: 20px;
  color: rgba(0, 0, 0, 0.7);
  background: rgb(247 247 247 / 85%);
  border-radius: 50%;
  padding: 5px 12px;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
}
.arrow-left {
  left: 10px;
}
.arrow-right {
  right: 10px;
}
.indicators {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 1.5rem;
}
.indicator {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  cursor: pointer;
}
/* Fullscreen Overlay */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fullscreen-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  cursor: default;
}

.fullscreen-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  font-family: Arial, sans-serif;
  line-height: 1;
}

.fullscreen-close:hover {
  opacity: 0.7;
}

.fullscreen-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 10000;
  transition:
    background 0.3s ease,
    opacity 0.3s ease;
  user-select: none;
}

.fullscreen-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.fullscreen-arrow-left {
  left: 30px;
}

.fullscreen-arrow-right {
  right: 30px;
}

.indicator.active.health {
  background: var(--health);
}
.indicator.active.industrial {
  background: var(--industrial);
}
.indicator.active.life {
  background: var(--life);
}
.indicator.active.special {
  background: var(--special);
}

/* ========================================
   WORK PAGE - PILLARS
   ======================================== */
.grid-work-h {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1rem;
  margin-top: 3rem;
}
.works-h-info p {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.1;
  margin: 0;
}

.pillar-container {
  width: 100%;
  min-height: 500px;
  height: auto;
  position: relative;
}

.pillar-head-container {
  display: flex;
  position: relative;
  padding-left: 1.2rem;
  padding-top: 1.2rem;
  z-index: 10;
  flex-direction: column;
}

.pillar-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  position: relative;
}

.pillar-header-line {
  width: calc(100% - 20px);
  border-bottom: 2px solid black;
  margin-top: 0.4rem;
  transition: border-color 0.8s ease;
  margin-left: 20px;
}

.pillar-header-text {
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.8s ease;
}

.pillar-back-color {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.pillar-back-color.health {
  background-color: var(--health);
}

.pillar-back-color.life {
  background-color: var(--life);
}

.pillar-back-color.industrial {
  background-color: var(--industrial);
}

.pillar-back-color.special {
  background-color: var(--special);
}

.pillar-pic {
  position: absolute;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  mask-image: linear-gradient(transparent 8%, black 40%, white);
}

.pillar-project {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 1.2rem;
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.pillar-project-text {
  font-size: 1rem;
  font-weight: 400;
  color: white;
  text-decoration: none;
}

.pillar-project-text:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* Hover animations for pillar-container */
.pillar-container:hover .pillar-header-text {
  color: white;
}

.pillar-container:hover .pillar-header-line {
  border-bottom-color: white;
}

.pillar-container:hover .color-block.work {
  background-color: white !important;
}

.pillar-container:hover .pillar-back-color {
  opacity: 0.7;
}

.pillar-container:hover .pillar-project {
  opacity: 1;
  transform: translateY(0);
}
.color-block.works {
  width: 16px;
  height: 2.3rem;
  position: relative;
  margin-right: 0.5rem;
}
.footer-email:hover {
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s all;
}
.works-body p {
  margin-bottom: 0.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 3000px) {
  :root {
    --padding-sides: 20rem;
  }
  .pillar-container {
    /* width: 100%; */
    min-height: 720px;
  }
  .landing-header {
    width: 32%;
  }
}

@media (max-width: 2400px) {
  .pillar-container {
    /* width: 100%; */
    min-height: 660px;
  }
}
@media (max-width: 1950px) {
  :root {
    --padding-sides: 8rem;
  }
  .pillar-container {
    /* width: 100%; */
    /* min-height: 600px; */
  }
  .pillar-container {
    /* width: 100%; */
    min-height: 560px;
  }
  .landing-header {
    width: 45%;
  }
}
@media (max-width: 1850px) {
  .pillar-container {
    /* width: 100%; */
    /* min-height: 560px; */
  }
}

@media (max-width: 1600px) {
  .section.two-column .section-content {
    gap: 6rem;
  }
  .section-image-padding-left {
    padding-left: 1rem;
  }
  .section-image-padding-right {
    padding-right: 1rem;
  }
  /* .text-column p {
    margin-bottom: 1.2rem;
  } */
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .pillar-container {
    /* width: 100%; */
    min-height: 480px;
  }
}
/* Tablet - 1300px and below */
@media (max-width: 1500px) {
  .image-column.image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 1.5rem;
  }
}

/* Tablet - 1250px and below */
@media (max-width: 1250px) {
  .team-name {
    font-size: 0.9rem;
  }
  .team-title {
    font-size: 0.8rem;
  }
}

/* Tablet - 1024px and below */
@media (max-width: 1250px) {
  .section-image.map {
    min-height: 400px;
  }
  .grid-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  #section5 {
    height: auto !important;
  }
  .navbar {
    padding: 0 4rem;
  }

  .section {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .section.two-column .section-content {
    gap: 6rem;
  }

  /* Navigation */
  .hamburger {
    display: flex;
    position: relative;
    z-index: 101;
  }

  .nav-menu {
    position: fixed;
    top: 8vh;
    left: 0;
    width: 100%;
    height: calc(100vh - 8vh);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    gap: 2rem;
    font-size: 1.2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  /* Sections */
  .section {
    height: auto;
    min-height: auto;
    padding: 2rem 4rem;
    padding-top: 12vh;
  }
  .section.landing-footer {
    padding: 2rem 4rem;
  }

  .section.landing {
    height: 100vh;
    padding-top: 8vh;
    padding-bottom: 2rem;
  }

  .section.two-column {
    height: auto;
    min-height: auto;
  }

  .section.two-column.profile,
  .section.two-column.clients,
  .section.two-column.contact {
    height: auto;
    min-height: auto;
    padding-top: 12vh;
  }

  .section.team-section {
    height: auto;
    min-height: auto;
    /* padding: 2rem 1.5rem; */
    padding-top: 12vh;
  }

  /* Two Column Layout */
  .section.two-column .section-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }

  .section.two-column .section-content.profile,
  .section.two-column .section-content.contact,
  .section.two-column .section-content.clients {
    align-items: start;
  }

  /* Image Columns */
  .image-column {
    width: 100%;
    height: auto;
    align-items: center;
    order: 2;
  }

  .image-column.vertical {
    gap: 2rem;
    padding-top: 0;
  }

  .text-column {
    order: 1;
    width: 100%;
  }

  /* Section Images */
  .section-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section-image.profile {
    height: auto;
    max-height: 300px;
  }

  .section-image.contact {
    height: auto;
    max-height: 300px;
  }

  /* Landing Section */
  .landing-header {
    font-size: 2rem;
    width: 90%;
    left: 1.5rem;
    bottom: 6rem;
  }

  #section1 .section-content > div:first-child {
    font-size: 2rem;
  }

  #section1 .section-content p {
    font-size: 1rem;
  }

  /* Text Column */
  .text-column-header {
    font-size: 2rem;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    position: relative;
  }
  .color-block.works {
    width: 10px;
    height: 1.8rem;
  }

  .text-column p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .works-body p {
    margin-bottom: 0.5rem;
  }

  /* Client Grid */
  .image-column.image-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    height: auto;
  }

  /* Team Grid */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    margin-top: 3rem;
  }

  /* Work Page - Grid and Pillars */
  .grid-work-h {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .pillar-container {
    width: 100%;
    height: auto;
    min-height: 350px;
  }

  .text-column-line {
    width: 100% !important;
  }

  /* Contact Grid */
  .grid-h-4,
  .grid-h-0 {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .grid-content.social {
    display: grid;
    grid-template-columns: 30px 1fr;
    /* gap: 1rem 0; */
    align-items: end;
  }

  .contact-h {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .contact-body {
    font-size: 0.85rem;
  }
  .image-column.image-grid .grid-image {
    max-width: 100px;
    max-height: 100px;
  }

  /* Fullscreen Overlay - Mobile */
  .fullscreen-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }

  .fullscreen-arrow {
    font-size: 24px;
    padding: 10px 15px;
  }

  .fullscreen-arrow-left {
    left: 10px;
  }

  .fullscreen-arrow-right {
    right: 10px;
  }

  .fullscreen-image {
    max-width: 95%;
    max-height: 95%;
  }
  .image-column.works {
    margin-bottom: 1.5rem;
  }
  #contact-mis {
    display: none;
  }
  .grid-h-0 {
    /* display: grid;
    gap: 1rem 1rem;
    margin: 0;
    grid-template-columns: 20px 1fr;
    margin-bottom: 1rem; */
  }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
  /* .logo img {
    width: 90px;
  } */
  #section5 {
    height: auto !important;
  }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
  #section2,
  #section3,
  #section4,
  #section5 {
    height: auto;
    margin-bottom: 5rem;
  }
  .works-h1 {
    align-items: stretch;
  }
  #section1 {
    padding: 0;
  }
  .arrow {
    font-size: 16px;
    padding: 4px 10px;
  }
  .footer-right {
    font-size: 0.8rem;
    width: 46%;
  }
  .flex-h-footer {
    gap: 1rem;
  }
  .logo img {
    width: 90px;
  }
  .navbar {
    padding: 0 3rem;
    height: 7vh;
  }

  .logo img {
    width: 80px;
  }
  .hamburger {
    transform: scale(0.85);
  }
  .nav-menu {
    gap: 0.75rem;
    font-size: 1.2rem;
    top: 7vh;
    height: calc(100vh - 7vh);
  }

  /* Sections */
  .section {
    padding: 1.5rem 3rem;
    padding-top: 10vh;
  }

  .section.landing {
    padding-top: 7vh;
    padding-bottom: 1.5rem;
  }
  .section.two-column.contact {
    padding-top: 10vh;
  }
  .section.two-column.profile,
  .section.two-column.clients {
    padding-top: 15vh;
  }

  .section.team-section {
    padding-top: 15vh;
  }
  .section.landing-footer {
    padding: 2rem 3rem 3rem;
  }
  /* Landing Header */
  .landing-header {
    font-size: 2.8rem;
    width: 80%;
    left: 1rem;
    bottom: 23%;
  }
  .landing-im {
    opacity: 0.8;
  }

  #section1 .section-content > div:first-child {
    font-size: 1.75rem;
  }

  /* Text Column */
  .text-column-header {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
  }

  .text-column p {
    font-size: 0.85rem;
  }

  /* Section Images */
  .section-image {
    max-height: 300px;
  }

  .section-image.profile {
    max-height: 250px;
  }
  .section.two-column .section-content {
    gap: 1rem;
  }

  /* Client Grid */
  .image-column.image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding-top: 0;
  }

  /* Team Grid */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    margin-top: 2rem;
  }

  .team-name {
    font-size: 0.9rem;
  }

  .team-title {
    font-size: 0.8rem;
  }

  /* Work Page - Grid and Pillars */
  .grid-work-h {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .pillar-container {
    min-height: 300px;
    height: auto;
  }
  .project-nav-button {
    font-size: 0.8rem;
  }
  .footer-left {
    font-size: 0.9rem;
  }
  .footer_right {
    font-size: 0.8rem;
  }
  .contact-h {
    margin-top: 0;
  }
  .section-image.map {
    min-height: 200px;
  }
}
