/* ==========================================================================
   AL SIRAH (السيرة) — Dedicated Project Page Styles
   Brand Identity:
   - Primary Green: #205C40
   - Primary Beige: #E7DBB9
   - Secondary Gold: #CBA052
   - Secondary Ivory: #F2E9DB
   - White: #FFFFFF
   - Charcoal: #1F2922
   - Typography: Website Standard (Cairo / Tajawal for AR; Arial for EN)
   ========================================================================== */

:root {
  --as-green: #205C40;
  --as-green-dark: #163E2B;
  --as-green-light: #2A7954;
  --as-beige: #E7DBB9;
  --as-beige-light: #F7F3E8;
  --as-gold: #CBA052;
  --as-gold-dark: #A98038;
  --as-ivory: #F2E9DB;
  --as-white: #FFFFFF;
  --as-charcoal: #1F2922;
  --as-muted: #5B5F5C;
  --as-border: rgba(32, 92, 64, 0.15);
  --as-shadow-sm: 0 4px 14px rgba(32, 92, 64, 0.06);
  --as-shadow-md: 0 12px 32px rgba(32, 92, 64, 0.10);
  --as-shadow-lg: 0 24px 60px rgba(22, 62, 43, 0.16);

  --font-as-heading: var(--font-head, 'Tajawal', sans-serif);
  --font-as-body: var(--font-body, 'Tajawal', sans-serif);
}

.al-sirah-page {
  background-color: var(--as-ivory);
  color: var(--as-charcoal);
  font-family: var(--font-as-body);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

.al-sirah-page h1,
.al-sirah-page h2,
.al-sirah-page h3,
.al-sirah-page h4,
.al-sirah-page h5 {
  font-family: var(--font-as-heading);
  font-weight: 700;
  line-height: 1.3;
}

.al-sirah-page.is-english,
.al-sirah-page.is-english h1,
.al-sirah-page.is-english h2,
.al-sirah-page.is-english h3,
.al-sirah-page.is-english h4,
.al-sirah-page.is-english h5,
.al-sirah-page.is-english .as-btn {
  font-family: var(--font-english, 'Manrope', sans-serif);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.as-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
  word-break: break-word;
}

.as-btn-primary {
  background: var(--as-gold);
  color: var(--as-green-dark);
  border-color: var(--as-gold);
}
.as-btn-primary:hover {
  background: #deb666;
  border-color: #deb666;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(203, 160, 82, 0.35);
  color: var(--as-green-dark);
}

.as-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--as-white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.as-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--as-white);
  border-color: var(--as-beige);
}

.as-btn-dark {
  background: var(--as-green);
  color: var(--as-white);
  border-color: var(--as-green);
}
.as-btn-dark:hover {
  background: var(--as-green-dark);
  color: var(--as-white);
  transform: translateY(-2px);
}

.as-btn-outline-dark {
  background: transparent;
  color: var(--as-green);
  border-color: var(--as-green);
}
.as-btn-outline-dark:hover {
  background: var(--as-green);
  color: var(--as-white);
}

/* ==========================================================================
   Hero Section (Centered Horizontal Alignment)
   ========================================================================== */
.as-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(16, 23, 19, 0.88) 0%, rgba(16, 23, 19, 0.95) 100%),
              url('/assets/al-sirah/images/cover-hero.jpg') center/cover no-repeat;
  background: linear-gradient(180deg, rgba(16, 23, 19, 0.88) 0%, rgba(16, 23, 19, 0.95) 100%),
              image-set(
                url('/assets/al-sirah/images/cover-hero.webp') type('image/webp'),
                url('/assets/al-sirah/images/cover-hero.jpg') type('image/jpeg')
              ) center/cover no-repeat;
  color: var(--as-white);
  padding: 140px 0 80px;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}

.as-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 0 16px;
}

.as-hero-logo {
  max-width: 320px;
  width: 80%;
  height: auto;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

.as-hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(231, 219, 185, 0.15);
  border: 1px solid var(--as-gold);
  color: var(--as-beige);
  padding: 6px 20px;
  border-radius: 999px;
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  max-width: 90%;
  box-sizing: border-box;
  word-break: break-word;
}

