/* ============================================
   DIGITAL FLYER - LED Reklam Panoları & Dijital Tabela
   Modern Soft Light Mode Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- CSS Variables (Soft Light Mode) ---- */
:root {
  /* Warm Gold / Amber Accent - High contrast on light theme */
  --primary: #d97706;
  --primary-dark: #b45309;
  --primary-light: #f59e0b;
  --accent: #0284c7;
  --accent-dark: #0369a1;

  /* Göz yormayan dinlendirici açık zemin tonları */
  --bg-dark: #f6f8fa;       /* Sayfa ana zemin rengi (ferah kırık beyaz / yumuşak gri) */
  --bg-section: #edf2f7;    /* Alternatif bölüm zeminleri */
  --bg-card: #ffffff;       /* Kart & form arka planı (zemin üzerinde net ve temiz) */
  --bg-card-hover: #ffffff; /* Kart hover */

  /* Saf siyah yerine derin kömür / füme tipografi */
  --text-white: #1e293b;    /* Ana başlıklar (h1-h6) - koyu füme / slate */
  --text-light: #334155;    /* Genel metinler ve paragraflar - antrasit gri */
  --text-muted: #64748b;    /* İkincil açıklamalar ve etiketler */
  --text-dim: #94a3b8;      /* Küçük dipnotlar ve pasif metinler */

  /* İnce, zarif kenarlıklar */
  --border-color: #e2e8f0;  /* Hafif ayraç ve kart kenarlığı */
  --border-light: #cbd5e1;  /* Daha belirgin kenarlık */

  /* Gradyanlar */
  --gradient-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #b45309 100%);
  --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(246, 248, 250, 0.4) 0%, rgba(246, 248, 250, 0.95) 100%);

  /* Katmanlı, yumuşak gölgeler (Soft Box Shadows) */
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 6px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.08), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 12px 28px rgba(217, 119, 6, 0.16);

  /* Modern yumuşatılmış köşe yarıçapları */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
  --header-height: 80px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- Preloader ---- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 60%;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% {
    transform: translateX(-100%);
  }

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

  100% {
    transform: translateX(200%);
  }
}

/* ---- Header / Navbar ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth), backdrop-filter var(--transition-smooth);
}

.header.scrolled {
  background: rgba(246, 248, 250, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
}

.header.scrolled .logo-text {
  color: var(--text-white);
}

.logo-text span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  letter-spacing: 0.3px;
}

.nav a:hover,
.nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav a {
  color: var(--text-light);
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a.active {
  color: var(--primary);
  background: rgba(217, 119, 6, 0.08);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 24px !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25) !important;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35) !important;
}

/* ---- Language Switcher ---- */
.lang-switcher {
  position: relative;
  margin-left: auto;
  margin-right: 16px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.header.scrolled .lang-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .lang-btn:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.lang-flag {
  font-size: 16px;
}

.lang-code {
  letter-spacing: 0.5px;
}

.lang-arrow {
  font-size: 10px;
  opacity: 0.7;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 140px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 16px;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-option:hover {
  background: rgba(217, 119, 6, 0.08);
  color: var(--primary);
}

/* RTL Layout Support */
.rtl-layout {
  direction: rtl;
  text-align: right;
}

.rtl-layout .nav-cta {
  margin-left: 0;
  margin-right: 12px;
}

.rtl-layout .lang-switcher {
  margin-left: 16px;
  margin-right: auto;
}

.rtl-layout .lang-dropdown {
  right: auto;
  left: 0;
}

.rtl-layout .btn-icon {
  transform: scaleX(-1);
}

.rtl-layout .btn:hover .btn-icon {
  transform: scaleX(-1) translateX(-4px);
}

.rtl-layout .fade-in-left {
  transform: translateX(60px);
}
.rtl-layout .fade-in-left.visible {
  transform: translateX(0);
}
.rtl-layout .fade-in-right {
  transform: translateX(-60px);
}
.rtl-layout .fade-in-right.visible {
  transform: translateX(0);
}

.rtl-layout .feature-icon,
.rtl-layout .contact-info-icon {
  margin-right: 0;
  margin-left: 16px;
}

.rtl-layout .hero-stats {
  justify-content: flex-start;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
  background: transparent;
  border: none;
  outline: none;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast);
}

.header.scrolled .hamburger span {
  background: var(--text-white);
}

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

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

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

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.75) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding-top: var(--header-height);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
  animation: fadeInDown 1s ease 0.3s both;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #ffffff;
  animation: fadeInDown 1s ease 0.5s both;
}

.hero h1 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease 0.7s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInDown 1s ease 0.9s both;
}

.hero .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.hero .btn-outline:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #1e293b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInDown 1s ease 1.1s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fbbf24;
  display: block;
}

.hero-stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInDown 1s ease 1.3s both;
}

.scroll-indicator span {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--border-color);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--primary);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    top: -50%;
  }

  100% {
    top: 150%;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.32);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-icon {
  font-size: 18px;
  transition: transform var(--transition-fast);
}

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

/* ---- Section Styles ---- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-section);
}

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- Intro Banner (Leuchtbau style top banner) ---- */
.intro-banner {
  padding: 80px 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-color);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-text h2 {
  font-size: 38px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.intro-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.intro-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.intro-image:hover img {
  transform: scale(1.05);
}

/* ---- Products / Services Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 119, 6, 0.35);
}

.product-card-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-image .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.45), transparent);
}

.product-card-body {
  padding: 28px;
}

.product-card-body h3 {
  font-size: 20px;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.product-card:hover .product-card-body h3 {
  color: var(--primary);
}

.product-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap var(--transition-fast);
}

.product-card:hover .product-card-link {
  gap: 12px;
}

/* ---- Features / Advantages ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 119, 6, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 28px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.feature-item:hover .feature-icon {
  background: rgba(217, 119, 6, 0.16);
  transform: scale(1.08);
}

.feature-item h4 {
  font-size: 17px;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Before / After Slider ---- */
.before-after-section {
  padding: 120px 0;
  background: var(--bg-dark);
}

.ba-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: col-resize;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.ba-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.ba-before {
  z-index: 1;
  filter: grayscale(100%) opacity(0.8);
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--primary);
  z-index: 3;
  transform: translateX(-50%);
  cursor: col-resize;
}

