/* Default Theme (Dark/Black) */
:root{
  --brand-600:#111827;
  --brand-700:#0b1220;
  --brand-500:#1f2937;
  --brand-400:#374151;
  --surface-0:#ffffff;
  --surface-50:#f6f7fb;
  --surface-100:#eef1f7;
  --text-900:#0b1220;
  --text-700:#24324a;
  --muted-600:#5b6b84;
  --border-200:#e7e9f1;
  --shadow: 0 14px 40px rgba(11,18,32,.12);
  --shadow-lg: 0 20px 60px rgba(11,18,32,.15);
  --radius: 18px;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --navbar-bg: rgba(255,255,255,.95);
  --navbar-border: var(--border-200);
  --footer-bg: var(--surface-50);
  --footer-border: var(--border-200);
}

/* Dark Mode Base */
[data-mode="dark"] {
  --surface-0:#0b1220;
  --surface-50:#111827;
  --surface-100:#1f2937;
  --text-900:#f9fafb;
  --text-700:#e5e7eb;
  --text-600:#d1d5db;
  --muted-600:#9ca3af;
  --border-200:#374151;
  --brand-300:#93c5fd;
  --brand-400:#60a5fa;
  --brand-500:#3b82f6;
  --shadow: 0 14px 40px rgba(0,0,0,.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.4);
  --navbar-bg: rgba(17,24,39,.95);
  --navbar-border: rgba(55,65,81,.5);
  --footer-bg: rgba(17,24,39,.8);
  --footer-border: rgba(55,65,81,.3);
}

/* Smooth transitions for mode switching */
html {
  transition: background-color 0.3s ease;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Icon and SVG transitions */
.category-icon,
.icon-badge,
.kpi-icon,
.mode-icon {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.category-icon svg,
.icon-badge svg {
  transition: stroke 0.3s ease, fill 0.3s ease, opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

/* Blue Theme */
[data-theme="blue"] {
  --brand-600:#2563eb;
  --brand-700:#1d4ed8;
  --brand-500:#3b82f6;
  --brand-400:#60a5fa;
  --gradient-1: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-2: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  --gradient-3: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-4: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --navbar-bg: rgba(37,99,235,.95);
  --navbar-border: rgba(37,99,235,.2);
  --footer-bg: rgba(37,99,235,.05);
  --footer-border: rgba(37,99,235,.1);
}

[data-theme="blue"][data-mode="dark"] {
  --navbar-bg: rgba(29,78,216,.95);
  --navbar-border: rgba(37,99,235,.3);
  --footer-bg: rgba(29,78,216,.1);
  --footer-border: rgba(37,99,235,.2);
}

/* Purple Theme */
[data-theme="purple"] {
  --brand-600:#7c3aed;
  --brand-700:#6d28d9;
  --brand-500:#8b5cf6;
  --brand-400:#a78bfa;
  --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --gradient-2: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  --gradient-3: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  --gradient-4: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  --navbar-bg: rgba(124,58,237,.95);
  --navbar-border: rgba(124,58,237,.2);
  --footer-bg: rgba(124,58,237,.05);
  --footer-border: rgba(124,58,237,.1);
}

[data-theme="purple"][data-mode="dark"] {
  --navbar-bg: rgba(109,40,217,.95);
  --navbar-border: rgba(124,58,237,.3);
  --footer-bg: rgba(109,40,217,.1);
  --footer-border: rgba(124,58,237,.2);
}

/* Green Theme */
[data-theme="green"] {
  --brand-600:#059669;
  --brand-700:#047857;
  --brand-500:#10b981;
  --brand-400:#34d399;
  --gradient-1: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-2: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  --gradient-3: linear-gradient(135deg, #059669 0%, #047857 100%);
  --gradient-4: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --navbar-bg: rgba(5,150,105,.95);
  --navbar-border: rgba(5,150,105,.2);
  --footer-bg: rgba(5,150,105,.05);
  --footer-border: rgba(5,150,105,.1);
}

[data-theme="green"][data-mode="dark"] {
  --navbar-bg: rgba(4,120,87,.95);
  --navbar-border: rgba(5,150,105,.3);
  --footer-bg: rgba(4,120,87,.1);
  --footer-border: rgba(5,150,105,.2);
}

/* Orange/Red Theme */
[data-theme="orange"] {
  --brand-600:#ea580c;
  --brand-700:#c2410c;
  --brand-500:#f97316;
  --brand-400:#fb923c;
  --gradient-1: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --gradient-2: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  --gradient-3: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  --gradient-4: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --navbar-bg: rgba(234,88,12,.95);
  --navbar-border: rgba(234,88,12,.2);
  --footer-bg: rgba(234,88,12,.05);
  --footer-border: rgba(234,88,12,.1);
}

[data-theme="orange"][data-mode="dark"] {
  --navbar-bg: rgba(194,65,12,.95);
  --navbar-border: rgba(234,88,12,.3);
  --footer-bg: rgba(194,65,12,.1);
  --footer-border: rgba(234,88,12,.2);
}

/* Teal Theme */
[data-theme="teal"] {
  --brand-600:#0d9488;
  --brand-700:#0f766e;
  --brand-500:#14b8a6;
  --brand-400:#5eead4;
  --gradient-1: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  --gradient-2: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
  --gradient-3: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  --gradient-4: linear-gradient(135deg, #14b8a6 0%, #5eead4 100%);
  --navbar-bg: rgba(13,148,136,.95);
  --navbar-border: rgba(13,148,136,.2);
  --footer-bg: rgba(13,148,136,.05);
  --footer-border: rgba(13,148,136,.1);
}

[data-theme="teal"][data-mode="dark"] {
  --navbar-bg: rgba(15,118,110,.95);
  --navbar-border: rgba(13,148,136,.3);
  --footer-bg: rgba(15,118,110,.1);
  --footer-border: rgba(13,148,136,.2);
}

* {
  scroll-behavior: smooth;
}

/* Smooth mode transition */
.mode-transitioning * {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

.mode-transitioning svg {
  transition: stroke 0.3s ease, fill 0.3s ease, opacity 0.3s ease, transform 0.3s ease !important;
}

html{
  height: 100%;
  overflow-x: hidden;
}

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-900);
  background: var(--surface-0);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

main, .main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

/* Ensure all headings use proper colors */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-900);
}

[data-mode="dark"] h1,
[data-mode="dark"] h2,
[data-mode="dark"] h3,
[data-mode="dark"] h4,
[data-mode="dark"] h5,
[data-mode="dark"] h6 {
  color: var(--text-900);
}

/* Ensure bold text is visible */
.fw-bold, b, strong {
  color: inherit;
}

[data-mode="dark"] .fw-bold,
[data-mode="dark"] b,
[data-mode="dark"] strong {
  color: inherit;
}

a{
  color:inherit; 
  text-decoration:none;
  transition: all 0.3s ease;
}

a:hover{
  color: var(--brand-600);
}

/* Navbar */
.navbar{
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--navbar-border);
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.brand-mark{
  display:flex; 
  align-items:center; 
  gap:.75rem;
  transition: transform 0.3s ease;
}

.brand-mark:hover {
  transform: scale(1.02);
}

.brand-mark img.logo-img{
  height:48px; 
  width:auto; 
  display:block;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.1));
  transition: all 0.3s ease;
}

.brand-mark:hover img.logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}

