/* CSS Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f8fa;
  direction: rtl;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #00c3aa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
/* FAQ ACCORDION STYLES  ---------------------------------- */
.faq{
  max-width:800px;margin:2rem auto;
  font-family:system-ui,sans-serif;
  background:#fff;border:1px solid #e0e0e0;border-radius:6px;
}
.faq details{border-bottom:1px solid #eaeaea;overflow:hidden}

.faq summary{
  list-style:none;display:block;
  padding:0.75rem 2.25rem 0.75rem 1rem;
  cursor:pointer;font-weight:600;user-select:none;position:relative;
}
.faq summary::after{
  content:"+";position:absolute;right:1rem;top:50%;
  transform:translateY(-50%);font-weight:700;color:#7a7a7a;
  transition:transform .2s;
}
.faq details[open] summary::after{transform:translateY(-50%) rotate(45deg)}

.faq .content{
  max-height:0;opacity:0;overflow:hidden;padding:0 1rem;
  transition:max-height .6s ease,opacity .6s ease; 
}
.faq p{margin:.75rem 0 1rem;line-height:1.55}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


        .gallery-section {
            background: linear-gradient(135deg, #f8fafb 0%, #ffffff 50%, #f0f8ff 100%);
            padding: 8rem 0;
            position: relative;
            overflow: hidden;
        }

        .gallery-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, transparent, #00c3aa, #00a3c4, transparent);
        }

        .gallery-header {
            text-align: center;
            margin-bottom: 5rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .gallery-header h2 {
            font-size: clamp(2rem, 5vw, 3rem);
            color: #2c3e50;
            margin-bottom: 1.5rem;
            font-weight: 800;
            position: relative;
            display: inline-block;
        }

        .gallery-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #00c3aa, #00a3c4);
            border-radius: 2px;
        }

        .gallery-subtitle {
            font-size: 1.2rem;
            color: #5a6c7d;
            font-weight: 400;
            line-height: 1.6;
            margin: 0;
        }

        /* Gallery Grid - Updated for smaller images */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .gallery-item {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.08),
                0 2px 16px rgba(0, 0, 0, 0.04);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            border: 1px solid rgba(0, 195, 170, 0.1);
            max-width: 400px;
            margin: 0 auto;
        }

        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 
                0 16px 48px rgba(0, 0, 0, 0.12),
                0 8px 24px rgba(0, 195, 170, 0.08);
        }

        .gallery-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #00c3aa, #00a3c4, #0087b3);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.6s ease;
            z-index: 2;
        }

        .gallery-item:hover::before {
            transform: scaleX(1);
        }

        /* Updated image container to maintain aspect ratio */
        .gallery-image-container {
            width: 100%;
            height: 300px;
            overflow: hidden;
            border-radius: 20px 20px 0 0;
            position: relative;
        }

        .gallery-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: all 0.4s ease;
        }

        .gallery-item:hover .gallery-image {
            transform: scale(1.05);
        }

        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px 20px 0 0;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-zoom-icon {
            color: white;
            font-size: 3rem;
            transition: all 0.3s ease;
            transform: scale(0.8);
        }

        .gallery-item:hover .gallery-zoom-icon {
            transform: scale(1);
        }

        .gallery-content {
            padding: 2rem;
            text-align: right;
        }

        .gallery-title {
            font-size: 1.4rem;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            font-weight: 700;
            line-height: 1.3;
        }

        .gallery-description {
            font-size: 1rem;
            color: #5a6c7d;
            line-height: 1.6;
            margin: 0;
            font-weight: 400;
        }

        /* Masonry Layout Alternative - Updated */
        .gallery-masonry {
            column-count: 4;
            column-gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .gallery-masonry .gallery-item {
            display: inline-block;
            width: 100%;
            max-width: 320px;
            margin-bottom: 2rem;
            break-inside: avoid;
        }

        .gallery-masonry .gallery-image-container {
            height: 240px;
        }

        /* Lightbox Modal */
        .lightbox-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .lightbox-modal.active {
            display: flex;
            opacity: 1;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            animation: lightboxZoom 0.3s ease;
        }

        @keyframes lightboxZoom {
            from {
                transform: scale(0.8);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .lightbox-image {
            max-width: 100%;
            max-height: 100%;
            border-radius: 10px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .lightbox-close {
            position: absolute;
            top: -50px;
            right: -50px;
            background: rgba(255, 255, 255, 0.9);
            color: #2c3e50;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-close:hover {
            background: white;
            transform: scale(1.1);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            color: #2c3e50;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }

        .lightbox-prev {
            right: -80px;
        }

        .lightbox-next {
            left: -80px;
        }

        /* Filter Buttons */
        .gallery-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.75rem 1.5rem;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
            color: #2c3e50;
            border: 2px solid rgba(0, 195, 170, 0.2);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: linear-gradient(135deg, #00c3aa, #00a3c4);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 195, 170, 0.3);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .gallery-masonry {
                column-count: 3;
            }
        }

        @media (max-width: 768px) {
            .gallery-section {
                padding: 5rem 0;
            }
            
            .gallery-header {
                margin-bottom: 3rem;
            }
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 1.5rem;
                padding: 0 1rem;
            }
            
            .gallery-item {
                max-width: 350px;
            }
            

            .gallery-masonry {
                column-count: 2;
                column-gap: 1.5rem;
                padding: 0 1rem;
            }
            
            .gallery-masonry .gallery-item {
                max-width: 280px;
            }
            
            .gallery-masonry .gallery-image-container {
                height: 200px;
            }
            
            .gallery-content {
                padding: 1.5rem;
            }
            
            .lightbox-close {
                top: -40px;
                right: -40px;
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .lightbox-nav {
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }
            
            .lightbox-prev {
                right: -60px;
            }
            
            .lightbox-next {
                left: -60px;
            }
            .emotion-image {
                width: 100%;
                height: 400px;
            }
        }

        @media (max-width: 480px) {
            .emotion-image {
             width: 100%;
             height: 400px;
            }
            .gallery-section {
                padding: 4rem 0;
            }
            
            .gallery-grid {
                grid-template-columns: 1fr;
            }
            
            .gallery-item {
                max-width: 300px;
            }
            
            .gallery-image-container {
                height: 225px;
            }
            
            .gallery-masonry {
                column-count: 1;
            }
            
            .gallery-masonry .gallery-item {
                max-width: 300px;
            }
            
            .gallery-masonry .gallery-image-container {
                height: 225px;
            }
            
            .gallery-filters {
                gap: 0.5rem;
                padding: 0 1rem;
            }
            
            .filter-btn {
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }
            
            .lightbox-close {
                top: -30px;
                right: -30px;
                width: 30px;
                height: 30px;
                font-size: 0.9rem;
            }
            
            .lightbox-nav {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
            }
            
            .lightbox-prev {
                right: -50px;
            }
            
            .lightbox-next {
                left: -50px;
            }
        }

        /* Accessibility */
        .gallery-item:focus {
            outline: 2px solid #00c3aa;
            outline-offset: 2px;
        }

        .filter-btn:focus {
            outline: 2px solid #00c3aa;
            outline-offset: 2px;
        }

        /* Animation for filtered items */
        .gallery-item.hidden {
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.3s ease;
        }

        .gallery-item.visible {
            opacity: 1;
            transform: scale(1);
            transition: all 0.3s ease;
        }

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 60px 60px;
  color: white;
  text-align: right;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5) contrast(1.1);
}

.hero-content {
  z-index: 2;
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  margin: 0 0 2rem;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  order: 1;
  direction: rtl;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
  
}

.logo img {
  height: 40px;      
  width: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    height: 30px;
  }
}



.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  direction: rtl;
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  order: 2;
justify-content: flex-start;
}

