/* =========================
   EDIT HERE — EASY CONTROLS
========================= */

:root {

  /* ─────────────── NAVIGATION ─────────────── */
  --nav-height: 70px;
  --nav-padding-side: 40px;
  --nav-logo-size: 36px;
  --nav-logo-offset: 60px;
  --nav-link-size: 0.75rem;
  --nav-link-spacing: 0.12em;
  --nav-link-gap: 80px;

  /* ─────────────── HERO BRAND BLOCK ─────────────── */
  --brand-logo-width: 210px;
  --brand-logo-max-width: 80vw;
  --brand-bottom: 110px;
  --brand-gap: 16px;
  --brand-tagline-offset: -10px;
  --brand-heading-size: clamp(1.2rem, 2vw, 1.8rem);
  --brand-tagline-size: 0.68rem;
  --brand-tagline-spacing: 0.35em;
  --brand-btn-padding-y: 14px;
  --brand-btn-padding-x: 34px;
  --brand-btn-font-size: 0.8rem;
  --brand-btn-margin-top: 10px;
  --hero-overlay-opacity: 0.50;

  /* ─────────────── COLORS ─────────────── */
  --color-bg: #040f10;
  --color-text: #f3eaea;
  --color-accent: #00e181;
  --color-dark-green: #02634c;

  /* ─────────────── STORY TEXT ─────────────── */
  --story-title-size: clamp(4rem, 12vw, 10rem);
  --story-subtitle-size: 0.9rem;

  /* ─────────────── SECTIONS ─────────────── */
  --section-padding: 100px 40px;

  /* ─────────────── PORTFOLIO ─────────────── */
  --portfolio-box-size: 640px;
  --portfolio-gap: 20px;
  --portfolio-image-opacity: 0.15;
  --portfolio-image-opacity-hover: 1;

  /* ─────────────── LIGHTBOX ─────────────── */
  --lightbox-max-width: 600px;
  --lightbox-max-height: 600px;
  --lightbox-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.25);
  --lightbox-arrow-size: 50px;
  --lightbox-close-size: 16px;

  /* ─────────────── ABOUT SECTION ─────────────── */
  --about-bg-height: 100vh;
  --about-left-offset-left: 0px;
  --about-left-offset-top: 0px;
  --about-icon-size: 70px;
  --about-icon-offset-left: 0px;
  --about-icon-offset-top: -90px;
  --about-label-size: 0.7rem;
  --about-label-offset-left: 0px;
  --about-label-offset-top: 0px;
  --about-heading-size: 4.35rem;
  --about-heading-offset-left: 0px;
  --about-heading-offset-top: 0px;
  --about-line-width: 60px;
  --about-line-offset-left: 0px;
  --about-line-offset-top: 0px;
  --about-right-offset-left: 0px;
  --about-right-offset-top: 0px;
  --about-text-size: 1.03rem;
  --about-text-offset-left: 0px;
  --about-text-offset-top: 0px;
  --about-text-line-height: 1.4;
  --about-text-margin-bottom: 14px;

  /* ─────────────── CLIENTS SECTION ─────────────── */
  --clients-height: 160px;
  --clients-logo-height: 90px; --> LOGO Size
  --clients-gap: 250px;
  --clients-logo-offset-top: 0px;
  
  
--clients-text-size: 5.5rem;
--clients-scroll-speed: 4.5;   /* Will connect in JS (Step 3) */
  

  /* ─────────────── CONTACT SECTION ─────────────── */
  --contact-form-offset-right: -20px;
  --contact-form-offset-top: 0px;
  --contact-heading-offset-left: 60px;
  --contact-heading-offset-top: -75px;

  /* ─────────────── FOOTER ─────────────── */
  --footer-padding-top: 90px;
  --footer-padding-side: 60px;
  --footer-padding-bottom: 38px;
  --footer-brand-offset: 60px;
  --footer-nav-offset: 0px;
  --footer-newsletter-offset: 75px;
  --footer-logo-width: 150px;
  --footer-copyright-offset-top: 35px;
  --footer-divider-offset-top: 40px;
  --footer-btn-offset-top: 10px;
  --footer-social-offset-top: 20px;
}

