/* ============================================
   Sa�l�k��Burada.com � Design System
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-darker: #115E59;
  --primary-light: #14B8A6;
  --primary-lightest: #CCFBF1;
  --primary-bg: #F0FDFA;

  --secondary: #1E293B;
  --secondary-light: #334155;
  --secondary-lighter: #475569;

  --accent: #60A5FA;
  --accent-dark: #3B82F6;
  --accent-light: #93C5FD;

  --success: #22C55E;
  --error: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;

  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-white: #FFFFFF;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-white: #FFFFFF;

  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-xs: 0.7rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.25rem;
  --fs-6xl: 4rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Borders */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(13, 148, 136, 0.3);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.06);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal-backdrop: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14.5px; /* Scales down all rem units proportionally */
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---------- Section ---------- */
.section {
  padding: var(--space-20) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

.section-title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-4);
  text-align: center;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-12);
  text-align: center;
  line-height: var(--lh-relaxed);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--primary-lightest);
  color: var(--primary-dark);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn-accent:hover {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-md);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
}

.btn-icon {
  font-size: 1.2em;
}

/* ---------- Header / Navbar ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
  padding: var(--space-4) 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.06);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--text-white);
  z-index: 10;
}

.header.scrolled .header-logo {
  color: var(--primary);
}

.header-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.header.scrolled .header-logo .logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.header-logo span {
  background: linear-gradient(135deg, var(--text-white), rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header.scrolled .header-logo span {
  background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.header-nav a {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.header-nav a:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.1);
}

.header.scrolled .header-nav a {
  color: var(--text-secondary);
}

.header.scrolled .header-nav a:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  color: rgba(255,255,255,0.9);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.header.scrolled .header-phone {
  color: var(--text-secondary);
}

.header-phone:hover {
  background: rgba(255,255,255,0.1);
}

.header.scrolled .header-phone:hover {
  background: var(--bg-secondary);
}

.header-cta {
  padding: 0.6rem 1.5rem !important;
  background: var(--bg-white) !important;
  color: var(--primary) !important;
  font-weight: var(--fw-semibold) !important;
  border-radius: var(--radius-lg) !important;
  font-size: var(--fs-sm) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all var(--transition-base) !important;
}

.header-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  background: var(--primary-lightest) !important;
}

.header.scrolled .header-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--text-white) !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35) !important;
}

.header.scrolled .header-cta:hover {
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45) !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
  padding: var(--space-2);
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header.scrolled .mobile-toggle span {
  background: var(--secondary);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0F766E 0%, #115E59 30%, #1E293B 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--text-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-6);
  color: var(--primary-lightest);
}

.hero-title {
  margin-top: 25px;
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--text-white);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.75);
}

.hero-trust-item .trust-icon {
  width: 20px;
  height: 20px;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #86EFAC;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: scale(1.15) translateX(5%);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  clip-path: inset(0 0 0 15% round var(--radius-2xl));
}

.hero-float-card {
  position: absolute;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  right: -70px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  left: -30px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.float-card-icon.green {
  background: #DCFCE7;
  color: #16A34A;
}

.float-card-icon.blue {
  background: #DBEAFE;
  color: #2563EB;
}

.float-card-text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

.float-card-text span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ---------- Services Section ---------- */
.services {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.service-card-link {
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: var(--space-5);
  transition: transform var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon.teal { background: var(--primary-lightest); }
.service-icon.blue { background: #DBEAFE; }
.service-icon.purple { background: #EDE9FE; }
.service-icon.orange { background: #FEF3C7; }
.service-icon.pink { background: #FCE7F3; }
.service-icon.green { background: #DCFCE7; }

.service-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}

.service-card p {
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
  font-size: var(--fs-sm);
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  transition: gap var(--transition-fast);
}

.service-card:hover .service-link {
  gap: var(--space-3);
}

/* ---------- How It Works ---------- */
.how-it-works {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16.66%;
  right: 16.66%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-lightest), var(--primary), var(--primary-lightest));
  border-radius: 2px;
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-lightest), var(--primary-bg));
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  transition: all var(--transition-base);
}

.step-item:hover .step-number {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.step-number span {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--primary);
  transition: color var(--transition-base);
}

.step-item:hover .step-number span {
  color: var(--text-white);
}

.step-item h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}

.step-item p {
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- Why Us Section ---------- */
.why-us {
  background: linear-gradient(135deg, #0F766E 0%, #115E59 40%, #1E293B 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.why-us .section-title {
  color: var(--text-white);
}

.why-us .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.why-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
}

.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: 1.8rem;
}

.why-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
  color: var(--text-white);
}

