/* ===== CSS Variables & Color Palette ===== */
:root {
  --sage-dark: #5C7C5E;
  --sage: #7A9E7E;
  --sage-light: #A8C5AA;
  --sage-pale: #D4E6D5;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE1;
  --warm-white: #FFFDF9;
  --text-dark: #2C3E2D;
  --text-medium: #4A5E4B;
  --text-light: #6B7D6C;
  --gold: #C9A96E;
  --gold-light: #E2D1A8;
  --rose-accent: #C9908F;
  --shadow-sm: 0 2px 8px rgba(92, 124, 94, 0.08);
  --shadow-md: 0 4px 20px rgba(92, 124, 94, 0.12);
  --shadow-lg: 0 8px 40px rgba(92, 124, 94, 0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

body {
  font-family: 'Heebo', 'Segoe UI', Tahoma, sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p {
  color: var(--text-medium);
  line-height: 1.8;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Section Styling ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 50%;
  transform: translateX(50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 16px auto 0;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(92, 124, 94, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.nav-logo h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-logo span {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
  background: var(--sage-pale);
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: white;
  padding: 10px 24px;
  font-weight: 600;
}

.nav-links .nav-cta:hover {
  background: linear-gradient(135deg, var(--sage-dark), #4A6B4C);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(160deg, var(--cream) 0%, var(--sage-pale) 50%, var(--cream-dark) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(122, 158, 126, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 20px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: white;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  color: var(--sage-dark);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero h1 .highlight {
  color: var(--sage-dark);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 0;
  left: 0;
  height: 8px;
  background: var(--gold-light);
  opacity: 0.5;
  border-radius: 4px;
  z-index: -1;
}

.hero-text {
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(92, 124, 94, 0.15);
}

.stat {
  text-align: center;
}

.stat .number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sage-dark);
  display: block;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 420px;
  height: 500px;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--sage-light), var(--sage));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.hero-image-placeholder .placeholder-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-image-placeholder .placeholder-text {
  opacity: 0.8;
  font-size: 0.95rem;
}

.hero-image-wrapper .floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 40px;
  right: -40px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 60px;
  left: -40px;
  animation-delay: 2s;
}

.floating-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.floating-card .card-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.floating-card .card-sub {
  font-size: 0.7rem;
  color: var(--text-light);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Buttons ===== */
.btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -ms-touch-action: manipulation;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(92, 124, 94, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(92, 124, 94, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--sage-dark);
  border: 2px solid var(--sage-light);
}

.btn-secondary:hover {
  background: var(--sage-pale);
  border-color: var(--sage);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #B8923D);
  color: white;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 169, 110, 0.4);
}

/* ===== Services Section ===== */
.services {
  background: var(--warm-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(92, 124, 94, 0.08);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  opacity: 0;
  transition: var(--transition);
}

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

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

.service-icon {
  width: calc(100% + 64px);
  margin: -40px -32px 24px;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 16px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-features {
  text-align: right;
  margin-bottom: 24px;
}

.service-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== About Preview ===== */
.about-preview {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-placeholder {
  width: 100%;
  height: 450px;
  background: linear-gradient(145deg, var(--sage-pale), var(--sage-light));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  box-shadow: var(--shadow-md);
}

.about-image-placeholder .placeholder-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  opacity: 0.7;
}

.about-image-placeholder .placeholder-text {
  opacity: 0.6;
  font-size: 0.9rem;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.about-credentials {
  margin: 28px 0;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.value-item .value-icon {
  font-size: 1.3rem;
}

.value-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ===== Testimonials ===== */
.testimonials {
  background: linear-gradient(160deg, var(--sage-pale) 0%, var(--cream) 100%);
}

.testimonials-carousel {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
}

.testimonials-viewport {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-inner {
  background: white;
  border-radius: var(--radius-md);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-inner::before {
  content: none;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 24px;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.carousel-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--sage-light);
  background: transparent;
  color: var(--text-medium);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0.55;
}

.carousel-btn:hover {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
  opacity: 1;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage-light);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.carousel-dot.active {
  background: var(--sage-dark);
  transform: scale(1.2);
}

/* ===== Booking Section ===== */
.booking {
  background: var(--warm-white);
}

.booking-wrapper {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage));
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.booking-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.booking-wrapper h2 {
  color: white;
  margin-bottom: 16px;
  position: relative;
}

.booking-wrapper p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

.booking-wrapper .btn {
  position: relative;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
  position: relative;
}

.booking-step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.booking-step h4 {
  color: white;
  margin-bottom: 4px;
  font-size: 1rem;
}

.booking-step p {
  font-size: 0.85rem;
  margin: 0;
}

/* ===== About Page ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--sage-pale) 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-full {
  background: var(--warm-white);
}

.about-full-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.about-bio h2 {
  margin-bottom: 20px;
}

.about-bio p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.credentials {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.credentials h3 {
  margin-bottom: 20px;
  color: var(--sage-dark);
}

.credential-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
}

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

.credential-item .cred-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.credential-item h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

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

.philosophy {
  background: var(--cream);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.philosophy-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.philosophy-card .phil-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.philosophy-card p {
  font-size: 0.95rem;
}

/* ===== Services Page ===== */
.services-detailed {
  background: var(--warm-white);
}

.service-detail {
  scroll-margin-top: 100px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  transition: var(--transition);
  min-height: 420px;
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail:hover {
  box-shadow: var(--shadow-md);
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
}

.service-detail:nth-child(even) .service-visual {
  -ms-grid-column: 2;
  grid-column: 2;
  -ms-grid-row: 1;
  grid-row: 1;
}

.service-detail:nth-child(even) .service-content {
  -ms-grid-column: 1;
  grid-column: 1;
  -ms-grid-row: 1;
  grid-row: 1;
}

.service-visual {
  position: relative;
  overflow: hidden;
}

.service-visual img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}


.service-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 48px;
  border-right: 4px solid var(--sage);
}

.service-detail:nth-child(even) .service-content {
  border-right: none;
  border-left: 4px solid var(--sage);
}

.service-content h3 {
  font-size: 1.5rem;
  color: var(--sage-dark);
  margin-bottom: 16px;
}

.service-content p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-medium);
}

.service-content ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  margin-bottom: 28px;
}

.service-content ul li {
  padding: 7px 0;
  font-size: 0.93rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  border-bottom: 1px solid var(--cream-dark);
}

.service-content ul li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.75rem;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-shrink: 0;
}

/* ===== Clients Slider ===== */
.clients-slider {
  background: white;
  padding: 56px 0;
  -webkit-box-shadow: 0 2px 24px rgba(0,0,0,0.06);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.clients-label {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.clients-slider-outer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
}

.clients-viewport {
  overflow: hidden;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.clients-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  direction: ltr;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.clients-logo-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 20px 28px;
  min-height: 110px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.clients-logo-item img {
  max-height: 90px;
  max-width: 200px;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  opacity: 0.75;
  -webkit-filter: grayscale(20%);
  filter: grayscale(20%);
  -webkit-transition: opacity 0.3s ease, -webkit-filter 0.3s ease;
  transition: opacity 0.3s ease, filter 0.3s ease;
  display: block;
}

.clients-logo-item img:hover {
  opacity: 1;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

.logo-ashman img {
  max-height: 260px;
  max-width: 360px;
}

.logo-ichilov img {
  max-height: 160px;
  max-width: 260px;
}

.logo-effi img {
  max-height: 120px;
  max-width: 230px;
}

.logo-jerusalem img {
  max-height: 200px;
  max-width: 320px;
}

.logo-ey img {
  max-height: 72px;
  max-width: 110px;
}

.logo-novartis img {
  max-height: 130px;
  max-width: 240px;
}

.logo-spinomenal img {
  max-height: 130px;
  max-width: 240px;
}

.clients-arrow {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  border: 2px solid var(--sage-light);
  background: white;
  color: var(--sage-dark);
  font-size: 1.8rem;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: background 0.3s, color 0.3s, border-color 0.3s;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -ms-touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.clients-arrow:hover {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}

.clients-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 768px) {
  .clients-arrow {
    display: none;
  }
  .clients-logo-item {
    -ms-flex: 0 0 33.333%;
    flex: 0 0 33.333%;
    padding: 16px 16px;
    min-height: 90px;
  }
  .clients-logo-item img {
    max-height: 52px;
    max-width: 110px;
  }
}

@media (max-width: 480px) {
  .clients-logo-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    padding: 12px;
    min-height: 80px;
  }
  .clients-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .clients-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .clients-viewport::-webkit-scrollbar {
    display: none;
  }
  .clients-track {
    width: -webkit-max-content;
    width: max-content;
    -webkit-transition: none;
    transition: none;
  }
  .clients-logo-item {
    -webkit-flex: 0 0 auto !important;
    -ms-flex: 0 0 auto !important;
    flex: 0 0 auto !important;
    width: 130px;
    padding: 12px 16px;
    min-height: 100px;
  }
  .clients-logo-item img {
    max-height: 80px;
    max-width: 110px;
  }
  .logo-ey img {
    max-height: 48px;
    max-width: 72px;
  }
  .logo-ashman img {
    max-height: 110px;
    max-width: 150px;
  }
  .logo-spinomenal img {
    max-height: 110px;
    max-width: 150px;
  }
  .logo-novartis img {
    max-height: 110px;
    max-width: 150px;
  }
  .logo-jerusalem img {
    max-height: 110px;
    max-width: 150px;
  }
}

@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
  .testimonials-carousel {
    grid-template-columns: 1fr;
  }
  .testimonial-inner {
    padding: 32px 24px;
  }
  .testimonial-card {
    padding: 0 4px;
  }
}

/* ===== Contact Page ===== */
.contact-section {
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem; /* 16px minimum prevents iOS auto-zoom */
  font-size: max(1rem, 16px);
  color: var(--text-dark);
  background: var(--cream);
  -webkit-transition: var(--transition);
  transition: var(--transition);
  direction: rtl;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: white;
  box-shadow: 0 0 0 3px rgba(122, 158, 126, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-side h3 {
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(-4px);
}

.contact-info-item .info-icon {
  width: 48px;
  height: 48px;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--sage);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== Floating WhatsApp ===== */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  -webkit-transition: -webkit-transform 0.3s, box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.float-wa:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.float-wa svg {
  width: 30px;
  height: 30px;
  fill: white;
  display: block;
}

/* ===== Accessibility Widget ===== */
.a11y-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9001;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.a11y-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--sage-dark);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(92,124,94,0.4);
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  background-image: url('square-widget accessebility.jpg');
  background-size: 140%;
  background-position: center;
}

.a11y-toggle img {
  display: none;
}

.a11y-toggle:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.a11y-panel {
  position: absolute;
  bottom: 68px;
  left: 0;
  width: 230px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  direction: rtl;
}

.a11y-panel[hidden] { display: none; }

.a11y-panel-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cream-dark);
}

.a11y-panel-header h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--text-dark);
}

