:root {
  --bg-page: #f3f7fb;
  --bg-card: #ffffff;
  --bg-tint: #eaf3ff;
  --bg-strip: #eef4fa;
  --border-soft: rgba(16, 36, 62, 0.08);
  --accent-blue: #1e6fd9;
  --accent-blue-dark: #14509e;
  --accent-sky: #38bdf8;
  --text-dark: #10243e;
  --text-muted: #5b6b82;
  --success: #16a34a;
  --danger: #dc2626;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", "Tajawal", "Segoe UI", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.container-narrow {
  max-width: 960px;
  margin-inline: auto;
}

/* Navbar */
.bf-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-soft);
}

.bf-navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark) !important;
}

.bf-navbar .navbar-brand span {
  color: var(--accent-blue);
}

.bf-navbar .nav-link {
  color: var(--text-muted) !important;
  font-weight: 600;
}

.bf-navbar .nav-link:hover,
.bf-navbar .nav-link.active {
  color: var(--accent-blue) !important;
}

/* Buttons */
.btn-cta {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-sky));
  color: #fff;
  font-weight: 800;
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -8px rgba(30, 111, 217, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(30, 111, 217, 0.55);
  color: #fff;
}

.btn-cta:disabled {
  opacity: 0.6;
  transform: none;
  cursor: not-allowed;
}

.btn-outline-light-custom {
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.7rem 1.8rem;
}

.btn-outline-light-custom:hover {
  background: var(--accent-blue);
  color: #fff;
}

/* Hero */
.hero-section {
  background: radial-gradient(circle at 30% 20%, var(--bg-tint), var(--bg-page) 70%);
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 60%, rgba(30, 111, 217, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-title {
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.35;
  color: var(--text-dark);
}

.hero-title .highlight {
  color: var(--accent-blue);
  border-bottom: 4px solid var(--accent-sky);
}

.hero-img-wrap {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 25px 60px -20px rgba(16, 36, 62, 0.25);
}

.hero-img-wrap img {
  width: 100%;
  display: block;
}

/* Feature bullets */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-weight: 600;
  color: var(--text-dark);
}

.bullet-list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}

.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 1.25rem;
  padding: 2.2rem;
  box-shadow: 0 15px 35px -25px rgba(16, 36, 62, 0.25);
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.section-title .accent {
  color: var(--accent-blue);
}

.doctor-card {
  background: var(--bg-card);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 15px 35px -25px rgba(16, 36, 62, 0.25);
}

.doctor-card img {
  width: 100%;
  display: block;
}

.quote-bubble {
  background: var(--bg-tint);
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-style: normal;
  color: var(--text-dark);
  border-inline-start: 4px solid var(--accent-sky);
}

/* Pricing box */
.pricing-box {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-sky));
  color: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
}

.pricing-box .price-new {
  font-size: 3rem;
  font-weight: 900;
}

.pricing-box .price-old {
  font-size: 1.4rem;
  text-decoration: line-through;
  opacity: 0.75;
}

.pricing-box .free-shipping {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.6rem 1.2rem;
  font-weight: 800;
  margin-top: 0.75rem;
}

/* Form */
.order-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 15px 35px -25px rgba(16, 36, 62, 0.25);
}

.form-label {
  font-weight: 700;
  color: var(--text-dark);
}

.form-control {
  background: #fff;
  border: 1px solid rgba(16, 36, 62, 0.15);
  color: var(--text-dark);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}

.form-control:focus {
  background: #fff;
  color: var(--text-dark);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 0.2rem rgba(30, 111, 217, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Honeypot field: hidden from humans, still present in DOM/tab order trap for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.form-feedback.error {
  display: block;
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Sticky mobile CTA bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: #fff;
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -10px 25px -15px rgba(16, 36, 62, 0.25);
  padding: 0.75rem 1rem;
  display: none;
  z-index: 1030;
  color: var(--text-dark);
}

.sticky-cta-bar.show {
  display: flex;
}

footer {
  background: var(--bg-strip);
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  padding: 2rem 0;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .hero-section {
    padding: 3rem 0 2.5rem;
    text-align: center;
  }
  .section-card {
    padding: 1.5rem;
  }
  body {
    padding-bottom: 4.5rem;
  }
}

/* الصفحة كلها قابلة للضغط (بتودي لصفحة الطلب) ما عدا القائمة العلوية وحقول الإدخال */
body.clickable-home {
  cursor: pointer;
}
body.clickable-home input,
body.clickable-home textarea,
body.clickable-home select {
  cursor: text;
}
body.clickable-home a,
body.clickable-home button {
  cursor: pointer;
}