.as-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.35;
  color: var(--as-white);
  margin-bottom: 24px;
  max-width: 860px;
  width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.as-hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  line-height: 1.8;
  color: #E2E8E4;
  margin: 0 auto 28px;
  max-width: 780px;
  width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

.as-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
}

/* ==========================================================================
   Partnership & Official Governance Bar
   ========================================================================== */
.as-partner-bar {
  background: var(--as-white);
  border-bottom: 1px solid var(--as-border);
  padding: 24px 0;
  box-shadow: var(--as-shadow-sm);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.as-partner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.as-partner-statement {
  font-size: 0.98rem;
  color: var(--as-charcoal);
  line-height: 1.6;
  max-width: 680px;
  word-break: break-word;
}

.as-partner-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 100%;
}

.as-partner-logo-img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* STC partner logo preserves its authentic brand coloring */
.as-partner-logos img[src*="STC"] {
  height: 42px;
  width: auto;
}

.as-license-tag {
  background: var(--as-beige-light);
  border: 1px solid var(--as-gold);
  color: var(--as-gold-dark);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   Project Facts & Strategic KPIs
   ========================================================================== */
.as-metrics-section {
  padding: clamp(35px, 6vw, 60px) 0;
  background: var(--as-white);
  width: 100%;
  box-sizing: border-box;
}

.as-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

.as-metric-card {
  background: var(--as-ivory);
  border: 1px solid var(--as-border);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.as-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--as-shadow-md);
}

.as-metric-num {
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--as-green);
  line-height: 1.2;
  margin-bottom: 8px;
  font-family: var(--font-as-heading);
  word-break: break-word;
  overflow-wrap: break-word;
}

.as-metric-num-text {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.as-metric-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--as-charcoal);
  margin-bottom: 6px;
}

.as-metric-desc {
  font-size: 0.88rem;
  color: var(--as-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Panoramic Master Aerial Section
   ========================================================================== */
.as-panoramic-section {
  padding: 80px 0;
  background: var(--as-ivory);
}

.as-panoramic-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}

.as-panoramic-kicker {
  color: var(--as-gold-dark);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.as-panoramic-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--as-green-dark);
  margin-bottom: 16px;
}

.as-panoramic-lead {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--as-charcoal);
  margin: 0;
}

.as-panoramic-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--as-shadow-lg);
  border: 1px solid rgba(203, 160, 82, 0.35);
  background: var(--as-green-dark);
}

.as-panoramic-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.as-panoramic-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(to top, rgba(16, 35, 25, 0.92) 0%, transparent 100%);
  padding: 30px 24px 20px;
  color: var(--as-white);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.as-panoramic-tag {
  font-size: 0.92rem;
  color: var(--as-beige);
  font-weight: 600;
}

/* ==========================================================================
   Spacious Redesigned Market Sections (Souq Al Jiwar & Souq Al Sohbah)
   ========================================================================== */
.as-plaza-container {
  padding: 80px 0;
}

.as-plaza-container:nth-of-type(even) {
  background: var(--as-white);
}

.as-plaza-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.as-plaza-block.is-reversed {
  direction: ltr;
}
.as-plaza-block.is-reversed > * {
  direction: rtl;
}
.al-sirah-page.is-english .as-plaza-block.is-reversed {
  direction: rtl;
}
.al-sirah-page.is-english .as-plaza-block.is-reversed > * {
  direction: ltr;
}

.as-plaza-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--as-shadow-md);
  border: 1px solid var(--as-border);
}

.as-plaza-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.as-plaza-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--as-beige-light);
  border: 1px solid var(--as-gold);
  color: var(--as-gold-dark);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.as-plaza-title {
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
  color: var(--as-green-dark);
  margin-bottom: 16px;
}

.as-plaza-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--as-charcoal);
  margin-bottom: 24px;
}

.as-plaza-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: var(--as-ivory);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid var(--as-border);
  margin-bottom: 28px;
}

.as-plaza-container:nth-of-type(even) .as-plaza-stats-strip {
  background: var(--as-beige-light);
}

.as-plaza-stat-item strong {
  display: block;
  font-size: 1.3rem;
  color: var(--as-green);
  font-family: var(--font-as-heading);
  line-height: 1.2;
}

.as-plaza-stat-item span {
  font-size: 0.82rem;
  color: var(--as-muted);
  font-weight: 600;
}

