@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

/* ─── STATIC BRAND COLORS (shared across all themes) ─── */
:root {
  --blue: #1a5adc;
  --blue-bright: #2a7fff;
  --cyan: #00b4d8;
  --red: #c0392b;
  --gold: #f0a500;

  /* Dark theme palette (used for dark mode) */
  --navy: #0a1628;
  --navy-mid: #0d1f3c;
  --navy-light: #1a2f50;

  /* ── LIGHT THEME (default) ── */
  --bg: #f4f7fc;
  --bg-mid: #e4edf8;
  --text: #0a1628;
  --text-muted: #4a6080;
  --white-var: #0a1628;
  --gray-var: #4a6080;
  --nav-bg: rgba(255, 255, 255, 0.93);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.99);
  --nav-border: rgba(26, 90, 220, 0.18);
  --nav-shadow: 0 4px 30px rgba(26, 90, 220, 0.12);
  --nav-text: rgba(10, 22, 40, 0.72);
  --nav-text-active: #0a1628;
  --mobile-nav-bg: rgba(244, 247, 252, 0.98);
  --mobile-nav-border: rgba(26, 90, 220, 0.15);
  --hamburger-color: #0a1628;
  --card-bg: rgba(10, 22, 40, 0.03);
  --card-border: rgba(10, 22, 40, 0.09);
  --card-hover-bg: rgba(26, 90, 220, 0.06);
  --card-hover-border: rgba(26, 90, 220, 0.25);
  --card-shadow: 0 20px 50px rgba(26, 90, 220, 0.1);
  --service-icon-bg: linear-gradient(135deg, rgba(26, 90, 220, 0.12), rgba(0, 180, 216, 0.12));
  --service-icon-border: rgba(0, 180, 216, 0.2);
  --section-bg: linear-gradient(180deg, #f4f7fc 0%, #e4edf8 100%);
  --clients-bg: #dde8f6;
  --client-item-bg: rgba(255, 255, 255, 0.85);
  --client-name: rgba(10, 22, 40, 0.8);
  --partner-tag-bg: rgba(10, 22, 40, 0.05);
  --partner-tag-border: rgba(10, 22, 40, 0.12);
  --partner-tag-color: #4a6080;
  --form-wrap-bg: rgba(10, 22, 40, 0.03);
  --form-wrap-border: rgba(10, 22, 40, 0.09);
  --input-bg: rgba(10, 22, 40, 0.04);
  --input-border: rgba(10, 22, 40, 0.13);
  --input-color: #0a1628;
  --input-placeholder: rgba(74, 96, 128, 0.5);
  --input-focus-bg: rgba(0, 180, 216, 0.05);
  --select-option-bg: #f4f7fc;
  --footer-bg: #d8e6f6;
  --footer-border: rgba(10, 22, 40, 0.08);
  --footer-text: #4a6080;
  --footer-link-before: #1a5adc;
  --contact-icon-bg: rgba(26, 90, 220, 0.1);
  --contact-icon-border: rgba(26, 90, 220, 0.25);
  --about-accent-border: #f4f7fc;
  --value-card-bg: rgba(26, 90, 220, 0.05);
  --value-card-border: rgba(26, 90, 220, 0.14);
  --value-card-hover: rgba(26, 90, 220, 0.1);
  --page-header-bg: linear-gradient(135deg, #dde8f6 0%, #f4f7fc 100%);
  --page-header-border: rgba(26, 90, 220, 0.15);
  --breadcrumb-color: #4a6080;
  --breadcrumb-sep: rgba(74, 96, 128, 0.35);
  --slide-overlay: linear-gradient(135deg, rgba(10, 22, 40, 0.78) 0%, rgba(10, 22, 40, 0.35) 100%);
  --dot-bg: rgba(10, 22, 40, 0.25);
  --arrow-border: rgba(10, 22, 40, 0.2);
  --arrow-bg: rgba(10, 22, 40, 0.06);
  --scroll-color: rgba(10, 22, 40, 0.4);
  --scroll-line: linear-gradient(to bottom, rgba(10, 22, 40, 0.4), transparent);
  --clients-grid-gap: rgba(10, 22, 40, 0.08);
}

/* ── DARK THEME (explicit) ── */
[data-theme="dark"] {
  --bg: #0a1628;
  --bg-mid: #0d1f3c;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --white-var: #f8fafc;
  --gray-var: #94a3b8;
  --nav-bg: rgba(10, 22, 40, 0.92);
  --nav-bg-scrolled: rgba(10, 22, 40, 0.99);
  --nav-border: rgba(26, 90, 220, 0.25);
  --nav-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  --nav-text: rgba(248, 250, 252, 0.75);
  --nav-text-active: #ffffff;
  --mobile-nav-bg: rgba(10, 22, 40, 0.98);
  --mobile-nav-border: rgba(26, 90, 220, 0.2);
  --hamburger-color: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.07);
  --card-hover-bg: rgba(26, 90, 220, 0.08);
  --card-hover-border: rgba(26, 90, 220, 0.3);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  --service-icon-bg: linear-gradient(135deg, rgba(26, 90, 220, 0.2), rgba(0, 180, 216, 0.2));
  --service-icon-border: rgba(0, 180, 216, 0.25);
  --section-bg: linear-gradient(180deg, #0a1628 0%, #0d1f3c 100%);
  --clients-bg: #0d1f3c;
  --client-item-bg: rgba(10, 22, 40, 0.8);
  --client-name: rgba(248, 250, 252, 0.8);
  --partner-tag-bg: rgba(255, 255, 255, 0.05);
  --partner-tag-border: rgba(255, 255, 255, 0.1);
  --partner-tag-color: #94a3b8;
  --form-wrap-bg: rgba(255, 255, 255, 0.03);
  --form-wrap-border: rgba(255, 255, 255, 0.07);
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.1);
  --input-color: #ffffff;
  --input-placeholder: rgba(148, 163, 184, 0.5);
  --input-focus-bg: rgba(0, 180, 216, 0.05);
  --select-option-bg: #0a1628;
  --footer-bg: #0d1f3c;
  --footer-border: rgba(255, 255, 255, 0.06);
  --footer-text: #94a3b8;
  --footer-link-before: #1a5adc;
  --contact-icon-bg: rgba(26, 90, 220, 0.15);
  --contact-icon-border: rgba(26, 90, 220, 0.3);
  --about-accent-border: #0a1628;
  --value-card-bg: rgba(26, 90, 220, 0.07);
  --value-card-border: rgba(26, 90, 220, 0.18);
  --value-card-hover: rgba(26, 90, 220, 0.14);
  --page-header-bg: linear-gradient(135deg, #0d1f3c 0%, #0a1628 100%);
  --page-header-border: rgba(26, 90, 220, 0.2);
  --breadcrumb-color: #94a3b8;
  --breadcrumb-sep: rgba(148, 163, 184, 0.4);
  --slide-overlay: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.45) 100%);
  --dot-bg: rgba(255, 255, 255, 0.3);
  --arrow-border: rgba(255, 255, 255, 0.25);
  --arrow-bg: rgba(255, 255, 255, 0.08);
  --scroll-color: rgba(255, 255, 255, 0.4);
  --scroll-line: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  --clients-grid-gap: rgba(255, 255, 255, 0.06);
}

