/* ==========================================================================
   ÖZEL TAN PSİKOLOJİK DANIŞMANLIK MERKEZİ - MODERN DESIGN SYSTEM
   ========================================================================== */


:root {
  /* Brand Color Palette */
  --primary: #a01d5b;
  --primary-dark: #7b1244;
  --primary-light: #c12973;
  --primary-subtle: #faedf3;
  --primary-glow: rgba(160, 29, 91, 0.18);
  
  --secondary: #2f2129;
  --secondary-light: #48353f;
  
  --accent-gold: #d4a359;
  --accent-green: #25d366; /* WhatsApp */
  --accent-green-dark: #128c7e;

  /* Neutrals */
  --bg-page: #fdfafb;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-tint: #f8f1f5;
  --bg-dark: #1a1417;
  --bg-footer: #22181d;
  
  --text-main: #231b20;
  --text-muted: #6b5c64;
  --text-light: #9b8a93;
  --text-white: #ffffff;

  --border-color: #eee2e8;
  --border-light: #f3ecf0;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(35, 27, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(35, 27, 32, 0.08);
  --shadow-lg: 0 16px 40px rgba(160, 29, 91, 0.12);
  --shadow-hover: 0 20px 48px rgba(160, 29, 91, 0.16);

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Dimensions */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
}

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

/* MONOCHROME SVG ICONS */
.svg-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
  flex-shrink: 0;
  color: inherit;
}

.topbar .svg-icon {
  width: 15px;
  height: 15px;
  vertical-align: -0.15em;
  color: var(--primary);
}

.feature-icon-wrapper .svg-icon {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.feature-card:hover .feature-icon-wrapper .svg-icon {
  color: #ffffff;
}

.contact-icon .svg-icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.stat-item .svg-icon {
  width: 38px;
  height: 38px;
  color: var(--accent-gold);
}

.footer-contact-item .svg-icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--primary-light);
}

.tab-btn .svg-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -0.15em;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--tr-fast);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

/* CONTAINER & GRID */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

@media (max-width: 991px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* SECTION UTILITIES */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

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

.section-bg-white {
  background-color: var(--bg-surface);
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.section-title {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* TOPBAR */
.topbar {
  background: #20131b;
  font-size: 0.84rem;
  padding: 0.6rem 0;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  overflow: hidden;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-links, .topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--tr-fast);
}

.topbar a:hover {
  color: var(--accent-gold);
}

.topbar .svg-icon {
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .topbar {
    padding: 0.45rem 0;
  }
  .topbar .container {
    justify-content: center;
  }
  .topbar-info {
    display: none !important;
  }
  .topbar-links {
    width: 100%;
    justify-content: center;
    gap: 1.1rem;
    font-size: 0.8rem;
  }
}

/* NAVBAR */
.header {
  position: relative;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(160, 29, 91, 0.12);
  box-shadow: 0 4px 24px rgba(37, 23, 31, 0.06);
  width: 100%;
}

.navbar, .header .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 98px;
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo img {
  height: 74px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transition: all var(--tr-smooth);
}

.header.scrolled .brand-logo img {
  height: 58px;
}

@media (max-width: 768px) {
  .navbar, .header .container {
    height: 86px;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .brand-logo {
    flex: 1;
    max-width: calc(100% - 92px);
  }
  .brand-logo img {
    height: 64px;
    max-width: 270px;
    width: auto;
  }
  .header.scrolled .brand-logo img {
    height: 54px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.8rem;
  margin: 0 auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: width var(--tr-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.btn-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform var(--tr-bounce), box-shadow var(--tr-fast), background-color var(--tr-fast);
}

.btn-whatsapp-icon:hover {
  transform: scale(1.12);
  background-color: #20ba59;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(160, 29, 91, 0.28);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(160, 29, 91, 0.35);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--bg-tint);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* HAMBURGER TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-tint);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--secondary);
  border-radius: 2px;
  transition: all var(--tr-fast);
}

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.2rem;
  gap: 1rem;
}

.drawer-logo {
  height: 66px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.drawer-close {
  background: var(--bg-tint);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all var(--tr-fast);
}

.drawer-close:hover {
  background: rgba(160, 29, 91, 0.1);
  color: var(--primary);
}

.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--tr-fast);
  text-decoration: none;
  background: transparent;
}

.drawer-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-tint);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  transition: all var(--tr-fast);
}

.drawer-icon-box svg {
  width: 20px;
  height: 20px;
}

.drawer-link-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.drawer-link-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  transition: color var(--tr-fast);
}