/* ==========================================================================
   Destinations Section (The 6 Components)
   ========================================================================== */
.as-destinations-section {
  padding: 90px 0;
  background: var(--as-white);
}

.as-destinations-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}

.as-destinations-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--as-green-dark);
  margin-bottom: 14px;
}

.as-destinations-head p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--as-muted);
  margin: 0;
}

.as-destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}

.as-destination-card {
  background: var(--as-ivory);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--as-border);
  box-shadow: var(--as-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.as-destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--as-shadow-md);
}

.as-destination-media {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #122118;
}

.as-destination-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.as-destination-card:hover .as-destination-img {
  transform: scale(1.03);
}

.as-destination-num {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: rgba(22, 62, 43, 0.85);
  border: 1px solid var(--as-gold);
  color: var(--as-beige);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}


/* Destination Card Sub-Logo Branding */
.as-destination-sublogo {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.as-destination-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.as-destination-title {
  font-size: 1.3rem;
  color: var(--as-green-dark);
  margin-bottom: 12px;
}

.as-destination-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--as-charcoal);
  margin-bottom: 16px;
  flex: 1;
}

.as-destination-meta {
  padding-top: 14px;
  border-top: 1px solid var(--as-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.as-destination-tag {
  display: inline-block;
  background: var(--as-beige-light);
  border: 1px solid var(--as-gold);
  color: var(--as-gold-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ==========================================================================
   Sales Contact Section (Clean Vector Icons, No Emojis)
   ========================================================================== */
.as-contact-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #163e2b 0%, #205C40 60%, #163223 100%);
  color: var(--as-white);
  position: relative;
  overflow: hidden;
}

.as-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(203, 160, 82, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.as-contact-container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.as-contact-head {
  margin-bottom: 48px;
}

.as-contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(231, 219, 185, 0.15);
  border: 1px solid var(--as-gold);
  color: var(--as-beige);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.as-contact-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--as-white);
  margin-bottom: 14px;
}

.as-contact-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #E2E8E4;
  max-width: 700px;
  margin: 0 auto;
}

.as-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 24px;
  margin-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

.as-channel-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(231, 219, 185, 0.25);
  border-radius: 10px;
  padding: 32px 24px;
  text-decoration: none;
  color: var(--as-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  box-sizing: border-box;
  width: 100%;
  word-break: break-word;
}
.as-channel-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--as-gold);
  transform: translateY(-3px);
  color: var(--as-white);
}

.as-channel-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(203, 160, 82, 0.2);
  border: 1px solid var(--as-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--as-gold);
  flex-shrink: 0;
}

.as-channel-icon-svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.as-channel-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--as-white);
}

.as-channel-val {
  font-size: 1.05rem;
  direction: ltr;
  color: var(--as-beige);
  font-weight: 600;
  margin-bottom: 6px;
  word-break: break-word;
}

.as-channel-sub {
  font-size: 0.85rem;
  color: #B4C0B9;
}

