/* Reset بسيط */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #f5f5f5;
  color: #fff;
}

/* حاوية عامة */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== الهيدر العلوي ===== */
.top-bar {
  background: #fff;
  color: #345c9c;
  font-size: 0.9rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.top-info span {
  margin-left: 16px;
}
.top-info a {
  color: #345c9c;
  text-decoration: underline;
}
.top-nav a {
  color: #345c9c;
  text-decoration: none;
  margin: 0 8px;
}
.top-nav .sep {
  color: #ccc;
}

/* ===== الشريط الرئيسي ===== */
.main-header {
  background: #2dc9d1;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  height: 50px;
}
.header-center {
  text-align: center;
  flex: 1;
}
.header-center h1 {
  font-size: 1.75rem;
  color: #345c9c;
  margin-bottom: 4px;
}
.header-center .tagline {
  font-size: 1rem;
  opacity: 0.8;
}
.header-center .location {
  font-size: 0.9rem;
  margin-top: 4px;
  opacity: 0.8;
}
.header-contact {
  text-align: right;
}
.header-contact span {
  display: block;
  opacity: 0.8;
}
.header-contact a {
  color: #345c9c;
  font-weight: bold;
  text-decoration: none;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #345c9c;
  cursor: pointer;
}

/* ===== الهيرو بانر ===== */
.hero {
  background: url('../assets/img/hero-bg.jpg') center/cover no-repeat;
  padding: 120px 0 80px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.hero-content h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 12px;
}
.hero-content .hero-sub {
  font-size: 1rem;
  margin-bottom: 24px;
  opacity: 0.9;
  color: #eee;
}
.btn-book {
  display: inline-block;
  background: #345c9c;
  color: #fff;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 12px;
}
.hero-discount {
  display: block;
  color: #2dc9d1;
  margin-top: 8px;
  font-weight: bold;
}
/* ======= دعنا نتصل بك في الهيرو ======= */
.callback-form {
  text-align: center;
  margin-top: 20px;
}
.callback-title {
  font-size: 1.6rem;
  color: #2dc9d1;
  margin-bottom: 12px;
}
.phone-input-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#phone {
  padding: 0.6em 0.8em;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* سيحول الـ intl-tel-input العلم والمنطقة داخل هذا العنصر */
}
.btn-call {
  background-color: #000;
  color: #fff;
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn-call:hover {
  opacity: 0.9;
}
/* ———— إصلاح ترتيب العلم واسم البلد في قائمة intl-tel-input ———— */

/* 1) نجعل كل عنصر دولة flex ليتمكّن من إعادة الترتيب */
.iti__country {
  display: flex !important;
  align-items: center !important;
}

/* 2) ننقل العلم إلى البداية (order:-1)، ونضيف مسافة بعده */
.iti__country .iti__flag {
  order: -1 !important;
  margin-right: 8px !important;
}

/* 3) نحرّر لون اسم البلد ليصبح قاتم بدلاً من الأبيض */
.iti__country .iti__country-name {
  color: #333 !important;
}

/* 4) لو أردت تعديل ترتيب عرض العلم والرمز داخل زر الاختيار (selected flag) */
.iti__selected-flag {
  order: -1 !important;
  margin-right: 8px !important;
}
.iti__selected-dial-code,
.iti__selected-country {
  order: 1 !important;
  color: #333 !important;
}

/* ===== قسم خدماتنا ===== */
.services-section {
  padding: 60px 0;
  background: #fff;
}
.services-section .section-title {
  display: block;
  width: fit-content;
  margin: 0 auto 40px;
  background: #2dc9d1;
  color: #fff;
  font-size: 2rem;
  padding: 8px 24px;
  text-align: center;
  border-radius: 4px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
}
.service-card {
  background: #fff;
  border: 2px solid #2dc9d1;
  border-radius: 8px;
  padding: 24px;
  max-width: 300px;
  text-align: center;
}
.service-icon {
  width: 80px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.25rem;
  color: #2dc9d1;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* ===== قسم من نحن ===== */
.about-section {
  background: #f5f5f5;
  padding: 60px 0;
  color: #333;
}
.about-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.about-image {
  position: relative;
  flex: 1;
  min-width: 300px;
}
.about-bg-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(45, 201, 209, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.about-image img {
  position: relative;
  width: 100%;
  border-radius: 20px;
  display: block;
  z-index: 2;
}
.experience-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #2dc9d1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.experience-circle span {
  font-size: 1.5rem;
}
.experience-circle small {
  font-size: 0.75rem;
  margin-top: 4px;
}
.about-content {
  flex: 1;
  min-width: 280px;
}
.section-label {
  display: inline-block;
  background: #2dc9d1;
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #2dc9d1;
}
.about-text {
  line-height: 1.7;
  margin-bottom: 24px;
  color: #333;
}
.about-list {
  list-style: none;
  margin-bottom: 32px;
}
.about-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #333;
}
.about-list li::before {
  content: "✔︎";
  position: absolute;
  left: 0;
  top: 0;
  color: #2dc9d1;
}
.about-contact {
  font-size: 1rem;
}
.about-contact span {
  margin-right: 8px;
}
.about-contact a {
  color: #2dc9d1;
  text-decoration: none;
  font-weight: bold;
}

/* ===== Responsiveness قسم من نحن ===== */
@media (max-width: 768px) {
  .about-flex {
    flex-direction: column-reverse;
    text-align: center;
  }
  .experience-circle {
    display: none;
  }
  .about-image,
  .about-content {
    max-width: 100%;
  }
}

/* ========== قسم تجميل الأسنان (Dental Section) ========== */
.dental-section {
  padding: 60px 0;
  background: #f5f5f5;
  text-align: center;
}
.dental-section .section-title {
  display: inline-block;
  background: #2dc9d1;
  color: #fff;
  font-size: 2rem;
  padding: 8px 24px;
  margin: 0 auto 40px;
  text-align: center;
  border-radius: 4px;
}
.dental-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dental-slide {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 220px;
}
.dental-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease, transform .3s ease;
}
.dental-slide .dental-info {
  position: absolute;
  inset: 0;
  background: rgba(45, 201, 209, 0.9);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity .3s ease;
  text-align: center;
  padding: 16px;
}
.dental-slide:hover img {
  opacity: 0;
  transform: scale(1.05);
}
.dental-slide:hover .dental-info {
  opacity: 1;
}

