@import url("https://fonts.googleapis.com/css2?family=Sora:wght@800&display=swap");

@font-face {
  font-family: 'GoogleSans';
  src: url('files/Google_Sans/static/GoogleSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GoogleSans';
  src: url('files/Google_Sans/static/GoogleSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "GoogleSans", Arial, sans-serif;
}

:root {
  --font-size-title: 36px;
  --font-size-page-heading: 128px;
  --font-size-passage: 16px;
  --font-size-content: 72px;
  --font-size-expressive: 56px;
  --portfolio-title-top: 85px;
  --portfolio-body-offset: 80px;

  --header-height: 60px;
  --header-to-element-padding: calc(var(--header-height) + 30px);

  --darkgray-color: #1d1616;

  --footer-text-color: #ffffffcc;
  --footer-column-gap: 25px;
  --side-padding: 210px;
  --side-padding-jobpost: 415px;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  color: white;
}

html, body {
  height: 100%;
  overscroll-behavior: none;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;

  object-fit: cover;

  z-index: -2;

  filter: blur(4px) brightness(0.5);

  transform: scale(1.1);

  position: fixed;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
}

header {
  width: 100%;
  height: var(--header-height);
  background-color: rgb(31, 31, 31);

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 40px;

  position: fixed;
  top: 0;
  left: 0;

  z-index: 10;
}

.header-logo {
  height: 50px;
  width: auto;
}

footer {
  width: 100%;
  background-color: rgb(31, 31, 31);

  padding: 40px 140px;

  position: relative;
  z-index: 2;
}

nav {
  display: flex;
  gap: 15px;
}

nav button {
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;

  position: relative; /* needed for underline positioning */
}

nav button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;

  width: 0%;
  height: 2px;
  background: white;

  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav button:hover::after {
  width: 70%;
}

.hero-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-logo {
  display: block;
  width: 65vw !important;
  max-width: 650px !important;
  height: auto !important;
  margin-bottom: 1.5rem;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.hero-heading {
  display: flex;
  flex-direction: column;
  line-height: 0.85;
  margin-bottom: 0.75rem;
  text-align: left;
}

.hero-heading-line {
  font-size: clamp(3rem, 9.75vw, 8.125rem);
  font-weight: 400;
  color: white;
  text-transform: lowercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  letter-spacing: -0.01em;
}

.hero-heading-indent {
  margin-left: 0.31em;
  margin-top: 0.1em;
}

.red-letter {
  color: #e53e3e;
}

.hero-subtitle {
  color: white;
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  text-transform: lowercase;
  text-align: left;
  letter-spacing: 0.4em;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  margin-top: 0.5rem;
  align-self: flex-start;
  margin-left: 0.31em;
}

.logo-container a {
  display: inline-block;
}

.logo-container a:hover {
  cursor: pointer;
}

/* Content section */

.content-section {
  min-height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 100px var(--side-padding);
  gap: 60px;

  background-color: #e8edf2;
  background-image:
    linear-gradient(rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(69, 104, 136, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.22) 1px, transparent 1px);
  background-size:
    24px 24px,
    24px 24px,
    120px 120px,
    120px 120px;
}

.about-section {
  padding-left: 0;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.reveal-from-up {
  transform: translateY(-40px);
}

.scroll-reveal.reveal-from-down {
  transform: translateY(40px);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* LEFT SIDE (TEXT) */
.text-content-left,
.text-content-right {
  flex: 1;

  display: flex;
  flex-direction: column;
}

.text-content-left {
    text-align: left;
    align-items: flex-start;
}

.text-content-right {
    text-align: right;
    align-items: flex-end;
}

.text-content-left h1,
.text-content-right h1 {
  margin-bottom: 20px;

  font-size: var(--font-size-content);
  
  color: black;
  font-weight: bold;
}

.text-content-left p,
.text-content-right p {
  text-align: justify;
  margin-bottom: 15px;
  flex: 0.6;        /* takes 60% of the row */
  max-width: 600px; /* hard cap so lines don’t stretch too wide */
  /* Professional line spacing is 1.4 to 1.6 */
  line-height: 1.5; 

  color: black;
  text-align: justify;

  font-size: 20px;
}

/* RIGHT SIDE (IMAGES) */
.image-column {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-end;
}

.image-column img {
  width: 240px;
  height: 480px;
  object-fit: cover;

  border-radius: 0;
}

@media (max-width: 900px) {
  .content-section {
    flex-direction: column;
    align-items: center;
  }

  .image-column {
    justify-content: center;
  }

  .image-column img {
    width: 120px;
    height: 240px;
  }
}

/* Portfolio section */

.portfolio-section {
  position: relative;
  padding: 100px var(--side-padding);
  background-color: var(--darkgray-color);
  overflow: hidden;
}

/* TOP TITLE CENTERED */
.portfolio-title {
  position: absolute;
  top: var(--portfolio-title-top);
  left: 0;
  z-index: 1;

  text-align: left;
  margin-bottom: 0;

  border: none;
  background: transparent;
  color: rgb(255, 255, 255);
  cursor: pointer;

  font-size: clamp(96px, 10vw, 180px);
  font-family: "Sora", Arial, sans-serif;
  font-weight: bold;
  line-height: 0.85;
  white-space: nowrap;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.9s ease, clip-path 1.1s ease;
}

.portfolio-section.is-title-visible .portfolio-title {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

/* MAIN LAYOUT */
.portfolio-body {
  position: relative;
  z-index: 2;

  display: flex;
  gap: 40px;
  align-items: stretch;
  padding-top: var(--portfolio-body-offset);
}

.portfolio-divider {
  width: 1px;
  display: flex;
  align-items: center;
  flex: 0 0 1px;
}

.portfolio-divider::before {
  content: "";
  width: 1px;
  height: 95%;
  background: rgba(255, 255, 255, 0.28);
}

/* LEFT SIDE */
.portfolio-left {
  flex: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.portfolio-left img {
  width: 100%;
  max-width: 1080px;
  height: 567px;
  object-fit: cover;
  border-radius: 0;

  transition: transform 0.3s ease;
}

.portfolio-left h1 {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc((var(--side-padding) * -1) + 150px);

  font-size: var(--font-size-expressive);
  font-weight: bold;
}

.portfolio-left p {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc((var(--side-padding) * -1) + 150px);
}

.portfolio-description,
.portfolio-item-description {
  color: lightgray;
}

.portfolio-item-description {
  display: none;
}

/* RIGHT SIDE */
.portfolio-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;

  justify-content: flex-start;
  align-items: flex-end; 
}

.portfolio-link {
  display: block;
}

.portfolio-left .portfolio-link {
  position: relative;
  width: 100%;
  height: 500px; 
  max-width: 1080px;
  line-height: 0;
  overflow: hidden;

  transition: transform 0.3s ease;
  transform-origin: center;
}

.portfolio-left .portfolio-link img {
  width: 100%;
  height: 100%; 
  object-fit: cover;   /* keeps image nicely cropped */
  display: block;
}

.portfolio-left .portfolio-link::before {
  content: "Our Projects";
  position: absolute;
  top: calc(var(--portfolio-title-top) - 100px - var(--portfolio-body-offset));
  left: calc(var(--side-padding) * -1);
  z-index: 2;

  color: transparent;
  font-size: clamp(96px, 10vw, 180px);
  font-family: "Sora", Arial, sans-serif;
  font-weight: bold;
  line-height: 0.85;
  white-space: nowrap;
  -webkit-text-fill-color: rgba(0, 0, 0, 0.01);
  -webkit-text-stroke: 1.5px white;
  paint-order: stroke fill;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.9s ease, clip-path 1.1s ease;
}

.portfolio-section.is-title-visible .portfolio-left .portfolio-link::before {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.portfolio-left .portfolio-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle at center,
    transparent 55%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.portfolio-link:hover img {
  transform: scale(1.05);
  cursor: pointer;
}

.portfolio-left .portfolio-link:hover {
  cursor: pointer;
}

.portfolio-left .portfolio-link:hover img {
  transform: scale(1.05);
}

.portfolio-item {
  position: relative;
  width: 300px;
  height: 157.5px;
  overflow: hidden;
  box-sizing: border-box;
  border: 2px solid transparent;

  flex-shrink: 0;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 5px;
  background: rgb(247, 85, 85);
  z-index: 3;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.46) 55%, transparent 100%);
  pointer-events: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 0;

  filter: blur(1px) brightness(0.65);
  transition: transform 0.3s ease;
}

.portfolio-link.is-active .portfolio-item {
  border-color: white;
}

.portfolio-link.is-active .portfolio-item::after {
  width: var(--portfolio-progress, 0%);
}

.portfolio-link.is-active .portfolio-item img {
  transform: scale(1.05);
}

.overlay-text {
  position: absolute;
  bottom: 10px;
  right: 10px;

  color: white;
  font-size: 22px;
  font-weight: bold;

  z-index: 2;
  pointer-events: none;

  text-align: right;

  max-width: 90%;
  white-space: normal;
}

.footer-group {
  display: flex;
  flex-direction: column;

  gap: var(--footer-column-gap);
}

.footer-section {
  display: flex;
  /* Remove justify if adding another info section.
      Add justify again if more than 2 info sections. */
  justify-content: space-between;
  align-items: flex-start;

  gap: 60px;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: var(--footer-column-gap);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-item i {
  width: 24px;
  height: 24px;

  flex-shrink: 0;
}

.info-title {
  font-weight: bold;
  font-size: 18px;

  color: var(--footer-text-color)
}

.info-text {
  line-height: 1.6;

  color: var(--footer-text-color)
}

.info-line {
  width: 100%;
  height: 1px;
  background-color: var(--footer-text-color)
}

.info-icon-color {
  color: var(--footer-text-color)
}

.info-copyright {
  font-size: 12px;
  color: var(--footer-text-color);
  text-align: center;
}

/* Arrow prompt */
.arrow-circle {
  width: 36px;
  height: 36px;

  background: #777;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);

  display: flex;
  justify-content: center;
  align-items: center;

  color: white; /* icon color */
}

.arrow-circle i {
  width: 20px;
  height: 20px;
}

.scroll-arrow {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);

  cursor: pointer;
  z-index: 999;

  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* portfolio.html */
.unique-details {
  /* position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1; */

  background-color: var(--darkgray-color);

  padding-top: var(--header-to-element-padding);
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.unique-header {
  position: relative;

  font-size: var(--font-size-page-heading);
  font-weight: bold;
  color: white;

  display: flex;
  justify-content: flex-start;
  align-items: center;

  position: relative;
  overflow: hidden;
}

.unique-header::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;

  white-space: nowrap;
}

.unique-header::after {
  color: rgba(255, 255, 255, 0.1);
  transform: translate(15px, -25px);

  font-size: 142px;
}

.gallery-section {
  padding: 60px var(--side-padding);
  background-color: #e8edf2;
  background-image:
    linear-gradient(rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(69, 104, 136, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.22) 1px, transparent 1px);
  background-size:
    24px 24px,
    24px 24px,
    120px 120px,
    120px 120px;
}

.gallery-grid {
  display: grid;
  flex-wrap: wrap;

  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.image-wrapper {
  position: relative;
  overflow: hidden;

  border-radius: 0;

  box-shadow: 0 8px 12px rgba(0,0,0,0.80);
}

.image-wrapper ::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.05) 60%,
    rgba(0, 0, 0, 0) 100%
  );

  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 860 / 540;
  object-fit: cover;

  border-radius: 0;
  display: block;

  transition: transform 0.3s ease;
}

.gallery-item h1 {
  font-size: var(--font-size-title);
  margin-top: 10px;
  color: black;
  line-height: 1;
}

.gallery-item h2 {
  font-size: 14px;
  font-weight: normal;
  margin-top: 5px;
  color: gray;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* career.html */
.job-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 60px var(--side-padding);

  background-color: #e8edf2;
  background-image:
    linear-gradient(rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(69, 104, 136, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.22) 1px, transparent 1px);
  background-size:
    24px 24px,
    24px 24px,
    120px 120px,
    120px 120px;
}

.job-card {
  background: rgb(238, 238, 238);
  border-radius: 12px;

  padding: 20px 25px;

  box-shadow:
    6px 6px 12px rgba(0,0,0,0.15);

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 5px;

  font-size: 14px;
  color: gray;
}

.job-title {
  font-size: 40px;
  margin: 0;

  color: black;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 14px 18px; /* 👈 increased width slightly */

  background: #2f2f2f;
  color: white;

  border: none;
  border-radius: 8px;

  cursor: pointer;

  box-shadow:
    inset 2px 2px 4px rgba(255,255,255,0.1),
    3px 3px 8px rgba(0,0,0,0.3);

  transition: all 0.2s ease;

  font-size: 18px;

  width: fit-content;
}

.apply-btn:hover {
  transform: translateY(-2px);
  background: #444;
  box-shadow:
    0 8px 18px rgba(0,0,0,0.3);
}

.apply-btn:hover i {
  transform: translateX(4px);
}

/* JOB WRAPPER */
.job-wrapper {
  padding: 100px var(--side-padding-jobpost);
}

/* JOB TITLE */
#jobTitle {
  font-size: 56px;
  font-weight: 700;

  line-height: 1.1;

  color: black;
}

/* JOB SUMMARY */
#jobSummary {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 56px;

  color: #000000;

  white-space: pre-line;

  font-family: "Georgia", serif;
}

/* SECTION SPACING */
.jobpost-section {
  margin-bottom: 56px;
}

.jobpost-section ul {
  padding-left: 20px;
  margin: 0;

  font-family: "Georgia", serif;
}

.jobpost-section li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* SECTION HEADERS */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;

  color: black;
}

/* BODY TEXT */
#jobResponsibilities,
#jobSkills,
#jobQualifications {
  font-size: 20px;
  line-height: 1.7;

  color: #000000;

  white-space: pre-line;
}