/* =========================
   BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--color-bg);
  color: var(--color-text);
  cursor: none;
  width: 100%;
  max-width: 100vw;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.loaded {
  visibility: visible;
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   INTRO
========================= */
.intro {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro.fade-out {
  opacity: 0;
}

.intro-text {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-sub {
  margin-top: 20px;
  color: var(--color-accent);
  letter-spacing: 0.7em;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile break helper — hidden on desktop, visible on mobile */
.mobile-break {
  display: none;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(4, 15, 16, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.6s ease;
}

.nav.reveal {
  opacity: 1;
  transform: translateY(0);
}

.nav-inner {
  max-width: 1920px;
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--nav-padding-side);
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: var(--nav-logo-offset);
}

.nav-logo img {
  width: var(--nav-logo-size);
  height: var(--nav-logo-size);
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.nav-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--nav-link-gap);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 101;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--nav-link-size);
  font-weight: 600;
  letter-spacing: var(--nav-link-spacing);
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 65%;
}

.nav-link.active,
.nav-link:hover {
  color: var(--color-accent);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  clip-path: inset(0);
}

.hero.visible {
  opacity: 1;
}

.slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 900ms ease, transform 5000ms ease;
  will-change: transform;
}

.slide.active {
  opacity: 1;
  transform: scale(1.02);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 16, var(--hero-overlay-opacity));
}

/* =========================
   STORY CONTENT
========================= */
.story-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.story-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  transition: all 0.6s ease;
}

.story-title {
  color: var(--color-text);
  font-size: var(--story-title-size);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -3px;
  text-transform: uppercase;
  transition: transform 0.4s ease, opacity 0.4s ease;
  max-width: 90vw;
  word-break: break-word;
}

.story-subtitle {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: var(--story-subtitle-size);
  margin-top: 18px;
  font-weight: 600;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.accent {
  color: var(--color-accent);
}

.serif {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: var(--color-accent) !important;
  text-transform: none !important;
}

/* =========================
   HERO BRAND BLOCK
========================= */
.hero-brand {
  position: absolute;
  left: 50%;
  bottom: var(--brand-bottom);
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--brand-gap);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-brand.reveal {
  opacity: 1;
  pointer-events: auto;
}

.hero-logo {
  width: var(--brand-logo-width);
  max-width: var(--brand-logo-max-width);
  height: auto;
  opacity: 0;
  transform: translateY(-40px);
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
}

.hero-brand.reveal .hero-logo {
  opacity: 0.95;
  transform: translateY(0);
}

.hero-heading {
  color: var(--color-text);
  font-size: var(--brand-heading-size);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.08em;
  margin: 0;
  opacity: 0;
  transform: translateY(-40px);
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.06s, opacity 0.6s ease 0.06s;
}

.hero-brand.reveal .hero-heading {
  opacity: 1;
  transform: translateY(0);
}

.hero-tagline {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: var(--brand-tagline-spacing);
  font-size: var(--brand-tagline-size);
  margin: 0;
  opacity: 0;
  transform: translateY(-40px);
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.12s, opacity 0.6s ease 0.12s;
  margin-top: var(--brand-tagline-offset);
}

.hero-brand.reveal .hero-tagline {
  opacity: 1;
  transform: translateY(0);
}

.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--brand-btn-padding-y) var(--brand-btn-padding-x);
  text-decoration: none;
  color: var(--color-text);
  border: 2px solid #00e181;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.18s, opacity 0.6s ease 0.18s, box-shadow 0.35s ease;
  margin-top: var(--brand-btn-margin-top);
  transform: translateY(40px);
}

.hero-brand.reveal .hero-btn {
  opacity: 1;
  transform: translateY(0);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 225, 129, 0.15);
  border-color: #f3eaea;
  color: #00e181;
}

/* =========================
   HERO DIVIDER
========================= */
.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  overflow: hidden;
  z-index: 5;
}

.hero-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #040f10 0%, #02634c 20%, #00e181 50%, #02634c 80%, #040f10 100%);
  background-size: 200% 100%;
  animation: dividerFlow 10s linear infinite;
}

@keyframes dividerFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* =========================
   PAGE SECTIONS
========================= */
.section-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  padding: 0;
  background: var(--color-bg);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.9s ease;
  will-change: transform, opacity;
}

