/* ===================================
   SELIN KARAHAN - DIYETISYEN
   Premium Website Design System
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors - From Logo */
  --primary-blue: #6B9EBD;
  --primary-blue-dark: #5A8BA8;
  --primary-blue-light: #8BB5CE;

  --primary-green: #8DB48E;
  --primary-green-dark: #7AA37B;
  --primary-green-light: #A5C5A6;

  --accent-olive: #A3B86C;
  --accent-olive-dark: #8FA55A;
  --accent-olive-light: #B8CA8A;

  /* Neutral Colors */
  --cream: #F9F7F4;
  --cream-dark: #F0EDE8;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-300: #D1D1D1;
  --gray-400: #9E9E9E;
  --gray-500: #6B6B6B;
  --gray-600: #4A4A4A;
  --gray-700: #333333;
  --gray-800: #1A1A1A;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  --gradient-hero: linear-gradient(135deg, #6B9EBD 0%, #8DB48E 50%, #A3B86C 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(107, 158, 189, 0.08);
  --shadow-md: 0 4px 20px rgba(107, 158, 189, 0.12);
  --shadow-lg: 0 8px 40px rgba(107, 158, 189, 0.16);
  --shadow-xl: 0 16px 60px rgba(107, 158, 189, 0.20);
  --shadow-glow: 0 0 40px rgba(107, 158, 189, 0.3);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--cream);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  font-size: 1.1rem;
  color: var(--gray-600);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(107, 158, 189, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-blue-dark);
  margin-bottom: var(--space-lg);
}

.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 50%;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue-dark);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-blue-dark);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* ===== GLASSMORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(107, 158, 189, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(107, 158, 189, 0.2);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(107, 158, 189, 0.1);
}

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

.card-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 2rem;
}

.card h4 {
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: 1rem;
  color: var(--gray-500);
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo img {
  height: 120px;
  width: auto;
}

.logo-svg {
  height: 50px;
  width: auto;
}

.footer-logo-svg {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-lg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: var(--space-sm) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

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

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

.nav-cta {
  margin-left: var(--space-lg);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gray-700);
  transition: var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 110vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 80px;
  padding-bottom: 120px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(163, 184, 108, 0.2) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Floating Elements */
.hero-floating {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  z-index: 1;
}

.floating-item {
  position: absolute;
  font-size: 3rem;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.floating-item:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.floating-item:nth-child(2) {
  top: 30%;
  right: 10%;
  animation-delay: 1s;
}

.floating-item:nth-child(3) {
  top: 60%;
  left: 10%;
  animation-delay: 2s;
}

.floating-item:nth-child(4) {
  bottom: 20%;
  right: 20%;
  animation-delay: 3s;
}

.floating-item:nth-child(5) {
  bottom: 10%;
  left: 40%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--cream);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.1;
  z-index: 1;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
}

.about-badge-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.about-badge-text {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content>p {
  margin-bottom: var(--space-xl);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 158, 189, 0.1);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.about-feature span {
  font-weight: 500;
  color: var(--gray-700);
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--white);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    radial-gradient(circle at 0% 0%, rgba(107, 158, 189, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(141, 180, 142, 0.05) 0%, transparent 50%);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  text-align: center;
  padding: var(--space-2xl);
}

.service-card .card-icon {
  margin: 0 auto var(--space-lg);
}

/* ===== PROGRAMS SECTION ===== */
.programs {
  background: var(--cream);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.programs-grid.programs-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid rgba(107, 158, 189, 0.1);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.program-card.featured {
  border: 2px solid var(--primary-blue);
  position: relative;
}

.program-card.featured::before {
  display: none;
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #333;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255, 165, 0, 0.4);
  z-index: 10;
}

.program-header {
  padding: var(--space-2xl);
  text-align: center;
  background: var(--gradient-primary);
  color: var(--white);
}

.program-header h4 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.program-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
}

.program-price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
}

.program-content {
  padding: var(--space-2xl);
}

.program-features {
  margin-bottom: var(--space-xl);
}

.program-features li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  color: var(--gray-600);
}

.program-features li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 158, 189, 0.1);
  color: var(--primary-blue);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

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