.nav-outer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #00c3aa;
  background: rgba(0, 195, 170, 0.1);
  outline: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00c3aa;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 80%;
}


.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}


.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #00c3aa, #009b8e);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 195, 170, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 195, 170, 0.4);
  outline: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}


.section {
  padding: 4rem 0;
  position: relative;
}

.section.light {
  background: linear-gradient(135deg, #eaf3f8, #f0f8ff);
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 700;
}

.section h2 i {
  margin-left: 0.5rem;
  color: #00c3aa;
}


.emotion-section {
  background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.emotion-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 195, 170, 0.3), transparent);
}

.emotion-container {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  align-items: center;
  gap: 4rem;
  max-width: 100%;
}

.emotion-image {
  position: relative;
  display: flex;
  justify-content: center;
  width: 600px;
  height: 500px;
}

.emotion-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(0, 195, 170, 0.1), rgba(0, 163, 196, 0.05));
  border-radius: 20px;
  z-index: 1;
}

.emotion-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.12),
    0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.emotion-image img:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.1);
}

.emotion-text {
  padding: 2rem 0;
}

.emotion-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: right;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
}

.emotion-text h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00c3aa, #00a3c4);
  border-radius: 2px;
}

.emotion-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #34495e;
  margin-bottom: 0;
  text-align: right;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.emotion-text p::first-line {
  font-weight: 500;
  color: #2c3e50;
}