.a11y-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-light);
  padding: 4px 8px;
  line-height: 1;
}

.a11y-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
}

.a11y-opt {
  padding: 9px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  text-align: right;
  color: var(--text-dark);
  -webkit-transition: var(--transition);
  transition: var(--transition);
  touch-action: manipulation;
}

.a11y-opt:hover,
.a11y-opt.active {
  background: var(--sage-pale);
  border-color: var(--sage);
}

.a11y-reset-btn {
  background: var(--cream-dark);
  font-weight: 600;
  margin-top: 4px;
}

/* Accessibility state classes */
body.a11y-contrast { -webkit-filter: contrast(160%); filter: contrast(160%); }
body.a11y-grayscale { -webkit-filter: grayscale(100%); filter: grayscale(100%); }
body.a11y-contrast.a11y-grayscale { -webkit-filter: contrast(160%) grayscale(100%); filter: contrast(160%) grayscale(100%); }
body.a11y-underline a { text-decoration: underline !important; }
body.a11y-readable * { font-family: Arial, Helvetica, sans-serif !important; }

/* ===== Footer ===== */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
  color: var(--sage-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ===== Form Success Message ===== */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 8px;
  color: var(--sage-dark);
}

/* ===== Scroll Animations ===== */
.js-loaded .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-loaded .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 0;
  }

  .hero-image-wrapper {
    width: 280px;
    height: 340px;
  }

  .floating-card {
    display: none;
  }

  .hero-text {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .about-grid,
  .about-full-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-visual,
  .service-detail:nth-child(even) .service-content {
    grid-column: 1;
  }

  .service-detail:nth-child(even) .service-visual {
    grid-row: 1;
  }

  .service-detail:nth-child(even) .service-content {
    grid-row: 2;
  }

  .service-visual {
    min-height: 260px;
  }

  .service-content {
    border-right: none;
    border-top: 4px solid var(--sage);
    padding: 32px 28px;
  }

  .service-detail:nth-child(even) .service-content {
    border-left: none;
    border-top: 4px solid var(--sage);
  }

  .service-content ul {
    grid-template-columns: 1fr;
  }

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

  .philosophy-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .booking-wrapper {
    padding: 40px 24px;
  }

  .booking-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .credentials {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    align-items: stretch;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    padding: 14px 20px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .hamburger {
    display: flex;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
  }

  .mobile-overlay.show {
    display: block;
  }

  .section {
    padding: 60px 0;
  }

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

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

  .hero-stats {
    gap: 24px;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }
}