.why-card p {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

/* ---------- Stats Section ---------- */
.stats {
  background: var(--bg-white);
  padding: var(--space-16) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.stat-item:hover {
  background: var(--primary-bg);
}

.stat-number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--primary);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--bg-primary);
}

.testimonials-slider {
  display: flex;
  gap: var(--space-6);
  overflow: hidden;
  position: relative;
}

.testimonial-card {
  min-width: calc(33.333% - var(--space-4));
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--accent);
  font-size: var(--fs-lg);
}

.testimonial-text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-lightest), var(--primary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--primary);
}

.testimonial-author-info strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

.testimonial-author-info span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1.5px solid #9CA3AF; /* Made border darker and thicker for visibility */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: var(--space-2);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: var(--radius-full);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}



.cta-inner {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cta-image {
  flex: 1;
  min-width: 40%;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-text-wrapper {
  flex: 1.2;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-content h2 {
  font-size: var(--fs-3xl);
  color: var(--text-white);
  margin-bottom: var(--space-4);
}

.cta-content p {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.8);
  max-width: 500px;
}

.cta-actions {
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .header-logo {
  color: var(--text-white);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--text-white);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-5);
}

.footer-column ul li {
  margin-bottom: var(--space-3);
}

.footer-column ul li a {
  font-size: var(--fs-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-column ul li a:hover {
  color: var(--primary-light);
  padding-left: var(--space-2);
}

.footer-bottom {
    padding: var(--space-6) 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--fs-xs);
    color: var(--text-muted);
  }

  .footer-copy {
    text-align: left;
    margin: 0;
  }

  .footer-links {
    text-align: center;
    margin: 0;
  }

  .footer-social-bottom {
    display: flex;
    justify-content: flex-end;
    margin: 0;
  }
  
  .footer-social-bottom a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-fast);
  }

  .footer-social-bottom a:hover {
    background: rgba(255,255,255,0.15);
    color: var(--text-white);
  }

/* ---------- Inner Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, #0F766E 0%, #115E59 50%, #1E293B 100%);
  padding: calc(80px + var(--space-16)) 0 var(--space-16);
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--text-white);
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--text-white);
}

.breadcrumb .separator {
  margin: 0 var(--space-1);
}

/* ---------- Cards (General) ---------- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}

/* ---------- Profile Cards ---------- */
.profile-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.profile-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: transparent;
}

.profile-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-lightest), var(--primary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.profile-info {
  padding: var(--space-5);
}

.profile-info h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-1);
}

.profile-role {
  font-size: var(--fs-sm);
  color: var(--primary);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
}

.profile-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.profile-rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--accent);
  font-size: var(--fs-sm);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: var(--bg-white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {`n  display: grid;`n  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--transition-base);
}