/* ── AUTO-DETECT: apply dark theme when OS is dark and no manual override ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1628;
    --bg-mid: #0d1f3c;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --white-var: #f8fafc;
    --gray-var: #94a3b8;
    --nav-bg: rgba(10, 22, 40, 0.92);
    --nav-bg-scrolled: rgba(10, 22, 40, 0.99);
    --nav-border: rgba(26, 90, 220, 0.25);
    --nav-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    --nav-text: rgba(248, 250, 252, 0.75);
    --nav-text-active: #ffffff;
    --mobile-nav-bg: rgba(10, 22, 40, 0.98);
    --mobile-nav-border: rgba(26, 90, 220, 0.2);
    --hamburger-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.07);
    --card-hover-bg: rgba(26, 90, 220, 0.08);
    --card-hover-border: rgba(26, 90, 220, 0.3);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    --service-icon-bg: linear-gradient(135deg, rgba(26, 90, 220, 0.2), rgba(0, 180, 216, 0.2));
    --service-icon-border: rgba(0, 180, 216, 0.25);
    --section-bg: linear-gradient(180deg, #0a1628 0%, #0d1f3c 100%);
    --clients-bg: #0d1f3c;
    --client-item-bg: rgba(10, 22, 40, 0.8);
    --client-name: rgba(248, 250, 252, 0.8);
    --partner-tag-bg: rgba(255, 255, 255, 0.05);
    --partner-tag-border: rgba(255, 255, 255, 0.1);
    --partner-tag-color: #94a3b8;
    --form-wrap-bg: rgba(255, 255, 255, 0.03);
    --form-wrap-border: rgba(255, 255, 255, 0.07);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-color: #ffffff;
    --input-placeholder: rgba(148, 163, 184, 0.5);
    --input-focus-bg: rgba(0, 180, 216, 0.05);
    --select-option-bg: #0a1628;
    --footer-bg: #0d1f3c;
    --footer-border: rgba(255, 255, 255, 0.06);
    --footer-text: #94a3b8;
    --footer-link-before: #1a5adc;
    --contact-icon-bg: rgba(26, 90, 220, 0.15);
    --contact-icon-border: rgba(26, 90, 220, 0.3);
    --about-accent-border: #0a1628;
    --value-card-bg: rgba(26, 90, 220, 0.07);
    --value-card-border: rgba(26, 90, 220, 0.18);
    --value-card-hover: rgba(26, 90, 220, 0.14);
    --page-header-bg: linear-gradient(135deg, #0d1f3c 0%, #0a1628 100%);
    --page-header-border: rgba(26, 90, 220, 0.2);
    --breadcrumb-color: #94a3b8;
    --breadcrumb-sep: rgba(148, 163, 184, 0.4);
    --slide-overlay: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.45) 100%);
    --dot-bg: rgba(255, 255, 255, 0.3);
    --arrow-border: rgba(255, 255, 255, 0.25);
    --arrow-bg: rgba(255, 255, 255, 0.08);
    --scroll-color: rgba(255, 255, 255, 0.4);
    --scroll-line: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    --clients-grid-gap: rgba(255, 255, 255, 0.06);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, height 0.3s ease;
}

nav.scrolled {
  height: 60px;
  background: var(--nav-bg-scrolled);
  box-shadow: var(--nav-shadow);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: white;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text .brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 3px;
  color: var(--white-var);
}

.nav-logo-text .sub {
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  color: var(--nav-text);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--cyan);
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--nav-text-active);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  left: 0.9rem;
  right: 0.9rem;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
  color: white !important;
  border-radius: 6px !important;
  padding: 0.5rem 1.1rem !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--hamburger-color);
  border-radius: 2px;
  transition: all 0.3s;
}

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

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

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

/* ─── HERO SLIDER ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 70px;
}

.slider-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--slide-overlay);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 6rem 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-tag {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 1.2rem;
}

.slide-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.0;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-content h1 span {
  color: var(--cyan);
}

.slide-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.82);
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 520px;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(26, 90, 220, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 90, 220, 0.5);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-light);
  border: 2px solid var(--navy-light);
}

.btn-outline-dark:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  /* background: var(--dot-bg); */
  background-color: white;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.dot.active {
  background: var(--cyan);
  width: 28px;
  border-radius: 4px;
}

