:root {
  --bg: #0b0b0f;
  --bg-alt: #12121a;
  --bg-card: #1a1a24;
  --text: #e9e9ef;
  --muted: #b8b8c7;
  --cyan: #00e5ff;
  --purple: #8a2be2;
  --primary: #667eea; /* used by inline styles */
  --secondary: #764ba2; /* used by inline styles */
  --success: #1fd286;
  --warn: #ffcc00;
  --danger: #ff4d6d;
  --ring: 0 0 0 3px rgba(138, 43, 226, 0.35);
  --spacing: 8px;
  --radius: 16px;
  --transition: 0.3s ease;
  
  /* Light theme colors */
  --bg-light: #ffffff;
  --text-dark: #213547;
  --text-dark-muted: #4a5568;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Beyaz zeminli kutularda koyu metin kullan */
.on-white,
[style*="background: white"] {
  color: var(--text-dark) !important;
}
.on-white h1,
.on-white h2,
.on-white h3,
.on-white h4,
.on-white h5,
.on-white h6,
[style*="background: white"] h1,
[style*="background: white"] h2,
[style*="background: white"] h3,
[style*="background: white"] h4,
[style*="background: white"] h5,
[style*="background: white"] h6 {
  color: var(--text-dark) !important;
}
[style*="background: white"] p,
.on-white p {
  color: var(--text-dark-muted) !important;
}
[style*="background: rgba(255,255,255"] {
  color: var(--text-dark) !important;
}

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

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

a:hover,
a:focus {
  color: var(--purple);
}

a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition);
}

button:focus-visible {
  box-shadow: var(--ring);
  outline: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing) * 3);
}

.section {
  padding: calc(var(--spacing) * 6) 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: calc(var(--spacing) * 2);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: calc(var(--spacing) * 2);
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 1);
  padding: calc(var(--spacing) * 2) calc(var(--spacing) * 4);
  border-radius: calc(var(--radius) / 2);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 2px solid var(--cyan);
}

.btn-secondary:hover {
  background: var(--cyan);
  color: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
  gap: calc(var(--spacing) * 2);
  max-width: 1400px;
  margin: 0 auto;
}

/* Language Selector */
.language-selector {
  position: relative;
  z-index: 100;
  order: 3;
  margin-left: auto;
}

.desktop-only {
  display: block;
}

.mobile-language-selector {
  display: none;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 600;
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.lang-flag {
  font-size: 1.25rem;
  line-height: 1;
}

.lang-code {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-arrow {
  transition: transform 0.3s ease;
}

.language-btn.active .lang-arrow {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: rgba(0, 229, 255, 0.1);
  padding-left: 20px;
}

.lang-option.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(138, 43, 226, 0.1));
  border-left: 3px solid var(--cyan);
}

.lang-name {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 968px) {
  .language-selector.desktop-only {
    display: none !important;
  }
  
  .mobile-language-selector {
    display: block;
    margin-top: calc(var(--spacing) * 3);
    padding-top: calc(var(--spacing) * 3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-language-selector .language-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 0.875rem;
  }
  
  .mobile-language-selector .language-dropdown {
    position: static;
    width: 100%;
    margin-top: calc(var(--spacing) * 2);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: all 0.3s ease;
  }
  
  .mobile-language-selector .language-btn.active ~ .language-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    padding: calc(var(--spacing) * 8) calc(var(--spacing) * 3) calc(var(--spacing) * 4);
    transition: left 0.3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: calc(var(--spacing) * 2);
  }
  
  nav ul li a {
    font-size: 1rem;
    padding: 12px 16px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  nav ul li a:hover,
  nav ul li a.nav-cta {
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
  }
  
  .hamburger {
    display: flex;
    order: 3;
  }
}

/* Statistics Floating - Mobile Collapsible */
/* Cleaned up - merged with main mobile query at line 1281 */

/* WhatsApp Float Widget - Mobile - Right under stats */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: auto;
    top: calc(50% - 60px + 50px + 8px);
    right: 20px;
  }
  
  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }
  
  .whatsapp-float:hover {
    width: 50px;
  }
  
  .whatsapp-text {
    display: none;
  }
  
  .whatsapp-float::before {
    display: none;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  order: 1;
}

nav {
  order: 2;
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  gap: calc(var(--spacing) * 4);
  list-style: none;
  align-items: center;
}

nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color var(--transition);
}

nav a:hover,
nav a[aria-current='page'] {
  color: var(--cyan);
}

.nav-cta {
  padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 3);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: white;
  border-radius: calc(var(--radius) / 2);
}

.nav-cta:hover {
  color: white;
  opacity: 0.9;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: calc(var(--spacing) * 1);
}

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

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

  nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    padding: calc(var(--spacing) * 3);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  nav ul {
    flex-direction: column;
    gap: calc(var(--spacing) * 2);
    align-items: flex-start;
  }
}

#hero-video {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing) * 6);
  align-items: center;
  padding: calc(var(--spacing) * 12) calc(var(--spacing) * 3);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(138, 43, 226, 0.05));
}

.hero-content h1 {
  margin-bottom: calc(var(--spacing) * 3);
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: calc(var(--spacing) * 4);
}

.hero-cta {
  display: flex;
  gap: calc(var(--spacing) * 2);
  flex-wrap: wrap;
}

.hero-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.hero-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 968px) {
  #hero-video {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 4);
    padding: calc(var(--spacing) * 8) calc(var(--spacing) * 3);
  }
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--spacing) * 4);
  margin-top: calc(var(--spacing) * 6);
}

/* Tedaviler bölümü için özel padding */
#treatments.section {
  padding: calc(var(--spacing) * 4) 0;
}

