/* ==========================================================
   Tarek Alabd — Mentor Site — Custom Styles (English LTR)
   ========================================================== */

/* ── Arabic Font Fallback ────────────────────────────────── */
/* Cairo is loaded on all pages. Since Open Sans / Raleway / Poppins
   have no Arabic glyphs, the browser automatically falls back to
   Cairo for any Arabic characters (e.g. the "العربية" nav link). */
:root {
  --default-font: "Open Sans", "Cairo", system-ui, -apple-system, sans-serif;
  --heading-font: "Raleway", "Cairo", sans-serif;
  --nav-font:     "Poppins", "Cairo", sans-serif;
}

/* ── Hero Gradient Overlay ───────────────────────────────── */
/* Replace the default white overlay with a dark brand-navy gradient
   so the photo shows through while keeping text legible */
.hero:before {
  background: linear-gradient(
    135deg,
    rgba(24, 27, 53, 0.88) 0%,
    rgba(24, 27, 53, 0.65) 55%,
    rgba(82, 168, 130, 0.30) 100%
  );
}

/* ── Language Switch ─────────────────────────────────────── */
.lang-switch {
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
  border: 1.5px solid var(--accent-color);
  padding: 4px 12px;
  border-radius: 4px;
  transition: 0.3s;
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/* ── Call-To-Action Section ──────────────────────────────── */
.call-to-action {
  padding: 80px 0;
  background: var(--heading-color);
}
.call-to-action h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}
.call-to-action p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  font-size: 16px;
}
.call-to-action .cta-btn {
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  transition: 0.4s;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
  text-decoration: none;
  margin: 5px;
}
.call-to-action .cta-btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.call-to-action .cta-btn.outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.call-to-action .cta-btn.outline:hover {
  background: #fff;
  color: var(--heading-color);
  border-color: #fff;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials .testimonial-item {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  box-sizing: border-box;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.testimonials .testimonial-item .testimonial-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--accent-color);
}
.testimonials .testimonial-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--heading-color);
}
.testimonials .testimonial-item h4 {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 8px;
  font-weight: 400;
}
.testimonials .testimonial-item .stars i {
  color: #ffc107;
  font-size: 13px;
}
.testimonials .testimonial-item p {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-top: 12px;
  line-height: 1.7;
  flex: 1;
}
.testimonials .testimonial-item .bi-quote {
  font-size: 18px;
  color: var(--accent-color);
  opacity: 0.5;
}
.testimonials .yt-link-wrap {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.testimonials .yt-link-wrap .reviews-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--heading-color);
  opacity: 0.5;
  margin-bottom: 14px;
  font-weight: 600;
}
.testimonials .yt-link-wrap .btn {
  font-weight: 600;
  padding: 10px 28px;
  transition: 0.3s;
}
.testimonials .yt-link-wrap .btn-yt {
  border-color: var(--accent-color);
  color: var(--accent-color);
}
.testimonials .yt-link-wrap .btn-yt:hover {
  background: var(--accent-color);
  color: #fff;
}
.testimonials .yt-link-wrap .btn-udemy {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  background: transparent;
}
.testimonials .yt-link-wrap .btn-udemy:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* ── Pricing Enhancements ────────────────────────────────── */
.pricing .original-price {
  text-decoration: line-through;
  color: #bbb;
  font-size: 14px;
  display: block;
}
.pricing .currency-note {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
  margin-bottom: 18px;
}
.pricing .offer-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pricing .offer-badge.limited   { background: #ff6b35; color: #fff; }
.pricing .offer-badge.popular   { background: var(--accent-color); color: #fff; }
.pricing .offer-badge.best-value{ background: #3E7FA4; color: #fff; }
.pricing .exclusive-note {
  font-size: 12px;
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 6px;
}

/* ── All-Inclusive Features (Pricing page) ───────────────── */
.all-inclusive {
  background: #EEF2EF;
  padding: 60px 0;
}
.all-inclusive ul.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.all-inclusive ul.feature-list li {
  padding: 9px 0;
  border-bottom: 1px solid #eef0ee;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.all-inclusive ul.feature-list li i {
  color: var(--accent-color);
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}
.all-inclusive .exclusive-tag {
  background: var(--accent-color);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ── Payment Info (Contact page) ─────────────────────────── */
.payment-info .payment-card {
  background: var(--surface-color);
  border: 1px solid #e8ede8;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  transition: 0.3s;
}
.payment-info .payment-card:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border-color: var(--accent-color);
}
.payment-info .payment-card i.pay-icon {
  font-size: 34px;
  color: var(--accent-color);
  margin-bottom: 12px;
  display: block;
}
.payment-info .payment-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading-color);
}
.payment-info .payment-card p {
  font-size: 14px;
  color: #777;
  margin-bottom: 6px;
}
.payment-info .payment-card .account-id {
  font-family: 'Courier New', monospace;
  background: #EEF2EF;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 14px;
  color: var(--heading-color);
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}
.payment-info .payment-card.todo-card {
  border-style: dashed;
  opacity: 0.65;
}
.payment-info .payment-card a.account-id {
  color: var(--accent-color);
  text-decoration: none;
}
.payment-info .payment-card a.account-id:hover {
  text-decoration: underline;
}
.copy-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.copy-btn {
  background: none;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
  line-height: 1;
}
.copy-btn:hover {
  background: var(--accent-color);
  color: #fff;
}
.copy-btn.copied {
  background: var(--accent-color);
  color: #fff;
}

/* ── WhatsApp CTA (Contact page) ─────────────────────────── */
.whatsapp-cta {
  background: linear-gradient(135deg, #e8f5e0, #d4edda);
  border: 2px solid #25d366;
  border-radius: 16px;
  padding: 40px 30px;
}
.whatsapp-cta > i {
  font-size: 44px;
  color: #25d366;
  margin-bottom: 14px;
  display: block;
}
.whatsapp-cta h4 {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.whatsapp-cta p {
  color: #555;
  font-size: 15px;
  margin-bottom: 20px;
}
.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
}

/* ── Booking Placeholder (Contact page) ──────────────────── */
.booking-placeholder {
  background: linear-gradient(135deg, #EEF2EF, #dde8e2);
  border: 2px dashed var(--accent-color);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
}
.booking-placeholder i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 15px;
  display: block;
}
.booking-placeholder h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.booking-placeholder p {
  color: #888;
  font-size: 14px;
  margin-bottom: 0;
}

/* ── About Page — Achievements ───────────────────────────── */
.achievements-section .achievement-item {
  text-align: center;
  padding: 20px 10px;
}
.achievements-section .achievement-item i {
  font-size: 38px;
  color: var(--accent-color);
  margin-bottom: 12px;
  display: block;
}
.achievements-section .achievement-item h4 {
  font-size: 30px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 6px;
}
.achievements-section .achievement-item p {
  color: #777;
  font-size: 14px;
  margin: 0;
}

/* ── Services Page ───────────────────────────────────────── */
.service-block {
  padding: 60px 0;
}
.service-block + .service-block {
  border-top: 1px solid #eee;
}
.service-block .service-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}
.service-block .topic-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
}
.service-block .topic-item i {
  color: var(--accent-color);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.service-block .service-meta {
  background: #EEF2EF;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.service-block .service-meta .meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}
.service-block .service-meta .meta-row strong {
  min-width: 90px;
  color: var(--heading-color);
}

/* ── Footer tweak ─────────────────────────────────────────── */
.footer-about a {
  text-decoration: none;
}
.footer-contact a {
  color: var(--accent-color);
  text-decoration: none;
}
.footer-contact a:hover {
  text-decoration: underline;
}