.brand-mark .brand-text{
  line-height:1.2;
}

.brand-mark .brand-text b{
  display:block; 
  font-size:1.1rem;
  font-weight: 700;
  color: var(--text-900);
}

.brand-mark .brand-text span{
  display:block; 
  font-size:.7rem; 
  letter-spacing:.2em; 
  color:var(--muted-600);
  font-weight: 500;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: var(--text-700);
}

[data-mode="dark"] .nav-link {
  color: var(--text-700);
}

.nav-link:hover {
  background: var(--surface-50);
  color: var(--brand-600);
}

[data-mode="dark"] .nav-link:hover {
  background: var(--surface-100);
  color: var(--brand-400);
}

.nav-link.active {
  color: var(--brand-600);
  font-weight: 600;
}

[data-mode="dark"] .nav-link.active {
  color: var(--brand-400);
}

.navbar-toggler {
  border: 1px solid var(--border-200);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(17,24,39,.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2817, 24, 39, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Social Media Icons */
.social-media-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-200);
  background: var(--surface-0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-700);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

/* LinkedIn - Mavi */
.social-icon[aria-label="LinkedIn"] {
  color: #0077b5;
  border-color: rgba(0, 119, 181, 0.2);
}

.social-icon[aria-label="LinkedIn"]:not(:hover) {
  background: rgba(0, 119, 181, 0.05);
}

.social-icon[aria-label="LinkedIn"]:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 119, 181, 0.3);
}

.social-icon[aria-label="LinkedIn"]:hover svg {
  transform: scale(1.15) rotate(5deg);
}

/* Instagram - Gradient (Pembe/Turuncu) */
.social-icon[aria-label="Instagram"] {
  color: #E4405F;
  border-color: rgba(228, 64, 95, 0.2);
}

.social-icon[aria-label="Instagram"]:not(:hover) {
  background: rgba(228, 64, 95, 0.05);
}

.social-icon[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(225, 48, 108, 0.4);
}

.social-icon[aria-label="Instagram"]:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

/* Twitter/X - Mavi */
.social-icon[aria-label="Twitter"] {
  color: #1DA1F2;
  border-color: rgba(29, 161, 242, 0.2);
}

.social-icon[aria-label="Twitter"]:not(:hover) {
  background: rgba(29, 161, 242, 0.05);
}

.social-icon[aria-label="Twitter"]:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(29, 161, 242, 0.3);
}

.social-icon[aria-label="Twitter"]:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

/* Facebook - Mavi */
.social-icon[aria-label="Facebook"] {
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.2);
}

.social-icon[aria-label="Facebook"]:not(:hover) {
  background: rgba(24, 119, 242, 0.05);
}

.social-icon[aria-label="Facebook"]:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.3);
}

.social-icon[aria-label="Facebook"]:hover svg {
  transform: scale(1.15) rotate(5deg);
}