/* WhatsApp QR Card in Sales Contact */
.as-qr-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(231, 219, 185, 0.28);
  border-radius: 12px;
  padding: 24px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: start;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
}
.as-qr-box:hover {
  border-color: var(--as-gold);
  transform: translateY(-2px);
}
.as-qr-link {
  display: block;
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  line-height: 0;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.as-qr-link:hover {
  transform: scale(1.05);
}
.as-qr-img {
  width: 120px;
  height: 120px;
  display: block;
}
.as-qr-info {
  flex: 1;
}
.as-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--as-gold);
  color: var(--as-green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.as-qr-hint {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #E2E8E4;
  margin: 0;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Corrections (360px, 390px, 768px, 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .as-plaza-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .as-plaza-block.is-reversed {
    direction: rtl;
  }
  .al-sirah-page.is-english .as-plaza-block.is-reversed {
    direction: ltr;
  }
  .as-plaza-img {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .as-hero {
    padding: 110px 0 50px;
    min-height: auto;
  }
  .as-hero-logo {
    max-width: 260px;
  }
  .as-hero-title {
    font-size: clamp(1.4rem, 4.8vw, 2.2rem);
    margin-bottom: 20px;
  }
  .as-hero-actions {
    gap: 12px;
  }
  .as-partner-bar {
    padding: 20px 0;
  }
  .as-partner-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
  }
  .as-partner-statement {
    text-align: center;
    font-size: 0.92rem;
    max-width: 100%;
  }
  .as-partner-logos {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    width: 100%;
    margin: 0 auto;
  }
  .as-partner-logo-img {
    height: 44px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  .as-license-tag {
    font-size: 0.82rem;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    display: inline-block;
    margin: 0 auto;
  }
  .as-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .as-metric-card {
    padding: 20px 16px;
  }
  .as-destinations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .as-plaza-stats-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .as-plaza-img {
    height: 260px;
  }
  .as-channels-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .as-panoramic-caption {
    position: relative;
    background: var(--as-green-dark);
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .as-hero {
    padding: 85px 0 35px;
  }
  .as-hero-logo {
    max-width: 210px;
    width: 75%;
    margin-bottom: 14px;
  }
  .as-hero-kicker {
    font-size: 0.8rem;
    padding: 4px 14px;
    margin-bottom: 14px;
    max-width: 95%;
  }
  .as-hero-title {
    font-size: clamp(1.3rem, 5.5vw, 1.75rem);
    line-height: 1.35;
    margin-bottom: 16px;
    padding: 0 4px;
  }
  .as-hero-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }
  .as-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .as-hero-actions .as-btn {
    width: 100%;
    max-width: 100%;
    padding: 12px 18px;
    font-size: 0.92rem;
  }
  .as-btn {
    padding: 11px 18px;
    font-size: 0.92rem;
    width: 100%;
    max-width: 100%;
  }
  .as-partner-logos {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    width: 100%;
    margin: 0 auto;
  }
  .as-partner-logo-img {
    max-width: 210px;
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  .as-license-tag {
    font-size: 0.78rem;
    padding: 6px 14px;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    display: inline-block;
    margin: 0 auto;
  }
  .as-metrics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .as-metric-card {
    padding: 18px 14px;
  }
  .as-metric-num {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
  .as-metric-num-text {
    font-size: clamp(0.95rem, 4.2vw, 1.18rem);
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: normal;
  }
  .as-plaza-title {
    font-size: 1.45rem;
  }
  .as-plaza-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .as-destinations-head h2 {
    font-size: 1.5rem;
  }
  .as-destinations-head p {
    font-size: 0.95rem;
  }
  
/* Destination Card Sub-Logo Branding */
.as-destination-sublogo {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.as-destination-body {
    padding: 18px 16px;
  }
  .as-destination-title {
    font-size: 1.15rem;
  }
  .as-contact-head {
    margin-bottom: 32px;
  }
  .as-contact-title {
    font-size: 1.5rem;
  }
  .as-contact-desc {
    font-size: 0.95rem;
  }
  .as-channel-card {
    padding: 24px 16px;
  }
  .as-qr-box {
    flex-direction: column;
    text-align: center;
    padding: 18px 14px;
    gap: 14px;
  }
  .as-qr-img {
    width: 100px;
    height: 100px;
  }
  .as-qr-info {
    width: 100%;
    text-align: center;
  }
  .as-qr-badge {
    margin: 0 auto 6px;
  }
  .as-qr-hint {
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .as-hero-title {
    font-size: 1.25rem;
  }
  .as-hero-logo {
    max-width: 180px;
  }
  .as-partner-logo-img {
    max-width: 190px;
    height: 38px;
    object-fit: contain;
  }
  .as-metric-num-text {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  .as-btn {
    font-size: 0.88rem;
    padding: 10px 14px;
  }
}

/* ==========================================================================
   Fix 3: Mobile Language Switcher in Header (al-sirah & en/al-sirah)
   ========================================================================== */
@media (max-width: 960px) {
  .header-actions {
    display: flex !important;
    align-items: center;
    gap: 10px;
    z-index: 100;
  }
  .header-actions .language-toggle,
  .page-header .header-actions .language-toggle,
  .site-header .header-actions .language-toggle,
  .page-header .language-toggle,
  .site-header .language-toggle,
  .language-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    min-height: 36px;
    min-width: 68px;
    line-height: 1;
    border-radius: var(--radius-pill, 9999px);
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }
  .header-actions .language-toggle:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
  }
  .nav-links .mobile-language-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin-top: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    min-height: 40px;
    border-radius: var(--radius-pill, 9999px);
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.12) !important;
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
  }
}

/* ==========================================================================
   Al Sirah QR WhatsApp Card & Location Section Additions
   ========================================================================== */
.as-channel-qr-wrap {
  background: #ffffff;
  padding: 8px;
  border-radius: 10px;
  line-height: 0;
  margin: 8px auto 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}
.as-channel-card:hover .as-channel-qr-wrap {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.as-channel-qr-img {
  width: 90px;
  height: 90px;
  display: block;
}
.as-channel-card-qr {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: start;
  gap: 18px;
  padding: 24px;
}
.as-channel-card-qr .as-qr-link {
  flex-shrink: 0;
  display: block;
  background: #ffffff;
  padding: 8px;
  border-radius: 10px;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.as-channel-card-qr .as-qr-link:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.as-channel-card-qr .as-qr-img {
  width: 96px;
  height: 96px;
  display: block;
}
.as-channel-card-qr .as-qr-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
[dir="rtl"] .as-channel-card-qr .as-qr-content {
  align-items: flex-start;
  text-align: right;
}
[dir="ltr"] .as-channel-card-qr .as-qr-content {
  align-items: flex-start;
  text-align: left;
}
.as-channel-card-qr .as-channel-title {
  margin-bottom: 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--as-gold);
}
.as-channel-card-qr .as-qr-desc {
  font-size: 0.92rem;
  font-weight: 500;
  color: #FFFFFF !important;
  line-height: 1.55;
  margin: 0 0 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.as-qr-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.as-qr-action-btn:hover {
  background-color: #1EBE5D !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}
.as-qr-action-btn svg {
  fill: #FFFFFF !important;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.as-qr-action-btn span {
  color: #FFFFFF !important;
  font-weight: 700;
}
@media (max-width: 576px) {
  .as-channel-card-qr {
    flex-direction: column;
    text-align: center;
  }
  .as-channel-card-qr .as-qr-content {
    align-items: center !important;
    text-align: center !important;
  }
}

/* Al Sirah Project Location Section */
.as-location-section {
  padding: 80px 0;
  background: var(--as-green-dark);
  position: relative;
}
.as-location-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(231, 219, 185, 0.22);
  border-radius: 14px;
  padding: 40px;
  backdrop-filter: blur(8px);
}
.as-location-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.as-location-kicker {
  display: inline-block;
  color: var(--as-gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.as-location-title {
  color: var(--as-white);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}
.as-location-desc {
  color: #D2DCD5;
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 0 24px;
}
.as-map-frame {
  width: 100%;
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(231, 219, 185, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 20px;
}
.as-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.as-location-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.as-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--as-gold);
  color: var(--as-green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.as-location-btn:hover {
  background: #deb86a;
  transform: translateY(-2px);
  color: var(--as-green-dark);
}
.as-location-coord-badge {
  color: var(--as-beige);
  font-size: 0.9rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .as-location-section {
    padding: 50px 0;
  }
  .as-location-card {
    padding: 24px 18px;
  }
  .as-location-title {
    font-size: 1.3rem;
  }
  .as-map-frame {
    height: 300px;
  }
  .as-location-header, .as-location-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .as-location-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   Souq Brand Logos & Exclusive Video Showcase
   ========================================================================== */
.as-souq-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.as-souq-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(22, 62, 43, 0.08));
}

.as-destination-sublogo {
  display: block;
  height: 58px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 4px rgba(22, 62, 43, 0.08));
}

.as-video-showcase-section {
  padding: 80px 0;
  background: var(--as-white);
  border-top: 1px solid var(--as-border-light);
  border-bottom: 1px solid var(--as-border-light);
}

.as-video-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.as-video-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--as-green-dark);
  margin-top: 14px;
  margin-bottom: 14px;
}

.as-video-header p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--as-muted);
  margin: 0;
}

.as-video-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(18, 33, 24, 0.14);
  background: #0d1a12;
  border: 1px solid var(--as-border);
  position: relative;
  aspect-ratio: 16 / 9;
}

.as-featured-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .as-video-showcase-section {
    padding: 50px 0;
  }
  .as-video-wrapper {
    border-radius: 10px;
  }
  .as-souq-logo {
    height: 38px;
    max-width: 150px;
  }
  .as-destination-sublogo {
    height: 44px;
    max-width: 140px;
  }
}
