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

html {
  scrollbar-gutter: stable;
}

html,
body {
  height: 100%;
}

body {
  background-color: #010101;
  font-family: Poppins, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ========================================
   NEW PRELOADER STYLES - Bambuk Inspired
   ======================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 1, 1, 0.99);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1),
    visibility 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(181, 222, 0, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 1.5s ease;
  pointer-events: none;
}

#preloader.loaded .preloader-background {
  opacity: 1;
}

.preloader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8vw;
  z-index: 2;
  position: relative;
  max-width: 1200px;
  width: 90%;
}

/* Character Section */
.preloader-character {
  position: relative;
  width: 40vw;
  max-width: 500px;
  height: 60vh;
  max-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.preloader-char-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: drop-shadow(0 0 30px rgba(181, 222, 0, 0.3));
  display: none;
}

html[data-character="male"] .preloader-char-img[data-gender="male"],
html[data-character="female"] .preloader-char-img[data-gender="female"] {
  opacity: 1;
  display: block;
}

.preloader-char-img.active {
  opacity: 1;
  display: block;
}

.preloader-char-img:not(.active) {
  display: none;
}

/* Progress Indicator Section */
.preloader-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--text, #e7e7e0);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeInBrand 1.5s ease forwards 0.5s;
  text-shadow: 0 0 15px rgba(181, 222, 0, 0.2);
}

@keyframes fadeInBrand {
  to {
    opacity: 1;
  }
}

.circular-progress {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring__circle-bg {
  transition: stroke-dasharray 0.3s ease;
}

.progress-ring__circle {
  transition: stroke-dasharray 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
}

.preloader-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  z-index: 10001;
}

/* SCROLL BAR */
::-webkit-scrollbar {
  width: 10px;
  height: 5px;
}

.percentage-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--grass, #b5de00);
  letter-spacing: 2px;
}

.loading-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  cursor: pointer;
  z-index: 10;
}

.scroll-indicator.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-indicator p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.arrow-down {
  animation: bounce 2s ease-in-out infinite;
}

.arrow-down svg {
  stroke: var(--grass, #b5de00);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .preloader-container {
    gap: 4vw;
  }

  .preloader-character {
    width: 45vw;
    height: 50vh;
  }
}

/* ========================================
   MOBILE OPTIMIZED PRELOADER
   ======================================== */