/* Dark Mode Adjustments */
[data-mode="dark"] .social-icon {
  border-color: var(--border-200);
}

[data-mode="dark"] .social-icon[aria-label="LinkedIn"] {
  color: #4da6d3;
  background: rgba(0, 119, 181, 0.1);
  border-color: rgba(0, 119, 181, 0.3);
}

[data-mode="dark"] .social-icon[aria-label="Instagram"] {
  color: #f5608c;
  background: rgba(228, 64, 95, 0.1);
  border-color: rgba(228, 64, 95, 0.3);
}

[data-mode="dark"] .social-icon[aria-label="Twitter"] {
  color: #5db8f2;
  background: rgba(29, 161, 242, 0.1);
  border-color: rgba(29, 161, 242, 0.3);
}

[data-mode="dark"] .social-icon[aria-label="Facebook"] {
  color: #5a9ef2;
  background: rgba(24, 119, 242, 0.1);
  border-color: rgba(24, 119, 242, 0.3);
}

/* WhatsApp - Yeşil */
.social-icon[aria-label="WhatsApp"] {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.2);
}

.social-icon[aria-label="WhatsApp"]:not(:hover) {
  background: rgba(37, 211, 102, 0.05);
}

.social-icon[aria-label="WhatsApp"]:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.social-icon[aria-label="WhatsApp"]:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

[data-mode="dark"] .social-icon[aria-label="WhatsApp"] {
  color: #4ade80;
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
}

[data-mode="dark"] .social-icon:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Mode Toggle */
.mode-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-200);
  background: var(--surface-0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  color: var(--brand-600);
  position: relative;
  overflow: hidden;
}

.mode-toggle-btn:hover {
  background: var(--surface-50);
  border-color: var(--brand-600);
  transform: scale(1.05);
}

[data-mode="dark"] .mode-toggle-btn {
  color: var(--brand-400);
  border-color: var(--border-200);
}

[data-mode="dark"] .mode-toggle-btn:hover {
  background: var(--surface-100);
  border-color: var(--brand-500);
}

.mode-icon {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.mode-icon-light {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  visibility: visible;
}

.mode-icon-dark {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
  visibility: hidden;
}

[data-mode="dark"] .mode-icon-light {
  opacity: 0;
  transform: rotate(90deg) scale(0.8);
  visibility: hidden;
}

[data-mode="dark"] .mode-icon-dark {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  visibility: visible;
}

/* Theme Selector */
.theme-selector-wrapper {
  position: relative;
}

.theme-selector-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-200);
  background: var(--surface-0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--brand-600);
}

.theme-selector-btn:hover {
  background: var(--surface-50);
  border-color: var(--brand-600);
  transform: scale(1.05);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface-0);
  border: 1px solid var(--border-200);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.theme-selector-wrapper.active .theme-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  color: var(--text-700);
  font-size: 0.9rem;
}

.theme-option:hover {
  background: var(--surface-50);
}

.theme-option.active {
  background: var(--surface-50);
  color: var(--brand-600);
  font-weight: 600;
}

.theme-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-200);
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.theme-option.active .theme-color {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 2px rgba(17,24,39,.1);
}

/* Buttons */
.btn-brand{
  border-radius: 999px;
  padding: .75rem 1.5rem;
  border: none;
  background: var(--brand-600);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(17,24,39,.15);
}

[data-mode="dark"] .btn-brand {
  background: var(--brand-500);
  box-shadow: 0 4px 12px rgba(59,130,246,.3);
}

.btn-brand:hover{
  background: var(--brand-700); 
  color:#fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17,24,39,.2);
}

[data-mode="dark"] .btn-brand:hover {
  background: var(--brand-400);
  box-shadow: 0 6px 20px rgba(59,130,246,.4);
}

.btn-brand.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-ghost{
  border-radius: 999px;
  padding: .75rem 1.5rem;
  border: 1px solid var(--border-200);
  background: var(--surface-0);
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--text-900);
}

[data-mode="dark"] .btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.2);
  color: var(--text-900);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover{
  background: var(--surface-50);
  border-color: var(--brand-600);
  color: var(--brand-600);
  transform: translateY(-2px);
}

[data-mode="dark"] .btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.4);
  color: var(--text-900);
  backdrop-filter: blur(20px);
}

.btn-ghost.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

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

/* Tech grid background */
.hero-slider::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.55;
  background:
    radial-gradient(circle at 20% 25%, rgba(59,130,246,.20) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(124,58,237,.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface-0) 0%, var(--surface-50) 100%),
    repeating-linear-gradient(0deg, rgba(17,24,39,.10) 0, rgba(17,24,39,.10) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(17,24,39,.10) 0, rgba(17,24,39,.10) 1px, transparent 1px, transparent 28px);
  background-blend-mode: screen, screen, normal, normal, normal;
}

/* Scanline + shimmer */
.hero-slider::after{
  content:'';
  position:absolute;
  inset:-30% 0 -30% 0;
  z-index:0;
  pointer-events:none;
  opacity:.28;
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(59,130,246,.08) 12%,
      rgba(59,130,246,.14) 18%,
      transparent 28%,
      transparent 100%);
  animation: heroScan 10s linear infinite;
  mix-blend-mode: multiply;
}