#jobResponsibilities,
#jobSkills,
#jobQualifications,
#jobResponsibilities li,
#jobSkills li,
#jobQualifications li {
  font-family: "Georgia", serif;
}

/* JOB APPLY */
.apply-btn-jobpost {
  background-color: red;
  color: white;
  border: none;
  padding: 12px 40px;   /* controls oval width/height */
  border-radius: 50px;  /* makes it oval */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  display: inline-block;
}

.apply-btn-jobpost:hover {
  background-color: darkred;
}

/* project.html */

/* =============================================
   SCROLL DRIVER
   ============================================= */
#scroll-driver {
  width: 100%;
  pointer-events: none;
}
 
/* =============================================
   FIXED STAGE
   ============================================= */
#stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background-color: #e8edf2;
  background-image:
    linear-gradient(rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(69, 104, 136, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.22) 1px, transparent 1px);
  background-size:
    24px 24px,
    24px 24px,
    120px 120px,
    120px 120px;
  display: flex;
  align-items: center;
}
 
/* =============================================
   TRACK
   ============================================= */
#track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--gap, 60px);
  will-change: transform;
  transform: translateX(0px);
  transition: transform 0.05s linear;

  padding-left: 500px;
  padding-right: 500px;
}
 
/* =============================================
   TEXT ELEMENTS
   ============================================= */