.accordion-item:hover {
  border-color: var(--primary-lightest);
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  width: 100%;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-icon {
  font-size: var(--fs-xl);
  color: var(--primary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-body-inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
}

/* ---------- Filter Buttons ---------- */
.filter-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-2) var(--space-5);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  background: var(--bg-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* ---------- Advantages / Features List ---------- */
.advantages-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.advantage-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.advantage-item:hover {
  background: var(--primary-bg);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary-lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.advantage-item h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-1);
}

.advantage-item p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ---------- WhatsApp Float Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: var(--fw-bold); }
.fw-semibold { font-weight: var(--fw-semibold); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mx-auto { margin-left: auto; margin-right: auto; }
.d-flex { display: flex; }
.gap-4 { gap: var(--space-4); }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 2.75rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 1.875rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .testimonial-card {
    min-width: calc(50% - var(--space-3));
  }

  .cta-inner {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cta-image {
  flex: 1;
  min-width: 40%;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-text-wrapper {
  flex: 1.2;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

  .cta-content p {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.875rem;
    --fs-3xl: 1.5rem;
    --container-padding: 1.25rem;
  }

  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 5;
  }

  .header-nav.active {
    opacity: 1;
    visibility: visible;
  }

  .header-nav a {
    font-size: var(--fs-xl);
    color: var(--text-white) !important;
  }

  .header-actions {
    display: none;
  }

  .header-nav.active ~ .header-actions {
    display: flex;
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .steps-grid::before {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .testimonial-card {
    min-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

.footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-4);
  }
  .footer-copy, .footer-links {
    text-align: center;
  }
  .footer-social-bottom {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .advantages-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .page-hero {
    padding: calc(80px + var(--space-10)) 0 var(--space-10);
  }

  .page-hero h1 {
    font-size: var(--fs-3xl);
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 1.875rem;
    --fs-4xl: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding: calc(80px + var(--space-10)) 0 var(--space-12);
  }

  .hero-badge {
    font-size: var(--fs-xs);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid {`n    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }

  .stat-number {
    font-size: var(--fs-3xl);
  }

  .filter-buttons {
    flex-wrap: wrap;
  }
}

.header-logo span {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
}
.header-logo .logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}
.header-logo .logo-icon svg {
  color: white;
  width: 32px;
  height: 32px;
}

/* Styling for inputs inside forms */
.form-group input, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #9CA3AF; /* Made border darker and thicker for visibility */
  border-radius: var(--radius-lg);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: var(--bg-white);
  transition: all var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Override logo to be green background and white lines */
.logo-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important; color: white !important; }
.logo-icon svg { color: white !important; }

/* ---------- Hizmetler Slider ---------- */
.services-slider {
  padding: 20px 10px 60px; /* Bottom padding for pagination */
  overflow: hidden;
}

.swiper-slide {
  height: auto;
  display: flex;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  cursor: grab;
}

.service-card:active {
  cursor: grabbing;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(13, 148, 136, 0.1);
  border-color: var(--primary-lightest);
}

.service-card .service-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--bg-secondary);
  color: var(--primary);
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  width: 100%;
}

.service-card:hover .service-btn {
  background: var(--primary);
  color: white;
}

/* Colors */
.icon-blue { background: #DBEAFE; color: #3B82F6; }
.icon-green { background: #D1FAE5; color: #10B981; }
.icon-purple { background: #F3E8FF; color: #8B5CF6; }
.icon-orange { background: #FFEDD5; color: #F97316; }
.icon-pink { background: #FCE7F3; color: #EC4899; }
.icon-red { background: #FEE2E2; color: #EF4444; }
.icon-yellow { background: #FEF3C7; color: #F59E0B; }

/* Swiper Customization */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--border);
  opacity: 1;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  background: var(--primary);
  width: 24px;
  border-radius: 5px;
}
.swiper-button-next, .swiper-button-prev {
  color: var(--primary);
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: bold;
}


/* ---------- Inline Hero Slider ---------- */
.inline-hero-slider {
  font-size: 1.5rem; /* Butonla orant�l� olmas� i�in k���lt�ld� */
  font-weight: 700;
  line-height: 1.5;
  display: flex;
  flex-direction: row; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 8px; 
  color: var(--text-primary);
}

.inline-hero-slider .static-text {
  color: var(--text-secondary);
}

.inline-hero-slider .slider-container {
  height: 1.5em; 
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.inline-hero-slider .slider-words {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  transition: transform 0.5s ease-in-out;
  transform: translateY(0);
}

.inline-hero-slider .slider-words span {
  height: 1.5em; 
  line-height: 1.5em; 
  margin: 0;
  padding: 0;
  display: inline-block;
  color: var(--primary); /* Sitenin ana ye�il rengi veya dikkat �ekici bir renk (�nceki mavi gibi, ama siteyle uyumlu) */
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .inline-hero-slider {
    font-size: 1.2rem;
    gap: 5px;
  }
}

.dark-gradient-bg {
    background: linear-gradient(135deg, #0F766E 0%, #115E59 30%, #1E293B 100%);
    min-height: 100vh;
}


/* --- Expert Row Card & Calendar (Doktor Takvimi Style) --- */
.expert-row-card {
  display: flex;
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
  flex-direction: column;
}

@media (min-width: 900px) {
  .expert-row-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

.expert-info-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex: 1;
  padding-right: 20px;
  border-right: none;
  margin-bottom: 20px;
}

.expert-avatar {
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .expert-info-side {
    border-right: 1px solid #e5e7eb;
    margin-bottom: 0;
  }
}

.expert-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 20px;
}

.expert-details h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 5px 0;
}

.expert-role {
  font-size: 0.95rem;
  color: #4b5563;
  font-weight: 500;
  margin: 0 0 10px 0;
}

.expert-location {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 5px;
}

.expert-address-sm {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 15px;
}

/* Calendar Grid */
.expert-calendar-side {
  flex: 1.2;
  padding-left: 0;
}

@media (min-width: 900px) {
  .expert-calendar-side {
    padding-left: 20px;
  }
}

.calendar-grid {
  display: flex;
  flex-direction: column;
  background: #f9fafb;
  border-radius: 12px;
  padding: 10px;
}

.calendar-headers {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.cal-col-header {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  color: #374151;
}

.calendar-body {
  display: flex;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 5px; /* for scrollbar */
}

/* Custom scrollbar for calendar */
.calendar-body::-webkit-scrollbar {
  width: 5px;
}
.calendar-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.calendar-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.calendar-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.cal-col-slots {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.cal-slot {
  width: 90%;
  max-width: 80px;
  padding: 6px 0;
  text-align: center;
  font-size: 0.85rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cal-slot.available {
  background: #d1fae5;
  color: #065f46;
}

.cal-slot.available:hover {
  background: #10b981;
  color: white;
}

.cal-slot.booked {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  text-decoration: line-through;
}

.cal-no-slots {
  font-size: 0.9rem;
  color: #9ca3af;
  padding: 10px 0;
}

/* --- Fix Header Visibility on Internal Pages --- */
body:not(.home) {
    padding-top: 75px; /* Adjusted for thinner header */
}
body:not(.home) .header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.06) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5) !important;
    padding: 8px 0 !important;
    position: absolute !important;
}

body:not(.home) .header-logo span {
    background: linear-gradient(135deg, var(--secondary), var(--primary-dark)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body:not(.home) .header-nav a {
    color: var(--text-secondary) !important;
}

body:not(.home) .header-nav a:hover {
    color: var(--primary) !important;
    background: var(--primary-bg) !important;
}

body:not(.home) .header-phone {
    color: var(--text-secondary) !important;
}

body:not(.home) .header-phone:hover {
    background: var(--bg-secondary) !important;
}

body:not(.home) .header-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: var(--text-white) !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35) !important;
}


/* Chat Interface */
.chat-container {
    display: flex;
    height: 600px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.chat-sidebar {
    width: 320px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.chat-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #0f172a;
    font-size: 16px;
    background: #ffffff;
}

.chat-contacts {
    flex: 1;
    overflow-y: auto;
}

.chat-contact-item {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-contact-item:hover {
    background: #f1f5f9;
}

.chat-contact-item.active {
    background: #e0f2fe;
    border-left: 4px solid var(--primary);
}

.chat-contact-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-contact-role {
    font-size: 10px;
    background: #fefce8;
    color: #eab308;
    padding: 2px 6px;
    border-radius: 10px;
}
.chat-contact-role.hasta {
    background: #e0f2fe;
    color: #0ea5e9;
}

.chat-contact-lastmsg {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-contact-time {
    font-size: 11px;
    color: #94a3b8;
    font-weight: normal;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.chat-main-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #0f172a;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8fafc;
}

.chat-bubble-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

.chat-bubble-wrapper.incoming {
    align-self: flex-start;
}

.chat-bubble-wrapper.outgoing {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.chat-bubble.incoming {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}

.chat-bubble.outgoing {
    background: var(--primary);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

.chat-input-area {
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Custom Scrollbar for Chat */
.chat-contacts::-webkit-scrollbar,
.chat-messages::-webkit-scrollbar {
    width: 6px;
}
.chat-contacts::-webkit-scrollbar-track,
.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chat-contacts::-webkit-scrollbar-thumb,
.chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.chat-contacts::-webkit-scrollbar-thumb:hover,
.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive Chat */
@media (max-width: 768px) {
    .chat-container {
        flex-direction: column;
        height: 700px;
        }
    .chat-sidebar {
        width: 100%;
        height: 250px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
}

/* --- Header Search Bar (Airbnb Style) --- */
.header-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #dddddd;
    margin: 0 20px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    max-width: 550px;
    flex: 1; 
    height: 48px;
}

.header-search-bar:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.15);
}

.search-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 16px;
    height: 100%;
    position: relative;
    cursor: text;
    border-radius: 40px;
    transition: background 0.2s ease;
}

.search-input-group:hover {
    background: #f7f7f7;
}

.search-input-group label {
    font-size: 10px;
    font-weight: 700;
    color: #000;
    background: #dddddd;
}

.hero-search-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 8px 6px 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.hero-search-btn svg {
    width: 16px;
    height: 16px;
}

.hero-search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}




/* --- Mini Search Capsule (Internal Pages) --- */
.mini-search-capsule {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 40px;
    height: 48px;
    padding: 0 8px 0 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 auto;
    cursor: pointer;
}

.mini-search-capsule:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.15);
}

.mini-search-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding: 0 16px;
    color: var(--text-dark);
}

.mini-search-divider {
    height: 24px;
    width: 1px;
    background-color: #dddddd;
}

.mini-search-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: 8px;
}

.mini-search-icon svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 900px) {
    .mini-search-capsule {
        display: none; /* Hide on mobile to keep header clean */
    }
}
/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: white;
    color: var(--text-dark);
    padding: 15px 20px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--primary);
}
.toast.show {
    transform: translateX(0);
}
.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }
.toast.info { border-left-color: #3b82f6; }
.toast-icon {
    font-size: 1.2rem;
}
.toast.success .toast-icon { color: #10b981; }
.toast.error .toast-icon { color: #ef4444; }
.toast.info .toast-icon { color: #3b82f6; }

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .search-input-group {
        width: 100%;
        padding: 10px 5px;
    }
    
    .search-input-group input {
        text-align: center;
        font-size: 1rem;
    }
    
    .search-divider {
        width: 90%;
        height: 1px;
        margin: 5px auto;
        background: #e5e7eb;
    }
    
    .hero-search-btn {
        width: 100%;
        border-radius: 10px;
        margin: 10px 0 0 0;
        height: 48px;
        border-radius: 12px;
    }
    
    .hero-search-btn::after {
        content: "Ara";
        font-weight: 600;
        font-size: 1rem;
        margin-left: 8px;
    }
    
    .inline-hero-slider {
        justify-content: center;
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
    
    /* Fix logo size on mobile to prevent header overlap */
    .header-logo img {
        height: 60px !important;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: 240px !important;
    }
}

/* Header Outline Button (Login / User Menu) */
.header .btn { border-radius: 40px; }
.header .btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 8px 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.header .btn-outline:hover {
    background: var(--primary-lightest);
}

/* Home Page Header (Transparent) */
body.home .header:not(.scrolled) .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

body.home .header:not(.scrolled) .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

/* Home Page Header (Scrolled - White Bg) */
body.home .header.scrolled .btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

body.home .header.scrolled .btn-outline:hover {
    background: var(--primary-lightest);
}

/* Dropdown color fix for user menu */
.user-menu-btn svg {
    margin-left: 4px;
}

/* --- EXPERIMENTAL WHITE HOME HEADER --- */
body.home .header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.06) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5) !important;
    padding: 8px 0 !important;
}

body.home .header-logo span {
    background: linear-gradient(135deg, var(--secondary), var(--primary-dark)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body.home .header-nav a {
    color: var(--text-secondary) !important;
}

body.home .header-nav a:hover {
    color: var(--primary) !important;
    background: var(--primary-bg) !important;
}

body.home .header-phone {
    color: var(--text-secondary) !important;
}

body.home .header-phone:hover {
    background: var(--bg-secondary) !important;
}

body.home .header-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: var(--text-white) !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35) !important;
}

/* Revert the white button logic back to plain text links */
.header-actions .btn,
body.home .header .btn,
.header-actions .btn-outline,
body.home .header .btn-outline,
.header-actions .btn-primary,
body.home .header .btn-primary {
    border: none !important;
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    text-transform: none !important;
}

.header-actions .btn:hover,
body.home .header .btn:hover {
    background: transparent !important;
    color: #555555 !important;
    text-decoration: underline !important;
}
/* --- END EXPERIMENTAL WHITE HOME HEADER --- */

/* Mobile Fixes Applied */
@media (max-width: 900px) {
    .header-logo img {
        height: 45px !important;
    }
    .header .container {
        flex-wrap: wrap;
    }
    .header-search-bar {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        order: 3;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
        flex-direction: row !important;
        height: 48px !important;
        border-radius: 40px !important;
    }
    .header-search-bar .search-input-group {
        padding: 5px 10px !important;
    }
    .header-search-bar .search-input-group input {
        font-size: 13px !important;
    }
    .header-search-bar .hero-search-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
        margin-right: 5px;
    }
    .hero {
        padding-top: 180px !important;
    }
    .page-hero {
        padding-top: 140px !important;
    }
    body:not(.home) .header {
        position: fixed !important;
        padding: 10px 0 !important;
    }
    body.home .header {
        padding-bottom: 15px !important;
    }
    body.home .header.scrolled {
        padding-bottom: 15px !important;
    }
}

@media (max-width: 900px) {
    .header-search-bar .search-divider {
        width: 1px !important;
        height: 24px !important;
        margin: 0 !important;
        background: #dddddd !important;
    }
}


@media (max-width: 900px) {
    .header-search-bar .hero-search-btn::after {
        content: '' !important;
        display: none !important;
    }
}

/* Prevent auth flicker */
.header-actions { opacity: 1; pointer-events: auto; transition: opacity 0.3s ease; }

/* Kapsul buton stili */
.header-actions .btn {
    border-radius: 50px !important;
}

/* --- Header Search Bar (Airbnb Style) --- */
.header-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.08);
    border: 1.5px solid #94a3b8;
    margin: 0 20px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    max-width: 550px;
    flex: 1; 
    height: 48px;
}

.header-search-bar:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.12);
    border-color: #64748b;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 2000;
    display: none;
    border: 1px solid #e2e8f0;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    color: #334155;
    transition: background 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover, .autocomplete-item.highlighted {
    background: #f1f5f9;
    color: #000000;
}

.autocomplete-item strong {
    font-weight: 800;
    color: #000000;
}

.autocomplete-empty {
    padding: 12px 16px;
    font-size: 14px;
    color: #94a3b8;
    text-align: center;
}

/* RESTORE DELETED STYLES AND APPLY NEW BLACK/PROFESSIONAL THEME */
.search-input-group label {
    text-transform: uppercase;
    pointer-events: none;
    margin-bottom: 1px;
}

.search-input-group input {
    border: none !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    outline: none !important;
    width: 100% !important;
}

.search-input-group input::placeholder {
    color: #555555 !important;
    font-weight: 400 !important;
}

.search-divider {
    width: 1px;
    height: 32px;
    background: #dddddd;
}

/* FINAL SEARCH CAPSULE OVERRIDE FOR HIGH VISIBILITY */
.header-search-bar {
    border: 2px solid #333333 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.header-search-bar:hover {
    border-color: #000000 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}

/* EXPERT GALLERY STYLES */
.expert-gallery-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.expert-gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* --- MOBILE APP NAVIGATION --- */
.mobile-bottom-nav {
    display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        height: 65px;
        border-top: 1px solid #e2e8f0;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body.scrolled-down .mobile-bottom-nav {
        transform: translateY(0);
    }
    
    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #64748b;
        text-decoration: none;
        flex: 1;
        height: 100%;
        gap: 4px;
        transition: color 0.2s ease;
    }
    
    .mobile-bottom-nav .nav-item svg {
        width: 24px;
        height: 24px;
        stroke-width: 2px;
    }
    
    .mobile-bottom-nav .nav-item span {
        font-size: 10px;
        font-weight: 600;
        margin-top: 2px;
    }
    
    .mobile-bottom-nav .nav-item.active {
        color: #0F766E; /* Primary color */
    }
    
    body {
        padding-bottom: 65px; /* Prevent overlap */
    }
}

/* --- HIDE DESKTOP HEADER ELEMENTS ON MOBILE --- */
@media (max-width: 900px) {
    .header-actions {
        display: none !important;
    }
    #header .header-search-bar {
        display: none !important;
    }
    .mobile-toggle {
        display: none !important;
    }
    .header {
        height: 65px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        display: flex;
        align-items: center;
        justify-content: center; /* Center logo on mobile */
    }
    .header .container {
        justify-content: center !important;
        width: 100%;
    }
    .header-logo {
        margin: 0 auto;
    }
    .header-logo img {
        height: 38px !important;
    }
    .page-hero {
        padding-top: 100px !important;
    }
}

/* --- MOBILE HOME PAGE CONTENT CLEANUP --- */
@media (max-width: 900px) {
    /* Hide the hero image */
    .hero-visual {
        display: none !important;
    }
    
    /* Hide 'Hizmetleri İncele' button */
    .hero-content .btn-accent {
        display: none !important;
    }
    
    /* Center the hero text and capsule since image is gone */
    /* Center the hero text and capsule since image is gone */
    .hero-content {
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Hide stats section for a cleaner look */
    .section.stats {
        display: none !important;
    }
}

/* --- HOME PAGE EYE-CATCHING SEARCH CAPSULE --- */
body.home .header-search-bar input,
body.home .mobile-search-capsule input {
    font-weight: 800 !important;
    color: #000000 !important;
}

body.home .header-search-bar input::placeholder,
body.home .mobile-search-capsule input::placeholder {
    font-weight: 600 !important;
    color: #333333 !important;
}

/* --- MOBILE SEARCH CAPSULE --- */
.mobile-search-capsule {
    display: none;
}

@media (max-width: 900px) {
    .mobile-search-capsule {
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        padding: 8px;
        width: 100%;
        max-width: 400px;
        margin: 30px auto 0 auto;
        border: 1px solid #e2e8f0;
    }
    
    .mobile-search-capsule .m-search-input {
        padding: 12px 15px;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .mobile-search-capsule input {
        border: none;
        outline: none;
        width: 100%;
        font-size: 1rem;
        font-family: inherit;
        color: #1e293b;
        background: transparent;
    }
    
    .mobile-search-capsule .m-search-divider {
        height: 1px;
        background: #e2e8f0;
        width: calc(100% - 30px);
        margin: 0 auto;
    }
    
    .mobile-search-capsule .m-search-btn {
        background: var(--primary);
        color: #ffffff;
        border: none;
        padding: 14px;
        border-radius: 14px;
        font-weight: 600;
        font-size: 1.05rem;
        cursor: pointer;
        margin-top: 5px;
        transition: background 0.3s;
    }
}

/* --- DASHBOARD MOBILE FIXES (profil.html & hasta-profil.html) --- */
@media (max-width: 900px) {
    .dashboard-container {
        flex-direction: column;
        margin: 20px auto !important;
        padding: 0 15px !important;
        gap: 15px !important;
    }
    .dashboard-sidebar {
        width: 100% !important;
        margin-bottom: 10px;
    }
    .dashboard-content {
        padding: 20px 15px !important;
    }
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    /* Hide desktop header actions on profile pages too */
    .dashboard-header .header-actions {
        display: none !important;
    }
}

/* --- USER REQUESTED MOBILE TWEAKS --- */
@media (max-width: 900px) {
    /* 1. CTA Banner fit on screen */
    .cta-inner {
        flex-direction: column !important;
    }
    .cta-image {
        min-width: 100% !important;
        height: 200px !important;
    }
    .cta-content {
        padding: 25px 15px !important;
        text-align: center;
    }
    
    /* 2. Increase logo size */
    .header-logo img {
        height: 60px !important;
    }
    
    /* 3. Header background green */
    .header {
        background: linear-gradient(135deg, #0F766E 0%, #115E59 30%, #1E293B 100%) !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }
    
    /* Hide the mobile nav hamburger icon inside header just in case */
    .mobile-toggle span {
        background-color: #ffffff !important;
    }
}

/* --- CTA TEXT MOBILE SIZING --- */
@media (max-width: 900px) {
    .cta-content h2 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }
    .cta-content p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    .cta-actions .btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        width: 100%;
        justify-content: center;
    }
}

/* Fix for profile header overlap on mobile */
@media (max-width: 900px) {
    body.dashboard-body {
        padding-top: 75px !important;
    }
    #approvalBanner {
        margin-top: 15px !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
}

/* --- HERO MOBILE PADDING FIX --- */
@media (max-width: 900px) {
    .hero {
        padding-top: 90px !important;
        padding-bottom: 20px !important;
    }
}

/* --- HERO MOBILE PADDING MICRO-ADJUSTMENT --- */
@media (max-width: 900px) {
    .hero {
        padding-top: 70px !important; 
    }
}

/* --- HIDE CALENDAR IN SEARCH RESULTS ON MOBILE --- */
@media (max-width: 900px) {
    .expert-calendar-side {
        display: none !important;
    }
}