.program-description {
  color: var(--gray-600);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px dashed var(--gray-200);
}

.program-ideal {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  line-height: 1.5;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: var(--gradient-primary);
  opacity: 0.05;
  border-radius: 50%;
  transform: rotate(-15deg);
}

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

.testimonials-slider {
  display: flex;
  gap: var(--space-xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-lg) 0;
  -webkit-overflow-scrolling: touch;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-lg));
  scroll-snap-align: start;
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--primary-blue);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-info h5 {
  font-family: var(--font-primary);
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-top: var(--space-sm);
}

.testimonial-rating span {
  color: #FFB800;
}

/* ===== BLOG SECTION ===== */
.blog {
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

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

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.blog-content {
  padding: var(--space-xl);
}

.blog-date {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.blog-content h4 {
  margin-bottom: var(--space-md);
  transition: var(--transition-fast);
}

.blog-card:hover h4 {
  color: var(--primary-blue);
}

.blog-content p {
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--primary-blue);
}

.blog-link svg {
  transition: var(--transition-fast);
}

.blog-link:hover svg {
  transform: translateX(5px);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--white);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.03;
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info>p {
  margin-bottom: var(--space-2xl);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.contact-item-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item-content h5 {
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-item-content p {
  font-size: 1rem;
  color: var(--gray-500);
}

.contact-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--cream);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--gray-700);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(107, 158, 189, 0.1);
}

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

.contact-form .btn {
  width: 100%;
}

/* Appointment Card */
.appointment-card {
  background: var(--cream);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
}

.appointment-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
}

.appointment-icon svg {
  stroke: white;
}

.appointment-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gray-800);
  margin-bottom: var(--space-md);
}

.appointment-card > p {
  color: var(--gray-500);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.appointment-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  text-align: left;
}

.appointment-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--gray-600);
  font-weight: 500;
}

.appointment-features li svg {
  stroke: var(--primary-green);
  flex-shrink: 0;
}

.btn-appointment {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-800);
  color: var(--gray-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand img {
  height: 60px;
  margin-bottom: var(--space-lg);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: var(--space-xl);
}

.footer-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: var(--space-sm);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-700);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== PREMIUM ANIMATIONS ===== */

/* Gradient Animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

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

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

.hero {
  background: linear-gradient(-45deg, #6B9EBD, #8DB48E, #A3B86C, #5A8BA8);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

/* Floating Animation Enhanced */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-15px) rotate(5deg);
  }

  50% {
    transform: translateY(-25px) rotate(0deg);
  }

  75% {
    transform: translateY(-15px) rotate(-5deg);
  }
}

@keyframes float-reverse {

  0%,
  100% {
    transform: translateY(-25px) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(-5deg);
  }

  50% {
    transform: translateY(0) rotate(0deg);
  }

  75% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.floating-item {
  animation: float 6s ease-in-out infinite;
}

.floating-item:nth-child(2) {
  animation: float-reverse 7s ease-in-out infinite;
}

.floating-item:nth-child(4) {
  animation: float-reverse 8s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

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

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* Pulse Glow Effect */
@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(107, 158, 189, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(107, 158, 189, 0.6);
  }
}

.hero-content {
  animation: pulse-glow 4s ease-in-out infinite;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

/* 3D Card Hover Effect */
.card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow:
    var(--shadow-xl),
    -10px 10px 30px rgba(107, 158, 189, 0.15);
}

.service-card {
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition-normal);
}

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

/* Icon Bounce */
@keyframes icon-bounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.card:hover .card-icon {
  animation: icon-bounce 0.5s ease;
}