.slider-arrows {
  display: flex;
  gap: 8px;
}

.arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  /* border: 1px solid var(--arrow-border); */
  border: 1px solid white;
  background: var(--arrow-bg);
  /* color: var(--text); */
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1rem;
}

.arrow-btn:hover {
  background: var(--cyan);
  border-color: var(--cyan);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--scroll-color);
  font-size: 0.65rem;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--scroll-line);
}

@keyframes float {

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

  50% {
    transform: translateY(-6px);
  }
}

/* ─── SECTIONS ─── */
section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cyan);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--cyan);
}

.section-sub {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 560px;
}

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--cyan));
  border-radius: 2px;
  margin: 1.25rem 0;
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 60%, var(--cyan) 100%);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 2px;
  line-height: 1;
  color: white;
}

.stat-num span {
  color: var(--gold);
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-top: 4px;
}

/* ─── ABOUT SECTION ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 45%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 4px solid var(--about-accent-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(26, 90, 220, 0.4);
}

.about-badge .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: white;
}

.about-badge .txt {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.feature-item svg {
  flex-shrink: 0;
  color: var(--cyan);
}

/* ─── RESPONSIVE UTILITIES ─── */
.grid-2-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .grid-2-1 {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* ─── SERVICES ─── */
.services-bg {
  background: var(--section-bg);
  position: relative;
}

.services-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover {
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--service-icon-bg);
  border: 1px solid var(--service-icon-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.4s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 24px rgba(26, 90, 220, 0.4);
}

.service-icon svg {
  transition: color 0.4s;
}

.service-card:hover .service-icon svg {
  color: white;
}

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── CLIENTS ─── */
.clients-section {
  background: var(--clients-bg);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--clients-grid-gap);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 3rem;
}

.client-item {
  background: var(--client-item-bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s;
  gap: 0.75rem;
}

.client-item:hover {
  background: var(--card-hover-bg);
}

.client-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.client-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--client-name);
  line-height: 1.3;
}