.drawer-link-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.drawer-arrow {
  color: var(--text-light);
  font-size: 1.3rem;
  line-height: 1;
  transition: all var(--tr-fast);
  margin-left: auto;
}

.drawer-link:hover,
.drawer-link.active {
  background: rgba(160, 29, 91, 0.05);
  border-color: rgba(160, 29, 91, 0.15);
}

.drawer-link:hover .drawer-icon-box,
.drawer-link.active .drawer-icon-box {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(160, 29, 91, 0.25);
}

.drawer-link:hover .drawer-link-title,
.drawer-link.active .drawer-link-title {
  color: var(--primary);
}

.drawer-link:hover .drawer-arrow,
.drawer-link.active .drawer-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

.drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.drawer-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-tint);
  border: 1px solid var(--border-color);
  color: var(--secondary);
  text-decoration: none;
  transition: all var(--tr-fast);
}

.drawer-action-btn svg {
  width: 16px;
  height: 16px;
}

.drawer-action-btn:hover {
  background: var(--bg-page);
  border-color: var(--primary);
  color: var(--primary);
}

.drawer-action-wp {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
  color: #128c7e;
}

.drawer-action-wp svg {
  width: 18px;
  height: 18px;
}

.drawer-action-wp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--tr-smooth);
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .nav-actions .btn-sm {
    display: none !important;
  }
}

/* ==========================================================================
   MODERN TRUST HERO SECTION
   ========================================================================== */
.modern-hero {
  position: relative;
  background: linear-gradient(180deg, #faf5f8 0%, #f6ecf2 50%, #efe2ea 100%);
  min-height: calc(100vh - 132px);
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(160, 29, 91, 0.08);
}

.modern-hero .container {
  width: 100%;
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(160, 29, 91, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.modern-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

@media (max-width: 991px) {
  .modern-hero {
    min-height: auto;
    padding: 2.5rem 0 2rem;
  }
  .modern-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .modern-hero-visual {
    order: 1;
    width: 100%;
  }
  .modern-hero-content {
    order: 2;
    width: 100%;
  }
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(160, 29, 91, 0.08);
  border: 1px solid rgba(160, 29, 91, 0.16);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-trust-badge .badge-sparkle {
  color: var(--accent-gold);
  font-size: 1rem;
}

.modern-hero-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.modern-hero-title .highlight-text {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.modern-hero-desc {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.modern-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.modern-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-trust-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(160, 29, 91, 0.12);
}

@media (max-width: 768px) {
  .modern-hero {
    padding: 1.75rem 0 2rem;
  }
  .modern-hero-title {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
  }
  .hero-trust-badge {
    font-size: 0.76rem;
    padding: 0.35rem 0.8rem;
    max-width: 100%;
    white-space: normal;
  }
  .modern-hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .modern-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }
  .modern-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-signals {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 0.75rem;
    padding-top: 1.25rem;
  }
  .hero-trust-signals .trust-signal-item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .trust-signal-item {
    gap: 0.65rem;
  }
  .trust-signal-icon {
    width: 38px;
    height: 38px;
  }
  .trust-signal-icon svg {
    width: 18px;
    height: 18px;
  }
  .trust-signal-item strong {
    font-size: 0.84rem;
  }
  .trust-signal-item span {
    font-size: 0.74rem;
  }
}

.trust-signal-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-signal-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(160, 29, 91, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(160, 29, 91, 0.05);
}

.trust-signal-icon svg {
  width: 20px;
  height: 20px;
}

.trust-signal-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

.trust-signal-item span {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.2;
}

/* HERO VISUAL COMPOSITION */
.modern-hero-visual {
  position: relative;
  width: 100%;
}

.hero-image-card {
  position: relative;
  border-radius: 28px;
  overflow: visible;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(160, 29, 91, 0.12);
  box-shadow: 0 20px 48px rgba(37, 23, 31, 0.08);
}

.hero-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.floating-trust-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(160, 29, 91, 0.15);
  box-shadow: 0 12px 32px rgba(37, 23, 31, 0.12);
  z-index: 5;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -15px;
  right: -20px;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@media (max-width: 768px) {
  .hero-image-card {
    padding: 8px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(37, 23, 31, 0.06);
  }
  .hero-main-img {
    height: 250px;
    border-radius: 14px;
  }
  .floating-trust-badge {
    position: static !important;
    margin-top: 0.75rem;
    width: 100%;
    max-width: 100%;
    animation: none !important;
    transform: none !important;
    padding: 0.65rem 0.9rem;
    box-shadow: var(--shadow-sm);
  }
  .badge-top-right, .badge-bottom-left {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(160, 29, 91, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge-icon svg {
  width: 18px;
  height: 18px;
}

.floating-trust-badge strong {
  display: block;
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

.floating-trust-badge small {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ==========================================================================
   HERO SPECIALTIES BAR (4 QUICK CARDS)
   ========================================================================== */
.hero-specialties-bar {
  background: #ffffff;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.specialty-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--bg-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--tr-fast);
  text-decoration: none;
}

.specialty-item:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(160, 29, 91, 0.08);
}

.specialty-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(160, 29, 91, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--tr-fast);
}

.specialty-item:hover .specialty-icon {
  background: var(--primary);
  color: #ffffff;
}

.specialty-icon svg {
  width: 22px;
  height: 22px;
}

.specialty-text h4 {
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 700;
  margin: 0 0 0.15rem;
  line-height: 1.2;
}

.specialty-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.2;
}

.specialty-arrow {
  margin-left: auto;
  color: var(--primary);
  font-size: 1.1rem;
  transition: transform var(--tr-fast);
}

.specialty-item:hover .specialty-arrow {
  transform: translateX(4px);
}

/* FEATURE CARDS / QUICK INTRO */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--tr-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-color);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  transition: transform var(--tr-bounce);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary);
  color: #ffffff;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* BIO / PROFILE CARD */
.bio-section-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .bio-section-content { grid-template-columns: 1fr; }
}

.bio-image-wrapper {
  position: relative;
}

.bio-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover; object-position: center;
}

.bio-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .bio-badge {
    position: static;
    margin-top: 1rem;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 0.9rem 1.2rem;
  }
}

.bio-badge-icon {
  font-size: 2rem;
  color: var(--primary);
}

.bio-badge-text h4 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--secondary);
}

