/* Xar Technology - Corporate Professional Theme */
/* Clean & Modern IT Company Design */

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

:root {
  --primary: #da1f32;
  --primary-light: #e84a5a;
  --primary-dark: #b91828;
  --primary-glow: rgba(218, 31, 50, 0.2);
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --bg-dark: #f7f8fa;
  --bg-darker: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(247, 248, 250, 0.9);
  --bg-glass-hover: rgba(229, 229, 229, 0.5);
  --text-primary: #252525;
  --text-secondary: #6b6b6b;
  --text-muted: #9b9b9b;
  --border-glass: #e5e5e5;
  --border-glow: rgba(218, 31, 50, 0.3);
  --glow-primary: 0 4px 24px rgba(218, 31, 50, 0.2);
  --glow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
  --glass-blur: blur(8px);
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --gradient-primary: linear-gradient(135deg, #da1f32 0%, #b91828 100%);
  --gradient-dark: linear-gradient(180deg, #f7f8fa 0%, #FFFFFF 100%);
  --gradient-radial: radial-gradient(ellipse at 50% 0%, rgba(218, 31, 50, 0.06) 0%, transparent 60%);
  --gradient-mesh:
    radial-gradient(at 40% 20%, rgba(218, 31, 50, 0.04) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.03) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(59, 130, 246, 0.02) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(6, 182, 212, 0.02) 0px, transparent 40%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

pre, code {
  white-space: pre-wrap;
  word-break: break-all;
}

body {
  font-family: Inter, sans-serif;
  background: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }
::selection { background: var(--primary); color: white; }

h1, h2, h3, h4, h5, h6 {
  font-family: Inter, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.0625rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

/* ✅ FIX 1: Container padding düzeltildi */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bg-animation {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  background: var(--gradient-mesh);
  opacity: 1;
}

.bg-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 25s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: linear-gradient(135deg, rgba(227,24,55,0.15) 0%, rgba(255,45,77,0.1) 100%);
  top: -250px; right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 450px; height: 450px;
  background: linear-gradient(135deg, rgba(139,92,246,0.1) 0%, rgba(59,130,246,0.08) 100%);
  bottom: -150px; left: -150px;
  animation-delay: -12s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: rgba(196,30,58,0.03);
  top: 50%; left: 50%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(20px,-20px) scale(1.02); }
  50% { transform: translate(-15px,15px) scale(0.98); }
  75% { transform: translate(10px,20px) scale(1.01); }
}

/* ==================== NAVBAR ==================== */
.navbar {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0;
  height: 56px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: none;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 0;
}

/* Logo solda sabit */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1a1a2e;
  z-index: 100000;
  flex-shrink: 0;
  margin-right: 2rem;
}

/* Menü logonun hemen sağından başlar, boşluğu doldurur */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
}

/* Dil seçici en sağa */
.nav-menu > li.nav-translate-item {
  margin-left: auto;
}

.navbar-brand img { max-height: 36px; width: auto; }
.navbar-brand .brand-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.navbar-brand .brand-highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-logo { filter: none; transition: filter 0.3s ease; }
.navbar.scrolled .navbar-logo { filter: none; }


.nav-menu > li { position: relative; }
.nav-menu > li.nav-translate-item { margin-left: auto; }

.nav-menu a {
  display: block;
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  margin: 0 10px;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
  background: transparent;
  border-radius: 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: #DA1F32;
  transition: width 0.25s ease;
}

/* Pill toggle'da underline olmasın */
.lang-toggle .lang-link::after { display: none !important; }