.el-text {
  flex-shrink: 0;
  color: #000000;
  background: transparent;
  text-align: right;
  line-height: 1.65;
  font-size: 1rem;
}
 
/* =============================================
   IMAGE ELEMENTS
   ==============================================
   Three-layer structure:
 
     .el-image-outer
       ├─ fixed size in flex row; overflow:hidden
       │  clips everything inside regardless of
       │  how inner/img are transformed.
       └─ .el-image-inner
            ├─ effect 1: scale 1.28→1.0 (zoom-out)
            │  effect 2: scale 0→1   (border expand)
            │           + img scale 1.28→1.0
            │  effect 3: translateY drift→0 (rise)
            └─ .el-image
                 └─ effect 2 only: scale zoom-out
 
   NOTE: will-change:transform is intentionally
   absent from inner and img. Setting it there
   creates GPU compositing layers that prevent
   the outer's overflow:hidden from clipping
   scaled/translated children correctly.
   Only #track needs will-change.
   ============================================= */
/* =============================================
   UNIQUE HEADER — scroll-out animation
   ============================================= */
/* .unique-details {
  will-change: transform;

} */
 
.el-image-outer {
  flex-shrink: 0;
  /* width & height set per element via JS */
  overflow: hidden;
  display: block;
}
 
.el-image-inner {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  /* no will-change — keeps overflow:hidden reliable */
}
 