/* Ana sayfa için özel düzen - maksimum 4 kart yan yana */
#homepage-treatments {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
  min-height: 150px;
  overflow-x: auto;
}

#homepage-treatments .treatment-card {
  width: 220px;
  max-width: 220px;
  flex-shrink: 0;
  height: 320px;
  min-height: 320px;
}

#homepage-treatments .treatment-image-container {
  height: 100px;
}

#homepage-treatments .treatment-card-content {
  padding: calc(var(--spacing) * 2);
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

#homepage-treatments .treatment-card h3 {
  font-size: 1rem;
  min-height: 2.4rem;
  margin-bottom: calc(var(--spacing) * 0.8);
}

#homepage-treatments .treatment-card p {
  font-size: 0.85rem;
  min-height: 2.4rem;
  margin-bottom: calc(var(--spacing) * 1);
}

#homepage-treatments .treatment-features {
  min-height: 3.5rem;
  margin: 8px 0;
}

#homepage-treatments .treatment-features span {
  font-size: 0.8rem;
}

/* 1 kart varsa - ortada */
#homepage-treatments .treatment-card:only-child {
  margin: 0 auto;
}

/* 2 kart varsa - yan yana */
#homepage-treatments .treatment-card:nth-child(1):nth-last-child(2),
#homepage-treatments .treatment-card:nth-child(2):nth-last-child(1) {
  margin: 0;
}

/* 3 kart varsa - yan yana */
#homepage-treatments .treatment-card:nth-child(1):nth-last-child(3),
#homepage-treatments .treatment-card:nth-child(2):nth-last-child(2),
#homepage-treatments .treatment-card:nth-child(3):nth-last-child(1) {
  margin: 0;
}

/* 4 kart varsa - 2+2 düzeni */
#homepage-treatments .treatment-card:nth-child(1):nth-last-child(4),
#homepage-treatments .treatment-card:nth-child(2):nth-last-child(3),
#homepage-treatments .treatment-card:nth-child(3):nth-last-child(2),
#homepage-treatments .treatment-card:nth-child(4):nth-last-child(1) {
  margin: 0;
}

/* Mobil uyumluluk */
@media (max-width: 1024px) {
  #homepage-treatments {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px 10px;
  }
  
  #homepage-treatments .treatment-card {
    width: 220px;
    max-width: 220px;
    height: 320px;
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  #homepage-treatments {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 10px;
  }
  
  #homepage-treatments .treatment-card {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 280px;
    margin: 0 !important;
    order: unset !important;
  }
}

.treatment-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .treatment-card:hover {
    transform: none;
  }
}

.treatment-image-container {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.treatment-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.treatment-card:hover .treatment-image {
  transform: scale(1.05);
}

.treatment-card-content {
  padding: calc(var(--spacing) * 3);
}

.treatment-card h3 {
  margin-bottom: calc(var(--spacing) * 1);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.3;
  min-height: 2.6rem;
  display: flex;
  align-items: center;
}

.treatment-card p {
  font-size: 0.9rem;
  margin-bottom: calc(var(--spacing) * 1.5);
  line-height: 1.4;
  min-height: 2.8rem;
  display: flex;
  align-items: flex-start;
}

.treatment-card .btn {
  width: 100%;
}

.treatment-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.treatment-features {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 4.5rem;
  justify-content: flex-start;
  margin: 10px 0;
}

.treatment-features span {
  font-size: 0.85rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto calc(var(--spacing) * 6);
}

.section-header h2 {
  margin-bottom: calc(var(--spacing) * 2);
}

.section-header p {
  font-size: 1.125rem;
}

/* Before/After Comparison Sliders */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--spacing) * 4);
  margin-bottom: calc(var(--spacing) * 6);
}

.before-after-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.before-after-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.2);
}

.before-after-slider {
  position: relative;
  width: 100%;
  padding-top: 100%; /* taller for bigger card */
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.before-after-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.after-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: white;
  z-index: 3;
  cursor: ew-resize;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: linear-gradient(to bottom, transparent, white, transparent);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: var(--bg-primary);
  transition: all 0.3s ease;
}

.slider-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 229, 255, 0.5);
}

.before-label,
.after-label {
  position: absolute;
  top: 16px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 20px;
  z-index: 4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.before-label {
  left: 16px;
}

.after-label {
  right: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
}

.before-after-title {
  padding: calc(var(--spacing) * 3);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  color: white;
  margin: 0;
}

@media (max-width: 768px) {
  .before-after-grid {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 3);
  }
  
  .slider-button {
    width: 40px;
    height: 40px;
  }
  
  .before-label,
  .after-label {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

.gallery-scroll {
  display: flex;
  gap: calc(var(--spacing) * 3);
  overflow-x: auto;
  padding: calc(var(--spacing) * 3) 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--bg-alt);
}

.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: var(--bg-alt);
  border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 4px;
}

.gallery-item {
  flex-shrink: 0;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item:hover {
    transform: none;
  }
}

.gallery-item.large {
  width: 400px;
  height: 500px;
}

.gallery-item.medium {
  width: 300px;
  height: 380px;
}

.gallery-item.small {
  width: 250px;
  height: 320px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-links {
  display: flex;
  justify-content: center;
  gap: calc(var(--spacing) * 3);
  margin-top: calc(var(--spacing) * 4);
  flex-wrap: wrap;
}

.gallery-links a {
  font-weight: 600;
  padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 3);
  background: var(--bg-card);
  border-radius: calc(var(--radius) / 2);
  transition: all var(--transition);
}

.gallery-links a:hover {
  background: var(--cyan);
  color: var(--bg);
}