@keyframes heroScan{
  0%   { transform: translateY(-25%); }
  100% { transform: translateY(25%); }
}

[data-mode="dark"] .hero-slider::before{
  opacity:.45;
  background:
    radial-gradient(circle at 20% 25%, rgba(59,130,246,.28) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(124,58,237,.24) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface-0) 0%, var(--surface-50) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0, rgba(255,255,255,.06) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0, rgba(255,255,255,.06) 1px, transparent 1px, transparent 28px);
  background-blend-mode: screen, screen, normal, normal, normal;
}

[data-mode="dark"] .hero-slider::after{
  opacity:.22;
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: reduce){
  .hero-slider::after{ animation: none; }
}


.heroSwiper {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.hero-slide {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
  z-index: 1;
}
.hero-slide{
  background: radial-gradient(ellipse 900px 420px at 20% 20%, rgba(59,130,246,.10), transparent 60%),
              radial-gradient(ellipse 700px 360px at 80% 40%, rgba(124,58,237,.08), transparent 55%);
}
[data-mode="dark"] .hero-slide{
  background: radial-gradient(ellipse 900px 420px at 20% 20%, rgba(59,130,246,.18), transparent 60%),
              radial-gradient(ellipse 700px 360px at 80% 40%, rgba(124,58,237,.14), transparent 55%);
}


/*.hero-slide-1 {*/
/*  background: transparent;*/
/*}*/


/*.hero-slide-2 {*/
/*  background: transparent;*/
/*}*/


[data-mode="dark"] .hero-slide-1 {
  background: transparent;
}



[data-mode="dark"] .hero-slide-2 {
  background: transparent;
}



.min-vh-75 {
  min-height: 75vh;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.pill{
  display:inline-flex;
  gap:.6rem;
  align-items:center;
  border:1px solid var(--border-200);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  padding:.5rem 1rem;
  border-radius: 999px;
  color: var(--muted-600);
  font-size:.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

[data-mode="dark"] .pill {
  background: rgba(31,41,55,.95);
  border-color: rgba(75,85,99,.5);
  color: var(--text-700);
  backdrop-filter: blur(20px);
}

[data-mode="dark"] .pill span:not(.badge) {
  color: var(--text-700);
}

.pill .badge {
  background: var(--brand-600);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

[data-mode="dark"] .pill .badge {
  background: var(--brand-500);
  color: white;
}

.hero-title{
  font-weight: 900;
  letter-spacing: -.03em;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 1.5rem 0 1.25rem;
  line-height: 1.1;
  color: var(--text-900);
}

[data-mode="dark"] .hero-title {
  color: var(--text-900);
}

.hero-description{
  color: var(--text-700);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 56ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

[data-mode="dark"] .hero-description {
  color: var(--text-700);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

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

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transition: all 0.3s ease;
}

[data-mode="dark"] .stat-item {
  background: rgba(31,41,55,.95);
  border-color: rgba(75,85,99,.5);
  backdrop-filter: blur(20px);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

[data-mode="dark"] .stat-item:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-600);
  line-height: 1;
  margin-bottom: 0.5rem;
}

[data-mode="dark"] .stat-number {
  color: var(--brand-300);
  text-shadow: 0 2px 8px rgba(59,130,246,.3);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted-600);
  font-weight: 500;
}

[data-mode="dark"] .stat-label {
  color: var(--text-600);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.kpi-item {
  padding: 1.5rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-200);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

[data-mode="dark"] .kpi-item {
  background: rgba(17,24,39,.9);
}

.kpi-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.kpi-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  display: block;
  opacity: 1;
}

[data-mode="dark"] .kpi-icon {
  opacity: 1;
  filter: brightness(1.2);
}

.kpi-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-900);
}

[data-mode="dark"] .kpi-title {
  color: var(--text-900);
}

.kpi-desc {
  font-size: 0.9rem;
  color: var(--muted-600);
}

[data-mode="dark"] .kpi-desc {
  color: var(--muted-600);
}

/* Swiper Customization */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--brand-600);
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--brand-600);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--brand-600);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-200);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--brand-600);
  color: white;
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: 700;
}

/* Categories Section */
.categories-section {
  padding: 80px 0;
  background: var(--surface-0);
}

[data-mode="dark"] .categories-section {
  background: var(--surface-0);
}

.section-header {
  margin-bottom: 4rem;
}

.section-header .badge {
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  color: var(--text-900);
  line-height: 1.2;
}

[data-mode="dark"] .section-title {
  color: var(--text-900);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-600);
  max-width: 70ch;
  margin: 0 auto;
}

[data-mode="dark"] .section-subtitle {
  color: var(--text-600);
}