.el-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
  transform-origin: center center;
  /* no will-change — keeps overflow:hidden reliable */
}

#scroll-indicator {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1000;

  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  opacity: 1;
  transition: opacity 0.3s ease;

  pointer-events: none;

  color: black;
}

#scroll-indicator.hidden {
  opacity: 0;
}

/* contact.html */
.contact-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #e8edf2;
  background-image:
    linear-gradient(rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(69, 104, 136, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.22) 1px, transparent 1px);
  background-size:
    24px 24px,
    24px 24px,
    120px 120px,
    120px 120px;
}

.contact-layout {
  width: 78vw;
  max-width: 1440px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 64px;
}

.contact-box {
  flex: 1 1 0;

  padding: 56px;

  background: #2f2f2f;
  border-radius: 12px;

  box-shadow:
    8px 8px 18px rgba(0,0,0,0.25),
    -4px -4px 10px rgba(255,255,255,0.45);

  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-info-box {
  flex: 1 1 0;
  padding: 56px;

  background: #2f2f2f;
  border-radius: 12px;

  box-shadow:
    8px 8px 18px rgba(0,0,0,0.25),
    -4px -4px 10px rgba(255,255,255,0.45);

  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-box h1 {
  margin: 0;
  font-size: 22px;
  text-align: center;

  color: white;
}

.contact-info-box h2 {
  margin: 0;
  font-size: 22px;
  text-align: left;

  color: white;
}

.contact-info-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.35);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;

  padding: 18px 20px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.contact-info-item i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;

  color: #ffffffcc;
}