#testimonials {
  background: #000;
  padding: calc(var(--spacing) * 12) 0;
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(var(--spacing) * 6);
  flex-wrap: wrap;
  gap: calc(var(--spacing) * 3);
}

.testimonials-header h2 {
  margin: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: calc(var(--spacing) * 4);
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: calc(var(--spacing) * 4);
  transition: all var(--transition);
  cursor: pointer;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(138, 43, 226, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card:hover {
    transform: none;
  }
}

.testimonial-header {
  display: flex;
  gap: calc(var(--spacing) * 2);
  margin-bottom: calc(var(--spacing) * 2);
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cyan);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: calc(var(--spacing) * 0.5);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
}

.star {
  color: var(--warn);
  font-size: 1.125rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage Testimonials Slider (inside #testimonials only) */
#testimonials .testimonials-grid.slider-mounted {
  display: block;
  padding-bottom: 8px;
}

#testimonials .testimonials-slider {
  position: relative;
}

#testimonials .testimonials-track {
  display: flex;
  gap: calc(var(--spacing) * 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 12px;
}

#testimonials .testimonials-track::-webkit-scrollbar { height: 8px; }
#testimonials .testimonials-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 8px; }

#testimonials .testimonials-track .testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  #testimonials .testimonials-track .testimonial-card { flex: 0 0 calc(50% - 14px); }
}
@media (max-width: 640px) {
  #testimonials .testimonials-track .testimonial-card { flex: 0 0 100%; }
}

#testimonials .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

#testimonials .slider-nav:hover { background: rgba(0,0,0,0.55); }
#testimonials .slider-nav.prev { left: -6px; }
#testimonials .slider-nav.next { right: -6px; }

/* Homepage testimonials: light card theme (match references page) */
#testimonials .testimonials-grid.light-cards .testimonial-card {
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
#testimonials .testimonials-grid.light-cards .testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
#testimonials .testimonials-grid.light-cards .patient-country { color: #666; }
#testimonials .testimonials-grid.light-cards .testimonial-content p { color: #555; }

/* Video button like references */
#testimonials .testimonials-grid.light-cards .video-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 0.75rem;
}
#testimonials .testimonials-grid.light-cards .video-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}
#testimonials .testimonials-grid.light-cards .video-icon { font-size: 1.25rem; }

/* Video kapak stili */
#testimonials .video-cover {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1117;
}
#testimonials .video-cover img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
#testimonials .video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 42px;
  background: linear-gradient(transparent, rgba(0,0,0,0.35));
  opacity: 0.9;
  pointer-events: none;
}

.consultation-content {
  display: grid;
  /* left column (form) narrower, right column (features) wider */
  grid-template-columns: 380px 1fr;
  gap: calc(var(--spacing) * 4);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

/* Language select (native) */
#lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 14px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 600;
  outline: none;
  min-width: 180px;
  margin-left: 16px;
  background-image:
    linear-gradient(45deg, transparent 50%, #ccc 50%),
    linear-gradient(135deg, #ccc 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
#lang-select:focus {
  border-color: rgba(0,229,255,0.6);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.15);
}
@media (max-width: 768px) {
  #lang-select { width: 100%; margin: 8px 0 0 0; }
}

/* Show dynamic round language selector (desktop), mobile inside menu */
#lang-select, #lang-select-mobile { display: none !important; }

.language-selector { margin-left: auto; position: relative; }
.language-selector .language-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
}
.language-selector .language-btn .lang-code,
.language-selector .language-btn .lang-arrow { display: none; }

.language-selector .language-dropdown {
  position: absolute;
  right: 0; top: calc(100% + 8px);
  min-width: 180px;
  background: #0f1117;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  display: none;
  z-index: 1000;
}
.language-selector .language-btn.active + .language-dropdown { display: block; }
.language-dropdown .lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #e5e7eb;
}
.language-dropdown .lang-option:hover,
.language-dropdown .lang-option.active { background: rgba(255,255,255,0.06); color: #fff; }

/* Mobile: show language inside menu, at bottom area */
@media (max-width: 768px) {
  .language-selector { display: none; }
  .mobile-language-selector { display: block !important; }
  .mobile-language-footer { display: block; padding: 12px 0; }
  .mobile-language-selector .language-btn { width: 44px; height: 44px; border-radius: 999px; }
  .mobile-language-selector .language-dropdown { position: static; display: none; margin-top: 8px; }
  .mobile-language-selector .language-btn.active + .language-dropdown { display: block; }
}

/* WhatsApp must be above any floating layers on mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    bottom: 12px !important;
    right: 12px !important;
    width: 56px !important;
    height: 56px !important;
    z-index: 99999 !important;
    transform: none !important;
  }
  .whatsapp-float:hover { width: 56px !important; }
  .whatsapp-float .whatsapp-text { display: none !important; }
  .whatsapp-float::before { display: none !important; }
}

/* Ensure stories floating stays below WhatsApp */
.stories-floating { z-index: 20 !important; }

/* reduce vertical spacing for consultation section to make layout tighter */
#consultation.section {
  padding-top: calc(var(--spacing) * 8);
  padding-bottom: calc(var(--spacing) * 8);
}

.form-container,
.features-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: calc(var(--spacing) * 3);
  /* don't force equal height so columns align by content */
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.consultation-content {
  align-items: start; /* ensure both columns align to top */
}

