/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */
* {
  margin: 0;
  padding: 0;
}

html,
body {
  /* =================== Global Styles =================== */
  scroll-behavior: smooth;
}

/* =================== Loader Styles =================== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0d0d0d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000; /* Stays above everything */
}

#loader lottie-player {
  width: 300px;
  height: 300px;
}

:root {
  --bg-black: #0d0d0d;
  --accent-green: #9df046; /* The lime green from the image */
  --text-white: #ffffff;
  --text-muted: #cccccc;
  --grid-color: rgba(255, 255, 255, 0.05);
  /* Fluid Typography: Scales from 16px at 1024px to 20px at 2560px */
  font-size: clamp(1rem, 0.8333rem + 0.2604vw, 1.25rem);
}

/* ===================
   ANIMATIONS
   ============================================ */

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

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-1.25rem) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes blink-effect {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-0.625rem);
  }
  60% {
    transform: translateY(-0.3125rem);
  }
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===================
   FONT FACES
   ============================================ */

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter_28pt-ExtraBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "InterBold";
  src: url("./assets/fonts/Inter_28pt-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "InterRegular";
  src: url("./assets/fonts/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* ===================
   MAIN & CANVAS
   ============================================ */

main {
  font-family: "InterBold";
  /* background-color: #0a0a0a;
  background-image: url(./assets/icons/background_pattern.svg); */

background-color: #0d0d0d;
  
  /* Create the grid lines */
  background-image: 
    linear-gradient(to right, #222 1px, transparent 1px),
    linear-gradient(to bottom, #222 1px, transparent 1px);
    
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cstyle%3E .grid-square %7B fill: none%3B stroke: %231a1a1a%3B stroke-width: 1px%3B %7D %3C/style%3E%3C!-- Shape 1: Top Left Cluster --%3E%3Crect class='grid-square' x='0' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='40' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='40' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='120' y='120' width='40' height='40'/%3E%3C!-- Shape 2: Top Right Cluster --%3E%3Crect class='grid-square' x='280' y='0' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='40' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='280' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='320' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='360' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='320' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='360' y='80' width='40' height='40'/%3E%3C!-- Shape 3: Bottom Left --%3E%3Crect class='grid-square' x='40' y='240' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='200' width='40' height='40'/%3E%3Crect class='grid-square' x='120' y='240' width='40' height='40'/%3E%3Crect class='grid-square' x='160' y='200' width='40' height='40'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  background-repeat: repeat;
}

main span {
  color: #88c540;
}

main span:hover {
  color: #d9e367;
}

/* ===================
   SECTION BAR (Reusable component)
   ============================================ */

.section-bar-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.section-bar-2 .section-name {
  font-family: monospace;
  font-weight: 700;
  color: #fff;
}

.section-bar-2 .section-name span {
  color: #88c540;
}

.section-bar-2 .bar {
  width: 74px;
  height: 24px;
  background-color: #d9e367;
  animation: fadeInUp 1s ease-out forwards;
}

/* ===================
   CALL TO ACTION BUTTONS (Reusable component)
   ============================================ */

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 2.3rem;

  .cta-primary,
  .cta-secondary {
    margin-top: 2rem;
    font-size: large;
    font-family: monospace;
    font-weight: 500;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1rem;
    cursor: pointer;

    .cta-text {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .cta-left-icon {
      position: absolute;
      top: 0;
      left: 0;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }

    .cta-right-icon {
      position: absolute;
      bottom: 0;
      right: 0;
      transform: translate(50%, 50%);
      pointer-events: none;
    }
  }
  .cta-primary {
    border: 1px solid #88c540;
    background-color: #88c540;
    a {
      text-decoration: none;
      color: #0a0a0a;
    }
  }

  .cta-secondary {
    border: 1px solid #88c540;
    a {
      text-decoration: none;
      color: #88c540;
    }
  }

  .cta-secondary,
  .cta-primary {
    overflow: visible;
    z-index: 1;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 0;
      height: 100%;
      background-color: #d9e367;
      transition: width 0.4s ease;
      z-index: -1;
    }


    &:hover {
      border-color: #d9e367;
      &::before {
        width: 100%;
      }
      a {
        text-decoration: none;
        color: #0a0a0a;
        img {
          color: #000;
        }
      }
    }
  }
}

/* ===================
   NAVIGATION
   ============================================ */

nav {
  display: flex;
  justify-content: space-between;
  padding: 2rem max(15%, calc((100vw - 1440px) / 2));
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Very light white */
  backdrop-filter: blur(10px); /* This blurs the content UNDER the div */
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
  z-index: 20;
  display: none; /* Hidden by default */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: sans-serif;
}

/* Show class to be toggled by JS */
.nav-overlay.active {
  display: flex;
}

.nav-links {
  list-style: none;
  padding: 0;
}

.nav-links {
  width: 80%;
}
.nav-links li {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
}

.nav-number {
  color: #88c540; /* The green color from your image */
  font-size: 1.2rem; /* Stays relative */
  margin-right: 2rem; /* Stays relative */
  padding-top: 1rem; /* Stays relative */
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: clamp(3rem, 8vw, 6rem); /* Responsive large text */
  font-weight: bold;
  line-height: 1;
}

.nav-links a:hover {
  color: #88c540;
}

.nav-divider {
  width: 80%;
  border: 0;
  border-top: 1px solid #fff;
  margin-top: 2rem;
}

/* Close Button Positioning */
.close-container {
  position: absolute;
  top: 2rem;
  right: 8rem;
  cursor: pointer;
}

.nav-menu-button{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-text {
  padding-left: 1.5rem;
  color: aliceblue;
  font-family: monospace;
  font-size: small;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* ===================
   HERO SECTION
   ============================================ */

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem max(10%, calc((100vw - 1440px) / 2));
}

.hero-section .hero-items {
  display: flex;
}

/* Carousel */
.hero-section .carousel-container {
  position: relative;
  width: 16rem;
  height: 16rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin-right: -2.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.hero-section .carousel-slide {
  display: none;
  width: 93%;
  height: 93%;
}

.hero-section .carousel-slide.active {
  display: block;
  animation: fadeInUp 2s ease-out forwards;
}

.hero-section .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hero Typography */
.hero-section .items {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 6rem;
  line-height: 0.5;
}

.hero-section .items .big-text {
  position: relative;
}

.hero-section .items .big-text-icon {
  display: flex;
}

.hero-section .items .big-text-icon .text {
  position: relative;
  z-index: 10;
}

.hero-section .items .big-text-icon .icon img {
  padding-left: 3rem;
  padding-top: 1.5rem;
}

.hero-section .items .big-text {
  line-height: 5rem;
}

.hero-section .items .big-text span {
  color: #88c540;
}

/* Hero Scroll Button */
.hero-section .hero-scroll-button {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-section .hero-scroll-button .scroll-button img {
  width: auto;
  height: 9rem;
  padding-right: 4.375rem;
}

.hero-section .hero-scroll-button .scroll-button {
  cursor: pointer;
  display: inline-block;
  animation: bounce 2s infinite;
}

.hero-section .hero-scroll-button .scroll-button:hover {
  animation-play-state: paused;
}

/* =================== BACK TO TOP BUTTON =================== */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--accent-green);
  color: var(--bg-black);
  border: none;
  cursor: pointer;
  display: none;
  z-index: 9999;
  font-family: "InterBold";
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    opacity 0.3s ease;
  animation: fadeInUp 2s ease-out forwards;
  border-radius: 50%;
}

#backToTop:hover {
  transform: scale(1.1);
}

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

.carousel-img {
  transition: transform 0.4s ease;
}

.carousel-container:hover .carousel-img {
  transform: scale(1.1);
}

/* ===================
   WHO WE ARE SECTION
   ============================================ */

.who-we-are-section {
  position: relative;
  overflow: hidden;
  padding: 2rem max(10%, calc((100vw - 1440px) / 2));
  height: auto;
  
}

.who-we-are-section .who-we-are-items {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: "InterBold";
}

.who-we-are-section .who-we-are-items .upper-text {
  font-size: 5.625rem;
  margin: 2rem 0 2.5rem 0;
  line-height: 0.9;
}

.who-we-are-section .who-we-are-items .sub-text-icon {
  display: grid;
  grid-template-columns: 1.3fr 0.5fr;
  gap: 0;
}

.who-we-are-section .who-we-are-items .sub-text-icon .sub-text {
  font-family: monospace;
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 4rem;
  animation: fadeInUp 3s ease-out forwards;
}

.who-we-are-section .who-we-are-items .sub-text-icon .sub-icon {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
}

.who-we-are-section .who-we-are-items .sub-text-icon .sub-icon .lottie-anime {
  width: 18.75rem;
  height: 18.75rem;
}

/* Cover Squares Styles */
.cover-squares-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.cover-sq {
  background-color: #88c540;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cover-sq.visible {
  opacity: 1;
}

/* ===================
   SHOWREEL SECTION
   ============================================ */

.showreel-section {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1;
  background-color: #88c540;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

.showreel-section .section-bar-2 {
  padding-bottom: 1rem;
}

.showreel-section .section-bar-2 span {
  color: #d9e367;
}

.showreel-section .section-bar-2 .section-name {
  color: #0a0a0a;
  margin-left: 8%;
}

.showreel-section .section-bar-2 .bar {
  margin-right: 8%;
}

.showreel-section .showreel-section-items {
  background-color: #000;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90%;
}

.showreel-section .showreel-section-items .items-image {
  overflow: hidden; /* This will clip the image as it zooms */
}

.showreel-section .showreel-section-items .items-image img {
  width: auto;
  height: 25rem;
  /* The transform is now controlled by JavaScript based on scroll position. */
  /* We set an initial scale and a quick transition for smoothness. */
  transform: scale(0.8); /* Start smaller */
  transition: transform 0.1s linear;
}

/* ===================
   WORK SECTION
   ============================================ */

.work-section {
  background-color: #0d0d0d;
  position: relative;
  z-index: 2;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

.work-section .section-bar-2 {
  padding-bottom: 1rem;
}

.work-section .section-bar-2 .section-name {
  margin-left: 8%;
}
.work-section .section-bar-2 .bar {
  margin-right: 8%;
}
.work-section .work-section-items {
  background-color: #fff;
  flex-grow: 1;
}

.work-section .work-section-items .items {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.work-section .work-section-items .items img {
  transition: transform 0.3s ease;
  width: 100%;
  display: block;
  object-fit: cover;
}

.work-section .work-section-items .items img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.work-section .work-section-items .items .items-1 {
  overflow: hidden;
}

.work-section .work-section-items .items .items-2 {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.work-section .work-section-items .items .items-2 .top-image {
  overflow: hidden;
}

.work-section .work-section-items .items .items-2 .bottom-images {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.work-section .work-section-items .items .items-2 .bottom-images .images-left,
.work-section .work-section-items .items .items-2 .bottom-images .images-right {
  overflow: hidden;
}

/* Work Partners */
.work-section .work-partners {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding: 0 max(10%, calc((100vw - 1440px) / 2));
  font-family: monospace;
  font-weight: 600;
  line-height: 1.5rem;
  font-size: large;
  color: #fff;
}

.work-section .work-partners .partners-logos {
  overflow: hidden;
  white-space: nowrap;
}

.work-section .work-partners .partners-logos .logos-slide {
  display: flex;
  align-items: center;
  width: max-content;
  animation: 30s slide infinite linear;
}

.work-section .work-partners .partners-logos .logos-slide div {
  margin: 0 2.5rem;
}

/* ===================
   FOOTER SECTION
   ============================================ */

.footer-section {
  background-color: #0d0d0d;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cstyle%3E .grid-square %7B fill: none%3B stroke: %231a1a1a%3B stroke-width: 1px%3B %7D %3C/style%3E%3C!-- Shape 1: Top Left Cluster --%3E%3Crect class='grid-square' x='0' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='40' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='40' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='120' y='120' width='40' height='40'/%3E%3C!-- Shape 2: Top Right Cluster --%3E%3Crect class='grid-square' x='280' y='0' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='40' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='280' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='320' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='360' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='320' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='360' y='80' width='40' height='40'/%3E%3C!-- Shape 3: Bottom Left --%3E%3Crect class='grid-square' x='40' y='240' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='200' width='40' height='40'/%3E%3Crect class='grid-square' x='120' y='240' width='40' height='40'/%3E%3Crect class='grid-square' x='160' y='200' width='40' height='40'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  background-repeat: repeat;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem max(10%, calc((100vw - 1440px) / 2));
  box-sizing: border-box;
}

.footer-section .footer-items {
  display: flex;
}

.footer-section .footer-items .tape img {
  width: auto;
  height: 12.5rem;
  margin-left: -4.375rem;
  margin-top: -3.125rem;
  position: relative;
  z-index: 10;
  animation: fadeInUp 2s ease-out forwards;
}

.footer-section .footer-items .items {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 6rem;
  width: 100%;
}

.footer-section .footer-items .items .big-text {
  line-height: 5.625rem;
}

.footer-section .footer-items .items .big-text span {
  color: #88c540;
}

.footer-section .footer-items .items .big-text-icon {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0 0 1rem 0;
  margin-right: -5rem;
}

.footer-section .footer-items .items .big-text-icon .icon{
  display: flex;
}

.footer-section .footer-items .items .big-text-icon .text {
  position: relative;
  z-index: 10;
  font-size: large;
}

.footer-section .footer-bottom-text {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: large;
  color: #fff;
  align-items: baseline;
  width: 100%;

  .cta-buttons{
    margin-top: 0;
    .cta-primary{
      margin-top: 0;
    }
  }

  .email-text {
    font-family: monospace;
    font-weight: 700;
  }
}

/* ===================
   SPECIAL EFFECTS
   ============================================ */

.animate-blink {
  animation: blink-effect 0.5s linear 3;
}

.blur-bottom-fade {
  z-index: 3;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 9.375rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: radial-gradient(ellipse at 50% 100%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 100%,
    black 0%,
    transparent 80%
  );
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

#flash-square {
  width: 3.125rem;
  height: 3.125rem;
  position: fixed;
  display: none;
  z-index: 9999;
}

/* ===================
   CUSTOM CURSOR
   ============================================ */

#custom-cursor {
  position: fixed;
  width: 0.75rem;
  height: 0.75rem;
  background-color: #88c540;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "InterBold";
  font-size: 0;
  color: #000;
  transition:
    width 0.3s ease,
    height 0.3s ease;
}

#cursor-v-line,
#cursor-h-line {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  background-color: #88c540;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#cursor-v-line {
  width: 1px;
  height: 100vh;
  top: 0;
}

#cursor-h-line {
  height: 1px;
  width: 100vw;
  left: 0;
}

#custom-cursor.cursor-grow {
  width: 3rem;
  height: 3rem;
  font-size: 0.7rem;
  background-color: #fff;
  mix-blend-mode: normal;
}

#custom-cursor.cursor-box {
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background-color: var(--accent-green);
  color: #0d0d0d;
  font-size: 0.8rem;
  mix-blend-mode: normal;
  transform: translate(0, -100%); /* Aligns bottom-left corner to cursor */
  white-space: nowrap;
}

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

/* TABLET VIEW (1024px and below) */
@media (max-width: 1024px) {
  .section-bar-2 {
    padding: 1rem 0;
  }

  .close-container {
    top: 1rem;
    right: 5rem;
  }
  /* Hero Section */
  .hero-section {
    padding: 1rem;
  }

  .hero-section .hero-items {
    width: 100%;
    padding: 0 1rem;
    flex-direction: column;
  }

  .hero-section .hero-items .items {
    text-align: center;
  }

  .hero-section .hero-items .items .big-text {
    font-size: 3.75rem;
    line-height: 3.75rem;
  }

  .hero-section .hero-scroll-button {
    justify-content: center;
    padding-right: 0;
  }

  .hero-section .hero-scroll-button .scroll-button img {
    height: 9.375rem;
  }

  /* Who We Are Section */
  .who-we-are-section {
    padding: 1rem;
  }

  .who-we-are-section .who-we-are-items .upper-text {
    font-size: 3.75rem;
    margin: 2rem 0;
  }

  .who-we-are-section .who-we-are-items .sub-text-icon {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .who-we-are-section .who-we-are-items .sub-text-icon .sub-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .who-we-are-section .who-we-are-items .sub-text-icon .sub-icon {
    display: flex;
    justify-content: center;
  }

  .who-we-are-section .who-we-are-items .sub-text-icon .sub-icon .lottie-anime {
    width: 12.5rem;
    height: 12.5rem;
  }

  /* Showreel Section */
  .showreel-section {
    padding: 1rem;
    height: fit-content;
  }

  .showreel-section .showreel-section-items {
    height: auto;
    padding: 2rem;
  }

  .showreel-section .showreel-section-items .items-image img {
    height: auto;
    width: 100%;
  }

  /* Work Section */
  .work-section {
    padding: 1rem;
  }

  .work-section .work-section-items .items {
    grid-template-columns: 1fr;
  }

  .work-section .work-section-items .items .items-2 {
    grid-template-columns: 1fr;
  }

  .work-section .work-section-items .items .items-2 .bottom-images {
    grid-template-columns: 1fr 1fr;
  }

  .work-section .work-partners {
    padding: 0;
    display: block;
    text-align: center;
  }

  .work-section .work-partners .partners-text {
    margin-bottom: 1rem;
  }

  .work-section .work-partners .partners-logos .logos-slide {
    animation-duration: 20s;
  }

  /* Footer Section */
  .footer-section {
    padding: 1rem;
    height: auto;
  }

  .footer-section .footer-items {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-section .footer-items .tape img {
    height: 12.5rem;
    margin-left: -1.25rem;
    margin-top: -3.125rem;
  }

  .footer-section .footer-items .items {
    text-align: center;
  }

  .footer-section .footer-items .items .big-text {
    font-size: 3.75rem;
    line-height: 3.75rem;
  }
}

/* MOBILE VIEW (768px and below) */
@media (max-width: 768px) {
  .section-bar-2 {
    padding: 0 auto;
  }

  nav {
    padding: 1rem;
  }

  .nav-overlay {
    padding: 1rem;
    justify-content: flex-start;
  }

  .nav-links,
  .nav-divider {
    width: 100%;
    padding-top: 8.625rem;
  }

  .nav-number {
    font-size: 2rem;
    margin-right: 1.5rem;
    padding-top: 0;
  }

  .nav-links a {
    font-size: 5rem;
    font-weight: bold;
    line-height: 0.8;
  }
  .close-container {
    top: 1rem;
    right: 3rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 1rem;
  }

  .hero-section .hero-items {
    align-items: stretch;
  }

  .hero-section .hero-items .tape {
    margin-bottom: -5.625rem;
    align-self: flex-end;
  }

  .hero-section .hero-items .items {
    text-align: left;
    align-self: flex-start;
  }

  .hero-section .hero-items .items .big-text,
  .hero-section .hero-items .items .big-text-icon .text {
    font-size: 5rem;
    line-height: 4rem;
    letter-spacing: -5%;
  }

  .hero-section .hero-items .items .big-text-icon .text {
    font-size: 82px;
    letter-spacing: -5%;
    line-height: 2rem;
  }

  .hero-section .items .big-text-icon .icon img {
    display: none;
  }
  .hero-section .hero-scroll-button {
    display: none;
  }

  .hero-section .items .cta-buttons {
    padding-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .cta-left-icon,
  .cta-right-icon {
    display: none;
  }

  .cta-buttons .cta-primary,
  .cta-buttons .cta-secondary {
    font-size: medium;
  }

  /* Carousel */
  .hero-section .carousel-container {
    width: 12.5rem;
    height: 12.5rem;
    margin-right: 0;
  }

  /* WO WE ARE */
  .who-we-are-section {
    padding: 1rem;
    height: auto;
  }

  .who-we-are-section .who-we-are-items .upper-text {
    font-size: 2.5rem;
    margin: 1rem 0 3rem 0;
  }

  .who-we-are-section .who-we-are-items .sub-text-icon {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .who-we-are-section .who-we-are-items .sub-text-icon .sub-text {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .who-we-are-section .who-we-are-items .sub-text-icon .sub-icon {
    display: flex;
    justify-content: center;
  }

  .who-we-are-section .who-we-are-items .sub-text-icon .sub-icon .lottie-anime {
    width: 85%;
    height: auto;
  }

  #not-on-mobile {
    display: none;
  }

  /* Showreel Section */
  .showreel-section {
    height: fit-content;
    padding: 1rem;
  }

  .showreel-section .showreel-section-items {
    background-color: #0d0d0d;
    height: auto;
    padding: 1.5rem;
  }

  .showreel-section .showreel-section-items .items-image img {
    height: auto;
    width: 100%;
  }

  .showreel-section .section-bar-2 .section-name {
    margin-left: 0;
  }
  .showreel-section .section-bar-2 .bar {
    margin-right: 0;
  }

  /* Work Section */
  .work-section {
    padding: 0.75rem 1rem;
  }

  .work-section .work-section-items .items {
    grid-template-columns: 1fr;
  }

  .work-section .work-section-items .items .items-2 {
    grid-template-columns: 1fr;
  }

  .work-section .work-section-items .items .items-2 .bottom-images {
    grid-template-columns: 1fr 1fr;
  }

  .work-section .work-partners {
    padding: 0;
  }

  .work-section .work-partners .partners-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding: 1rem 0;
    text-align: center;
  }

  .work-section .work-partners .partners-logos .logos-slide div {
    margin: 0 1.25rem;
  }

  .work-section .section-bar-2 .section-name {
    margin-left: 0;
  }
  .work-section .section-bar-2 .bar {
    margin-right: 0;
  }

  /* Footer Section */
  .footer-section {
    padding: 1rem;
  }

  .footer-section .footer-items .items .big-text-icon {
    justify-content: center;
  }

  .footer-section .footer-items .items .big-text-icon {
  margin-right: 0;
}
  .footer-section .footer-bottom-text {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;

    .cta-buttons{
    .cta-primary{
      margin-top: 2rem;
    }
  }
  }
}