/* ===== استجابة الموبايل العامة ===== */
@media (max-width: 768px) {
  .header-flex {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .menu-toggle {
    display: block;
  }
  .top-bar .container,
  .main-header .container {
    flex-direction: column;
  }
}

/* ===== قسم لماذا نحن ===== */
.why-section {
  padding: 60px 0;
  background: #fff;
  color: #333;
}
.why-section .section-label {
  display: inline-block;
  background: #2dc9d1;
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.why-section .section-title {
  font-size: 2rem;
  color: #2dc9d1;
  text-align: center;
  margin-bottom: 40px;
}
.why-section .why-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
}
.why-section .why-left,
.why-section .why-right {
  flex: 1;
  min-width: 280px;
}
.why-section .why-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.why-section .why-tabs button {
  flex: 1;
  background: #eee;
  border: none;
  padding: 8px 0;
  border-radius: 4px;
  color: #2dc9d1;
  cursor: pointer;
  transition: background .3s;
}
.why-section .why-tabs button.active,
.why-section .why-tabs button:hover {
  background: #2dc9d1;
  color: #fff;
}
.why-section .why-text h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.why-section .why-text p {
  line-height: 1.7;
  color: #555;
}
.why-section .why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.why-section .why-card {
  background: #f5f5f5;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
}
.why-section .why-card img {
  height: 40px;
  margin-bottom: 8px;
}
.why-section .why-card h4 {
  font-size: 0.95rem;
  margin: 0;
  color: #333;
}
.why-section .video-box {
  position: relative;
  height: 200px;
  background: url('../assets/img/video-placeholder.jpg') center/cover no-repeat;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.why-section .video-box .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(45, 201, 209, 0.8);
  color: #fff;
  font-size: 2rem;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
}
.why-section .media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.why-section .media-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}
.why-section .counters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}
.why-section .counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 120px;
}
.why-section .counter-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.why-section .counter h3 {
  font-size: 1.75rem;
  color: #2dc9d1;
  margin: 0;
}
.why-section .counter p {
  font-size: 0.9rem;
  color: #333;
  margin: 0;
}