@media (max-width: 768px) {
  .consultation-content {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: calc(var(--spacing) * 3);
}

.form-group label {
  display: block;
  margin-bottom: calc(var(--spacing) * 1);
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: calc(var(--spacing) * 2);
  background: var(--bg-alt);
  border: 2px solid transparent;
  border-radius: calc(var(--radius) / 2);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: var(--ring);
}

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

.form-group input[required],
.form-group select[required],
.form-group textarea[required] {
  border-left: 3px solid var(--cyan);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: calc(var(--spacing) * 2);
  margin-top: calc(var(--spacing) * 2);
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 1.5);
  padding: calc(var(--spacing) * 2);
  background: var(--bg-alt);
  border-radius: calc(var(--radius) / 2);
  transition: all var(--transition);
  min-height: 140px;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
}

/* Why Us section specific improvements */
#why-us .features-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 20px;
}

#why-us .feature-item {
  background: linear-gradient(180deg, rgba(26,26,36,0.95), var(--bg-card));
  border-radius: 16px;
  padding: 18px 16px;
  min-height: 180px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

#why-us .feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
}

#why-us .feature-icon {
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

#why-us .feature-content h4 {
  font-size: 1.05rem;
}

#why-us .feature-content p {
  font-size: 0.95rem;
}

/* Why Us layout: make video larger without increasing overall container */
#why-us .container { max-width: 1400px; }
#why-us .why-us-inner {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr; /* video daha geniş, kartlar biraz dar */
  gap: 24px;
  align-items: center;
}

#why-us .video-container {
  width: 100%;
}

#why-us .video-container video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

#why-us .why-us-content {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1200px) {
  #why-us .why-us-inner { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 968px) {
  #why-us .why-us-inner { grid-template-columns: 1fr; }
  #why-us .video-container { order: 1; }
  #why-us .why-us-content { order: 2; }
}

@media (max-width: 1100px) {
  #why-us .features-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}

@media (max-width: 640px) {
  #why-us .features-grid { grid-template-columns: 1fr; }
}

.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
}

.feature-item:hover {
  background: rgba(0, 229, 255, 0.1);
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 50%;
  font-size: 1.3rem;
  margin-bottom: calc(var(--spacing) * 1);
}

.features-container h3 {
  margin: 0 0 calc(var(--spacing) * 2) 0;
  color: var(--text);
  font-size: 1.25rem;
}

.features-container {
  /* ensure inner content doesn't overflow and has clear contrast */
  background: linear-gradient(180deg, rgba(26,26,36,0.95), var(--bg-card));
  overflow: visible;
}

.feature-content h4 {
  font-size: 1rem;
  margin-bottom: calc(var(--spacing) * 1);
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
}

.feature-content p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 968px) {
  #consultation {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: calc(var(--spacing) * 1.5);
  }
  
  .feature-item {
    min-height: 120px;
    padding: calc(var(--spacing) * 1.5);
  }
}

/* Statistics Floating Buttons - Sol Taraf */
.stats-floating {
  position: fixed;
  left: calc(var(--spacing) * 3);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
  z-index: 89;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.stats-floating.visible {
  opacity: 1;
  pointer-events: auto;
}

.stat-float-item {
  position: relative;
  width: 88px;
  height: 88px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateX(0);
}

.stats-floating:not(.visible) .stat-float-item {
  opacity: 0;
  transform: translateX(-100px);
}

.stats-floating.visible .stat-float-item {
  animation: slideInLeft 0.6s ease forwards;
}

.stats-floating.visible .stat-float-item:nth-child(1) {
  animation-delay: 0.1s;
}

.stats-floating.visible .stat-float-item:nth-child(2) {
  animation-delay: 0.2s;
}

.stats-floating.visible .stat-float-item:nth-child(3) {
  animation-delay: 0.3s;
}

.stats-floating.visible .stat-float-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.stat-float-item:hover {
  transform: scale(1.1);
}

.stat-float-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(var(--cyan), var(--purple), var(--cyan));
  /* animation: rotate 3s linear infinite; - Kaldırıldı */
}

/* @keyframes rotate - Kaldırıldı */

.stat-float-item:hover .stat-float-ring {
  /* animation-play-state: paused; - Kaldırıldı */
  background: conic-gradient(var(--purple), var(--cyan), var(--purple));
}

.stat-float-content {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  gap: 2px;
}

.stat-float-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.stat-float-number {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.stat-float-label {
  font-size: 0.625rem;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .stats-floating {
    left: calc(var(--spacing) * 1.5);
  }
  
  .stat-float-item {
    width: 75px;
    height: 75px;
  }
  
  .stat-float-icon {
    font-size: 1.25rem;
  }
  
  .stat-float-number {
    font-size: 1rem;
  }
  
  .stat-float-label {
    font-size: 0.55rem;
  }
}

/* Statistics Floating - Mobile Collapsible */
@media (max-width: 968px) {
  .stats-floating {
    position: fixed;
    right: 20px;
    top: calc(50% - 60px);
    transform: translateY(-50%);
    flex-direction: column;
    gap: 0;
    z-index: 88;
    width: auto;
    padding: 0;
  }
  
  /* Floating Toggle Button */
  .stats-floating::before {
    content: '📊';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
  }
  
  .stats-floating:not(.expanded)::before {
    animation: statsPulse 2s ease-in-out infinite;
  }
  
  @keyframes statsPulse {
    0%, 100% {
      box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
    }
    50% {
      box-shadow: 0 4px 30px rgba(0, 229, 255, 0.7);
    }
  }
  
  .stats-floating.expanded::before {
    content: '✕';
    font-size: 1.25rem;
    background: rgba(255, 59, 48, 0.9);
  }
  
  /* Stats Items - Hidden by default */
  .stat-float-item {
    width: 50px;
    height: 50px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(80px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  
  .stats-floating.expanded .stat-float-item {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
  }
  
  .stats-floating.expanded .stat-float-item:nth-child(1) {
    transition-delay: 0.1s;
  }
  
  .stats-floating.expanded .stat-float-item:nth-child(2) {
    transition-delay: 0.15s;
  }
  
  .stats-floating.expanded .stat-float-item:nth-child(3) {
    transition-delay: 0.2s;
  }
  
  .stats-floating.expanded .stat-float-item:nth-child(4) {
    transition-delay: 0.25s;
  }
  
  .stat-float-icon {
    font-size: 0.875rem;
  }
  
  .stat-float-number {
    font-size: 0.625rem;
    margin-top: 2px;
  }
  
  .stat-float-label {
    font-size: 0.375rem;
  }
  
  /* Remove slideInUp animation for mobile collapsed state */
  .stats-floating.visible .stat-float-item {
    animation: none !important;
  }
}

/* WhatsApp Float Widget - Mobile - Right under stats */
.footer-certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--spacing) * 3);
  padding-top: calc(var(--spacing) * 6);
  margin-top: calc(var(--spacing) * 6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--spacing) * 1);
  padding: calc(var(--spacing) * 2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: calc(var(--radius) / 2);
  transition: all 0.3s ease;
  min-width: 100px;
  text-align: center;
  font-size: 2rem;
}