/* Text Gradient Animation */
@keyframes text-gradient {
  0% {
    background-position: 0% 50%;
  }

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

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

.text-gradient {
  background: linear-gradient(90deg,
      var(--primary-blue),
      var(--primary-green),
      var(--accent-olive),
      var(--primary-blue));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-gradient 5s ease infinite;
}

/* Stat Counter Animation */
@keyframes count-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stat {
  animation: count-up 0.8s ease forwards;
}

.hero-stat:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-stat:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-stat:nth-child(3) {
  animation-delay: 0.6s;
}

/* Button Magnetic Effect */
.btn {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:active {
  transform: scale(0.95);
}

/* Section Tag Floating */
@keyframes tag-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.section-tag {
  animation: tag-float 3s ease-in-out infinite;
}

/* Program Card Shine Effect */
.program-card {
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right,
      transparent 40%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 60%);
  transform: rotate(45deg);
  transition: transform 0.6s;
  pointer-events: none;
}

.program-card:hover::after {
  transform: rotate(45deg) translate(50%, 50%);
}

/* Testimonial Card Fade */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* Blog Image Zoom */
.blog-card .blog-image {
  overflow: hidden;
}

.blog-card:hover .blog-image img {
  transform: scale(1.15) rotate(2deg);
}

/* Contact Form Focus Animation */
.form-group input:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 4px rgba(107, 158, 189, 0.1),
    0 10px 30px rgba(107, 158, 189, 0.1);
}

/* Social Link Hover */
.social-link {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
  transform: translateY(-5px) rotate(10deg);
}

/* Footer Link Underline Animation */
.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Scroll Top Bounce */
@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.scroll-top:hover {
  animation: scroll-bounce 0.5s ease infinite;
}

/* Page Load Animation */
@keyframes page-load {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: page-load 0.6s ease-out;
}

/* Navbar Link Hover Effect */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before {
  width: 100%;
}

/* Hero Wave Animation */
@keyframes wave-motion {

  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  25% {
    transform: translateX(-1%) translateY(2px);
  }

  50% {
    transform: translateX(0) translateY(0);
  }

  75% {
    transform: translateX(1%) translateY(-2px);
  }
}

.hero-wave svg {
  animation: wave-motion 8s ease-in-out infinite;
}

/* About Badge Pulse */
@keyframes badge-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-lg);
  }

  50% {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
  }
}

.about-badge {
  animation: badge-pulse 3s ease-in-out infinite;
}

/* Parallax Scroll Effect (Enhanced in JS) */
.parallax-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Stagger Delay for Grid Items */
.services-grid .card:nth-child(1) {
  transition-delay: 0.1s;
}

.services-grid .card:nth-child(2) {
  transition-delay: 0.2s;
}

.services-grid .card:nth-child(3) {
  transition-delay: 0.3s;
}

.services-grid .card:nth-child(4) {
  transition-delay: 0.4s;
}

.services-grid .card:nth-child(5) {
  transition-delay: 0.5s;
}

.services-grid .card:nth-child(6) {
  transition-delay: 0.6s;
}

.programs-grid .program-card:nth-child(1) {
  transition-delay: 0.1s;
}

.programs-grid .program-card:nth-child(2) {
  transition-delay: 0.2s;
}

.programs-grid .program-card:nth-child(3) {
  transition-delay: 0.3s;
}

/* Cursor Trail Effect Preparation */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
  opacity: 1;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gradient-primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-blue);
  transition: all 0.1s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-floating {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-lg);
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .programs-grid,
  .programs-grid.programs-grid-2 {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: var(--space-lg);
  }

  .program-card {
    margin: 0;
  }

  .program-card.featured {
    order: -1;
  }

  .popular-badge {
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.7rem;
  }

  .program-header {
    padding: var(--space-xl);
  }

  .program-header h4 {
    font-size: 1.25rem;
  }

  .program-price {
    font-size: 2rem;
  }

  .program-content {
    padding: var(--space-lg);
  }

  .program-description {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
  }

  .program-features li {
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
  }

  .program-features li::before {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  .program-ideal {
    font-size: 0.8rem;
    padding: var(--space-sm);
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
  }

  .testimonial-card {
    flex: 0 0 90%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .card {
    padding: var(--space-lg);
  }

  .program-header,
  .program-content {
    padding: var(--space-lg);
  }

  .contact-form {
    padding: var(--space-lg);
  }
}

/* ===== PREMIUM FEATURES UPDATE ===== */

/* BMI Calculator Section */
.bmi-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.bmi-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4xl);
  align-items: center;
}

.bmi-calculator {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  border: 1px solid rgba(107, 158, 189, 0.2);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.bmi-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.bmi-form .full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(107, 158, 189, 0.1);
}