.emotion-text::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, transparent, #00c3aa, transparent);
  transform: translateY(-50%);
  opacity: 0.6;
}


.emotion-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(248, 250, 251, 0.8));
  pointer-events: none;
}


@media (max-width: 968px) {
  .emotion-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .emotion-text {
    order: -1;
    padding: 1rem 0;
  }
  
  .emotion-text h2 {
    text-align: center;
  }
  
  .emotion-text h2::after {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
  
  .emotion-text p {
    text-align: center;
  }
  
  .emotion-text::before {
    display: none;
  }
  
  .emotion-image::before {
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
  }
}

@media (max-width: 768px) {
  .emotion-section {
    padding: 4rem 0;
  }
  
  .emotion-container {
    gap: 2.5rem;
  }
  
  .emotion-image img {
    max-width: 350px;
  }
  
  .emotion-text h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
  
  .emotion-text p {
    font-size: 1.05rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .emotion-section {
    padding: 3rem 0;
    width: 100%;
  }
  
  .emotion-container {
    gap: 2rem;
    width: 100%;
  }
  
  .emotion-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
  }
  
  .emotion-image::before {
    border-radius: 16px;
    width: 100%;
  }
}


.treatment-section {
  background: linear-gradient(135deg, #f8fafb 0%, #ffffff 50%, #f0f8ff 100%);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.treatment-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00c3aa, #00a3c4, transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #00c3aa, #00a3c4);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #5a6c7d;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.treatment-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.phase-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 195, 170, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00c3aa, #00a3c4, #0087b3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.phase-card:hover::before {
  transform: scaleX(1);
}

.phase-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 195, 170, 0.08);
}

.phase-number {
  position: absolute;

  right: 25px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00c3aa, #00a3c4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 16px rgba(0, 195, 170, 0.3);
  border: 4px solid white;
}

.phase-content {
  padding-top: 1rem;
}

.phase-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0, 195, 170, 0.1), rgba(0, 163, 196, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #00c3aa;
  border: 2px solid rgba(0, 195, 170, 0.2);
  transition: all 0.3s ease;
}

.phase-card:hover .phase-icon {
  background: linear-gradient(135deg, rgba(0, 195, 170, 0.2), rgba(0, 163, 196, 0.1));
  transform: scale(1.1);
}

.phase-content h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.phase-content > p {
  font-size: 1rem;
  color: #5a6c7d;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.phase-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phase-details li {
  padding: 0.5rem 0;
  color: #34495e;
  font-size: 0.95rem;
  position: relative;
  padding-right: 1.5rem;
  line-height: 1.5;
}

.phase-details li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 0.5rem;
  color: #00c3aa;
  font-weight: bold;
  font-size: 1rem;
}

.treatment-guarantee {
  background: linear-gradient(135deg, #00c3aa, #00a3c4);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.treatment-guarantee::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
  pointer-events: none;
}

.guarantee-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}

.treatment-guarantee h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.treatment-guarantee p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (max-width: 1200px) {
  .treatment-phases {
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    scroll-snap-type: x mandatory;
  }

  .phase-card {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .treatment-section {
    padding: 5rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .treatment-phases {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .phase-card {
    padding: 2rem;
  }
  
  .phase-number {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    right: 20px;
    top: -12px;
  }
  
  .phase-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .treatment-guarantee {
    padding: 2.5rem 2rem;
  }
  
  .guarantee-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .treatment-section {
    padding: 4rem 0;
  }
  
  .phase-card {
    padding: 1.5rem;
  }
  
  .phase-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    right: 15px;
    top: -10px;
  }
  
  .phase-content h3 {
    font-size: 1.2rem;
  }
  
  .treatment-guarantee {
    padding: 2rem 1.5rem;
  }
  
  .treatment-guarantee h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .emotion-section {
    padding: 2rem 0;
  }
  .emotion-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }
  .emotion-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-width: 0;
    min-height: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  .emotion-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
  }
  .emotion-text {
    padding: 0 5px;
    font-size: 1rem;
    text-align: center;
  }
}