.nav-menu a:hover { color: #DA1F32; background: transparent; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: #DA1F32; background: transparent; }

.nav-menu .dropdown { position: relative; }
.nav-menu .dropdown-toggle { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.nav-menu .dropdown-toggle i.fa-chevron-down { font-size: 0.65rem; transition: transform 0.25s ease; color: #666; }
.nav-menu .dropdown:hover .dropdown-toggle i.fa-chevron-down { transform: rotate(180deg); }

.nav-menu .dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
}

@media (min-width: 769px) {
  .nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-menu .dropdown-menu li { margin: 0; }
.nav-menu .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.8) !important;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
  margin: 0;
}

.nav-menu .dropdown-menu a::after { display: none; }
.nav-menu .dropdown-menu a:hover { background: rgba(218,31,50,0.15); color: #FFFFFF !important; padding-left: 14px; }
.nav-menu .dropdown-menu a i { color: #DA1F32; width: 16px; font-size: 13px; text-align: center; }
.nav-menu .dropdown-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 6px 0; list-style: none; }

/* ── Dynamic menu dropdowns (has-dropdown / nav-dropdown) ── */
.nav-menu .has-dropdown { position: relative; }

.nav-menu .nav-dropdown-trigger {
  display: block;
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: default;
  transition: color 0.2s ease;
  position: relative;
}
.navbar.scrolled .nav-menu .nav-dropdown-trigger { color: #1a1a2e; }
.nav-menu .nav-dropdown-trigger:hover { color: #DA1F32; }

.nav-menu .nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
}

@media (min-width: 769px) {
  .nav-menu .has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-menu .nav-dropdown li { margin: 0; }
.nav-menu .nav-dropdown a,
.nav-menu .nav-dropdown span {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: rgba(255,255,255,0.8) !important;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.nav-menu .nav-dropdown a::after { display: none; }
.nav-menu .nav-dropdown a:hover { background: rgba(218,31,50,0.15); color: #FFFFFF !important; }

.lang-toggle {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle .lang-link {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #888;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  line-height: 1;
}
.lang-toggle .lang-link.active {
  background: #DA1F32;
  color: white !important;
  box-shadow: 0 2px 8px rgba(218,31,50,0.35);
}
.lang-toggle .lang-link:hover:not(.active) { color: #DA1F32; }
.lang-sep { display: none; }

/* ── Modern Language Switcher Dropdown ───────────────────────────── */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border: 1.5px solid rgba(0,0,0,0.14);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
  line-height: 1;
}
.lang-trigger:hover { border-color: #DA1F32; background: rgba(218,31,50,0.05); }
.lang-flag  { font-size: 15px; line-height: 1; }
.lang-code  { font-size: 11px; letter-spacing: .04em; }
.lang-chevron { font-size: 8px; opacity: .55; transition: transform .2s; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.13);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.97);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 9999;
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none !important;
  color: #444;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.lang-item::after { display: none !important; }
.lang-item:hover { background: #f5f5f5; color: #DA1F32; }
.lang-item--active { background: rgba(218,31,50,0.07); color: #DA1F32; font-weight: 600; }
.lang-item-flag { font-size: 17px; line-height: 1; flex-shrink: 0; }
.lang-item-name { flex: 1; }
.lang-item-check { font-size: 10px; color: #DA1F32; }

/* Scrolled state */
.navbar.scrolled .lang-trigger {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}
.navbar.scrolled .lang-trigger:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.1);
}

/* Mobile */
@media (max-width: 900px) {
  .lang-switcher { order: -1; margin-right: 8px; }
  .lang-menu { left: 0; right: auto; }
}

.nav-cta {
  background: #DA1F32;
  color: white !important;
  border-radius: 8px;
  padding: 9px 20px !important;
  font-size: 14px !important;
  font-weight: 600;
  border: none;
  transition: all 0.2s ease;
  margin: 0 0 0 1rem !important;
  white-space: nowrap;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #B91828; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(218,31,50,0.3); color: white !important; }

/* ✅ FIX 2: Mobile toggle - her zaman görünür ve doğru renk */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100000;
  margin-left: auto;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hamburger X animasyonu */
.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-translate-item { display: flex; align-items: center; }

.lang-link {
  display: inline-block;
  padding: 0.35rem 0.5rem;
  font-family: Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.lang-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); }
.lang-link.active { color: var(--primary-light); background: rgba(218,31,50,0.12); }
.lang-sep { color: rgba(255,255,255,0.2); font-size: 0.75rem; user-select: none; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 20px rgba(227,24,55,0.4); }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(227,24,55,0.5); }
.btn-primary:hover::before { left: 100%; }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255,255,255,0.2);
  backdrop-filter: var(--glass-blur);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(227,24,55,0.15); color: var(--primary-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(227,24,55,0.2); }

.btn-glass { background: rgba(255,255,255,0.08); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255,255,255,0.15); color: var(--text-primary); }
.btn-glass:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* ==================== HERO ==================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content { position: relative; display: flex; flex-direction: column; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  background: rgba(196,30,58,0.08);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(196,30,58,0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-badge i { color: var(--primary); font-size: 0.8rem; }

.hero-title { margin-bottom: 1.5rem; animation: fadeInUp 0.8s ease 0.1s both; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .highlight { position: relative; display: inline-block; }
.hero-title .highlight-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px; left: 0;
  width: 100%; height: 8px;
  background: var(--primary);
  opacity: 0.3;
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.15s both;
  line-height: 1.7;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
  justify-content: center;
}

.hero-visual { position: relative; animation: fadeInRight 1s ease 0.4s both; }

.hero-card {
  position: relative;
  background: linear-gradient(145deg, rgba(35,35,55,0.8) 0%, rgba(20,20,35,0.95) 100%);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 2.5rem;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), transparent);
}
.hero-card::after {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(227,24,55,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-card-inner { position: relative; z-index: 2; }

.hero-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 1.5rem; }
.hero-stat {
  text-align: center;
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.hero-stat:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(227,24,55,0.15); background: linear-gradient(135deg, rgba(227,24,55,0.15) 0%, rgba(227,24,55,0.05) 100%); }
.hero-stat .number { font-family: Inter, sans-serif; font-size: 2rem; font-weight: 700; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.25rem; }
.hero-stat .label { color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; }

.floating-element { position: absolute; animation: float 6s ease-in-out infinite; z-index: 10; }
.floating-element.el-1 { top: 10%; right: -5%; width: 80px; height: 80px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; animation-delay: 0s; }
.floating-element.el-2 { bottom: 20%; right: 10%; width: 60px; height: 60px; background: rgba(218,31,50,0.1); border: 1px solid var(--border-glow); border-radius: 50%; animation-delay: -2s; }
.floating-element.el-3 { top: 30%; left: -10%; width: 100px; height: 100px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; animation-delay: -4s; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }

/* ==================== PARTNERS ==================== */
.partners-section {
  padding: 4rem 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: var(--bg-card);
}
.partners-wrapper { display: flex; align-items: center; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.partner-logo { opacity: 1; filter: brightness(0) saturate(0) brightness(0.15); transition: var(--transition); height: 50px; }
.partner-logo:hover { opacity: 0.8; transform: scale(1.05); }

/* ==================== SECTIONS ==================== */
.section { padding: 6rem 0; position: relative; z-index: 2; }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 4rem; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(227,24,55,0.15) 0%, rgba(227,24,55,0.05) 100%);
  border: 1px solid rgba(227,24,55,0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(227,24,55,0.15);
}
.section-tag i { font-size: 0.875rem; }
.section-title { margin-bottom: 1rem; }
.section-desc { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }

/* ==================== SERVICE CARDS ==================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.service-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.service-card::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(227,24,55,0.1), transparent 50%); opacity: 0; transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); border-color: rgba(218,31,50,0.25); box-shadow: 0 16px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(218,31,50,0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-icon-wrap { position: relative; width: 64px; height: 64px; margin-bottom: 1.25rem; z-index: 2; }
.service-icon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(227,24,55,0.15) 0%, rgba(227,24,55,0.05) 100%); border: 1px solid rgba(227,24,55,0.25); border-radius: 16px; transition: var(--transition); }
.service-card:hover .service-icon { background: var(--gradient-primary); border-color: transparent; box-shadow: 0 8px 24px rgba(227,24,55,0.4); transform: scale(1.1) rotate(5deg); }
.service-icon i { font-size: 1.5rem; color: var(--primary); transition: var(--transition); }
.service-card:hover .service-icon i { color: white; transform: scale(1.05); }

.service-number { position: absolute; top: 2rem; right: 2rem; font-family: Inter, sans-serif; font-size: 4rem; font-weight: 700; color: rgba(255,255,255,0.03); line-height: 1; z-index: 1; }
.service-content { position: relative; z-index: 2; }
.service-card h4 { color: var(--text-primary); margin-bottom: 0.75rem; font-size: 1.1rem; }
.service-card p { color: var(--text-secondary); margin-bottom: 1.25rem; font-size: 0.875rem; line-height: 1.6; }
.service-features { list-style: none; margin-bottom: 1.5rem; }
.service-features li { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; color: var(--text-secondary); font-size: 0.9rem; }
.service-features li i { color: var(--primary); font-size: 0.7rem; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary-light); font-weight: 500; font-size: 0.9rem; }
.service-link:hover { gap: 0.75rem; }

/* ==================== STATS ==================== */
.stats-section { padding: 5rem 0; background: var(--bg-card); border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.stat-card { text-align: center; padding: 2rem 1.25rem; background: var(--bg-glass); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-glass); border-radius: 14px; transition: var(--transition); position: relative; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 2px; background: var(--gradient-primary); opacity: 0; transition: var(--transition); }
.stat-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.stat-card:hover::before { opacity: 1; width: 60%; }
.stat-icon { width: 52px; height: 52px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; background: rgba(196,30,58,0.08); border-radius: 12px; font-size: 1.25rem; color: var(--primary); transition: var(--transition); }
.stat-card:hover .stat-icon { background: var(--gradient-primary); color: white; transform: scale(1.05); }
.stat-number { font-family: Inter, sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 0.375rem; line-height: 1; }
.stat-label { color: var(--text-secondary); font-size: 0.875rem; }

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 1.5rem; }
.testimonial-card { background: var(--bg-glass); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-glass); border-radius: 16px; padding: 2rem; transition: var(--transition); position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 1.25rem; right: 1.5rem; font-size: 4rem; font-family: Georgia, serif; color: rgba(196,30,58,0.08); line-height: 1; }
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.testimonial-content { margin-bottom: 1.5rem; position: relative; z-index: 2; }
.testimonial-content p { font-size: 0.9375rem; font-style: italic; color: var(--text-secondary); line-height: 1.75; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 2px solid var(--border-glow); }
.testimonial-info h5 { color: var(--text-primary); font-size: 0.9375rem; margin-bottom: 0.125rem; }
.testimonial-info span { color: var(--primary); font-size: 0.8125rem; }
.testimonial-rating { display: flex; gap: 0.25rem; margin-top: 0.5rem; }
.testimonial-rating i { color: #fbbf24; font-size: 0.85rem; }

/* ==================== BLOG ==================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 1.5rem; }
.blog-card { background: var(--bg-glass); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-glass); border-radius: 16px; overflow: hidden; transition: var(--transition); }
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.blog-image { position: relative; height: 200px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-category { position: absolute; top: 0.875rem; left: 0.875rem; padding: 0.3rem 0.875rem; background: var(--gradient-primary); border-radius: 100px; font-size: 0.6875rem; font-weight: 600; color: white; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-content { padding: 1.5rem; }
.blog-date { color: var(--text-muted); font-size: 0.8125rem; margin-bottom: 0.625rem; display: flex; align-items: center; gap: 0.375rem; }
.blog-card h4 { color: var(--text-primary); margin-bottom: 1rem; line-height: 1.4; transition: var(--transition); }
.blog-card:hover h4 { color: var(--primary-light); }
.blog-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary-light); font-weight: 500; font-size: 0.9rem; }
.blog-link:hover { gap: 0.75rem; }

/* ==================== CTA ==================== */
.cta-section { padding: 5rem 0; position: relative; z-index: 2; }
.cta-card { background: linear-gradient(145deg, rgba(40,40,60,0.8) 0%, rgba(25,25,40,0.95) 100%); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255,255,255,0.1); border-radius: 28px; padding: 5rem 4rem; text-align: center; position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.cta-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-primary); }
.cta-card::after { content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 200%; height: 150%; background: radial-gradient(ellipse at top, rgba(227,24,55,0.15), transparent 50%); pointer-events: none; }
.cta-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-title { margin-bottom: 1.5rem; font-size: clamp(1.5rem,3vw,2rem); }
.cta-desc { font-size: 1.0625rem; margin-bottom: 2.5rem; color: var(--text-secondary); line-height: 1.7; }
.cta-buttons { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }

/* ==================== FOOTER ==================== */
.footer { padding: 2.5rem 0 1rem; background: var(--bg-dark); border-top: 1px solid var(--border-glass); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 2rem; margin-bottom: 3rem; }
.footer-sitemap { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 1rem; }
.footer-col h5 { color: #252525; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-bottom-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 0.75rem; flex-wrap: wrap; }
.footer-bottom-left { display: flex; align-items: center; gap: 1rem; }
.footer-tagline { color: #252525; font-size: 0.8rem; margin: 0; max-width: 280px; line-height: 1.5; }
.footer-copyright p { color: #252525; font-size: 0.8125rem; margin: 0; text-align: center; }
.footer-brand { max-width: 280px; }
.footer-brand .footer-logo-link { margin-bottom: 1.25rem; display: inline-flex; }
.footer-logo-img { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.9; transition: opacity 0.3s ease; }
.footer-logo-img:hover { opacity: 1; }
.footer-brand p { color: #252525; font-size: 0.875rem; margin-bottom: 1.25rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.625rem; }
.footer-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 10px; color: var(--text-secondary); transition: var(--transition); font-size: 0.9rem; }
.footer-social a:hover { background: var(--gradient-primary); border-color: transparent; color: white; transform: translateY(-2px); }
.footer-column h5 { color: #252525; font-size: 0.9375rem; margin-bottom: 1.25rem; font-weight: 600; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { color: #252525 !important; font-size: 12px; transition: var(--transition); text-decoration: none; }
.footer-links a:hover { color: var(--primary-light) !important; padding-left: 4px; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--border-glass); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: #252525; font-size: 0.8125rem; margin: 0; }

/* ==================== SCROLL TOP ==================== */
.scroll-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--gradient-primary); border: none; border-radius: 50%; color: white; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); z-index: 999; box-shadow: 0 4px 20px rgba(218,31,50,0.4); }
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(218,31,50,0.5); }
.whatsapp-float { display: none !important; }

/* ==================== NAVBAR SCROLL STATE ==================== */
.navbar.scrolled {
  background: #252525 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25) !important;
}
.navbar.scrolled .navbar-logo,
.navbar.scrolled .navbar-brand img { filter: brightness(0) invert(1) !important; }
.navbar.scrolled .nav-menu a { color: rgba(255,255,255,0.8) !important; }
.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active { color: #FFFFFF !important; }
.navbar.scrolled .lang-toggle { background: rgba(255,255,255,0.12); }
.navbar.scrolled .lang-link { color: rgba(255,255,255,0.55) !important; }
.navbar.scrolled .lang-link.active { background: #DA1F32 !important; color: white !important; }
.navbar.scrolled .lang-link:hover:not(.active) { color: rgba(255,255,255,0.9) !important; }
.navbar.scrolled .mobile-toggle span { background: #FFFFFF !important; }

/* ==================== ANIMATIONS ==================== */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.stagger-children > * { opacity: 0; transform: translateY(20px); }
.stagger-children.active > *:nth-child(1) { animation: fadeInUp 0.6s ease 0.1s forwards; }
.stagger-children.active > *:nth-child(2) { animation: fadeInUp 0.6s ease 0.2s forwards; }
.stagger-children.active > *:nth-child(3) { animation: fadeInUp 0.6s ease 0.3s forwards; }
.stagger-children.active > *:nth-child(4) { animation: fadeInUp 0.6s ease 0.4s forwards; }
.glow-hover { transition: var(--transition); }
.glow-hover:hover { box-shadow: var(--glow-primary); }

/* ==================== PAGE SPECIFIC ==================== */
.about-hero { padding: 12rem 0 4rem; text-align: center; }
.page-title { margin-bottom: 1.25rem; }
.page-desc { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-form { background: var(--bg-glass); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-glass); border-radius: 0px; 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; margin-bottom: 0.5rem; color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.form-control { width: 100%; padding: 1rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 12px; color: var(--text-primary); font-size: 1rem; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(218,31,50,0.1); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 150px; resize: vertical; }
.contact-info-card { background: var(--bg-glass); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-glass); border-radius: 20px; padding: 2.5rem; height: fit-content; }
.contact-item { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border-glass); }
.contact-item:last-child { border-bottom: none; }
.contact-item-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(218,31,50,0.1); border-radius: 16px; color: var(--primary); font-size: 1.25rem; flex-shrink: 0; }
.contact-item-content h5 { color: var(--text-primary); font-size: 1rem; margin-bottom: 0.5rem; }
.contact-item-content p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-glass); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-glass); border-radius: 16px; margin-bottom: 1rem; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--border-glow); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; cursor: pointer; color: var(--text-primary); font-weight: 600; font-size: 1.05rem; }
.faq-question i { color: var(--primary); transition: var(--transition); }
.faq-item.faq-open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.faq-open .faq-answer { max-height: 500px; }
.faq-answer-content { padding: 0 2rem 1.5rem; color: var(--text-secondary); line-height: 1.8; }