.section-page.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section-inner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-inner p {
  font-size: 1rem;
  opacity: 0.6;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* =========================
   PORTFOLIO SECTION
========================= */
.portfolio-section {
  align-items: stretch;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.portfolio-inner {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.portfolio-box {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--color-bg);
  border: none;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
}

.portfolio-box:hover {
  z-index: 10;
  transform: scale(1.03);
}

.portfolio-box-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: var(--portfolio-image-opacity);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.portfolio-box:hover .portfolio-box-image {
  opacity: var(--portfolio-image-opacity-hover);
  transform: scale(1.05);
}

.portfolio-box-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.65rem !important;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 234, 234, 0.85);
  transition: opacity 0.4s ease;
  z-index: 2;
  padding-bottom: 12px;
  display: inline-block;
}

.portfolio-box-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: rgba(0, 225, 129, 0.3);
}

.portfolio-box:hover .portfolio-box-title {
  opacity: 0;
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 16, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  width: min(90vw, 600px);
  height: min(90vw, 600px);
  aspect-ratio: 1 / 1;
  background: var(--color-bg);
  box-shadow: var(--lightbox-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lightbox.active .lightbox-container {
  transform: scale(1);
}

.lightbox-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  transition: background-size 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lightbox-image.zoomed {
  background-size: 220%;
  cursor: grab;
}

.lightbox-image.zoomed:active {
  cursor: grabbing;
}

/* Zoom toggle */
.lightbox-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  transition: background-size 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease;
  touch-action: pinch-zoom;   /* ← ADD THIS LINE */
}

/* Hide arrows and counter when zoomed */
.lightbox-container .lightbox-arrow,
.lightbox-container .lightbox-counter {
  transition: opacity 0.3s ease;
}

.lightbox-container.zoomed .lightbox-arrow,
.lightbox-container.zoomed .lightbox-counter {
  opacity: 0;
  pointer-events: none;
}

.lightbox-close {
  position: absolute;
  top: -32px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: var(--lightbox-close-size);
  cursor: pointer;
  z-index: 5;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.lightbox-close:hover {
  opacity: 0.6;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
background: rgba(0, 225, 129, 0.08);
border: 1px solid rgba(0, 225, 129, 0.3);
border-radius: 50%;
  color: var(--color-accent);
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
  width: var(--lightbox-arrow-size);
  height: var(--lightbox-arrow-size);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  opacity: 0.7;
}

.lightbox-arrow:hover {
  background: rgba(0, 225, 129, 0.15);
  border-color: #00e181;
  opacity: 1;
}

.lightbox-arrow-left {
  left: 20px;
}

.lightbox-arrow-right {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-text);
  opacity: 0.7;
  z-index: 5;
}

/* =========================
   ABOUT SECTION
========================= */
.about-section {
  padding: 0;
  min-height: var(--about-bg-height);
  background: linear-gradient(180deg, #040f10 0%, #040f10 15%, #031c16 30%, #02261e 50%, #013025 70%, #02634c 100%);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--about-bg-height);
}

.about-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 60px;
  position: relative;
  background: transparent;
  padding-left: calc(60px + var(--about-left-offset-left));
  padding-top: calc(80px + var(--about-left-offset-top));
}

.about-left-content {
  text-align: left;
}

.about-icon {
  width: var(--about-icon-size);
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
  margin-left: var(--about-icon-offset-left);
  margin-top: var(--about-icon-offset-top);
}

.about-label {
  font-size: var(--about-label-size);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.8;
  margin-bottom: 20px;
  font-weight: 600;
  margin-left: var(--about-label-offset-left);
  margin-top: var(--about-label-offset-top);
}

.about-heading {
  font-size: var(--about-heading-size);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 30px;
  margin-left: var(--about-heading-offset-left);
  margin-top: var(--about-heading-offset-top);
}

.about-heading span {
  color: var(--color-accent);
}

.about-line {
  width: var(--about-line-width);
  height: 2px;
  background: var(--color-accent);
  margin-left: var(--about-line-offset-left);
  margin-top: var(--about-line-offset-top);
}

.about-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  background: transparent;
  padding-left: calc(60px + var(--about-right-offset-left));
  padding-top: calc(80px + var(--about-right-offset-top));
}

.about-right-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  text-align: left;
}

.about-text {
  font-size: var(--about-text-size);
  line-height: var(--about-text-line-height);
  color: rgba(243, 234, 234, 0.85);
  margin-bottom: var(--about-text-margin-bottom);
  font-weight: 400;
  margin-left: var(--about-text-offset-left);
  margin-top: var(--about-text-offset-top);
}