.category-card {
  display: block;
  padding: 2.5rem 2rem;
  background: var(--surface-0);
  border: 1px solid var(--border-200);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

[data-mode="dark"] .category-card {
  background: var(--surface-50);
  border-color: rgba(75,85,99,.3);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.category-card-1::before {
  background: var(--gradient-1);
}

.category-card-2::before {
  background: var(--gradient-3);
}

.category-card-3::before {
  background: var(--gradient-2);
}

.category-card-4::before {
  background: var(--gradient-4);
}

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

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  border-color: transparent;
}

[data-mode="dark"] .category-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  background: var(--surface-100);
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--surface-50);
  color: var(--brand-600);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-200);
}

.category-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.5;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  stroke: currentColor;
}

[data-mode="dark"] .category-icon {
  background: var(--surface-100);
  color: var(--brand-400);
  border-color: var(--border-200);
}

[data-mode="dark"] .category-icon svg {
  stroke: var(--brand-400);
  stroke-width: 2.5;
  opacity: 1;
  filter: brightness(1.3);
}

.category-card-1:hover .category-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.category-card-1:hover .category-icon svg {
  stroke: white;
  opacity: 1;
}

.category-card-2:hover .category-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.category-card-2:hover .category-icon svg {
  stroke: white;
  opacity: 1;
}

.category-card-3:hover .category-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.category-card-3:hover .category-icon svg {
  stroke: white;
  opacity: 1;
}

.category-card-4:hover .category-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.category-card-4:hover .category-icon svg {
  stroke: white;
  opacity: 1;
}

.category-title {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-900);
  transition: color 0.3s ease;
}

[data-mode="dark"] .category-title {
  color: var(--text-900);
}

.category-card:hover .category-title {
  color: var(--brand-600);
}

[data-mode="dark"] .category-card:hover .category-title {
  color: var(--brand-300);
}