/* ===== استجابة قسم لماذا نحن للموبايل ===== */
@media (max-width: 768px) {
  .why-section .why-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .why-section .why-left,
  .why-section .why-right {
    width: 100%;
    margin-bottom: 24px;
  }
  .why-section .why-tabs {
    justify-content: center;
  }
  .why-section .media-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .why-section .video-box {
    height: 180px;
  }
  .why-section .counters {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
}

/* ===== قسم عروض زراعة الشعر ===== */
.offers-section {
  padding: 60px 0;
  background: #f9f9f9;
  color: #333;
  text-align: center;
}
.offers-section .section-title {
  display: inline-block;
  background: #2dc9d1;
  color: #fff;
  font-size: 2rem;
  padding: 8px 24px;
  margin: 0 auto 40px;
  text-align: center;
  border-radius: 4px;
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.offer-card {
  background: #efefef;
  border: 2px solid #2dc9d1;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.offer-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.offer-card-content {
  padding: 16px;
  text-align: center;
  flex: 1;
}
.offer-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #345c9c;
}
.offer-card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}
.offer-btn {
  display: inline-block;
  background: #2dc9d1;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background .3s ease;
}
.offer-btn:hover {
  background: #24aab0;
}
@media (max-width: 768px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== قسم خدمات التجميل ====== */
.cosmetic-section {
  padding: 60px 0;
  background: #f5f5f5;
  color: #333;
  text-align: center;
}
.cosmetic-section .section-title {
  display: inline-block;
  background: #2dc9d1;
  color: #fff;
  font-size: 2rem;
  padding: 8px 24px;
  margin-bottom: 12px;
  border-radius: 4px;
}
.cosmetic-section .section-desc {
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
  opacity: 0.8;
}
.cosmetic-flex {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}
/* الصورة الكبيرة */
.cosmetic-main {
  flex: 1 1 400px;
}
.cosmetic-main img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
/* شبكة البطاقات الجانبية */
.cosmetic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  flex: 1 1 300px;
}
/* البطاقة */
.cosmetic-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 180px;
  cursor: pointer;
}
.cosmetic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease, transform .3s ease;
}
.cosmetic-info {
  position: absolute;
  inset: 0;
  background: rgba(45, 201, 209, 0.9);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  padding: 16px;
  text-align: center;
  transition: opacity .3s ease;
}
.cosmetic-info h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.cosmetic-info p {
  font-size: 0.9rem;
  line-height: 1.4;
}
.cosmetic-card:hover img {
  opacity: 0;
  transform: scale(1.05);
}
.cosmetic-card:hover .cosmetic-info {
  opacity: 1;
}
@media (max-width: 768px) {
  .cosmetic-flex {
    flex-direction: column;
  }
  .cosmetic-main,
  .cosmetic-grid {
    flex: 1 1 100%;
  }
}


/* ====== قسم تواصل معنا ====== */
.social-section {
  padding: 60px 0;
  background: #f5f5f5;
  color: #333;
}
.title-wrapper {
  text-align: center;
}
.section-title-colored {
  background-color: #2dc9d1;
  color: #fff;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 2rem;
}
.social-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.social-icon {
  width: 80px;
  height: 80px;
  background: #2dc9d1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icon svg {
  width: 50%;
  height: 50%;
  color: #fff;
  fill: currentColor;
}
.social-name {
  color: #2dc9d1;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}
@media (max-width: 480px) {
  .social-grid {
    flex-direction: column;
    gap: 24px;
  }
}


/* ===== قسم قبل/بعد ===== */
.before-after-section,
.map-section {
  padding: 60px 0;
  background: #f5f5f5;
}
.before-after-section .section-title,
.map-section .section-title {
  text-align: center;
  color: #2dc9d1;
  font-size: 2rem;
  margin-bottom: 40px;
}
.before-after-section .ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .before-after-section .ba-grid {
    grid-template-columns: 1fr;
  }
}
.ba-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  width: 100%;
}
.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-after {
  clip-path: inset(0 50% 0 0);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  background: #2dc9d1;
  cursor: ew-resize;
  transition: background .3s;
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2dc9d1;
}
.ba-wrapper:hover .ba-handle {
  background: #345c9c;
}
.ba-wrapper:hover .ba-handle::before {
  background: #345c9c;
}

/* ======= قسم الموقع على الخريطة ======= */
.map-section {
  background: #fff;
  padding: 60px 0;
}
.map-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}
.map-info {
  flex: 1;
  min-width: 280px;
}
.map-section .section-title {
  font-size: 2rem;
  color: #2dc9d1;
  margin-bottom: 24px;
  text-align: right;
}
.map-address,
.map-phone {
  font-size: 1rem;
  color: #333;
  margin-bottom: 12px;
}
.map-address i,
.map-phone i {
  color: #2dc9d1;
  margin-left: 8px;
}
.btn-hours {
  display: inline-block;
  background: #2dc9d1;
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background .3s;
}
.btn-hours i {
  margin-left: 8px;
}
.btn-hours:hover {
  background: #345c9c;
}
.map-wrapper {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ======= شريط الفوتر ======= */
.site-footer {
  background: #345c9c;
  color: #fff;
  padding: 60px 0 30px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col {
  flex: 1;
  min-width: 200px;
}
.site-footer h4 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.site-footer p,
.site-footer ul {
  margin-bottom: 16px;
  line-height: 1.6;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer ul li {
  margin-bottom: 8px;
}

/* ===== استجابة الشاشات الصغيرة ===== */
@media (max-width: 768px) {
  .map-flex {
    flex-direction: column-reverse;
    text-align: center;
  }
  .map-info {
    margin-top: 24px;
  }
  .map-wrapper {
    min-height: 200px;
  }
  .footer-flex {
    flex-direction: column;
    text-align: center;
  }
  .footer-col {
    max-width: 100%;
    margin-bottom: 24px;
  }
}