.about-text:last-of-type {
  margin-bottom: 0;
}

/* =========================
   CLIENTS SECTION
========================= */
.clients-section {
  min-height: auto;
  height: var(--clients-height);
  background: #02634c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.clients-track-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 150px !important;
  width: max-content;
  height: 100%;
  padding-top: var(--clients-logo-offset-top);
}

/* New scrolling text styles */
.clients-text {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--clients-text-size, 1.5rem);
  font-weight: 900;
  color: #f3eaea;
  white-space: nowrap;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.clients-divider {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--clients-text-size, 1.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 20px;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  padding: 0;
  min-height: 100vh;
  background: #040f10;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.contact-left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 60px;
  padding-right: calc(60px + var(--contact-form-offset-right));
  padding-top: calc(80px + var(--contact-form-offset-top));
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 500px;
}

.contact-input,
.contact-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(243, 234, 234, 0.2);
  padding: 14px 0;
  color: #f3eaea;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(243, 234, 234, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

.contact-input:focus,
.contact-textarea:focus {
  border-bottom-color: #00e181;
}

.contact-textarea {
  resize: none;
}

.contact-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  color: #f3eaea;
  border: 2px solid #00e181;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  margin-top: 20px;
  align-self: flex-start;
  font-family: 'Montserrat', sans-serif;
}

.contact-btn span {
  position: relative;
  z-index: 3;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 225, 129, 0.15);
  border-color: #f3eaea;
  color: #00e181;
}

.contact-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 60px;
  padding-left: calc(60px + var(--contact-heading-offset-left));
  padding-top: calc(80px + var(--contact-heading-offset-top));
}

.contact-right-content {
  text-align: left;
}

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.8;
  margin-bottom: 16px;
  font-weight: 600;
}

.contact-heading {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  color: #f3eaea;
  margin-bottom: 24px;
}

.contact-line {
  width: 60px;
  height: 2px;
  background: #00e181;
  margin-bottom: 30px;
}

.contact-info {
  font-size: 0.85rem;
  color: rgba(243, 234, 234, 0.6);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* =========================
   CUSTOM SCROLLBAR
========================= */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #040f10;
}

::-webkit-scrollbar-thumb {
  background: #02634c;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00e181;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #02634c #040f10;
}

/* =========================
   FOOTER TOP DIVIDER
========================= */
.footer-top-divider {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: #040f10;
}

.footer-top-divider::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #040f10 0%, #02634c 20%, #00e181 50%, #02634c 80%, #040f10 100%);
  background-size: 200% 100%;
  animation: footerDividerFlow 10s linear infinite;
}

@keyframes footerDividerFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #040f10;
  padding: var(--footer-padding-top) var(--footer-padding-side) var(--footer-padding-bottom);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.footer-brand {
  text-align: left;
  padding-left: var(--footer-brand-offset);
}

.footer-logo {
  width: var(--footer-logo-width);
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(243, 234, 234, 0.5);
  letter-spacing: 0.05em;
}

.footer-nav {
  text-align: center;
  padding-left: var(--footer-nav-offset);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(243, 234, 234, 0.6);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00e181;
}

.footer-newsletter {
  text-align: left;
  margin-left: var(--footer-newsletter-offset);
}

.footer-newsletter-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(243, 234, 234, 0.5);
  margin-bottom: 14px;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(243, 234, 234, 0.2);
  padding: 10px 0;
  color: #f3eaea;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  outline: none;
  width: 100%;
  max-width: 260px;
  transition: border-color 0.3s ease;
}

.footer-input::placeholder {
  color: rgba(243, 234, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.footer-input:focus {
  border-bottom-color: #00e181;
}

.footer-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  color: #f3eaea;
  border: 1px solid #00e181;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  margin-top: var(--footer-btn-offset-top);
}

.footer-btn span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 225, 129, 0.12);
  border-color: #f3eaea;
  color: #00e181;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
  margin-top: var(--footer-social-offset-top);
}