.cert-badge:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-4px);
}

.cert-badge span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

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

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Farklı animasyon türleri */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

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

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

.scroll-rotate {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-rotate.animate-in {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Stagger animasyonları için delay sınıfları */
.delay-100 {
  transition-delay: 0.1s;
}

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

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

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

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

/* Prefers-reduced-motion desteği */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-fade-up,
  .scroll-fade-left,
  .scroll-fade-right,
  .scroll-scale,
  .scroll-rotate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

#why-us {
  display: flex;
  justify-content: center;
  padding: calc(var(--spacing) * 3) 0; /* daha da küçük */
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: calc(var(--spacing) * 2);
  align-items: center;
  max-width: 900px;
  width: 100%;
}

/* New expertise section styles */
#expertise {
  background: #000;
  color: #fff;
  padding: calc(var(--spacing) * 8) 0 40px; /* smaller bottom gap so white panel sits cleanly below */
}

.expertise-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: calc(var(--spacing) * 6);
  align-items: center;
  padding: 24px;
}

.expertise-left h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.75rem;
}

.expertise-left p {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.expertise-media {
  display: block;
  position: relative;
}

.media-stack {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 16px;
  align-items: start;
}

.media-large {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.media-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-small {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.media-small:hover {
  transform: scale(1.05);
}

.media-badge {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #012;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
}

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

.media-dots .dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
}

.media-dots .dot.active {
  background: var(--cyan);
}

@media (max-width: 968px) {
  .expertise-inner {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 18px;
  }

  .media-large {
    height: 220px;
  }

  .media-stack {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .media-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .media-small {
    width: 100%;
    height: 120px;
  }
}

/* consultation white boxed area centered with dark gutters */
.consultation-box {
  background: #fff;
  border-radius: 8px;
  padding: 48px 40px;
  margin: 40px auto 0 auto; /* place below expertise section */
  max-width: 980px; /* match pasted image narrower white panel */
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  position: relative;
  z-index: 20;
}

.section#consultation {
  background: transparent; /* keep outer section background dark, the box is white */
  padding-top: 40px;
  padding-bottom: 80px;
}

/* ensure inputs and components inside white box have correct colors */
.consultation-box .form-container {
  background: transparent;
  padding: 0;
}

.consultation-box .features-container {
  background: var(--bg-card);
  padding: 18px;
  border-radius: 12px;
}

.consultation-content .features-container {
  margin-left: 0;
}

@media (max-width: 968px) {
  .consultation-box {
    margin: -30px 16px 0 16px;
    padding: 28px 18px;
  }

  .consultation-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* Floating Consultation Button */
.floating-consultation-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.floating-consultation-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.5);
}

/* Modal Overlay */
.modal-overlay {
  display: none !important; /* Kesinlikle gizli */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex !important; /* Sadece active olunca görünür */
}

/* Form Notification */
.form-notification {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease;
  transition: opacity 0.3s ease;
}

.form-notification.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.form-notification.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.form-notification i {
  font-size: 1.25rem;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal Container */
.modal-container {
  position: relative;
  background: var(--bg-card);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Close Button */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--danger);
  color: white;
}

/* Modal Header */
.modal-header {
  padding: 32px 32px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  margin: 0 0 8px 0;
  font-size: 1.75rem;
  color: var(--text);
}

.modal-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Modal Body */
.modal-body {
  padding: 24px 32px 32px;
}

.modal-body .form-group {
  margin-bottom: 16px;
}

.modal-body .form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.modal-body .form-group input,
.modal-body .form-group select,
.modal-body .form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg-alt);
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus,
.modal-body .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.modal-body .form-group textarea {
  resize: vertical;
  min-height: 80px;
}