.ba-handle::before {
  content: '◄ ►';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
}

.ba-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius-sm);
  z-index: 4;
}

.ba-label-before {
  right: 16px;
  background: rgba(30, 41, 59, 0.85);
  color: #ffffff;
}

.ba-label-after {
  left: 16px;
  background: var(--primary);
  color: #ffffff;
}

.ba-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.ba-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.ba-text .ba-features {
  margin-top: 24px;
}

.ba-text .ba-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-light);
}

.ba-text .ba-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Gallery / Portfolio ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

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

.gallery-overlay h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #ffffff;
}

.gallery-overlay span {
  font-size: 13px;
  color: #fbbf24;
}

/* ---- Flip Cards ---- */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.flip-card {
  perspective: 1000px;
  height: 380px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.flip-card-front {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.flip-card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.flip-card-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.2) 60%);
  z-index: 1;
}

.flip-card-front h3,
.flip-card-front p {
  position: relative;
  z-index: 2;
}

.flip-card-front h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #ffffff;
}

.flip-card-front p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.flip-card-back {
  background: #ffffff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.flip-card-back h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--primary);
}

.flip-card-back p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.flip-card-back ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.flip-card-back ul li::before {
  content: '→';
  color: var(--primary);
  font-weight: 700;
}

/* ---- Stats Counter ---- */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.04) 0%, #ffffff 50%, rgba(2, 132, 199, 0.04) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---- Testimonials ---- */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 48px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 40px;
  align-items: center;
}

.testimonial-quote {
  flex: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 18px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-white);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  border: none;
}

.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 50%, #f1f5f9 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 119, 6, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-section);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--primary);
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.footer-social a:hover svg {
  transform: scale(1.15);
}

.footer-column h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: var(--text-white);
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-dim);
}

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

/* ---- Scroll to Top ---- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-fast);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  transform: scale(0.9);
  transition: transform var(--transition-smooth);
}

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

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--text-white);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

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

/* ---- Map placeholder ---- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 40px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: contrast(1.05);
}

/* ---- Animated Counter ---- */
.counter {
  display: inline;
}

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

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 240px);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

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

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

  .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 4px;
    transition: right var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    font-size: 18px;
    padding: 14px 0;
    width: 100%;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 16px;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-stat .number {
    font-size: 28px;
  }

  .intro-grid,
  .ba-container,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item {
    height: 240px;
  }

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

  .stat-number {
    font-size: 36px;
  }

  .testimonial-card {
    flex-direction: column;
    padding: 32px;
  }

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

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

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

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }
}

/* Nav overlay for mobile */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---- Marquee / Scroll text ---- */
.marquee-section {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--border-light);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 4px;
  user-select: none;
}

.marquee-item span {
  color: var(--primary);
  opacity: 0.45;
}

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

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

/* ---- Legal Modal Styling ---- */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.legal-modal-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 880px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16), 0 0 30px rgba(217, 119, 6, 0.08);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.legal-modal-overlay.active .legal-modal-container {
  transform: translateY(0) scale(1);
}

.legal-modal-header {
  padding: 24px 32px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-modal-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 4px;
}

.legal-modal-header h3 {
  font-size: 22px;
  color: var(--text-white);
  margin: 0;
}

.legal-modal-close {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.legal-modal-close:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.legal-modal-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  padding: 0 32px;
  gap: 16px;
  overflow-x: auto;
}

.legal-tab-btn {
  background: transparent;
  border: none;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.legal-tab-btn:hover {
  color: var(--text-white);
}

.legal-tab-btn.active {
  color: var(--primary);
}

.legal-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.legal-modal-body {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 14px;
  background: #ffffff;
}

.legal-tab-content {
  display: none;
}

.legal-tab-content.active {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h4 {
  font-size: 17px;
  color: var(--text-white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-section p, .legal-section ul {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.legal-section ul {
  padding-left: 20px;
  list-style-type: disc;
}

.legal-section ul li {
  margin-bottom: 6px;
}

.legal-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}

.legal-modal-footer {
  padding: 18px 32px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-modal-footer p {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
}

.legal-close-btn {
  padding: 8px 20px;
  font-size: 13px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
}

@media (max-width: 600px) {
  .legal-modal-header,
  .legal-modal-tabs,
  .legal-modal-body,
  .legal-modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .legal-modal-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ---- RTL (Arabic) Support ---- */
.rtl-layout {
  direction: rtl;
  text-align: right;
}

.rtl-layout .nav {
  right: auto;
  left: -100%;
  transition: left var(--transition-smooth);
}

.rtl-layout .nav.open {
  right: auto;
  left: 0;
}

.rtl-layout .btn-icon {
  display: inline-block;
  transform: rotate(180deg);
  margin-left: 0;
  margin-right: 8px;
}

.rtl-layout .contact-info-item {
  flex-direction: row-reverse;
}

.rtl-layout .legal-box {
  border-left: 1px solid var(--border-color);
  border-right: 3px solid var(--primary);
}

.rtl-layout .legal-section ul {
  padding-left: 0;
  padding-right: 20px;
}

.rtl-layout .footer-column h4 {
  text-align: right;
}