/* Partners */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.partner-tag {
  padding: 0.6rem 1.2rem;
  background: var(--partner-tag-bg);
  border: 1px solid var(--partner-tag-border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--partner-tag-color);
  transition: all 0.3s;
}

.partner-tag:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 180, 216, 0.08);
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--contact-icon-bg);
  border: 1px solid var(--contact-icon-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.contact-item-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 2px;
}

.contact-item-val {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

/* Form */
.contact-form {
  background: var(--form-wrap-bg);
  border: 1px solid var(--form-wrap-border);
  border-radius: 14px;
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--input-color);
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--input-placeholder);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: var(--input-focus-bg);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-group select option {
  background: var(--select-option-bg);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success,
.form-error {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ─── FOOTER ─── */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: var(--footer-text);
  font-size: 0.88rem;
  line-height: 1.8;
  font-weight: 300;
  margin: 1rem 0 1.5rem;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-links a::before {
  content: '›';
  color: var(--footer-link-before);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact-item svg {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  color: var(--footer-text);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--footer-text);
  font-size: 0.82rem;
}

.footer-bottom span {
  color: var(--cyan);
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.7s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* Page header */
.page-header {
  padding: 9rem 0 4rem;
  background: var(--page-header-bg);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%231a5adc' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.page-header .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--breadcrumb-color);
  margin-bottom: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
}

.breadcrumb span {
  color: var(--breadcrumb-sep);
}

.page-header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 3px;
  line-height: 1;
}

.page-header h1 span {
  color: var(--cyan);
}

/* values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--value-card-bg);
  border: 1px solid var(--value-card-border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: all 0.3s;
}

.value-card:hover {
  background: var(--value-card-hover);
  transform: translateY(-4px);
}

.value-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── THEME TOGGLE BUTTON ─── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--nav-border);
  background: transparent;
  color: var(--nav-text-active);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  flex-shrink: 0;
  padding: 0;
}

.theme-toggle:hover {
  background: rgba(26, 90, 220, 0.12);
  border-color: var(--cyan);
  transform: rotate(20deg) scale(1.1);
}

.theme-toggle .icon-moon,
.theme-toggle .icon-sun {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

/* Light mode: show moon (click to go dark); hide sun */
.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

/* Dark mode: show sun (click to go light); hide moon */
[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* Auto OS dark also shows sun */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
}

/* Footer Socials */
.footer-socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--partner-tag-bg);
  border: 1px solid var(--partner-tag-border);
  border-radius: 50%;
  color: var(--partner-tag-color);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
  border: var(--cyan);
  color: var(--cyan);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(26, 90, 220, 0.2);
}

.social-icon svg {
  transition: transform 0.3s ease;
}

.social-icon:hover svg {
  transform: rotate(8deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .stat-num {
    font-size: 2.5rem;
  }

  .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .nav-links {
    position: fixed;
    /* Changed from absolute to fixed for better drawer control */
    top: 70px;
    left: 0;
    right: 0;
    bottom: auto;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid var(--mobile-nav-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 1.1rem 2rem;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(26, 90, 220, 0.06);
    text-align: left;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-cta {
    margin: 1.5rem 2rem 0.5rem !important;
    text-align: center !important;
  }

  .nav-logo-text .sub {
    display: none;
    /* Hide long subtext on mobile to save space */
  }

  .nav-logo-text .brand {
    font-size: 1.2rem;
  }

  .slide-content {
    padding: 6rem 1.5rem;
  }

  .slide-content h1 {
    font-size: 2.5rem;
  }

  .slider-controls {
    left: 1.5rem;
  }

  .scroll-indicator {
    display: none;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-img-accent,
  .about-badge {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  color: #FFF;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

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

/* ─── GALLERY PAGE ─── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(26, 90, 220, 0.35);
}

/* Masonry grid */
.gallery-grid {
  columns: 4;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.4s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ─── LIGHTBOX ─── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 12, 25, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

#lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

#lightbox.open img {
  transform: scale(1);
}

.lb-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.lb-nav:hover {
  background: rgba(26, 90, 220, 0.5);
}

.lb-prev {
  left: 1.5rem;
}

.lb-next {
  right: 1.5rem;
}

.lb-caption {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .gallery-grid {
    columns: 3;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    columns: 2;
  }
}

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

/* ─── 404 PAGE ─── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.error-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 15vw, 10rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.2;
}

.error-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.error-content p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.error-icon {
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: var(--cyan);
}