@media (max-width: 768px) {
  .floating-consultation-btn {
    bottom: 20px;
    right: 20px;
    padding: 14px 20px;
    font-size: 0.9rem;
  }
  
  .modal-header {
    padding: 24px 20px 16px;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
  
  .modal-body {
    padding: 20px;
  }
}

/* Consultation Bottom Section - Beyaz Alan */
.consultation-bottom {
  background: var(--bg-light);
  padding: 40px 20px;
}

.consultation-bottom-box {
  background: transparent;
  max-width: 900px;
  margin: 0 auto;
}

.consultation-bottom-box .section-header {
  text-align: center;
  margin-bottom: 32px;
}

.consultation-bottom-box .section-header h2 {
  color: var(--text-dark);
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.consultation-bottom-box .section-header p {
  color: var(--text-dark-muted);
  font-size: 1rem;
}

/* Features Container */
.consultation-bottom-box .features-container {
  background: transparent;
  padding: 0;
  margin-bottom: 24px;
}

.consultation-bottom-box .features-container h3 {
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.consultation-bottom-box .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 0;
}

.consultation-bottom-box .features-grid .feature-item {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 16px;
  min-height: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.consultation-bottom-box .feature-icon {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 8px;
}

.consultation-bottom-box .feature-content {
  flex: 1;
}

.consultation-bottom-box .feature-content h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text);
}

.consultation-bottom-box .feature-content p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--muted);
  }
  
  #consultation-bottom {
  padding: 0;
}

@media (max-width: 768px) {
  .consultation-bottom {
    padding: 30px 16px;
  }
  
  .consultation-bottom-box .features-grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Float Widget */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-decoration: none;
  overflow: visible;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  opacity: 0.5;
  animation: whatsapp-pulse 2s ease-in-out infinite;
  z-index: 0;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  width: 200px;
  border-radius: 30px;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover::before {
  animation: none;
  opacity: 0;
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
  color: white;
  flex-shrink: 0;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  position: relative;
  z-index: 1;
}

.whatsapp-float:hover .whatsapp-icon {
  transform: scale(0.9);
}

.whatsapp-text {
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  margin-left: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease 0.1s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-icon {
    width: 26px;
    height: 26px;
  }
  
  .whatsapp-float:hover {
    width: 180px;
  }
  
  .whatsapp-text {
    font-size: 0.95rem;
  }
}

/* Trust Badges/Certifications - Footer */
.footer-certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--spacing) * 3);
  padding-top: calc(var(--spacing) * 6);
  margin-top: calc(var(--spacing) * 6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--spacing) * 1);
  padding: calc(var(--spacing) * 2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: calc(var(--radius) / 2);
  transition: all 0.3s ease;
  min-width: 100px;
  text-align: center;
  font-size: 2rem;
}

.cert-badge:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-4px);
}

.cert-badge span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.video-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  height: 280px;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us-content {
  padding-right: 0;
  padding-left: calc(var(--spacing) * 2);
}

.why-us-content h2 {
  font-size: 1.35rem; /* daha küçük */
  margin-bottom: 8px;
}

.reasons-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px; /* çok küçük gap */
  margin-top: 8px;
}

.reason-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px; /* minimum padding */
  background: var(--bg-alt);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 6px;
}

.reason-item .reason-icon {
  width: 32px; /* daha küçük */
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(138,43,226,0.08));
  color: var(--cyan);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.reason-item h4 {
  margin: 0;
  color: var(--text);
  font-size: 0.8rem; /* daha küçük */
}

.reason-item p {
  margin: 0;
  font-size: 0.75rem; /* daha küçük */
  color: var(--muted);
  line-height: 1.3;
}

@media (max-width: 968px) {
  .why-us-inner {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 4);
  }

  .video-container {
    height: 240px;
  }

  .why-us-content {
    padding-right: 0;
  }

  .reasons-list .reason-item {
    padding: calc(var(--spacing) * 1.5);
  }
}

footer {
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: calc(var(--spacing) * 8) 0 calc(var(--spacing) * 4);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: calc(var(--spacing) * 6);
  margin-bottom: calc(var(--spacing) * 6);
}

.footer-about h3 {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: calc(var(--spacing) * 2);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
  margin-bottom: calc(var(--spacing) * 2);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 1.5);
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: calc(var(--spacing) * 2);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 50%;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--cyan);
  color: var(--bg);
}

.footer-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 1.5);
}

.footer-menu a {
  color: var(--muted);
  transition: color var(--transition);
}

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

.footer-map {
  position: relative;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
}

.footer-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition);
}

.footer-map:hover img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .footer-map:hover img {
    transform: none;
  }
}

/* Footer Certifications */
.footer-certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--spacing) * 3);
  padding-top: calc(var(--spacing) * 6);
  margin-top: calc(var(--spacing) * 6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--spacing) * 1);
  padding: calc(var(--spacing) * 2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: calc(var(--radius) / 2);
  transition: all 0.3s ease;
  min-width: 100px;
  text-align: center;
  font-size: 2rem;
}

.cert-badge:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-4px);
}

.cert-badge span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .footer-certifications {
    gap: calc(var(--spacing) * 2);
    padding-top: calc(var(--spacing) * 4);
  }
  
  .cert-badge {
    min-width: 80px;
    padding: calc(var(--spacing) * 1.5);
    font-size: 1.5rem;
  }
  
  .cert-badge span {
    font-size: 0.7rem;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: calc(var(--spacing) * 4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 4);
  }
}

.snap-container {
  position: fixed;
  right: calc(var(--spacing) * 3);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 2);
  z-index: 90;
}

.snap-button {
  position: relative;
  width: 88px;
  height: 88px;
  cursor: pointer;
  transition: all var(--transition);
}

.snap-button:hover {
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .snap-button:hover {
    transform: scale(1);
  }
}

.snap-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(var(--cyan), var(--purple), var(--cyan));
}