.contact-info-item h3 {
  margin: 0 0 6px;
  font-size: 15px;

  color: white;
}

.contact-info-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;

  color: #ffffffcc;
}

.contact-info-item a {
  color: #ffffffcc;
  text-decoration: none;
}

.contact-info-item a:hover {
  color: white;
  text-decoration: underline;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 14px;

  border: none;
  border-radius: 8px;

  background: #f4f4f4;

  font-size: 15px;

  outline: none;
}

.contact-box textarea {
  height: 170px;
  resize: none;
}

.contact-box button {
  padding: 14px;

  border: none;
  border-radius: 8px;

  background: white;
  color: #2f2f2f;

  cursor: pointer;

  box-shadow:
    inset 2px 2px 4px rgba(255,255,255,0.1),
    3px 3px 8px rgba(0,0,0,0.3);

  transition: 0.2s ease;
}

.contact-box button:hover {
  transform: translateY(-2px);
  background: #eeeeee;
}

.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 22px; /* increase this for more spacing */
}

@media (max-width: 900px) {
  .contact-section {
    align-items: flex-start;
    padding: 40px 20px 40px;
    
  }

  .contact-layout {
    width: 100%;
    max-width: 520px;
    flex-direction: column;
    gap: 28px;
  }

  .contact-box,
  .contact-info-box {
    flex-basis: auto;
    width: 100%;
  }
}

/* solutions.html */
.solutions-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 60px var(--side-padding);

  background-color: #e8edf2;
  background-image:
    linear-gradient(rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(69, 104, 136, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 104, 136, 0.22) 1px, transparent 1px);
  background-size:
    24px 24px,
    24px 24px,
    120px 120px,
    120px 120px;
}

.solutions-section h1 {
  font-size: var(--font-size-title);
}

.solutions-carousel {
  position: relative;
  width: 100%;
}

.solutions-viewer {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 30px 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.solutions-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;

  background: rgba(31, 31, 31, 0.88);
  color: white;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.solutions-arrow:hover {
  background: rgba(31, 31, 31, 1);
  transform: translateY(-50%) scale(1.06);
}

.solutions-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.solutions-arrow i {
  width: 30px;
  height: 30px;
}

.solutions-arrow-left {
  left: 12px;
}

.solutions-arrow-right {
  right: 12px;
}

.solutions-viewer::-webkit-scrollbar {
  display: none;
}

.solutions-page {
  flex: 0 0 12%;
  height: 420px;
  object-fit: cover;
  opacity: 0.45;
  cursor: pointer;

  transform: scale(0.88);
  transform-origin: center;
  transition:
    flex-basis 0.8s ease,
    transform 0.8s ease,
    opacity 0.8s ease;
}

.solutions-page.is-active {
  flex-basis: 34%;
  height: 560px;
  opacity: 1;
  transform: scale(1);
  object-fit: contain;
}

@media (max-width: 900px) {
  .solutions-viewer {
    padding-bottom: 18px;
  }

  .solutions-arrow {
    width: 40px;
    height: 40px;
  }

  .solutions-arrow i {
    width: 24px;
    height: 24px;
  }

  .solutions-page {
    flex-basis: 34%;
    height: 260px;
  }

  .solutions-page.is-active {
    flex-basis: 70%;
    height: 360px;
  }
}

/* Bigger clean back button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;

  text-decoration: none;
  color: #111;
  font-size: 18px; /* increased size */

  transition: all 0.2s ease;
}