.category-desc {
  color: var(--muted-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

[data-mode="dark"] .category-desc {
  color: var(--text-600);
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-600);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

[data-mode="dark"] .category-link {
  color: var(--brand-300);
}

.category-card:hover .category-link {
  transform: translateX(5px);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

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

/* Main content spacing before footer */
.main-content {
  padding-bottom: 0;
  min-height: calc(100vh - 200px);
  position: relative;
}

/* EN GARANTİLİ ÇÖZÜM: main-content içindeki .section class'ına sahip son section */
.main-content > section.section:last-child {
  padding-bottom: 120px !important;
  margin-bottom: 0 !important;
}

/* Alternatif selector - daha spesifik */
body > main.main-content > section.section:last-child {
  padding-bottom: 120px !important;
  margin-bottom: 0 !important;
}

.page-hero {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* Ensure proper spacing for page content */
.page-hero + .section {
  margin-top: 0;
}

.section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom: 2rem;
}

.section-title h2{
  margin:0;
  font-weight: 900;
  letter-spacing: -.02em;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-900);
}

[data-mode="dark"] .section-title h2 {
  color: var(--text-900);
}

.section-title p{
  margin:0;
  color: var(--muted-600);
  max-width: 70ch;
  font-size: 1.05rem;
}

[data-mode="dark"] .section-title p {
  color: var(--muted-600);
}

.card-soft{
  border: 1px solid var(--border-200);
  border-radius: var(--radius);
  background: var(--surface-0);
  box-shadow: 0 10px 22px rgba(11,18,32,.06);
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-900);
}

[data-mode="dark"] .card-soft {
  background: var(--surface-50);
  color: var(--text-900);
}

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

/* Card content colors */
.card-soft h2,
.card-soft h3,
.card-soft h4 {
  color: var(--text-900);
}

[data-mode="dark"] .card-soft h2,
[data-mode="dark"] .card-soft h3,
[data-mode="dark"] .card-soft h4 {
  color: var(--text-900);
}

.card-soft p,
.card-soft li {
  color: var(--text-700);
}

[data-mode="dark"] .card-soft p,
[data-mode="dark"] .card-soft li {
  color: var(--text-700);
}

.icon-badge{
  width: 52px; 
  height: 52px;
  border-radius: 14px;
  display:flex; 
  align-items:center; 
  justify-content:center;
  background: var(--surface-50);
  border: 1px solid var(--border-200);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

[data-mode="dark"] .icon-badge {
  background: var(--surface-100);
  border-color: var(--border-200);
  color: var(--text-700);
}

.muted{
  color: var(--muted-600);
}

[data-mode="dark"] .muted {
  color: var(--muted-600);
}

.small {
  color: inherit;
}

[data-mode="dark"] .small {
  color: inherit;
}

.small.muted {
  color: var(--muted-600);
}

[data-mode="dark"] .small.muted {
  color: var(--muted-600);
}

/* Contact info boxes */
.contact-info-box {
  border: 1px solid var(--border-200);
  border-radius: 14px;
  background: var(--surface-50);
  transition: all 0.3s ease;
}

[data-mode="dark"] .contact-info-box {
  background: var(--surface-100);
  border-color: var(--border-200);
}

.contact-info-box .fw-bold {
  color: var(--text-900);
}

[data-mode="dark"] .contact-info-box .fw-bold {
  color: var(--text-900);
}

/* Info boxes */
.info-box {
  border: 1px solid var(--border-200);
  border-radius: 14px;
  padding: 1rem;
  background: var(--surface-50);
  transition: all 0.3s ease;
}

[data-mode="dark"] .info-box {
  background: var(--surface-100);
  border-color: var(--border-200);
}

.info-box .fw-bold {
  color: var(--text-900);
}

[data-mode="dark"] .info-box .fw-bold {
  color: var(--text-900);
}

/* Map placeholder */
.map-placeholder {
  background: repeating-linear-gradient(45deg, var(--surface-0), var(--surface-0) 12px, var(--surface-50) 12px, var(--surface-50) 24px);
  border-top: 1px solid var(--border-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-mode="dark"] .map-placeholder {
  background: repeating-linear-gradient(45deg, var(--surface-50), var(--surface-50) 12px, var(--surface-100) 12px, var(--surface-100) 24px);
}

.map-embed-wrapper {
  border-top: 1px solid var(--border-200);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.map-embed-wrapper iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
  border: 0;
}

[data-mode="dark"] .map-embed-wrapper {
  border-top-color: var(--border-200);
}

/* Partners Section */
.partners-section {
  padding: 100px 0;
  background: var(--surface-50);
  border-top: 1px solid var(--border-200);
  border-bottom: 1px solid var(--border-200);
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(17,24,39,.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(17,24,39,.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

[data-mode="dark"] .partners-section {
  background: var(--surface-50);
  border-top-color: var(--border-200);
  border-bottom-color: var(--border-200);
}

[data-mode="dark"] .partners-section::before {
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.02) 0%, transparent 50%);
}

.partners-section .container {
  position: relative;
  z-index: 1;
}

@keyframes morphBlob {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    transform: translate(20%, -20%) scale(1.1) rotate(90deg);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  50% {
    transform: translate(-20%, 20%) scale(0.9) rotate(180deg);
    border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
  }
  75% {
    transform: translate(20%, 20%) scale(1.05) rotate(270deg);
    border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%;
  }
}

@keyframes morphBlobReverse {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
  }
  33% {
    transform: translate(-15%, 15%) scale(1.15) rotate(-120deg);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  }
  66% {
    transform: translate(15%, -15%) scale(0.85) rotate(-240deg);
    border-radius: 60% 40% 40% 60% / 40% 60% 60% 40%;
  }
}

.partner-logo{
  border: 1px solid var(--border-200);
  border-radius: 18px;
  background: var(--surface-0);
  height: 140px;
  width: 100%;
  display:flex; 
  align-items:center; 
  justify-content:center;
  color: var(--muted-600);
  font-weight: 600;
  letter-spacing: .02em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
  overflow: hidden;
  position: relative;
}

.partner-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, var(--brand-600), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.partner-logo:hover::before {
  opacity: 1;
}

.partner-logo img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

[data-mode="dark"] .partner-logo {
  background: var(--surface-50);
  color: var(--muted-600);
  border-color: var(--border-200);
}

.partner-logo:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  border-color: var(--brand-600);
  background: var(--surface-0);
}

[data-mode="dark"] .partner-logo:hover {
  border-color: var(--brand-400);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
  background: var(--surface-50);
}


.partnersSwiper {
  padding: 3rem 0 5rem;
  overflow: visible;
  position: relative;
  display: block !important;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.partnersSwiper .swiper-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partnersSwiper .swiper-slide {
  height: auto;
  display: flex;
  width: auto !important;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.partnersSwiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.7;
}

.partnersSwiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
}

.partnersSwiper .swiper-slide .partner-logo {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  height: 150px;
  margin: 0 auto;
}

.partnersSwiper .swiper-pagination,
.partnersSwiper .partners-pagination,
.swiper-pagination.partners-pagination {
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  padding: 0 !important;
  gap: 0.5rem;
}

.partnersSwiper .swiper-pagination-bullet,
.partners-pagination .swiper-pagination-bullet {
  margin: 0 !important;
  width: 10px !important;
  height: 10px !important;
  background: var(--brand-600) !important;
  opacity: 0.3 !important;
  transition: all 0.3s ease !important;
}

.partnersSwiper .swiper-pagination-bullet-active,
.partners-pagination .swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 5px !important;
  background: var(--brand-600) !important;
}

/* Footer */
.footer{
  border-top: 1px solid var(--footer-border);
  background: var(--footer-bg);
  padding: 0;
  margin-top: 0;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 100%;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 1;
  clear: both;
}

/* Footer'dan önceki son section için ekstra padding - daha spesifik */
main.main-content > section.section:last-child {
  padding-bottom: 120px !important;
  margin-bottom: 0 !important;
}

.footer-content {
  padding: 60px 0 40px;
}

.footer a{
  color: var(--text-700);
  transition: color 0.3s ease;
  text-decoration: none;
}

[data-mode="dark"] .footer a {
  color: var(--text-700);
}

.footer a:hover{
  color: var(--brand-600);
}

[data-mode="dark"] .footer a:hover {
  color: var(--brand-400);
}

.footer .fw-bold {
  color: var(--text-900);
}

[data-mode="dark"] .footer .fw-bold {
  color: var(--text-900);
}

.footer .small.muted {
  color: var(--muted-600);
}

[data-mode="dark"] .footer .small.muted {
  color: var(--muted-600);
}

/* Footer Brand Section */
.footer-brand {
  max-width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo .brand-text b {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-900);
  display: block;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--muted-600);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-description {
  font-size: 0.9rem;
  color: var(--text-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

[data-mode="dark"] .footer-description {
  color: var(--text-700);
}

/* Footer Social Media */
.footer-social {
  margin-top: 1.5rem;
}

.social-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-600);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.footer-social .social-media-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-social .social-icon {
  width: 40px;
  height: 40px;
}

.footer-social .social-icon svg {
  width: 20px;
  height: 20px;
}

/* Footer Sections */
.footer-section {
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

[data-mode="dark"] .footer-title {
  color: var(--text-900);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-700);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--brand-600);
  transform: translateX(4px);
}

[data-mode="dark"] .footer-links a {
  color: var(--text-700);
}

[data-mode="dark"] .footer-links a:hover {
  color: var(--brand-400);
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-600);
  transition: color 0.3s ease;
}