.bio-badge-text p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-muted);
}

/* SERVICE / STUDY AREA CARDS */
.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--tr-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.6s ease;
}

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

.service-card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}

.service-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-card-link:hover {
  gap: 0.7rem;
}

/* MODERN PRACTICE AREAS PAGE (CALISMA ALANLARIMIZ REDESIGN) */
.practice-hero {
  background: linear-gradient(135deg, #2b1722 0%, #160c12 100%);
  color: #ffffff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.practice-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(160, 29, 91, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.practice-hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.practice-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.practice-hero-badge .svg-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .practice-hero-badges {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 0.65rem 0.55rem;
    max-width: 100%;
    margin-top: 1.25rem;
  }
  .practice-hero-badges .practice-hero-badge:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .practice-hero-badge {
    padding: 0.38rem 0.7rem;
    font-size: 0.76rem;
    white-space: nowrap;
    justify-content: center;
  }
  .practice-hero-badge .svg-icon {
    width: 14px;
    height: 14px;
  }
}

/* CATEGORY FILTER PILLS */
.filter-pills-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-pill-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}

.filter-pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.filter-pill-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(160, 29, 91, 0.3);
}

/* PRACTICE OVERVIEW CARDS GRID */
.practice-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-smooth);
}

.practice-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-hover);
}

.practice-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.practice-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.6s ease;
}

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

.practice-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.practice-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.practice-card-icon-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.practice-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.practice-card-icon .svg-icon {
  width: 18px;
  height: 18px;
}

.practice-card-title {
  font-size: 1.15rem;
  color: var(--secondary);
  margin: 0;
}

.practice-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.practice-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-top: auto;
}

.practice-card-btn-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: var(--primary-subtle);
  border: 1px solid rgba(160, 29, 91, 0.15);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: all var(--tr-fast);
}

.practice-card-btn-link:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(160, 29, 91, 0.25);
}

@keyframes tabGlow {
  0% { box-shadow: 0 0 0 0 rgba(160, 29, 91, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(160, 29, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(160, 29, 91, 0); }
}

.tab-pane.active .practice-detail-card {
  animation: fadeIn 0.4s ease, tabGlow 1s ease;
}

@media (max-width: 991px) {
  .detail-grid-responsive {
    grid-template-columns: 1fr !important;
  }
}

/* DETAILED READER SECTION */
.practice-detail-section {
  background: var(--bg-tint);
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0;
}

.practice-detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .practice-detail-grid {
    grid-template-columns: 1fr;
  }
}

.practice-sidebar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.sidebar-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin: 1.2rem 0 0.5rem 0.5rem;
}

.sidebar-group-title:first-child {
  margin-top: 0;
}

.sidebar-nav-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--tr-fast);
  margin-bottom: 0.3rem;
}