/* Hover effect */
.back-button:hover {
  color: #555;
  transform: translateX(-4px);
}

/* Click effect */
.back-button:active {
  transform: translateX(-4px) scale(0.97);
}

/* Bigger icon */
.icon {
  width: 24px;
  height: 24px;
}

/* Main */
main {
  width: 100%;
}


  /* =====================================================
   MOBILE
  ===================================================== */


   
@media (max-width: 900px) {

  :root {
    --side-padding: 24px;
    --font-size-content: 42px;
    --font-size-page-heading: 64px;
    --font-size-title: 28px;
  }

  /* Header */

  header {
    padding: 0 16px;
  }

  nav {
    gap: 4px;
  }

  nav button {
    padding: 8px;
    font-size: 12px;
  }

  .header-logo {
    height: 40px;
  }

  /* Hero */

  .main-logo {
    width: 90%;
    max-width: 500px;
  }

  /* index.html */

  .portfolio-left h1,
  .portfolio-left p {
    margin-left: 20px;
  }

  .portfolio-left h1 {
    font-size: clamp(24px, 12vw, 48px);
  }

  .portfolio-left .portfolio-link {
    height: 10px;
  }

  /* Content sections */

  .content-section {
    flex-direction: column;
    padding: 60px 24px;
    gap: 40px;
  }

  .content-section:nth-child(even) {
    flex-direction: column;
  }

  .text-content-left,
  .text-content-right {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .text-content-left h1,
  .text-content-right h1 {
    font-size: 42px;
  }

  .text-content-left p,
  .text-content-right p {
    max-width: 100%;
    font-size: 16px;
    text-align: left;
  }

  /* Image galleries */

  .image-column {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .image-column img {
    width: calc(33.33% - 7px);
    height: 180px;
  }

  /* Portfolio */

  .portfolio-title {
    font-size: clamp(24px, 12vw, 128px);
  }

  .portfolio-section {
    padding: 60px 24px;
  }

  .portfolio-body {
    flex-direction: column;
  }

  .portfolio-divider {
    display: none;
  }

  .portfolio-left {
    width: 100%;
  }

  .portfolio-left img {
    /* width: 100%; */
    height: auto;
  }

  .portfolio-left h1 {
    text-align: left;
  }

  .portfolio-right {
    width: 100%;
    margin-top: 30px;
  }

  .portfolio-item {
    width: 100%;
    text-align: center;
  }

  .portfolio-item img {
    width: 100%;
    height: auto;
  }

  .overlay-text {
    font-size: 1.2rem;
  }

  /* Footer */

  footer {
    padding: 40px 24px;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .info-text {
    font-size: 14px;
  }

  /* Scroll arrow */

  .scroll-arrow {
    bottom: 20px;
  }

  .arrow-circle {
    width: 48px;
    height: 48px;
  }

  /* portfolio.html */

  .unique-header {
    font-size: clamp(3rem, 8vw, 8rem);
  }

  .unique-header::after {
    content:none;
  }

  /* solutions.html */

  .solutions-page {
    flex-basis: 30%;
    height: 220px;
  }

  .solutions-page.is-active {
    flex-basis: 50%;
    height: 280px;
  }

  /* jobpost.html */

  .job-wrapper {
    padding: 100px 20px;
  }

  .contact-box {
    padding: 24px;
  }

  .contact-info-box {
    padding: 24px;
  }

  /* project.html */

  .el-text {
    flex-shrink: 0;
    color: #000000;
    background: transparent;
    text-align: right;
    line-height: 1.65;
    font-size: 1rem;
  }
}

  /* =====================================================
   TABLET
  ===================================================== */


   
@media (max-width: 1100px) {

  /* * {
  outline: 1px solid red;
} */
  .portfolio-section {
    padding: 96px 24px;
  }  

  .portfolio-left .portfolio-link {
    height: 360px;
  }

  .portfolio-left .portfolio-link img {
    object-fit: cover;
  }

  /* project.html */
}