.popup-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; z-index: 10000; opacity: 0; visibility: hidden; transition: var(--transition); }
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-content { background: var(--bg-glass); backdrop-filter: var(--glass-blur); border: 1px solid var(--border-glass); border-radius: 24px; padding: 3rem; max-width: 500px; width: 90%; text-align: center; position: relative; transform: scale(0.9); transition: var(--transition); }
.popup-overlay.active .popup-content { transform: scale(1); }
.popup-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 10px; color: var(--text-secondary); cursor: pointer; transition: var(--transition); }
.popup-close:hover { background: var(--primary); border-color: var(--primary); color: white; }
.popup-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; background: rgba(218,31,50,0.1); border-radius: 50%; font-size: 2rem; color: var(--primary); }
.popup-content h3 { margin-bottom: 1rem; }
.popup-content p { margin-bottom: 2rem; }

/* ==================== REFERENCES ==================== */
.references-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.reference-item { background: #FFFFFF; border: 1px solid #e5e5e5; border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.reference-item:hover { background: #f7f8fa; border-color: rgba(218,31,50,0.2); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.reference-logo { width: 100%; height: 100px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.reference-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%) brightness(1.2); opacity: 0.8; transition: all 0.3s ease; }
.reference-item:hover .reference-logo img { filter: grayscale(0%) brightness(1); opacity: 1; }
.reference-name { font-size: 0.85rem; color: rgba(255,255,255,0.7); text-align: center; margin-top: auto; }
.partners-grid .reference-logo { height: 80px; }

/* ==================== SOLUTIONS ==================== */
.solutions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.solution-card { display: flex; flex-direction: column; background: linear-gradient(145deg, rgba(30,30,45,0.6) 0%, rgba(20,20,32,0.8) 100%); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); text-decoration: none; position: relative; }
.solution-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); opacity: 0; transition: opacity 0.3s ease; }
.solution-card:hover { transform: translateY(-8px); border-color: rgba(218,31,50,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(218,31,50,0.1); }
.solution-card:hover::before { opacity: 1; }
.solution-card-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 1.5rem 1.5rem 1rem; }
.solution-icon-wrapper { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(218,31,50,0.15) 0%, rgba(218,31,50,0.05) 100%); border: 1px solid rgba(218,31,50,0.2); border-radius: 14px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.solution-icon-wrapper i { font-size: 1.5rem; color: var(--primary); transition: all 0.3s ease; }
.solution-card:hover .solution-icon-wrapper { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-color: transparent; transform: scale(1.1) rotate(5deg); }
.solution-card:hover .solution-icon-wrapper i { color: white; }
.solution-number { font-family: Inter, sans-serif; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.15); letter-spacing: 0.05em; }
.solution-card-body { padding: 0 1.5rem 1rem; flex: 1; }
.solution-title { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.75rem; line-height: 1.3; transition: color 0.3s ease; }
.solution-card:hover .solution-title { color: var(--primary-light); }
.solution-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.solution-card-footer { padding: 1rem 1.5rem 1.25rem; border-top: 1px solid rgba(255,255,255,0.05); margin-top: auto; }
.solution-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--primary); transition: all 0.3s ease; }
.solution-link i { font-size: 0.75rem; transition: transform 0.3s ease; }
.solution-card:hover .solution-link { color: var(--primary-light); }
.solution-card:hover .solution-link i { transform: translateX(5px); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .hero-grid { text-align: center; max-width: 100%; }
  .hero-description { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 1rem; }

  .nav-menu, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important; height: 100vh !important;
    background: #FFFFFF !important;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 72px;
    gap: 0;
    z-index: 99999 !important;
    overflow-y: auto;
  }

  /* Her menü item tam genişlik, alt çizgi */
  .nav-menu.active > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Linkler sola yaslı, siyah */
  .nav-menu.active a {
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 1rem 1.5rem !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    color: #1a1a1a !important;
    background: transparent !important;
  }
  .nav-menu.active a:hover { background: #f7f7f7 !important; color: #DA1F32 !important; }

  /* Dropdown ok ikonu */
  .nav-menu.active .dropdown-toggle i.fa-chevron-down { color: #999 !important; font-size: 0.75rem !important; transition: transform 0.2s ease; }
  .nav-menu.active .dropdown.show .dropdown-toggle i.fa-chevron-down { transform: rotate(180deg); }

  /* Dropdown alt menü */
  .nav-menu.active .dropdown { position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-menu.active .dropdown-menu { position: static !important; display: none !important; opacity: 1; visibility: visible; transform: none; background: #f7f8fa !important; border: none !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; width: 100% !important; min-width: 100% !important; max-width: 100% !important; box-shadow: none !important; }
  .nav-menu.active .dropdown.show .dropdown-menu { display: block !important; }
  .nav-menu.active .dropdown-menu a { font-size: 0.9rem !important; padding: 0.875rem 2rem !important; text-align: left !important; color: #444 !important; display: flex !important; justify-content: flex-start !important; border-bottom: 1px solid #ebebeb; white-space: normal; }
  .nav-menu.active .dropdown-menu a i { color: #DA1F32 !important; margin-right: 0.5rem; }
  .nav-menu.active .dropdown-menu a:hover { color: #DA1F32 !important; background: #fff0f1 !important; }
  .nav-menu.active .dropdown-divider { background: #e5e5e5 !important; margin: 0 !important; height: 1px !important; }

  /* Dil seçici sol yaslı */
  .nav-menu.active .nav-translate-item { margin-top: 0 !important; width: 100% !important; display: flex !important; justify-content: flex-start !important; padding: 0 !important; border-bottom: 1px solid #f0f0f0; }
  .nav-menu.active .lang-toggle { justify-content: flex-start !important; padding: 1rem 1.5rem; background: transparent; }
  .nav-menu.active .lang-link { font-size: 0.85rem; padding: 6px 16px !important; color: #888 !important; }
  .nav-menu.active .lang-link.active { background: #DA1F32 !important; color: white !important; box-shadow: 0 2px 8px rgba(218,31,50,0.3); }
  .nav-menu.active .lang-link:hover:not(.active) { color: #DA1F32 !important; background: transparent !important; }
  .nav-menu.active .lang-sep { display: none !important; }

  /* X butonu koyu (beyaz bg üzerinde) */
  .mobile-toggle.active span { background: #1a1a1a !important; }

  .navbar { padding: 0; }
  .navbar-brand img { height: 40px !important; }

  .hero { padding: 5.5rem 0 2.5rem; min-height: auto; }
  .hero-badge { font-size: 0.7rem; padding: 0.4rem 0.875rem; }
  .hero-title { font-size: 1.5rem !important; }
  .hero-description { font-size: 0.875rem; }
  .hero-buttons { flex-direction: column; gap: 0.75rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .about-hero { padding: 10rem 0 3rem; }
  .page-title { font-size: 1.5rem !important; }
  .page-desc { font-size: 0.9rem; padding: 0 0.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }

  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-tag { font-size: 0.625rem; padding: 0.35rem 0.875rem; }
  .section-title { font-size: 1.375rem !important; }
  .section-desc { font-size: 0.85rem; }

  .contact-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .contact-form { padding: 1.5rem; border-radius: 0px; }
  .form-row { grid-template-columns: 1fr; }
  .form-control { padding: 0.75rem 1rem; font-size: 0.9rem; border-radius: 10px; }
  textarea.form-control { min-height: 100px; }
  .contact-info-card { padding: 1.5rem; border-radius: 16px; }
  .contact-item { padding: 1rem 0; gap: 1rem; }
  .contact-item-icon { width: 44px; height: 44px; font-size: 1rem; border-radius: 12px; }

  .stats-section { padding: 3rem 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 0.75rem; }
  .stat-card { padding: 1.25rem 0.75rem; border-radius: 12px; }
  .stat-icon { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 0.75rem; }
  .stat-number { font-size: 1.75rem; }
  .stat-label { font-size: 0.75rem; }

  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 1.25rem; border-radius: 14px; }
  .service-icon-wrap { width: 52px; height: 52px; margin-bottom: 1rem; }
  .service-icon i { font-size: 1.25rem; }
  .service-card h4 { font-size: 1rem; }
  .service-card p { font-size: 0.8rem; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testimonial-card { padding: 1.5rem; border-radius: 14px; }
  .testimonial-content p { font-size: 0.875rem; }
  .testimonial-avatar { width: 40px; height: 40px; border-radius: 10px; }

  .blog-grid { grid-template-columns: 1fr; gap: 1rem; }
  .blog-card { border-radius: 14px; }
  .blog-image { height: 160px; }
  .blog-content { padding: 1.25rem; }
  .blog-card h4 { font-size: 1rem; }
  .blog-card p { font-size: 0.8rem; -webkit-line-clamp: 2; }

  .cta-section { padding: 3rem 0; }
  .cta-card { padding: 2rem 1.25rem; border-radius: 16px; }
  .cta-title { font-size: 1.25rem !important; }
  .cta-desc { font-size: 0.85rem; margin-bottom: 1.5rem; }
  .cta-buttons { flex-direction: column; gap: 0.75rem; }
  .cta-buttons .btn { width: 100%; }

  .footer-sitemap {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem 1.5rem;
  }
  .footer-col { text-align: left !important; }
  .footer-col h5 { font-size: 0.75rem; margin-bottom: 0.75rem; }
  .footer-links { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 0 !important; justify-content: flex-start !important; }
  .footer-links li { margin-bottom: 6px !important; }
  .footer-links a { font-size: 0.8rem !important; }
  .footer-bottom-bar { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand { max-width: 100%; }
  .footer-brand .footer-logo-link { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-column { text-align: center; }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
  .footer-links li { margin-bottom: 0; }
  .footer-bottom { flex-direction: column; text-align: center; padding-top: 1.25rem; }
  .footer-bottom p { font-size: 0.75rem; }

  .partners-section { padding: 2rem 0; }
  .partners-wrapper { gap: 1.5rem; }
  .partner-logo { height: 40px; }

  .floating-element, .orb { display: none; }

  .hero-card { padding: 1.25rem; border-radius: 16px; }
  .hero-stats { gap: 0.75rem; }
  .hero-stat { padding: 1rem; border-radius: 10px; }
  .hero-stat .number { font-size: 1.5rem; }
  .hero-stat .label { font-size: 0.7rem; }

  .btn { padding: 0.75rem 1.25rem; font-size: 0.8rem; border-radius: 8px; }

  .popup-content { padding: 2rem 1.5rem; border-radius: 16px; width: 92%; }
  .popup-icon { width: 60px; height: 60px; font-size: 1.5rem; }

  .faq-question { padding: 1rem 1.25rem; font-size: 0.9rem; }
  .faq-answer-content { padding: 0 1.25rem 1rem; font-size: 0.85rem; }

  .references-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .reference-item { min-height: 120px; padding: 1rem; }
  .reference-logo { height: 70px; }

  .solutions-grid { grid-template-columns: 1fr; gap: 1rem; }
  .solution-card-header { padding: 1.25rem 1.25rem 0.75rem; }
  .solution-card-body { padding: 0 1.25rem 0.75rem; }
  .solution-card-footer { padding: 0.875rem 1.25rem 1rem; }
  .solution-icon-wrapper { width: 50px; height: 50px; }
  .solution-icon-wrapper i { font-size: 1.25rem; }
  .solution-title { font-size: 1rem; }

  .scroll-to-top { bottom: 25px; right: 25px; width: 45px; height: 45px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 6rem 0 3rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.8125rem; }
  .service-card { padding: 1.5rem; }
  .stat-card { padding: 1.25rem 0.875rem; }
  .stat-icon { width: 44px; height: 44px; font-size: 1.125rem; }
  .stat-number { font-size: 1.75rem; }
}

@media (max-width: 380px) {
  .container { padding: 0 0.875rem; }
  .hero-title { font-size: 1.375rem !important; }
  .page-title { font-size: 1.375rem !important; }
  .section-title { font-size: 1.25rem !important; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.7rem; }
  .stats-grid { gap: 0.5rem; }
  .stat-card { padding: 1rem 0.5rem; }
  .service-card { padding: 1rem; }
  .contact-form, .contact-info-card { padding: 1.25rem; }
  .btn { padding: 0.625rem 1rem; font-size: 0.75rem; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 4rem 0 2rem; }
  .about-hero { padding: 8rem 0 2rem; }
  .nav-menu.active a { font-size: 1rem; padding: 0.5rem 1rem; }
}

/* ==================== NAVBAR MEGA MENU ==================== */
.nav-menu .mega-menu-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.75rem; color: var(--text-secondary); font-size: 0.85rem; border-radius: 8px; transition: all 0.2s ease; text-decoration: none; }
.nav-menu .mega-menu-item:hover { background: rgba(218,31,50,0.15); color: var(--primary-light); padding-left: 1rem; }
.nav-menu .mega-menu-item i { width: 18px; text-align: center; color: var(--primary); font-size: 0.8rem; }
.nav-menu .mega-menu-footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; }
.nav-menu .mega-menu-all-link { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.5rem; background: rgba(218,31,50,0.1); border-radius: 8px; color: var(--primary-light); font-weight: 500; font-size: 0.9rem; transition: all 0.2s ease; text-decoration: none; }
.nav-menu .mega-menu-all-link:hover { background: rgba(218,31,50,0.2); }