[data-mode="dark"] .footer-contact li svg {
  color: var(--brand-400);
}

.footer-contact li a,
.footer-contact li span {
  color: var(--text-700);
  transition: color 0.3s ease;
  flex: 1;
}

.footer-contact li a:hover {
  color: var(--brand-600);
}

[data-mode="dark"] .footer-contact li a:hover {
  color: var(--brand-400);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--border-200);
  padding: 24px 0;
  margin-top: 20px;
}

[data-mode="dark"] .footer-bottom {
  border-top-color: var(--border-200);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--muted-600);
}

.footer-copyright strong {
  color: var(--text-900);
  font-weight: 600;
}

[data-mode="dark"] .footer-copyright strong {
  color: var(--text-900);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--muted-600);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--brand-600);
}

[data-mode="dark"] .footer-legal a {
  color: var(--muted-600);
}

[data-mode="dark"] .footer-legal a:hover {
  color: var(--brand-400);
}

.footer-legal .separator {
  color: var(--muted-600);
  opacity: 0.5;
}

/* Forms */
.form-control, .form-select{
  border-radius: 14px;
  border-color: var(--border-200);
  padding: .85rem 1rem;
  transition: all 0.3s ease;
  background: var(--surface-0);
  color: var(--text-900);
}

.form-control-lg {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border-radius: 14px;
}

.form-select-lg {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border-radius: 14px;
}

[data-mode="dark"] .form-control,
[data-mode="dark"] .form-select {
  background: var(--surface-50);
  color: var(--text-900);
  border-color: var(--border-200);
}

.form-control:focus, .form-select:focus{
  border-color: var(--brand-600);
  box-shadow: 0 0 0 .2rem rgba(17,24,39,.08);
}

[data-mode="dark"] .form-control:focus,
[data-mode="dark"] .form-select:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 .2rem rgba(59,130,246,.15);
}

.form-label {
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 0.5rem;
}

[data-mode="dark"] .form-label {
  color: var(--text-900);
}

/* Page Hero */
.page-hero{
  background: linear-gradient(180deg, var(--surface-0), var(--surface-50));
  border-bottom: 1px solid var(--border-200);
  padding: 80px 0 60px;
  position: relative;
}

.page-hero h1{
  font-weight: 900; 
  letter-spacing:-.02em; 
  margin:0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-900);
}

[data-mode="dark"] .page-hero h1 {
  color: var(--text-900);
}

.page-hero p,
.page-hero .lead {
  margin:1rem 0 0; 
  color: var(--muted-600); 
  max-width: 80ch;
  font-size: 1.1rem;
  line-height: 1.7;
}

[data-mode="dark"] .page-hero p,
[data-mode="dark"] .page-hero .lead {
  color: var(--muted-600);
}

/* Lead text styling */
.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted-600);
}

[data-mode="dark"] .lead {
  color: var(--muted-600);
}

/* Content text styling */
.content-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-700);
}

.content-text p {
  margin-bottom: 1.5rem;
}

.content-text p:last-child {
  margin-bottom: 0;
}

.content-text strong {
  color: var(--text-900);
  font-weight: 600;
}

[data-mode="dark"] .content-text {
  color: var(--text-700);
}

[data-mode="dark"] .content-text strong {
  color: var(--text-900);
}

.text-muted {
  color: var(--muted-600) !important;
}