.bmi-result {
  text-align: center;
  padding: var(--space-lg);
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.bmi-score {
  margin-bottom: var(--space-sm);
}

.bmi-value {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1;
  font-family: var(--font-display);
}

.bmi-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bmi-status {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--primary-blue-dark);
}

.bmi-meter {
  height: 10px;
  background: linear-gradient(90deg,
      #3498db 0%,
      /* Zayıf */
      #2ecc71 33%,
      /* Normal */
      #f1c40f 66%,
      /* Kilolu */
      #e74c3c 100%
      /* Obez */
    );
  border-radius: var(--radius-full);
  position: relative;
  margin-bottom: var(--space-sm);
}

.bmi-needle {
  position: absolute;
  top: -5px;
  left: 0;
  width: 4px;
  height: 20px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.bmi-ranges {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.bmi-image {
  position: relative;
}

.bmi-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Floating Cards for BMI Image */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.floating-card .icon {
  font-size: 2rem;
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  color: var(--gray-800);
  font-size: 0.9rem;
}

.floating-card span {
  color: var(--gray-500);
  font-size: 0.8rem;
}

.floating-card.top-left {
  top: 50px;
  left: -40px;
  animation-delay: 0s;
}

.floating-card.bottom-right {
  bottom: 50px;
  right: -40px;
  animation-delay: 2s;
}

/* FAQ Section */
.faq {
  background: var(--cream);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-md);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-toggle {
  width: 100%;
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  background: transparent;
  transition: color 0.3s ease;
}

.faq-toggle:hover {
  color: var(--primary-blue);
}

.faq-toggle svg {
  transition: transform 0.3s ease;
}

.faq-toggle[aria-expanded="true"] {
  color: var(--primary-blue);
  border-bottom: 1px solid var(--gray-100);
}

.faq-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content p {
  padding: var(--space-lg);
  padding-top: 0;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
}

/* Enhanced Contact Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  color: #FFF;
  line-height: 60px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::after {
  content: 'Sorunuz mu var?';
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--gray-800);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  pointer-events: none;
}

.whatsapp-float:hover::after {
  opacity: 1;
  visibility: visible;
  right: 80px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile Responsiveness for BMI */
@media (max-width: 968px) {
  .bmi-grid {
    grid-template-columns: 1fr;
  }

  .bmi-image {
    order: -1;
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== APPOINTMENT MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1;
}

.modal-content {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 500px;
  position: relative;
  z-index: 2;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--gray-400);
  line-height: 1;
  z-index: 5;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--gray-800);
  background: var(--gray-100);
  border-radius: 50%;
}

.modal-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Calendar Styling */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-weight: 600;
  color: var(--gray-800);
}

.calendar-nav {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-600);
}

.calendar-nav:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 500;
}

.calendar-day:hover:not(.disabled) {
  background: var(--gray-100);
  color: var(--primary-blue);
}

.calendar-day.selected {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.calendar-day.disabled {
  color: var(--gray-300);
  cursor: not-allowed;
}

.calendar-day.today {
  border: 1px solid var(--primary-blue);
  font-weight: 600;
}

/* Steps Transition */
.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: var(--space-sm);
}

.back-btn {
  font-size: 0.9rem;
  color: var(--primary-blue);
  font-weight: 500;
}

.back-btn:hover {
  text-decoration: underline;
}