.section.light {
  background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
  padding: 6rem 0;
  overflow: hidden;
}


.carousel-container ~ .grid {
  display: none;
}
.section.light h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 4rem;
  text-align: center;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
}

.section.light h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00c3aa, #00a3c4);
  border-radius: 2px;
}


.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  width: 400%;
}

.carousel-slide {
  min-width: 25%; 
  width: 25%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.carousel-slide .feature {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00c3aa, #00a3c4, #0087b3);
}

.carousel-slide.active {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #00c3aa, #00a3c4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 195, 170, 0.3);
  transition: all 0.4s ease;
}

.carousel-slide.active .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 195, 170, 0.4);
}

.feature h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-weight: 700;
  line-height: 1.3;
}

.feature p {
  font-size: 1.1rem;
  color: #5a6c7d;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
  font-weight: 400;
}


.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #2c3e50;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.carousel-nav:hover {
  background: #00c3aa;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 195, 170, 0.3);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  right: 20px;
}

.carousel-next {
  left: 20px;
}


.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 3rem;
}

.pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 195, 170, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.pagination-dot:hover {
  background: rgba(0, 195, 170, 0.6);
  transform: scale(1.2);
}

.pagination-dot.active {
  background: #00c3aa;
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(0, 195, 170, 0.4);
}


.carousel-container::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00c3aa, #00a3c4);
  border-radius: 1px;
  animation: autoPlayIndicator 5s linear infinite;
}

@keyframes autoPlayIndicator {
  0% { width: 0; }
  90% { width: 100px; }
  100% { width: 0; }
}


@media (max-width: 768px) {
  .section.light {
    padding: 4rem 0;
  }
  
  .carousel-slide {
    padding: 3rem 2rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .feature h3 {
    font-size: 1.4rem;
  }
  
  .feature p {
    font-size: 1rem;
  }
  
  .carousel-nav {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .carousel-prev {
    right: 15px;
  }
  
  .carousel-next {
    left: 15px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0 15px;
  }
  
  .carousel-slide {
    padding: 2.5rem 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .carousel-prev {
    right: 10px;
  }
  
  .carousel-next {
    left: 10px;
  }
}


.carousel-nav:focus,
.pagination-dot:focus {
  outline: 2px solid #00c3aa;
  outline-offset: 2px;
}


.carousel-slide * {
  transition: all 0.3s ease;
}


@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
  
  .carousel-container::after {
    animation: none;
  }
  
  .feature-icon,
  .carousel-nav,
  .pagination-dot {
    transition: none;
  }
}


.section.cta {
  background: #f1f2f4; 
  padding: 5rem 0;
}

.section.cta h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.section.cta p {
  text-align: center;
  font-size: 1.1rem;
  color: #5a6c7d;
  margin-bottom: 2.5rem;
}

.contact-form {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: right;
  font-color: #544F4F;
}

.contact-form input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #544F4F;
  color: #000;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  direction: rtl;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus {
  outline: none;
  border-color: #00c3aa;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #00c3aa, #009b8e);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 195, 170, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-spinner {
  display: inline-block;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success {
  background: rgba(46, 204, 113, 0.2);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.form-message.error {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.error-message {
  display: block;
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.error-message.show {
  opacity: 1;
}


.site-footer {
  background: #2c3e50;
  color: #bdc3c7;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.95rem;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.8s ease-out;
}


@media (max-width: 768px) {
  .hero {
    padding: 60px 20px 40px;
    text-align: center;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .emotion-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .checklist li {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .checklist i {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 50px 15px 30px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .feature {
    padding: 1.5rem;
  }
}


@media print {
  .navbar,
  .btn-primary,
  .contact-form,
  .loading-overlay {
    display: none;
  }
  
  .hero-video {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
.section.light > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
}

}
.contact-phones {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;              /* Gap between phone numbers */
  margin-top: 1.2rem;     /* Gap above, from the submit button */
}

.phone-link {
  display: inline-block;
  background: #00c3aa;
  color: #fff;
  font-weight: 600;
  padding: 0.7em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1em;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.phone-link:hover,
.phone-link:focus {
  background: #009e88;
  color: #fff;
}

@media (max-width: 600px) {
  .contact-phones {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }
  .phone-link {
    width: 100%;
    font-size: 1em;
    text-align: center;
  }
}