.footer-social-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 234, 234, 0.3);
  color: rgba(243, 234, 234, 0.5);
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.footer-social-box:hover {
  border-color: #00e181;
  color: #00e181;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 225, 129, 0.3) 20%, rgba(0, 225, 129, 0.5) 50%, rgba(0, 225, 129, 0.3) 80%, transparent 100%);
  margin-bottom: 20px;
  margin-top: var(--footer-divider-offset-top);
}

.footer-bottom {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(243, 234, 234, 0.35);
  margin-top: var(--footer-copyright-offset-top);
}

.privacy-link {
  color: rgba(243, 234, 234, 0.4);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: var(--color-accent);
}

/* =========================
   CURSOR
========================= */
#cursor {
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
  opacity: 0.6;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

#cursor.hover {
  width: 34px;
  height: 34px;
  opacity: 0.14;
}

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

/* Show mobile break on phones only */
@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }
}

@media (max-width: 1024px) {
  :root {
    --portfolio-box-size: 300px;
    --portfolio-gap: 14px;
    --lightbox-arrow-size: 34px;
  }

  /* Hero adjustments for horizontal tablet */
  .hero-logo {
    width: 160px;
  }

  .hero-heading {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.6rem;
  }

  .hero-btn {
    padding: 12px 28px;
  }

  .hero-btn span {
    font-size: 0.7rem;
  }

  .about-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-left {
    padding: 80px 40px 40px;
    min-height: auto;
  }

  .about-right {
    padding: 40px 40px 60px;
    min-height: auto;
  }

  .about-heading {
    font-size: 3rem;
  }

  .contact-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-right {
    padding: 60px 40px 20px;
    min-height: auto;
    border-left: none;
    border-bottom: 1px solid rgba(0, 225, 129, 0.15);
    order: 1;
  }

  .contact-left {
    padding: 30px 40px 60px;
    order: 2;
  }

  .contact-heading {
    font-size: 2.4rem;
  }

  .nav-inner {
    max-width: 100%;
  }

.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
}

  .lightbox-arrow-left {
    left: 14px;
  }

  .lightbox-arrow-right {
    right: 14px;
  }

  .footer {
    padding: 40px 24px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand,
  .footer-nav,
  .footer-newsletter {
    text-align: center;
  }

  .footer-brand {
    padding-left: 0;
  }

  .footer-newsletter {
    margin-left: 0;
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-form {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .clients-section {
    height: 100px;
  }

  .clients-logo {
    height: 36px;
  }

  .clients-track {
    gap: 36px !important;
  }
}

.lightbox-image {
  cursor: default;          /* No special cursor on mobile */
}

.lightbox-image.zoomed {
  cursor: default;
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --nav-padding-side: 16px;
    --nav-logo-size: 24px;
    --nav-link-size: 0.6rem;
    --nav-link-gap: 12px;
    --section-padding: 80px 20px;
    --portfolio-box-size: 100%;
    --portfolio-gap: 12px;
    --lightbox-max-width: 95vw;
    --lightbox-arrow-size: 30px;
    --lightbox-close-size: 14px;
  }

  .nav-logo {
    margin-left: 0;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-link::after {
    bottom: -2px;
  }

  .hero-logo {
    width: 140px;
  }

  .hero-heading {
    font-size: 0.85rem;
  }

  .hero-tagline {
    font-size: 0.55rem;
  }

  .hero-btn {
    padding: 10px 22px;
  }

  .hero-btn span {
    font-size: 0.65rem;
  }

  .hero-brand {
    bottom: 60px;
    gap: 10px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0;
    gap: 0;
  }

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

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

  .about-left {
    padding: 100px 24px 30px;
  }

  .about-right {
    padding: 20px 24px 50px;
  }

  .about-heading {
    font-size: 2.4rem;
  }

  .about-icon {
    margin-top: 0;
  }

  .contact-right {
    padding: 50px 24px 16px;
  }

  .contact-left {
    padding: 16px 24px 50px;
  }

  #cursor {
    display: none;
  }
}
@media (max-width: 1024px) and (orientation: landscape) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .portfolio-box {
    aspect-ratio: auto;
    height: 45vw;
    max-height: 50vh;
  }
}
.footer-form-message {
  font-size: 0.7rem;
  margin-top: 16px;
  letter-spacing: 0.05em;
  display: none;
}

.footer-form-message.success {
  color: #00e181;
}

.footer-form-message.error {
  color: #f3eaea;
}

/* Contact form spam honeypot */
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