.sidebar-nav-btn:hover {
  background: var(--bg-tint);
  color: var(--primary);
}

.sidebar-nav-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(160, 29, 91, 0.3);
}

.sidebar-nav-btn .svg-icon {
  width: 16px;
  height: 16px;
}

/* PRACTICE DETAIL CARD (RIGHT) */
.practice-detail-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.8rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .practice-detail-card {
    padding: 1.5rem 1.2rem;
  }
}

.detail-banner-img {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.detail-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; object-position: center;
}

.detail-meta-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: var(--bg-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

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

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
}

.detail-meta-item .svg-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.detail-content {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.detail-content h2, .detail-content .tab-pane-title {
  font-size: 1.65rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.detail-content h3, .detail-content h4 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin: 1.5rem 0 0.75rem;
}

.detail-content p {
  margin-bottom: 1.1rem;
}

.detail-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.detail-content li {
  margin-bottom: 0.5rem;
}

.detail-cta-box {
  margin-top: 3rem;
  padding: 1.8rem 2.2rem;
  background: linear-gradient(135deg, #fcf9fa 0%, #f6eff3 100%);
  border: 1px solid rgba(160, 29, 91, 0.14);
  border-radius: var(--radius-md);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: 0 4px 18px rgba(160, 29, 91, 0.04);
}

.detail-cta-box h4 {
  color: var(--secondary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.detail-cta-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.detail-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.detail-cta-actions .btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all var(--tr-fast);
}

.detail-cta-actions .btn-whatsapp:hover {
  background: #1ebc57;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* TABS COMPONENT FOR STUDY AREAS */
.tabs-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

@media (max-width: 991px) {
  .tabs-container {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

.tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.tab-btn {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.4rem;
  background: var(--bg-tint);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tab-btn:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(160, 29, 91, 0.3);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-pane-title {
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-light);
}

.tab-pane-content {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.tab-pane-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.tab-pane-content li {
  margin-bottom: 0.5rem;
}

/* SPLIT DUAL SECTION (NEDEN BİZ + RANDEVU FORMU) */
.split-appointment-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4.5rem 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.split-why-col {
  display: flex;
  flex-direction: column;
}

.split-header {
  margin-bottom: 2rem;
}

.split-title {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.split-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.why-split-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.why-split-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--tr-smooth);
}

.why-split-item:hover {
  transform: translateX(6px);
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.why-split-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--tr-fast);
}

.why-split-item:hover .why-split-icon {
  background: var(--primary);
  color: #ffffff;
}

.why-split-icon .svg-icon {
  width: 20px;
  height: 20px;
}

.why-split-content {
  flex-grow: 1;
}

.why-split-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.why-split-name {
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.why-split-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* SPLIT FORM BOX */
.split-form-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--primary);
}

@media (max-width: 768px) {
  .split-form-box {
    padding: 1.6rem 1.2rem;
  }
}

.split-form-header {
  text-align: left;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.split-form-title {
  font-size: 1.45rem;
  color: var(--secondary);
  margin: 0.3rem 0;
}

.split-form-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* STATS / VALUES BANNER */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* BLOG CARDS */
.blog-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--tr-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.6s ease;
}

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

.blog-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.blog-category {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--secondary);
}

.blog-card-title a {
  color: inherit;
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* FORM CONTROLS & APPOINTMENT BOX */
.appointment-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

/* APPOINTMENT BANNER BADGES */
.appointment-hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: nowrap;
  max-width: 100%;
}

.appointment-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .appointment-hero-badges {
    gap: 0.45rem;
    flex-wrap: nowrap !important;
  }
  .appointment-hero-badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.74rem;
    gap: 0.35rem;
  }
  .appointment-hero-badge .svg-icon {
    width: 13px !important;
    height: 13px !important;
  }
}

@media (max-width: 380px) {
  .appointment-hero-badges {
    gap: 0.3rem;
  }
  .appointment-hero-badge {
    padding: 0.3rem 0.45rem;
    font-size: 0.68rem;
    gap: 0.25rem;
  }
}

.appointment-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .appointment-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: #e53e3e;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-tint);
  color: var(--text-main);
  transition: all var(--tr-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check label {
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.95rem;
}

.form-alert.success {
  display: block;
  background-color: #e6fffa;
  color: #234e52;
  border: 1px solid #b2f5ea;
}

.form-alert.error {
  display: block;
  background-color: #fff5f5;
  color: #742a2a;
  border: 1px solid #feb2b2;
}

/* HONEYPOT (Hidden from humans) */
.hp-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* PHOTO GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  height: auto;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: var(--bg-surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(160, 29, 91, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  transition: opacity var(--tr-smooth);
}

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

/* ==========================================================================
   MODERN PRINCIPLES & ETHICS STYLES
   ========================================================================== */
.principles-intro-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf5f8 100%);
  border: 1px solid rgba(160, 29, 91, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: 0 10px 30px rgba(37, 23, 31, 0.04);
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .principles-intro-card {
    padding: 1.8rem 1.5rem;
  }
}

.principles-intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-primary);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.modern-principle-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all var(--tr-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.modern-principle-card:hover {
  transform: translateY(-5px);
  border-color: rgba(160, 29, 91, 0.3);
  box-shadow: 0 16px 36px rgba(160, 29, 91, 0.08);
}

.modern-principle-card.featured-principle {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fcf8fa 0%, #f7eff3 100%);
  border: 1px solid rgba(160, 29, 91, 0.2);
}

.principle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.principle-icon-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.principle-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(160, 29, 91, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--tr-fast);
}

.modern-principle-card:hover .principle-icon-box {
  background: var(--primary);
  color: #ffffff;
}

.principle-icon-box svg {
  width: 24px;
  height: 24px;
}

.principle-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.principle-heading {
  font-size: 1.2rem;
  color: var(--secondary);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.principle-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(160, 29, 91, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  white-space: nowrap;
}

.principle-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.principle-body p {
  margin-bottom: 0.75rem;
}

.principle-body p:last-child {
  margin-bottom: 0;
}

.principle-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.principle-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: var(--secondary);
}

.principle-list li::before {
  content: '•';
  position: absolute;
  left: 0.3rem;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ETHICS PLEDGE BANNER */
.ethics-pledge-banner {
  background: linear-gradient(135deg, #25171f 0%, #170d13 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 3rem;
  color: #ffffff;
  margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
  .ethics-pledge-banner {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   CONTACT PAGE & MAP STYLES
   ========================================================================== */
.map-frame-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all var(--tr-smooth);
}

.map-frame-wrapper:hover {
  box-shadow: 0 12px 32px rgba(160, 29, 91, 0.08);
  border-color: rgba(160, 29, 91, 0.25);
}

.map-frame {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .map-frame {
    height: 300px;
  }
}

.map-info-box {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-tint);
  color: var(--primary);
  border: 1px solid rgba(160, 29, 91, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--tr-fast);
}

.map-directions-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  background: var(--bg-footer);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.75rem 0 1.5rem 0;
}

.footer .grid-4 {
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.8rem 1.2rem !important;
  }
  .footer .grid-4 > div:first-child,
  .footer .grid-4 > div:last-child {
    grid-column: 1 / -1;
  }
}

.footer-brand img {
  height: 50px;
  width: auto;
  max-width: none;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer h4 {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--tr-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  align-items: flex-start;
  font-size: 0.86rem;
}

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

.footer-contact-item i, .footer-contact-item svg {
  color: var(--primary-light);
  font-size: 1rem;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* FLOATING WIDGETS */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all var(--tr-bounce);
  cursor: pointer;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.12);
}

.floating-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp:hover {
  background-color: #20ba59;
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.floating-top {
  background-color: var(--secondary);
  opacity: 0;
  visibility: hidden;
  transition: all var(--tr-fast);
}

.floating-top.show {
  opacity: 1;
  visibility: visible;
}

.floating-top:hover {
  background-color: var(--primary);
}

/* MODAL NOTIFICATION */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--tr-smooth);
}

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

.modal-box {
  background: #ffffff;
  max-width: 480px;
  width: 90%;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform var(--tr-smooth);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.modal-icon.success {
  background: #e6fffa;
  color: #38b2ac;
}

.modal-icon.error {
  background: #fff5f5;
  color: #e53e3e;
}

/* ==========================================================================
   LIGHTBOX GALLERY SLIDER
   ========================================================================== */
.gallery-modal {
  background: rgba(18, 9, 15, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-container {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.lightbox-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000000;
}

#lightbox-img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#lightbox-img.fade {
  opacity: 0;
  transform: scale(0.96);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--tr-fast);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.lightbox-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -28px;
}

.lightbox-next {
  right: -28px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 8px;
    width: 42px;
    height: 42px;
  }
  .lightbox-next {
    right: 8px;
    width: 42px;
    height: 42px;
  }
}

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all var(--tr-fast);
  backdrop-filter: blur(8px);
}

.lightbox-close-btn:hover {
  background: #e53e3e;
  border-color: #e53e3e;
  transform: scale(1.1);
}