@media (max-width: 768px) {

  /* 1. Force the main container to center everything vertically */
  .preloader-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Tighter gap for better mobile balance */
    height: 100vh;
    /* Using vh ensures it's relative to the screen height */
    width: 100%;
    max-width: 100%;
  }

  /* 2. Character scaling */
  .preloader-character {
    width: 75vw;
    height: 38vh;
    max-height: 320px;
    order: 1;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .preloader-char-img {
    height: 100%;
    width: auto;
  }

  /* 3. Loader Info Section */
  .preloader-info {
    order: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 4. Circular Progress & SVG Fix */
  .circular-progress {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .progress-ring {
    width: 110px;
    height: 110px;
  }

  /* Adjusting circle path for the smaller size */
  .progress-ring__circle,
  .progress-ring__circle-bg {
    r: 48;
    cx: 55;
    cy: 55;
  }

  .preloader-brand {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 5px;
  }

  .percentage-text {
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .loading-text {
    font-size: 0.7rem;
    margin-top: 15px;
    width: 90%;
    text-align: center;
    white-space: nowrap;
    /* Prevents wrapping */
    letter-spacing: 2px;
  }

  /* 5. Scroll Indicator - Fixed to Single Line */
  .scroll-indicator {
    bottom: 35px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
    /* CRITICAL: Keeps text on one line */
  }

  .scroll-indicator p {
    font-size: 0.75rem;
    margin: 0;
    text-align: center;
    width: 100%;
  }
}

/* Specific adjustments for small phones (iPhone SE, etc.) */
@media (max-width: 480px) {
  .preloader-character {
    width: 80vw;
    height: 35vh;
  }

  .preloader-container {
    gap: 10px;
  }

  .scroll-indicator {
    bottom: 30px;
  }

  .scroll-indicator p {
    font-size: 0.7rem;
    letter-spacing: 1px;
    /* Tighter letters to fit small screens */
  }
}

/* Prevent scroll during loading */
body.loading {
  overflow: hidden;
}

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  --index: calc(1vw + 1vh);
  --text: #e7e7e0;
  --text-dim: #94a3b8;
  --accent: #bfc98d;
  --grass: #b5de00;
  --transition: transform .75s cubic-bezier(.075, .5, 0, 1);
  --rope-x: 15%;
  --section-width: 50vw;
  --mask-start: 50%;
  --heading-offset: 35vh;
  --deep-forest: #040d0c;
  --amber: #b5de00;
  --mist-white: #f0f8ff;
  --parchment-ink: #3d2b1f;
}

/* ========================================
   FONTS
   ======================================== */
@font-face {
  font-family: Poppins;
  src: url(../fonts/poppins_regular.otf);
}

@font-face {
  font-family: Poppins;
  src: url(../fonts/poppins_black.ttf);
  font-weight: 900;
}

/* ========================================
   SCROLLBAR STYLES
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4e09b;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.custom-scroll-container {
  position: fixed;
  right: 10px;
  top: 10%;
  height: 80%;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.scroll-progress-bar {
  width: 100%;
  height: 0%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ========================================
   FIXED UI ELEMENTS
   ======================================== */

/* Brand Anchor */
.brand-anchor {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.brand-anchor.visible {
  opacity: 1;
  pointer-events: auto;
}

.brand-anchor a {
  font-family: Poppins, sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: opacity 0.3s ease;
}

.brand-anchor a:hover {
  opacity: 0.7;
}

/* Menu Toggle */
.menu-toggle {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 10000;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Audio Toggle */
.audio-toggle {
  position: fixed;
  top: 70px;
  right: 40px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  color: white;
}

.audio-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--grass);
}

.audio-toggle i {
  width: 20px;
  height: 20px;
  color: white;
}

.audio-icon-off {
  display: none;
}

.audio-toggle.muted .audio-icon-on {
  display: none;
}

.audio-toggle.muted .audio-icon-off {
  display: block;
}

/* Gender Toggle */
.gender-toggle {
  position: fixed;
  top: 16px;
  right: 110px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 5px;
  display: flex;
  gap: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gender-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--grass);
}

.gender-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.gender-icon.active {
  background: var(--grass);
  color: var(--deep-forest);
}

.gender-icon.active img {
  filter: brightness(0) invert(0) !important;
}

.gender-icon i {
  width: 18px;
  height: 18px;
}

/* Full Menu Overlay */
.full-menu {
  position: fixed;
  inset: 0;
  background: #010101;
  z-index: 9998;
  display: flex;
  align-items: center;
  padding: 5vw 10vw;
  visibility: hidden;
  opacity: 0;
}

.menu-links {
  list-style: none;
}

.menu-links li a {
  font-size: clamp(3rem, 8vw, 3rem);
  font-weight: 400;
  color: #333;
  text-decoration: none;
  line-height: 1.1;
  transition: color 0.4s ease;
  display: block;
}

.menu-links li a:hover {
  color: var(--text);
}

.menu-footer {
  position: absolute;
  bottom: 5vw;
  left: 10vw;
  right: 10vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4rem;
  text-align: left;
}

.contact-info {
  display: flex;
  gap: 4rem;
}

.info-block p {
  color: #a0a0a0;
  font-size: 0.9rem;
  margin-top: 5px;
}

.info-block h4 {
  color: #666;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.copyright {
  color: #a0a0a0;
  font-size: 0.8rem;
  text-align: right;
}

/* ========================================
   ROPE & CLIMBER
   ======================================== */
.rope-wrapper {
  position: fixed;
  top: 0;
  left: var(--rope-x);
  transform: translateX(-50%);
  height: 100vh;
  z-index: 40;
  pointer-events: none;
  transition: opacity 0.5s ease;
  transform-origin: top center;
}

.rope-wrapper img {
  height: 100%;
  width: auto;
}

.character-wrapper {
  position: fixed;
  top: 0;
  left: var(--rope-x);
  z-index: 50;
  pointer-events: none;
  will-change: transform;
  transition: opacity 0.5s ease;
  transform-origin: center center;
}

.climber-img {
  position: absolute;
  transform: translate(-51%, 10vh);
  width: 100px;
  height: auto;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}

.climber-img.active {
  opacity: 1;
  z-index: 51;
}

.character-wrapper .climber-img:not(.active) {
  display: none;
}

.bg-img {
  opacity: 1;
  z-index: 11;
}

.state-img {
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  z-index: 12;
}

.state-img.active {
  opacity: 1;
}

/* ========================================
   GSAP SMOOTH SCROLL
   ======================================== */
.wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.content {
  min-height: calc(100vh * 3);
  will-change: transform;
}

/* ========================================
   PARALLAX SECTIONS
   ======================================== */
.parallax-section {
  position: relative;
  width: 100%;
  --speed-base: 1.6;
  --speed-middle: 2.5;
  --speed-front: 5.7;
  --speed-text: 2;
}

.parallax-section::after {
  content: '';
  position: absolute;
  z-index: 100;
  width: 100%;
  height: calc(var(--index) * 10);
  background-image: var(--ground-image, url(../img/ground.png));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  top: calc(100vh - (var(--index) * 4.5));
  pointer-events: none;
}

.layers {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.layer {
  height: 100%;
  width: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: var(--transition);
}

.layers__base {
  z-index: 0;
  transform: translate3d(0, calc(var(--scrollTop) / var(--speed-base)), 0);
}

.layers__middle {
  z-index: 1;
  transform: translate3d(0, calc(var(--scrollTop) / var(--speed-middle)), 0);
}

.layers__front {
  z-index: 3;
  transform: translate3d(0, calc(var(--scrollTop) / var(--speed-front)), 0);
}

.layer__header {
  z-index: 2;
  position: relative;
  transform: translate3d(0, calc(var(--scrollTop) / var(--speed-text)), 0);
  transition: var(--transition);
  will-change: transform;
  color: var(--text);
  text-shadow: 0 0 15px #9d822b;
  pointer-events: none;
}

.parallax-section:nth-of-type(1) .layer__header {
  transform: translate3d(0, calc((var(--scrollTop) / var(--speed-text)) - 8vh), 0);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.parallax-section:nth-of-type(1) .layer__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-logo {
  width: clamp(60px, 10vw, 120px);
  height: auto;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(231, 231, 224, 0.3));
  opacity: 0.9;
}

.parallax-section:nth-of-type(2) .layer__header {
  z-index: 10;
  pointer-events: none;
}

.parallax-section:nth-of-type(2) .slider-container {
  pointer-events: auto !important;
}

.parallax-section:nth-of-type(3) .layer__header {
  top: -10vh;
  z-index: 2;
  position: relative;
  transform: translate3d(0, calc(var(--scrollTop) / var(--speed-text)), 0);
  transition: var(--transition);
  will-change: transform;
}

.layers__title {
  font-weight: 900;
  font-size: calc(var(--index) * 2.65);
  letter-spacing: calc(var(--index) / 2.25);
}

.layers__caption {
  font-weight: 400;
  font-size: calc(var(--index) / 1.175);
  letter-spacing: calc(var(--index) / 8.0);
  margin-top: calc(var(--index) * -.30);
}

/* ========================================
   SLIDER STYLES
   ======================================== */
.slider-container {
  height: 100vh;
  position: relative;
  overflow: hidden;
  pointer-events: auto !important;
  width: 100vw;
}

.mask {
  position: absolute;
  left: var(--mask-start);
  width: var(--section-width);
  height: 60vh;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  text-align: left;
}

.rail {
  display: flex;
  height: 100%;
  will-change: transform;
}

.content-slide {
  min-width: var(--section-width);
  max-width: var(--section-width);
  padding: 0 2vw;
  display: flex;
  align-items: center;
  height: 100%;
}

.content-inner {
  margin-top: 0;
  max-width: 520px;
  background-image: url('../img/card-bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 4rem 3rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.view-more-trigger {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
  font-size: 0.9rem;
}

.about-popup-content {
  color: #3d2b1f;
  text-align: left;
}

.about-popup-content h3 {
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 900;
}

.controls {
  position: absolute;
  top: 50%;
  right: 5vw;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
  pointer-events: auto;
}

.controls button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.controls button svg {
  width: 30px;
  height: 30px;
  fill: white;
  transition: fill 0.3s ease;
}

.controls button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
}

.controls button:hover:not(:disabled) svg {
  fill: var(--accent);
}

.controls button:disabled {
  opacity: 0.1;
  cursor: not-allowed;
  filter: grayscale(1);
}

.content-slide h2 {
  font-size: clamp(3rem, 7vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.content-slide p {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  text-transform: none;
}

.list {
  list-style: none;
  margin-top: 1rem;
}

.list li {
  color: #cbd5e1;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: none;
}

.list li::before {
  content: "";
  width: 15px;
  height: 2px;
  background: var(--accent);
}

/* ========================================
   INTERACTIVE SYMBOLS
   ======================================== */
.layers__interactive {
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.symbols-container {
  display: flex;
  gap: 4vw;
  pointer-events: auto;
  padding: 2rem;
  margin-top: 15vh;
}

.symbol-item {
  width: clamp(60px, 12vw, 160px);
  cursor: pointer;
  opacity: 0.8;
  mix-blend-mode: multiply;
  filter: grayscale(1) brightness(0.6);
  transition: all 0.4s ease;
}

.symbol-item:hover,
.symbol-item.active {
  opacity: 1;
  filter: grayscale(0) brightness(1.8) drop-shadow(0 0 15px var(--accent));
  transform: scale(1.3);
}

/* ========================================
   MODAL OVERLAY
   ======================================== */
#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.portfolio-panel {
  width: 90%;
  max-width: 1000px;
  position: relative;
  background-image: url('../img/parchment-frame.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 6rem 10% 4rem;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-nav {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(61, 43, 31, 0.2);
  padding-bottom: 1rem;
}

.nav-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0.4;
  transition: 0.3s;
  object-fit: contain;
}

.nav-icon.active {
  opacity: 1;
  transform: scale(1.2);
  filter: drop-shadow(0 0 5px var(--accent));
}

.panel-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.portfolio-panel>h2#panel-title {
  color: var(--parchment-ink);
  text-align: center;
  width: 100%;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.panel-content p#panel-desc {
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
  color: #3d2b1f;
  text-transform: none;
  flex-shrink: 0;
}

.desc-line-separator {
  width: 100%;
  height: 1px;
  background: rgba(61, 43, 31, 0.2);
  margin: 1.5rem 0 0.5rem;
}

.close-btn {
  position: absolute;
  top: 4.5rem;
  right: 12%;
  background: none;
  border: none;
  color: #3d2b1f;
  font-size: 3rem;
  cursor: pointer;
  z-index: 101;
}

.projects-scroll-container {
  width: 100%;
  height: auto;
  padding-top: 5px;
}

.project-card {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(61, 43, 31, 0.2);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.project-card:hover {
  opacity: 0.8;
}

.project-media {
  flex: 0 0 55%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-media video,
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #785a40;
  border: 1px solid rgba(120, 90, 64, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.project-company {
  font-size: 18px;
  color: var(--parchment-ink, #3d2b1f);
  line-height: 1.2;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  font-weight: 900;
}

.project-desc {
  font-size: 14px;
  color: #5a4330;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.project-subitems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.subitem {
  font-size: 14px;
  color: #3d2b1f;
  font-weight: 600;
}

.desc-line-separator {
  border-bottom: 1px solid rgba(61, 43, 31, 0.2);
  width: 100%;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

#panel-title {
  font-size: 1.8rem !important;
}

#panel-desc {
  font-size: 1rem !important;
}

.panel-content::-webkit-scrollbar {
  width: 6px;
}

.panel-content::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 10px;
}

/* ========================================
   WATERFALL & EFFECTS
   ======================================== */
.waterfall-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

#long-waterfall {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400%;
  background:
    linear-gradient(to bottom,
      rgba(4, 13, 12, 0.2) 0%,
      transparent 5%,
      transparent 95%,
      rgba(4, 13, 12, 0.3) 100%),
    url('../img/waterfall.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  will-change: transform;
}

body.waterfall-active .waterfall-track {
  opacity: 1;
}

.snow-particle {
  position: fixed;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

body.waterfall-active .snow-particle {
  display: block;
}

.mist-cloud {
  position: fixed;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 191, 0, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

body.waterfall-active .mist-cloud {
  opacity: 1;
}

/* ========================================
   LAYOUT BACKGROUNDS
   ======================================== */
.parallax-section:nth-of-type(1),
.parallax-section:nth-of-type(2) {
  background: #010101;
}

.parallax-section:nth-of-type(3) {
  background: transparent;
}

.post-parallax-content {
  position: relative;
  z-index: 1;
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.post-parallax-content,
.post-parallax-content * {
  font-family: Poppins, sans-serif !important;
}

/* ========================================
   NEW SECTIONS
   ======================================== */
.new-section {
  min-height: 100vh;
  padding: 120px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  background: transparent;
}

.new-section-footer {
  padding: 100px 10% 40px;
  text-align: center;
  background: linear-gradient(to bottom, transparent, #020706 90%);
  position: relative;
  z-index: 2;
  width: 100%;
  flex-shrink: 0;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.section-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--mist-white, #f0f8ff);
  text-shadow: -2px -2px 2px rgba(0, 0, 0, 0.6), 1px 1px 2px rgba(0, 0, 0, 0.5), 4px 6px 8px rgba(0, 0, 0, 0.6);
}

/* ========================================
   GRID & CARDS
   ======================================== */
.post-parallax-content .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.post-parallax-content .glass-card {
  padding: 35px 25px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(25px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: .6s cubic-bezier(.16, 1, .3, 1);
  overflow: hidden;
  color: var(--mist-white, #f0f8ff);
}

.post-parallax-content .glass-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .8), 0 0 60px rgba(181, 222, 0, .2);
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.post-parallax-content .why-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.post-parallax-content .icon-circle {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber, #b5de00);
  color: var(--deep-forest, #040d0c);
}

/* ========================================
   PACKAGES
   ======================================== */
.post-parallax-content .package-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px 30px;
  justify-content: flex-start;
}

.post-parallax-content .accent-bar {
  width: 40px;
  height: 4px;
  background: var(--accent-red, #b5de00);
  margin-bottom: 20px;
  border-radius: 2px;
}

.post-parallax-content .package-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: #fff;
}

.post-parallax-content .package-subtitle {
  display: block;
  font-size: 0.95rem;
  color: rgba(240, 248, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.5;
}

.post-parallax-content .package-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 35px;
  text-align: left;
  display: inline-block;
  max-width: 100%;
}

.post-parallax-content .package-list li {
  text-align: left;
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.post-parallax-content .package-list li::before {
  content: "•";
  color: var(--amber, #b5de00);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
}

.post-parallax-content .btn-water {
  padding: 15px 40px;
  border: none;
  border-radius: 100px;
  background: linear-gradient(135deg, #b5de00, #b5de00);
  font-weight: 800;
  cursor: pointer;
  transition: .4s;
  color: #000;
}

/* ========================================
   LOGO TICKER
   ======================================== */
.post-parallax-content .logo-ticker-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.post-parallax-content .logo-track {
  display: flex;
  width: max-content;
  animation: scrollLogos 40s linear infinite;
}

.post-parallax-content .logo-item img {
  max-width: 250px;
  filter: grayscale(1) brightness(0.5) opacity(0.8);
  transition: 0.5s ease;
  padding: 0 30px;
}

.post-parallax-content .logo-item img:hover {
  filter: grayscale(0) brightness(1) opacity(1);
  transform: scale(1.1);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   TESTIMONIALS - FIXED HEIGHT (UPDATED)
   ======================================== */
.post-parallax-content .testimonial-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 0 15px;
  color: #f0f8ff;
}

.post-parallax-content .testimonial-glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 60px;
  min-height: 450px;
  height: 450px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.post-parallax-content .testimonial-slide {
  display: flex;
  align-items: center;
  gap: 50px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s;
  pointer-events: none;
}

.post-parallax-content .testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.post-parallax-content .testimonial-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid white;
  object-fit: cover;
  flex-shrink: 0;
}

.post-parallax-content .avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
}

.post-parallax-content .avatar-wrapper::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: var(--amber, #b5de00);
  border-radius: 50%;
  top: -10%;
  left: -10%;
  z-index: -1;
  opacity: 0.5;
}

.post-parallax-content .quote-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 330px;
  overflow: hidden;
}

.post-parallax-content .quote-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #f0f8ff;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 153.6px;
}

.post-parallax-content .quote-author {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber, #b5de00);
  margin-bottom: 5px;
  white-space: nowrap;
}

.post-parallax-content .quote-role {
  font-size: 0.95rem;
  color: rgba(240, 248, 255, 0.7);
  white-space: nowrap;
}

.post-parallax-content .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--amber, #b5de00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.post-parallax-content .nav-btn:hover {
  background: #9dc400;
  transform: translateY(-50%) scale(1.1);
}

.post-parallax-content .nav-btn i {
  width: 24px;
  height: 24px;
  color: #040d0c;
}

.post-parallax-content .prev {
  left: -25px;
}

.post-parallax-content .next {
  right: -25px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.post-parallax-content .contact-glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 2fr 0.5fr;
  gap: 40px;
  align-items: center;
  color: #f0f8ff;
}

.contact-heading {
  color: #f0f8ff;
  text-shadow:
    -2px -2px 2px rgba(0, 0, 0, 0.6),
    1px 1px 2px rgba(0, 0, 0, 0.5),
    4px 6px 8px rgba(0, 0, 0, 0.6);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 4px;
  position: relative;
  margin-bottom: 10px;
}

.post-parallax-content .contact-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.post-parallax-content .service-chip {
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: 0.3s;
  font-size: 0.9rem;
  color: var(--mist-white, #f0f8ff);
}

.post-parallax-content .service-chip:has(input:checked),
.post-parallax-content .service-chip.active {
  background: var(--amber, #b5de00);
  color: #000;
  font-weight: 700;
}

.post-parallax-content .service-chip input {
  display: none;
}

.post-parallax-content .minimal-input-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.post-parallax-content .minimal-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
  color: white;
  font-size: 1.1rem;
  transition: 0.3s;
  font-family: Poppins, sans-serif;
}

.post-parallax-content .minimal-input:focus {
  border-bottom-color: var(--amber, #b5de00);
  outline: none;
}

.post-parallax-content .minimal-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.post-parallax-content .btn-send-oval {
  width: 70px;
  height: 160px;
  border-radius: 100px;
  border: 2px solid var(--amber, #b5de00);
  background: transparent;
  color: white;
  font-weight: 900;
  cursor: pointer;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transition: 0.4s;
  letter-spacing: 2px;
  font-family: Poppins, sans-serif;
}

.post-parallax-content .btn-send-oval:hover {
  background: var(--amber, #b5de00);
  color: #000;
  box-shadow: 0 0 30px rgba(255, 191, 0, 0.3);
}

.post-parallax-content .contact-text-box {
  background: rgba(181, 222, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 80px;
  padding: 1.5rem 2rem;
  margin-bottom: 20px;
  display: inline-block;
  color: #e4ebf2;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 2px;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   FOOTER
   ======================================== */
.post-parallax-content .social-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.post-parallax-content .social-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: 0.3s;
  text-decoration: none;
}

.post-parallax-content .social-item:hover {
  border-color: var(--amber, #b5de00);
  color: var(--amber, #b5de00);
  transform: translateY(-5px);
}

/* Footer Character */
.footer-character {
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 200px;
  height: 300px;
  pointer-events: none;
  z-index: 0;
}

.footer-char-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.footer-char-img.active {
  opacity: 1;
}

.footer-char-img:not(.active) {
  display: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.post-parallax-content .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s ease-out;
}

.post-parallax-content .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --mask-start: 10%;
    --section-width: 80vw;
  }

  /* Force disable parallax and climber on mobile */
  .parallax-section,
  .post-parallax-content {
    --scrollTop: 0 !important;
  }

  /* 👇 THE SINGLE IMAGE FIX 👇 */

  /* 1. Completely hide the heavy overlapping layers */
  .layers__base,
  .layers__middle,
  .layers__front {
    display: none !important;
  }

  /* 2. Apply your flattened images directly to the parent container */
  .parallax-section:nth-of-type(1) .layers {
    background-image: url('../img/bg-section1-mobile.jpg');
    background-size: cover;
    background-position: center;
  }

  .parallax-section:nth-of-type(2) .layers {
    background-image: url('../img/bg-section2-mobile.jpg');
    background-size: cover;
    background-position: center;
  }

  .parallax-section:nth-of-type(3) .layers {
    background-image: url('../img/bg-section3-mobile.jpg');
    background-size: cover;
    background-position: center;
  }

  /* 3. Strip any leftover transforms from the text/interactive layers so they sit still */
  .layer__header {
    transform: none !important;
    will-change: auto !important;
    position: relative;
    z-index: 10;
  }

  .layers__interactive {
    transform: none !important;
    will-change: auto !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
  }

  #climber,
  .rope-wrapper {
    display: none !important;
  }

  /* Restore DOM waterfall for JS control */
  .waterfall-track {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #long-waterfall {
    transform: translateZ(0);
    /* Hardware accel */
    width: 100% !important;
    height: 130% !important;
    max-width: none !important;
    will-change: transform;
    backface-visibility: hidden;
  }

  .gender-toggle {
    display: none !important;
  }

  .snow-particle {
    display: none !important;
  }

  .post-parallax-content .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .audio-toggle {
    top: 70px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .post-parallax-content .testimonial-glass-card {
    min-height: 400px;
    height: 400px;
    padding: 40px;
  }

  .post-parallax-content .testimonial-slide {
    padding: 40px;
  }

  .post-parallax-content .quote-content {
    height: 280px;
  }

  .post-parallax-content .quote-text {
    font-size: 1rem;
    line-height: 1.6;
    -webkit-line-clamp: 5;
    max-height: 128px;
  }

  .post-parallax-content .testimonial-avatar,
  .post-parallax-content .avatar-wrapper {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .post-parallax-content .grid-3 {
    grid-template-columns: 1fr;
  }

  .post-parallax-content .contact-glass-card {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .post-parallax-content .minimal-input-container {
    flex-direction: column;
    gap: 0;
  }

  .post-parallax-content .testimonial-slide.active {
    flex-direction: column;
    text-align: center;
  }

  .post-parallax-content .btn-send-oval {
    width: 100%;
    height: 60px;
    writing-mode: horizontal-tb;
  }

  .post-parallax-content .prev {
    left: 10px;
  }

  .post-parallax-content .next {
    right: 10px;
  }

  .new-section {
    padding: 80px 5%;
  }

  .content-slide h2 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  }

  .content-slide p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .audio-toggle {
    top: 70px;
    right: 30px;
    width: 44px;
    height: 44px;
  }

  .footer-character {
    /* width: 150px;
    height: 225px;
    left: 5%; */
    display: none !important;
  }

  .gender-toggle {
    right: 90px;
  }

  .gender-icon {
    width: 28px;
    height: 28px;
  }

  .portfolio-panel {
    width: 100%;
    padding: 4.5rem 12% 2.5rem;
    min-height: auto;
    background-size: cover;
    background-position: center;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .modal-nav {
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .nav-icon {
    width: 28px;
  }

  .close-btn {
    top: 2.5rem;
    right: 10%;
  }

  .project-card {
    flex-direction: column;
    gap: 1.5rem;
  }

  .project-media {
    flex: 0 0 auto;
    width: 100%;
  }

  .post-parallax-content .testimonial-glass-card {
    min-height: 480px;
    height: 480px !important;
    padding: 40px 25px;
  }

  .post-parallax-content .testimonial-slide {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
    gap: 25px;
    width: 100%;
    height: 100%;
  }

  .post-parallax-content .quote-content {
    height: 280px !important;
    width: 100%;
    overflow: hidden;
  }

  .post-parallax-content .quote-text {
    font-size: 0.95rem;
    line-height: 1.5;
    -webkit-line-clamp: 7;
    max-height: 156.75px;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .post-parallax-content .testimonial-avatar,
  .post-parallax-content .avatar-wrapper {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
  }

  .post-parallax-content .quote-author {
    font-size: 1.1rem;
  }

  .post-parallax-content .quote-role {
    font-size: 0.85rem;
  }

  .post-parallax-content .nav-btn {
    width: 40px;
    height: 40px;
  }

  .post-parallax-content .nav-btn i {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .post-parallax-content .testimonial-glass-card {
    min-height: 500px;
    height: 500px !important;
    padding: 30px 20px;
  }

  .post-parallax-content .testimonial-slide {
    padding: 30px 20px;
  }

  .post-parallax-content .quote-content {
    height: 300px !important;
  }

  .post-parallax-content .quote-text {
    font-size: 0.9rem;
    line-height: 1.5;
    -webkit-line-clamp: 8;
    max-height: 162px;
  }

  .post-parallax-content .testimonial-avatar,
  .post-parallax-content .avatar-wrapper {
    width: 100px;
    height: 100px;
  }

}

/* ========================================
   MOBILE MENU FIXES
   ======================================== */
@media (max-width: 768px) {
  .full-menu {
    align-items: flex-start;
    padding: 100px 10vw 50px;
    overflow-y: auto;
  }

  .menu-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .menu-nav {
    flex: 1;
  }

  .menu-links li {
    margin-bottom: 12px;
  }

  .menu-links li a {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .menu-footer {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 40px;
    padding-bottom: 20px;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .menu-links li a {
    font-size: 2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 65px;
  height: 65px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
              0 0 20px rgba(181, 222, 0, 0.1);
  animation: floatBob 3s ease-in-out infinite;
  opacity: 0; /* Handled by entrance animation */
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #b5de00;
  transition: transform 0.4s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(181, 222, 0, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 
              0 0 30px rgba(181, 222, 0, 0.4);
}

.whatsapp-float:hover svg {
  transform: scale(1.1);
}

@keyframes floatBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Entrance Animation */
@keyframes fadeInUpScale {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.whatsapp-float {
  animation: fadeInUpScale 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
             floatBob 3s ease-in-out infinite 1s;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}