[data-mode="dark"] .text-muted {
  color: var(--muted-600) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slide {
    min-height: 70vh;
    padding: 60px 0;
  }
  
  .hero-stats,
  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .category-card {
    padding: 2rem 1.5rem;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .social-media-icons {
    gap: 0.4rem;
  }
  
  .social-icon {
    width: 32px;
    height: 32px;
  }
  
  .social-icon svg {
    width: 16px;
    height: 16px;
  }
  
  /* Partners Swiper Responsive */
  .partnersSwiper {
    padding: 2rem 0 4rem;
    max-width: 100%;
  }
  
  .partnersSwiper .swiper-slide .partner-logo {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    height: 120px;
  }
  
  /* Footer Responsive */
  .footer-content {
    padding: 40px 0 30px;
  }
  
  .footer-description {
    max-width: 100%;
  }
  
  .footer-legal {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .brand-mark img {
    height: 36px;
  }
  
  .brand-mark .brand-text b {
    font-size: 0.95rem;
  }
  
  .brand-mark .brand-text span {
    font-size: 0.65rem;
  }
  
  .theme-menu {
    right: auto;
    left: 0;
  }
  
  .theme-selector-btn {
    width: 36px;
    height: 36px;
  }
  
  .social-media-icons {
    gap: 0.3rem;
  }
  
  .social-icon {
    width: 30px;
    height: 30px;
  }
  
  .social-icon svg {
    width: 15px;
    height: 15px;
  }
  
  /* Touch devices - active state */
  .social-icon:active {
    transform: translateY(-1px) scale(0.95);
  }
  
  /* Partners Swiper Mobile */
  .partnersSwiper {
    padding: 1.5rem 0 3.5rem;
  }
  
  .partnersSwiper .swiper-wrapper {
    justify-content: flex-start !important; /* Mobilde ilk slide görünsün */
    padding-left: 20px; /* İlk slide'ın görünmesi için padding */
  }
  
  .partnersSwiper .swiper-slide .partner-logo {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    height: 110px;
  }
  
  .partners-section {
    padding: 60px 0;
  }
  
  /* Footer Mobile */
  .footer-content {
    padding: 30px 0 20px;
  }
  
  .footer-logo {
    margin-bottom: 1rem;
  }
  
  .footer-logo .logo-img {
    height: 36px;
  }
  
  .footer-logo .brand-text b {
    font-size: 1.1rem;
  }
  
  .footer-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .footer-social {
    margin-top: 1rem;
  }
  
  .footer-social .social-icon {
    width: 36px;
    height: 36px;
  }
  
  .footer-social .social-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-bottom {
    padding: 20px 0;
    text-align: center;
  }
  
  .footer-copyright {
    margin-bottom: 1rem;
  }
  
  .footer-legal {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-legal .separator {
    display: none;
  }
}


/* =========================================================
   HERO BACKGROUND (Smooth Moving Gradient) - Minimal Override
   Keeps existing slider/layout intact; only replaces the BG.
   ========================================================= */

.hero-slider{
  background: var(--surface-0);
}

.hero-slide{ background: transparent !important; }

/* Disable previous tech-grid layers by overriding pseudo elements */
.hero-slider::before,
.hero-slider::after{
  content:'';
  position:absolute;
  inset:-35%;
  z-index:0;
  pointer-events:none;
  opacity:1 !important;
}

/* Main moving gradient mesh */
.hero-slider::before{
  background:
    radial-gradient(60% 55% at 20% 25%, rgba(17,24,39,.10) 0%, rgba(17,24,39,0) 60%),
    radial-gradient(55% 60% at 75% 30%, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 62%),
    radial-gradient(65% 60% at 55% 80%, rgba(17,24,39,.06) 0%, rgba(17,24,39,0) 60%),
    linear-gradient(180deg, var(--surface-0) 0%, var(--surface-50) 100%);
  filter: blur(55px);
  transform: translate3d(0,0,0) scale(1);
  animation: heroGradientFlow 26s ease-in-out infinite;
}

/* Optional subtle sheen (no grid/scanlines) */
.hero-slider::after{
  background:
    radial-gradient(50% 45% at 40% 35%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(55% 55% at 70% 75%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 62%);
  filter: blur(60px);
  opacity: .65 !important;
  animation: heroGradientFlow2 32s ease-in-out infinite;
}

/* Dark mode tuning */
[data-mode="dark"] .hero-slider::before{
  background:
    radial-gradient(60% 55% at 20% 25%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(55% 60% at 75% 30%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 62%),
    radial-gradient(65% 60% at 55% 80%, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, var(--surface-0) 0%, var(--surface-50) 100%);
  filter: blur(65px);
}

[data-mode="dark"] .hero-slider::after{
  background:
    radial-gradient(50% 45% at 40% 35%, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 62%),
    radial-gradient(55% 55% at 70% 75%, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 64%);
  opacity: .55 !important;
}

/* Ensure hero content stays above background layers */
.hero-slider .container,
.hero-slider .hero-content,
.hero-slider .hero-visual{
  position: relative;
  z-index: 2;
}

@keyframes heroGradientFlow{
  0%   { transform: translate3d(0,0,0) scale(1); }
  25%  { transform: translate3d(-6%,-4%,0) scale(1.05); }
  50%  { transform: translate3d(5%,-7%,0) scale(1.08); }
  75%  { transform: translate3d(7%,4%,0) scale(1.04); }
  100% { transform: translate3d(0,0,0) scale(1); }
}

@keyframes heroGradientFlow2{
  0%   { transform: translate3d(0,0,0) scale(1.02); }
  30%  { transform: translate3d(6%,-5%,0) scale(1.06); }
  60%  { transform: translate3d(-4%,6%,0) scale(1.07); }
  100% { transform: translate3d(0,0,0) scale(1.02); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-slider::before,
  .hero-slider::after{
    animation: none !important;
  }
}