.snap-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.snap-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snap-label {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  white-space: nowrap;
  color: var(--text);
  font-weight: 600;
  text-align: center;
  padding: 6px 12px;
  background: var(--bg-alt);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

@media (max-width: 968px) {
  .snap-container {
    position: fixed;
    bottom: calc(var(--spacing) * 3);
    top: auto;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    padding: 0 calc(var(--spacing) * 3);
    overflow-x: auto;
  }

  .snap-button {
    flex-shrink: 0;
  }

  .snap-label {
    display: none;
  }
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 640px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.snap-viewer {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.snap-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1010;
}

.snap-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 24px;
  z-index: 1005;
  cursor: pointer;
  transition: all var(--transition);
}

.snap-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.snap-nav.prev {
  left: 8px;
}

.snap-nav.next {
  right: 8px;
}

.snap-dots {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  z-index: 1005;
  padding: 0;
}

.snap-dot {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
  overflow: hidden;
}

.snap-dot.active {
  background: rgba(255, 255, 255, 0.9);
}

.snap-dot .snap-dot-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: rgba(255,255,255,0.9);
  /* match JS autoplayDelay (5000ms) so visual progress syncs with auto-advance */
  transition: width 5s linear;
}

.modal-close:hover {
  background: var(--danger);
  color: white;
}

.modal-body {
  padding: calc(var(--spacing) * 3);
  overflow-y: auto;
}

.snap-viewer {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snap-viewer img {
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}

.snap-viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.snap-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 24px;
  z-index: 1005;
}

.snap-nav:hover {
  background: rgba(0, 229, 255, 0.8);
}

.snap-nav.prev {
  left: calc(var(--spacing) * 2);
}

.snap-nav.next {
  right: calc(var(--spacing) * 2);
}

.snap-dots {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0 20px;
  z-index: 1005;
}

.snap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}

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

/* progress element inside each dot for story-like timing */
.snap-dot {
  position: relative;
  overflow: hidden;
}

.snap-dot .snap-dot-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: rgba(0,229,255,0.9);
  transition: width 5s linear;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-nav:hover {
  background: var(--cyan);
}

.lightbox-nav.prev {
  left: -70px;
}

.lightbox-nav.next {
  right: -70px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1.5rem;
}

.lightbox-close:hover {
  background: var(--danger);
}

.result-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: calc(var(--spacing) * 4);
  margin-top: calc(var(--spacing) * 4);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: calc(var(--spacing) * 3);
  flex-wrap: wrap;
  gap: calc(var(--spacing) * 2);
}

.status-badge {
  padding: calc(var(--spacing) * 1) calc(var(--spacing) * 2);
  border-radius: calc(var(--radius) / 2);
  font-size: 0.875rem;
  font-weight: 600;
}

.status-badge.completed {
  background: rgba(31, 210, 134, 0.2);
  color: var(--success);
}

.status-badge.in-progress {
  background: rgba(255, 204, 0, 0.2);
  color: var(--warn);
}

.result-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: calc(var(--spacing) * 3);
}

.info-item h4 {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: calc(var(--spacing) * 1);
}

.info-item p {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.filter-bar {
  display: flex;
  gap: calc(var(--spacing) * 2);
  margin-bottom: calc(var(--spacing) * 4);
  flex-wrap: wrap;
}

.filter-bar input,
.filter-bar select {
  padding: calc(var(--spacing) * 2);
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: calc(var(--radius) / 2);
  color: var(--text);
  font-family: inherit;
  transition: all var(--transition);
}

.filter-bar input:focus,
.filter-bar select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: var(--ring);
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.error-message {
  background: rgba(255, 77, 109, 0.1);
  border: 2px solid var(--danger);
  color: var(--danger);
  padding: calc(var(--spacing) * 2);
  border-radius: calc(var(--radius) / 2);
  margin-top: calc(var(--spacing) * 2);
}

.success-message {
  background: rgba(31, 210, 134, 0.1);
  border: 2px solid var(--success);
  color: var(--success);
  padding: calc(var(--spacing) * 2);
  border-radius: calc(var(--radius) / 2);
  margin-top: calc(var(--spacing) * 2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Hakk1m1zda Sayfas1 - 0statistikler */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: calc(var(--spacing) * 2);
  margin-top: calc(var(--spacing) * 3);
  padding: calc(var(--spacing) * 2);
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.about-stat-item {
  text-align: center;
  padding: calc(var(--spacing) * 1);
}

.about-stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: calc(var(--spacing) * 0.5);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing) * 1.5);
  }
  .about-stat-number {
    font-size: 1.8rem;
  }
  .about-stat-label {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}



/* Instagram Stories Style Container */
.stories-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 20px;
  z-index: 1000;
  max-width: 400px;
  width: 90%;
}

.stories-header {
  text-align: center;
  margin-bottom: 15px;
}

.stories-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
}

.stories-subtitle {
  font-size: 12px;
  color: #666;
}

.stories-grid {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  padding: 5px 0;
}

.stories-grid::-webkit-scrollbar {
  height: 4px;
}

.stories-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.stories-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
}

