/* ==========================================================================
   IRCHAD FOR YOU — Landing Page Specific Styles
   CSS خاص بالصفحة الرئيسية العامة فقط (مطابق كلياً لـ src/index.css)
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════════
   1. Hero Section
   ══════════════════════════════════════════════════════════════════════════ */
.hero-section {
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: clamp(5rem, 8vw, 9rem);
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-subtitle::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--border-color);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* إحصائيات Hero */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.stat-item strong {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ink-color);
  line-height: 1;
}
.stat-item span {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-family: var(--font-sans);
}
.stat-divider {
  color: var(--border-color);
  font-size: 1.5rem;
}

/* صورة Hero المقوسة */
.hero-image-container {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-arch {
  width: 85%;
  height: 100%;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background-color: #e5e4e7;
}
.hero-image-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* بطاقة Hero العائمة */
.hero-badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background-color: var(--white);
  padding: 1.25rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 240px;
  border: 1px solid var(--border-color);
}
.hero-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--domain-family);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.hero-badge-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-color);
  margin-bottom: 0.2rem;
}
.hero-badge-desc {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════════════════
   2. Domains Section (مجالاتنا المتخصصة — مطابق لـ src/index.css L496-L591)
   ══════════════════════════════════════════════════════════════════════════ */
.section-intro {
  max-width: 650px;
  margin: 0 auto 5rem;
  text-align: center;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.domain-card {
  background-color: var(--white);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: right;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.domain-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: background-color 0.3s ease;
}

.domain-card.psych::before { background-color: var(--domain-psych); }
.domain-card.edu::before   { background-color: var(--domain-edu); }
.domain-card.speech::before{ background-color: var(--domain-speech); }
.domain-card.family::before{ background-color: var(--domain-family); }

.domain-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.domain-card.psych .domain-icon-wrapper  { background-color: rgba(147, 51, 234, 0.08); color: var(--domain-psych); }
.domain-card.edu .domain-icon-wrapper    { background-color: rgba(217, 119, 6, 0.08); color: var(--domain-edu); }
.domain-card.speech .domain-icon-wrapper { background-color: rgba(14, 165, 233, 0.08); color: var(--domain-speech); }
.domain-card.family .domain-icon-wrapper { background-color: rgba(22, 163, 74, 0.08); color: var(--domain-family); }

.domain-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--ink-color);
}

.domain-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
}

.domain-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink-color);
  transition: color 0.3s ease;
}

.domain-card.psych:hover  .domain-link { color: var(--domain-psych); }
.domain-card.edu:hover    .domain-link { color: var(--domain-edu); }
.domain-card.speech:hover .domain-link { color: var(--domain-speech); }
.domain-card.family:hover .domain-link { color: var(--domain-family); }

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

/* ══════════════════════════════════════════════════════════════════════════
   3. Channels Section — قنوات التكفل
   ══════════════════════════════════════════════════════════════════════════ */
.channels-section {
  background-color: oklch(0.97 0.005 80);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.channels-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.channels-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.channel-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.channel-item:hover {
  background-color: var(--white);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.channel-num {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-muted);
  opacity: 0.5;
  flex-shrink: 0;
}
.channel-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.channel-desc  { font-size: 0.95rem; color: var(--ink-muted); margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   4. Founder Section
   ══════════════════════════════════════════════════════════════════════════ */
.founder-wrapper {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 5rem;
  align-items: center;
}

.founder-img-arch {
  width: 100%;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.founder-img-arch img {
  width: 100%;
  height: auto;
  display: block;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-color);
  margin: 1.5rem 0 2rem;
  border: none;
  padding: 0;
  position: relative;
}
.founder-quote::before {
  content: "\201C";
  font-family: serif;
  font-size: 5rem;
  position: absolute;
  top: -2.5rem;
  right: -2rem;
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

.founder-bio {
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   5. Pledge Section — عهد السرية (مع خلفية pledge_symbol.png)
   ══════════════════════════════════════════════════════════════════════════ */
.pledge-section {
  background-color: var(--white);
  background-image: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)), url('../assets/pledge_symbol.png');
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pledge-wrapper {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════════
   6. Testimonials Section
   ══════════════════════════════════════════════════════════════════════════ */
.testimonials-section {
  background-color: oklch(0.97 0.005 80);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--ink-color);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(44, 36, 59, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-meta h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}
.author-meta span { font-size: 0.8rem; color: var(--ink-muted); }

.star-rating {
  color: var(--domain-edu);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   7. Booking Section (مع خلفية booking_bg.png)
   ══════════════════════════════════════════════════════════════════════════ */
.booking-section {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 5rem 0;
}

.booking-unified-card {
  display: grid;
  grid-template-columns: 5fr 6.5fr;
  background-color: var(--white);
  border-radius: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  align-items: stretch;
}

.booking-info-section {
  background-color: rgba(244, 244, 245, 0.4);
  background-image: linear-gradient(rgba(244, 244, 245, 0.94), rgba(244, 244, 245, 0.94)), url('../assets/booking_bg.png');
  background-size: cover;
  background-position: center;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-color);
}

.booking-cta-section {
  background-color: var(--white);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.booking-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2.5rem 0;
}
.booking-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex-shrink: 0;
}
.step-content h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.step-content p { font-size: 0.85rem; margin-bottom: 0; }

.booking-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-color);
  text-decoration: none;
}
.contact-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════════
   8. FAQ Section
   ══════════════════════════════════════════════════════════════════════════ */
.faq-wrapper { max-width: 800px; margin: 0 auto; }

/* ══════════════════════════════════════════════════════════════════════════
   9. Premium Footer (مطابق كلياً لـ src/index.css L1048-L1180)
   ══════════════════════════════════════════════════════════════════════════ */
.footer {
  background-color: var(--ink-color);
  color: var(--bg-color);
  padding-top: 6rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 242, 0.03);
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 242, 0.03);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand h2 {
  color: var(--bg-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: rgba(250, 247, 242, 0.7);
  max-width: 320px;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.footer-links-list a {
  color: rgba(250, 247, 242, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links-list a:hover {
  color: var(--bg-color);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.7);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(250, 247, 242, 0.05);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--white);
  color: var(--ink-color);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding-top: 2rem;
  color: rgba(250, 247, 242, 0.5);
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

/* ══════════════════════════════════════════════════════════════════════════
   10. Responsive & Mobile Navbar Dropdown
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-wrapper,
  .channels-wrapper,
  .founder-wrapper,
  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-image-container { height: 400px; }
  .testimonials-slider { grid-template-columns: 1fr 1fr; }
  .founder-wrapper { grid-template-columns: 1fr; }
  .founder-img-arch { max-width: 360px; margin: 0 auto; }
}

.mobile-only-actions {
  display: none;
}

@media (max-width: 868px) {
  .header-container {
    padding: 0 1.25rem;
    position: relative;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
  }
  .mobile-only-actions {
    display: flex !important;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    width: 100%;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.25rem 1.75rem;
    gap: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 1000;
  }
  .nav-links.open {
    display: flex !important;
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .header-actions {
    display: none;
  }

  .domains-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stat-divider { display: none; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .hero-badge { right: 0; left: 0; margin: 0 auto; max-width: 200px; bottom: 1rem; }
}

@media (max-width: 480px) {
  .hero-image-container { height: 300px; }
  .hero-image-arch { width: 100%; }
}