/* Time Slots */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.time-slot {
  padding: var(--space-sm);
  text-align: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-700);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.time-slot:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.time-slot.selected {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* Confirmation Form */
.selected-summary {
  background: var(--gray-100);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.selected-summary p {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: var(--gray-700);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selected-summary span {
  color: var(--primary-blue-dark);
}

/* ===== ENHANCED MOBILE RESPONSIVENESS ===== */

/* Extra Large Screens (1200px+) - Already covered by default styles */

/* Large Tablets & Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
  .hero-content {
    max-width: 600px;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .about-badge {
    bottom: -20px;
    right: -20px;
    padding: var(--space-md);
  }

  .about-badge-number {
    font-size: 2rem;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  /* General */
  .section {
    padding: var(--space-3xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  /* Header */
  .logo img {
    height: 80px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-content {
    max-width: 100%;
    padding: var(--space-lg);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-stats {
    gap: var(--space-xl);
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

  /* About */
  .about-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--space-lg);
    display: inline-block;
  }

  /* BMI */
  .bmi-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .bmi-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .floating-card {
    display: none;
  }

  .bmi-form {
    grid-template-columns: 1fr;
  }

  .bmi-form .full-width {
    grid-column: span 1;
  }

  /* Programs */
  .programs-grid,
  .programs-grid.programs-grid-2 {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: span 2;
    text-align: center;
  }

  .footer-brand .contact-social {
    justify-content: center;
  }
}

/* Mobile Landscape & Small Tablets (576px - 767px) */
@media (max-width: 767px) {
  :root {
    --container-padding: 1rem;
  }

  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  p {
    font-size: 1rem;
  }

  /* Header / Navigation */
  .header {
    padding: var(--space-sm) 0;
  }

  .logo img {
    height: 60px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-100);
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-lg);
    width: 100%;
    text-align: center;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1002;
  }

  /* Mobile menu overlay */
  .nav-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .nav-menu.active::before {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-content {
    padding: var(--space-md);
  }

  .hero-tag {
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-md);
  }

  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero-buttons .btn {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
  }

  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .hero-stat-label {
    font-size: 0.8rem;
  }

  .hero-wave svg {
    height: 40px;
  }

  /* About Section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-image {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .about-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--space-md);
    padding: var(--space-md);
  }

  .about-badge-number {
    font-size: 1.75rem;
  }

  .about-content h2 {
    text-align: center;
  }

  .about-content > p {
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-feature {
    justify-content: flex-start;
  }

  .about-feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .about-content .btn {
    width: 100%;
  }

  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .service-card {
    padding: var(--space-xl);
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* BMI Calculator */
  .bmi-calculator {
    padding: var(--space-lg);
  }

  .bmi-form {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .bmi-value {
    font-size: 2.5rem;
  }

  .bmi-status {
    font-size: 1rem;
  }

  .bmi-ranges {
    font-size: 0.65rem;
  }

  /* Programs Section */
  .programs-grid,
  .programs-grid.programs-grid-2 {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: var(--space-lg);
  }

  .program-card {
    margin: 0;
  }

  .program-card.featured {
    order: -1;
  }

  .popular-badge {
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.7rem;
  }

  .program-header {
    padding: var(--space-lg);
  }

  .program-header h4 {
    font-size: 1.2rem;
  }

  .program-price {
    font-size: 2rem;
  }

  .program-price span {
    font-size: 0.9rem;
  }

  .program-content {
    padding: var(--space-lg);
  }

  .program-description {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
  }

  .program-features li {
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
  }

  .program-features li::before {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  .program-ideal {
    font-size: 0.85rem;
    padding: var(--space-sm);
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
  }

  /* Testimonials Section */
  .testimonials-slider {
    padding: var(--space-md) 0;
    gap: var(--space-md);
    scroll-padding-left: var(--container-padding);
  }

  .testimonial-card {
    flex: 0 0 85%;
    padding: var(--space-lg);
  }

  .testimonial-card::before {
    font-size: 3rem;
    top: 10px;
    right: 15px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .testimonial-info h5 {
    font-size: 0.9rem;
  }

  .testimonial-info span {
    font-size: 0.8rem;
  }

  /* Blog Section */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .blog-image {
    height: 180px;
  }

  .blog-content {
    padding: var(--space-lg);
  }

  .blog-content h4 {
    font-size: 1.1rem;
  }

  .blog-content p {
    font-size: 0.9rem;
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-info h2 {
    text-align: center;
  }

  .contact-info > p {
    text-align: center;
  }

  .contact-items {
    gap: var(--space-lg);
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-item-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .contact-social {
    justify-content: center;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .form-group input,
  .form-group textarea {
    padding: var(--space-md);
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Appointment Card Mobile */
  .appointment-card {
    padding: var(--space-xl);
  }

  .appointment-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
  }

  .appointment-icon svg {
    width: 45px;
    height: 45px;
  }

  .appointment-card h3 {
    font-size: 1.5rem;
  }

  .appointment-features li {
    font-size: 0.95rem;
  }

  .btn-appointment {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
  }

  /* FAQ Section */
  .faq-grid {
    gap: var(--space-sm);
  }

  .faq-toggle {
    padding: var(--space-md);
    font-size: 0.95rem;
  }

  .faq-content p {
    padding: var(--space-md);
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand .contact-social {
    justify-content: center;
  }

  .footer-logo-svg {
    height: 50px;
    margin: 0 auto var(--space-md);
  }

  .footer-brand p {
    font-size: 0.9rem;
  }

  .footer-title {
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }

  .footer-links {
    gap: var(--space-sm);
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
    padding-top: var(--space-lg);
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer-bottom-links a {
    font-size: 0.8rem;
  }

  /* Floating Elements */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    line-height: 55px;
  }

  .whatsapp-float::after {
    display: none;
  }

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

  /* Modal */
  .modal-content {
    width: 95%;
    max-width: none;
    padding: var(--space-lg);
    margin: var(--space-md);
    max-height: 85vh;
  }

  .modal-header h3 {
    font-size: 1.25rem;
  }

  .modal-header p {
    font-size: 0.85rem;
  }

  .calendar-day {
    font-size: 0.85rem;
  }

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

  .time-slot {
    padding: var(--space-sm);
    font-size: 0.85rem;
  }
}

/* Extra Small Screens (480px and below) */
@media (max-width: 480px) {
  :root {
    --container-padding: 0.75rem;
  }

  /* Typography */
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  /* Section */
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .section-tag {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
  }

  /* Header */
  .header {
    padding: var(--space-xs) 0;
  }

  .logo img {
    height: 50px;
  }

  .mobile-toggle {
    padding: var(--space-xs);
  }

  .mobile-toggle span {
    width: 22px;
  }

  /* Hero */
  .hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-content {
    padding: var(--space-sm);
  }

  .hero-tag {
    font-size: 0.75rem;
    margin-bottom: var(--space-md);
  }

  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
  }

  .hero-buttons {
    gap: var(--space-sm);
  }

  .hero-buttons .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
  }

  .hero-stat-number {
    font-size: 1.3rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
  }

  .hero-wave svg {
    height: 30px;
  }

  /* Buttons */
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }

  /* Cards */
  .card {
    padding: var(--space-md);
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
  }

  /* About */
  .about-image {
    max-width: 220px;
  }

  .about-badge {
    padding: var(--space-sm);
  }

  .about-badge-number {
    font-size: 1.5rem;
  }

  .about-badge-text {
    font-size: 0.75rem;
  }

  .about-feature-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .about-feature span {
    font-size: 0.9rem;
  }

  /* Services */
  .service-card {
    padding: var(--space-md);
  }

  /* BMI Calculator */
  .bmi-calculator {
    padding: var(--space-md);
  }

  .bmi-value {
    font-size: 2rem;
  }

  .bmi-label {
    font-size: 0.75rem;
  }

  .bmi-status {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
  }

  .bmi-meter {
    height: 8px;
  }

  .bmi-needle {
    width: 3px;
    height: 16px;
    top: -4px;
  }

  .bmi-ranges {
    font-size: 0.6rem;
  }

  /* Programs */
  .program-header {
    padding: var(--space-md);
  }

  .program-header h4 {
    font-size: 1.1rem;
  }

  .program-price {
    font-size: 1.75rem;
  }

  .program-price span {
    font-size: 0.8rem;
  }

  .program-content {
    padding: var(--space-md);
  }

  .program-description {
    font-size: 0.85rem;
  }

  .program-features li {
    font-size: 0.85rem;
    gap: var(--space-sm);
  }

  .program-features li::before {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
  }

  .program-ideal {
    font-size: 0.8rem;
  }

  .popular-badge {
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: 0.65rem;
  }

  /* Testimonials */
  .testimonial-card {
    flex: 0 0 92%;
    padding: var(--space-md);
  }

  .testimonial-card::before {
    font-size: 2.5rem;
    top: 5px;
    right: 10px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .testimonial-info h5 {
    font-size: 0.85rem;
  }

  .testimonial-info span {
    font-size: 0.75rem;
  }

  .testimonial-rating span {
    font-size: 0.8rem;
  }

  /* Blog */
  .blog-image {
    height: 160px;
  }

  .blog-category {
    font-size: 0.65rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .blog-content {
    padding: var(--space-md);
  }

  .blog-date {
    font-size: 0.75rem;
  }

  .blog-content h4 {
    font-size: 1rem;
  }

  .blog-content p {
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
  }

  .blog-link {
    font-size: 0.85rem;
  }

  /* Contact */
  .contact-item-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .contact-item-content h5 {
    font-size: 0.95rem;
  }

  .contact-item-content p {
    font-size: 0.85rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .contact-form {
    padding: var(--space-md);
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: var(--space-sm) var(--space-md);
    font-size: 16px; /* Prevents iOS zoom */
  }

  /* FAQ */
  .faq-toggle {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }

  .faq-toggle svg {
    width: 20px;
    height: 20px;
  }

  .faq-content p {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
  }

  /* Footer */
  .footer {
    padding: var(--space-xl) 0 var(--space-md);
  }

  .footer-logo-svg {
    height: 40px;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .footer-title {
    font-size: 0.95rem;
  }

  .footer-links a,
  .footer-links li {
    font-size: 0.85rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }

  .footer-bottom-links a {
    font-size: 0.75rem;
  }

  /* Floating Elements */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    line-height: 50px;
  }

  .scroll-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  /* Modal */
  .modal-content {
    width: 98%;
    padding: var(--space-md);
    margin: var(--space-sm);
    max-height: 90vh;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .modal-header {
    margin-bottom: var(--space-md);
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }

  .modal-header p {
    font-size: 0.8rem;
  }

  .calendar-header {
    font-size: 0.9rem;
  }

  .calendar-nav {
    padding: 4px 8px;
    font-size: 0.85rem;
  }

  .calendar-weekdays {
    font-size: 0.7rem;
  }

  .calendar-day {
    font-size: 0.8rem;
    min-width: 36px;
    min-height: 36px;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
  }

  .time-slot {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
  }

  .step-header {
    font-size: 0.85rem;
  }

  .back-btn {
    font-size: 0.8rem;
  }

  .selected-summary {
    padding: var(--space-sm);
  }

  .selected-summary p {
    font-size: 0.85rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }

  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .social-link {
    min-width: 44px;
    min-height: 44px;
  }

  .faq-toggle {
    min-height: 48px;
  }

  .calendar-day {
    min-width: 36px;
    min-height: 36px;
  }

  .time-slot {
    min-height: 44px;
  }

  /* Remove hover effects that don't work well on touch */
  .card:hover {
    transform: none;
  }

  .service-card:hover::before {
    opacity: 0;
  }

  .btn:hover::before {
    opacity: 0;
  }

  .program-card:hover {
    transform: none;
  }

  .blog-card:hover {
    transform: none;
  }

  .testimonial-card:hover {
    transform: none;
  }
}

/* Landscape Mode Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 40px;
  }

  .hero-stats {
    flex-direction: row;
    gap: var(--space-xl);
  }

  .nav-menu {
    padding-top: var(--space-3xl);
  }

  .modal-content {
    max-height: 95vh;
    overflow-y: auto;
  }
}

/* High DPI / Retina Display Adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-wave svg,
  .footer-logo-svg {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-item {
    animation: none;
  }

  .hero {
    animation: none;
  }

  .whatsapp-float {
    animation: none;
  }

  .section-tag {
    animation: none;
  }

  .about-badge {
    animation: none;
  }

  .hero-wave svg {
    animation: none;
  }
}

/* Safe Area Insets for notched devices (iPhone X+) */
@supports (padding: max(0px)) {
  .header {
    padding-left: max(var(--container-padding), env(safe-area-inset-left));
    padding-right: max(var(--container-padding), env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
  }

  .whatsapp-float {
    right: max(20px, calc(env(safe-area-inset-right) + 10px));
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 10px));
  }

  .scroll-top {
    right: max(20px, calc(env(safe-area-inset-right) + 10px));
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 80px));
  }
}