.story-item {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.story-item:hover {
  transform: scale(1.1);
}

.story-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

.story-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-label {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  text-align: center;
  width: 80px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.story-item:hover .story-label {
  opacity: 1;
}

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



/* Story Modal Styles */
.story-modal .modal-content {
  max-width: 90vw;
  max-height: 90vh;
  width: 500px;
  height: 600px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.story-viewer {
  width: 100%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.story-viewer img,
.story-viewer video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.story-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 40px 20px 20px;
  text-align: center;
}

.story-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.story-info p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.story-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-modal .modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}



/* Stories Floating Sidebar */
.stories-floating {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 9998;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.story-viewer {
  width: 100%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.story-viewer img,
.story-viewer video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.story-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 40px 20px 20px;
  text-align: center;
}

.story-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.story-info p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.story-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-modal .modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}



/* Sa Taraf Hikayeler */
.stories-right {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.stories-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.story-item {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.story-item:hover {
  transform: scale(1.1);
}

.story-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

.story-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-cover img,
.story-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-label {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.story-item:hover .story-label {
  opacity: 1;
}

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



/* Sa Taraf Hikayeler */
.stories-right {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.stories-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.story-item {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.story-item:hover {
  transform: scale(1.1);
}

.story-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

.story-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-cover img,
.story-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-label {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.story-item:hover .story-label {
  opacity: 1;
}

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

/* Sa�x Taraf Hikayeler */

.stories-right {

  position: fixed;

  right: 20px;

  top: 50%;

  transform: translateY(-50%);

  z-index: 1000;

}



.stories-grid {

  display: flex;

  flex-direction: column;

  gap: 15px;

  align-items: center;

}



.story-item {

  position: relative;

  width: 60px;

  height: 60px;

  border-radius: 50%;

  cursor: pointer;

  transition: all 0.3s ease;

  flex-shrink: 0;

}



.story-item:hover {

  transform: scale(1.1);

}



.story-ring {

  width: 100%;

  height: 100%;

  border-radius: 50%;

  padding: 3px;

  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);

  background-size: 400% 400%;

  animation: gradientShift 3s ease infinite;

}



.story-cover {

  width: 100%;

  height: 100%;

  border-radius: 50%;

  overflow: hidden;

  background: white;

  display: flex;

  align-items: center;

  justify-content: center;

}



.story-cover img,

.story-cover video {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



.story-label {

  position: absolute;

  right: -80px;

  top: 50%;

  transform: translateY(-50%);

  font-size: 12px;

  font-weight: 600;

  color: #333;

  white-space: nowrap;

  background: rgba(255, 255, 255, 0.9);

  padding: 5px 10px;

  border-radius: 15px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  opacity: 0;

  transition: opacity 0.3s ease;

  pointer-events: none;

}



.story-item:hover .story-label {

  opacity: 1;

}



@keyframes gradientShift {

  0% { background-position: 0% 50%; }

  50% { background-position: 100% 50%; }

  100% { background-position: 0% 50%; }

}

/* Sa�x Taraf Hikayeler */

.stories-right {

  position: fixed;

  right: 20px;

  top: 50%;

  transform: translateY(-50%);

  z-index: 1000;

}



.stories-grid {

  display: flex;

  flex-direction: column;

  gap: 15px;

  align-items: center;

}



.story-item {

  position: relative;

  width: 60px;

  height: 60px;

  border-radius: 50%;

  cursor: pointer;

  transition: all 0.3s ease;

  flex-shrink: 0;

}



.story-item:hover {

  transform: scale(1.1);

}



.story-ring {

  width: 100%;

  height: 100%;

  border-radius: 50%;

  padding: 3px;

  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);

  background-size: 400% 400%;

  animation: gradientShift 3s ease infinite;

}



.story-cover {

  width: 100%;

  height: 100%;

  border-radius: 50%;

  overflow: hidden;

  background: white;

  display: flex;

  align-items: center;

  justify-content: center;

}



.story-cover img,

.story-cover video {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



.story-label {

  position: absolute;

  right: -80px;

  top: 50%;

  transform: translateY(-50%);

  font-size: 12px;

  font-weight: 600;

  color: #333;

  white-space: nowrap;

  background: rgba(255, 255, 255, 0.9);

  padding: 5px 10px;

  border-radius: 15px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  opacity: 0;

  transition: opacity 0.3s ease;

  pointer-events: none;

}



.story-item:hover .story-label {

  opacity: 1;

}



@keyframes gradientShift {

  0% { background-position: 0% 50%; }

  50% { background-position: 100% 50%; }

  100% { background-position: 0% 50%; }

}



/* Sa Taraf Hikaye 0konlar1 */
.stories-floating {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.stories-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.story-item {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.story-item:hover {
  transform: scale(1.2);
}

.story-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

.story-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-cover img,
.story-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-label {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.story-item:hover .story-label {
  opacity: 1;
}



/* Sağ Taraf Hikaye İkonları */
.stories-floating {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.stories-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.story-item {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.story-item:hover {
  transform: scale(1.2);
}

.story-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

.story-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-cover img,
.story-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-label {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.story-item:hover .story-label {
  opacity: 1;
}

/* Sağ Taraf Hikaye İkonları */
.stories-floating {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.stories-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.story-item {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-bottom: 35px; /* Kategori başlığı için yer aç */
}

.story-item:hover {
  transform: scale(1.1);
}

.story-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

.story-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-cover img,
.story-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-label {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.story-item:hover .story-label {
  opacity: 1;
}


/* Story Modal Styles */
.story-modal .modal-content {
  max-width: 90vw;
  max-height: 90vh;
  width: 500px;
  height: 600px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.story-viewer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.story-viewer img,
.story-viewer video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.story-progress-container {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 5px;
  z-index: 10;
}

.story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.story-progress-bar.active {
  background: #fff;
}

.story-progress-bar.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #fff;
  width: 0%;
  animation: storyProgress 7s linear forwards;
}

@keyframes storyProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.story-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.story-prev {
  left: 20px;
}

.story-next {
  right: 20px;
}

.story-viewer img,
.story-viewer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.story-viewer.paused::after {
  content: '⏸️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}


/* Kategori Başlığı - Alta Hizalı */
.story-category-title {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  margin: 8px 0 0 0;
  text-align: center;
  white-space: nowrap;
  min-width: 80px;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}


/* Story Modal Styles */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    height: 80vh;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}

.story-viewer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.story-viewer img,
.story-viewer video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-progress-container {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.story-progress-bar.active {
    background: #fff;
}

.story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.story-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.story-prev {
    left: 20px;
}

.story-next {
    right: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

