/* ==========================================================================
   AL YAQEEN - Modern Frosted Glassmorphism Design System
   Exact Reference Layout from TakeControl & design.md
   ========================================================================== */

:root {
  /* Brand Core Palette from design.md */
  --ay-primary: #075784;
  --ay-primary-hover: #054366;
  --ay-primary-glow: rgba(7, 87, 132, 0.28);
  --ay-accent-blue: #0A74B7;
  --ay-accent-red: #CB1816;
  
  /* Canvas Backgrounds (Design.md current style) */
  --ay-bg-canvas: #F5F8FB;
  --ay-bg-ambient: #E9F1F7;
  --ay-bg-card: rgba(255, 255, 255, 0.88);
  --ay-bg-dark: #071E30;
  
  /* Neutral & Typography */
  --ay-text-primary: #0F172A;
  --ay-text-secondary: #64748B;
  --ay-text-muted: #94A3B8;
  --ay-text-light: #F8FAFC;
  
  /* Glass Borders & Shadows */
  --ay-border-glass: rgba(255, 255, 255, 0.9);
  --ay-border-subtle: rgba(226, 232, 240, 0.85);
  --ay-border-accent: rgba(7, 87, 132, 0.22);
  --ay-shadow-soft: 0 10px 30px -5px rgba(7, 87, 132, 0.08);
  --ay-shadow-elevation: 0 20px 45px -10px rgba(7, 87, 132, 0.14);
  --ay-shadow-glow: 0 12px 28px rgba(7, 87, 132, 0.25);
  
  /* Typography Stacks */
  --ay-font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ay-font-ar: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
}

/* Official Omani Rial Font & SVG Symbol Styling */
@font-face {
  font-family: 'OmaniRial';
  src: url('../fonts/OmaniRial.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.ay-omr-symbol {
  display: inline-block;
  vertical-align: -0.15em;
  width: 1.25em;
  height: 0.72em;
  fill: currentColor;
  flex-shrink: 0;
  margin-right: 0.18em;
}

html[dir="rtl"] .ay-omr-symbol {
  margin-right: 0;
  margin-left: 0.18em;
}

.ay-omr-char {
  font-family: 'OmaniRial', var(--ay-font-en), sans-serif;
  display: inline-block;
  margin-right: 0.2em;
}

html[dir="rtl"] .ay-omr-char {
  margin-right: 0;
  margin-left: 0.2em;
}

/* Base Typographic & Layout Harmonization */
body {
  font-family: var(--ay-font-en);
  color: var(--ay-text-primary);
  background-color: var(--ay-bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* RTL / Arabic Mode Overrides */
html[dir="rtl"],
body.is-arabic {
  font-family: var(--ay-font-ar) !important;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, 
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] p, html[dir="rtl"] a, html[dir="rtl"] span, 
html[dir="rtl"] button, html[dir="rtl"] input, html[dir="rtl"] select {
  font-family: var(--ay-font-ar) !important;
}

/* ==========================================================================
   1. Floating Rounded Rectangle Header Bar (Desktop & Mobile)
   ========================================================================== */
.ay-header-outer {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.ay-header-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  padding: 8px 14px 8px 24px;
  box-shadow: 0 10px 32px -4px rgba(7, 87, 132, 0.08),
              0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ay-header-pill.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 38px -5px rgba(7, 87, 132, 0.15),
              0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

/* Brand Logo */
.ay-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.ay-brand-logo:hover {
  opacity: 0.9;
}

.ay-brand-logo img {
  height: 30px;
  width: auto;
  display: block;
}

/* Desktop Navigation Menu Links */
.ay-nav {
  display: flex;
  align-items: center;
}

.ay-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ay-nav-item {
  margin: 0;
  padding: 0;
}

.ay-nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ay-text-primary);
  padding: 7px 15px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid transparent;
}

.ay-nav-link:hover {
  color: var(--ay-primary);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ay-nav-link.active {
  color: var(--ay-primary);
  background: rgba(7, 87, 132, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(7, 87, 132, 0.18);
  box-shadow: 0 2px 8px rgba(7, 87, 132, 0.06),
              0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  font-weight: 700;
}

/* Header Action Tools (Language Switcher & Login) */
.ay-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Switcher Dropdown Container */
.ay-lang-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Reduced Borderless Language Button with Translation Icon */
.ay-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ay-text-primary);
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-shadow: none;
  flex-shrink: 0;
}

.ay-lang-btn:hover,
.ay-lang-menu-wrap.is-open .ay-lang-btn {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--ay-primary);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(7, 87, 132, 0.12),
              0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  transform: translateY(-1px);
}

.ay-lang-btn:active {
  transform: translateY(0);
}

/* Translation Icon with Filled English Letter A and Arabic Letter Ayn (ع) */
.ay-lang-icon {
  width: 26px;
  height: 26px;
  display: block;
  color: inherit;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ay-lang-btn:hover .ay-lang-icon {
  transform: scale(1.05);
}

/* Transparent Rounded Rectangular Dropdown */
.ay-lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 175px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1.2px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(7, 87, 132, 0.14),
              0 4px 12px rgba(15, 23, 42, 0.05);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  user-select: none;
}

html[dir="rtl"] .ay-lang-dropdown {
  right: auto;
  left: 0;
  transform-origin: top left;
}

.ay-lang-menu-wrap.is-open .ay-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Dropdown Language Item */
.ay-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 11px;
  background: transparent;
  border: none;
  width: 100%;
  color: var(--ay-text-primary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  outline: none;
}

html[dir="rtl"] .ay-lang-option {
  text-align: right;
}

.ay-lang-option:hover {
  background: rgba(2, 132, 199, 0.08);
  color: var(--ay-primary);
}

.ay-lang-option.is-active {
  background: rgba(2, 132, 199, 0.12);
  color: var(--ay-primary);
  font-weight: 700;
}

.ay-flag-box {
  width: 22px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ay-flag-svg,
.ay-flag-icon {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

.ay-lang-name {
  flex-grow: 1;
  white-space: nowrap;
}

.ay-lang-check {
  font-size: 11px;
  color: var(--ay-primary);
  opacity: 0;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.ay-lang-option.is-active .ay-lang-check {
  opacity: 1;
}

/* Header Primary Login Button */
.ay-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #0F172A;
  color: #ffffff !important;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.ay-btn-primary:hover {
  background: var(--ay-primary);
  box-shadow: 0 6px 18px rgba(7, 87, 132, 0.32);
  transform: translateY(-1px);
}

/* Mobile Hamburger Toggle (Apple iOS Glassmorphic Design) */
.ay-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05),
              0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  cursor: pointer;
  padding: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ay-text-primary);
  outline: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ay-menu-toggle:hover,
.ay-menu-toggle.is-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(7, 87, 132, 0.3);
  color: var(--ay-primary);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(7, 87, 132, 0.16),
              0 0 0 1px rgba(255, 255, 255, 1) inset;
}

.ay-menu-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   2. Mobile View Menu: Rounded Rectangle Floating Card (Screenshot 2)
   ========================================================================== */
.ay-mobile-card-overlay {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0 16px;
  pointer-events: none;
}

.ay-mobile-card-overlay.is-open {
  display: block;
}

.ay-mobile-menu-card {
  pointer-events: auto;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 32px;
  padding: 26px 22px 20px;
  box-shadow: 0 25px 65px -10px rgba(7, 87, 132, 0.16),
              0 0 0 1px rgba(255, 255, 255, 0.95) inset;
  animation: ayCardSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ayCardSlide {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ay-mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ay-mobile-menu-link {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ay-text-primary);
  padding: 11px 16px;
  border-radius: 16px;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ay-mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--ay-primary);
  transform: translateX(4px);
}

html[dir="rtl"] .ay-mobile-menu-link:hover {
  transform: translateX(-4px);
}

.ay-mobile-menu-link.active {
  background: rgba(7, 87, 132, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(7, 87, 132, 0.18);
  box-shadow: 0 2px 8px rgba(7, 87, 132, 0.08),
              0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  color: var(--ay-primary);
  font-weight: 800;
}

/* App Download Badges inside Mobile Menu */
.ay-mobile-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ay-mobile-badges .ay-store-badge {
  flex: 1 1 180px;
  justify-content: center;
}

/* Sub-action outline buttons in mobile menu */
.ay-mobile-sub-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ay-mobile-sub-actions .ay-sub-btn {
  flex: 1 1 auto;
  justify-content: center;
}

/* "Follow us" section in Mobile Menu */
.ay-mobile-follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #F1F5F9;
}

.ay-follow-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ay-text-secondary);
}

.ay-mobile-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ay-social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ay-text-primary) !important;
  text-decoration: none !important;
  font-size: 15px;
  transition: all 0.2s ease;
}

.ay-social-circle:hover {
  background: var(--ay-primary);
  border-color: var(--ay-primary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 87, 132, 0.25);
}

/* ==========================================================================
   3. Centered Fullscreen Hero Section (100vh on any screen)
   ========================================================================== */
.ay-hero {
  position: relative;
  /* Clean, smooth background from design.md with NO circular header shapes or blobs */
  background: linear-gradient(180deg, var(--ay-bg-canvas) 0%, var(--ay-bg-ambient) 100%);
  height: 100vh;
  min-height: 100vh;
  height: 100dvh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: 85px 24px 0 !important;
  margin: 0 !important;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.ay-hero-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 12px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 6px;
  padding-bottom: 0;
  flex-shrink: 0;
}

/* Centered Headline matching Screenshot 1 */
.ay-hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ay-text-primary);
  margin: 0 auto 16px auto;
  max-width: 840px;
  text-align: center;
}

/* Centered Subtitle matching Screenshot 1 */
.ay-hero-subtitle {
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  line-height: 1.6;
  color: var(--ay-text-secondary);
  max-width: 620px;
  margin: 0 auto 24px auto;
  text-align: center;
}

/* Centered App Store & Google Play Badges (Pill Shape) */
.ay-app-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ay-store-badge {
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px; /* Pill shape like screenshot */
  padding: 7px 20px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.ay-store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.ay-store-badge:active {
  transform: translateY(0);
}

.ay-store-badge-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ay-store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

html[dir="rtl"] .ay-store-badge-text {
  text-align: right;
  align-items: flex-start;
}

.ay-badge-micro {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #94A3B8;
  display: block;
}

.ay-badge-main {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #FFFFFF;
  display: block;
}

/* Centered Secondary Action Buttons (Under App Stores) */
.ay-sub-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.ay-sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--ay-border-accent);
  color: var(--ay-primary) !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(7, 87, 132, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ay-sub-btn:hover {
  background: var(--ay-primary);
  color: #ffffff !important;
  border-color: var(--ay-primary);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px var(--ay-primary-glow);
}

.ay-sub-btn svg,
.ay-sub-btn i {
  font-size: 13px;
  color: inherit;
  transition: transform 0.2s ease;
}

/* ==========================================================================
   4. Mobile Screen Mockup: Anchored Flush to Bottom Edge (Zero Gap)
   ========================================================================== */
.ay-phone-half-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Proportional height: prominent 4/3 style half display anchored flush to bottom */
  height: clamp(340px, 48vh, 520px);
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}

.ay-hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

/* Ethereal Google Workspace Gmail-inspired ultra-light ambient blue glow */
.ay-hero-img-wrap::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(320px, 45vw, 540px);
  height: clamp(260px, 35vw, 420px);
  background: radial-gradient(ellipse at center, rgba(186, 230, 253, 0.45) 0%, rgba(224, 242, 254, 0.22) 50%, rgba(240, 249, 255, 0) 75%);
  filter: blur(50px);
  -webkit-filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.ay-hero-mockup-img {
  position: relative;
  z-index: 2;
  width: min(440px, 92vw);
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
  filter: none !important;
}

.ay-phone-mockup {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ay-dynamic-island {
  display: none !important;
}

/* Fallback Card (shows cleanly until alyaqeen-hero-image.png is placed) */
.ay-mockup-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F8FAFC 0%, #EBF3F8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 65px 24px 30px;
  text-align: center;
}

.ay-fallback-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 14px 30px rgba(7, 87, 132, 0.08);
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.ay-fallback-logo {
  max-width: 180px !important;
  width: auto !important;
  height: 38px !important;
  object-fit: contain !important;
  margin: 0 auto 16px auto !important;
  display: block !important;
}

.ay-fallback-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ay-text-primary);
  margin-bottom: 6px;
}

.ay-fallback-desc {
  font-size: 12.5px;
  color: var(--ay-text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.ay-fallback-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(7, 87, 132, 0.08);
  color: var(--ay-primary);
  font-size: 11.5px;
  font-weight: 600;
}

/* ==========================================================================
   5. Modern Frosted Footer Section
   ========================================================================== */
.ay-footer {
  background: #071E30;
  color: #CBD5E1;
  padding: 70px 24px 30px;
  position: relative;
  overflow: hidden;
}

.ay-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(10, 116, 183, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.ay-footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.ay-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.ay-footer-brand img {
  height: 34px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}

.ay-footer-bio {
  font-size: 13.5px;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 20px;
  max-width: 320px;
}

.ay-footer-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.ay-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ay-footer-links a {
  font-size: 13.5px;
  color: #94A3B8;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-block;
}

.ay-footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

html[dir="rtl"] .ay-footer-links a:hover {
  transform: translateX(-3px);
}

.ay-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ay-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #94A3B8;
}

.ay-contact-row svg,
.ay-contact-row i {
  color: var(--ay-accent-blue);
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 14px;
}

.ay-contact-row a {
  color: #CBD5E1;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.ay-contact-row a:hover {
  color: #FFFFFF;
}

.ay-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.ay-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ay-social-btn:hover {
  background: var(--ay-primary);
  border-color: var(--ay-accent-blue);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 87, 132, 0.4);
}

.ay-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748B;
}

.ay-footer-bottom a {
  color: #94A3B8;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.ay-footer-bottom a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   6. Responsive Layout Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .ay-nav {
    display: none;
  }
  
  .ay-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ay-header-pill {
    padding: 8px 12px 8px 18px;
  }

  .ay-hero {
    padding-top: 85px !important;
  }
  
  .ay-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .ay-hero {
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible !important;
    overflow-x: clip !important;
    padding: 86px 16px 0 !important;
    justify-content: flex-start !important;
  }

  .ay-hero-container {
    margin: 0 auto 16px auto !important;
    padding-top: 6px !important;
  }

  .ay-hero-title {
    font-size: clamp(1.9rem, 6vw, 2.4rem) !important;
    line-height: 1.2 !important;
    margin: 0 auto 14px auto !important;
  }
}

@media (max-width: 576px) {
  .ay-header-outer {
    top: 12px;
    padding: 0 12px;
  }
  
  .ay-header-pill {
    padding: 6px 10px 6px 14px;
  }

  .ay-brand-logo img {
    height: 25px;
  }

  .ay-header-actions {
    gap: 6px;
  }

  .ay-lang-btn {
    width: 36px;
    height: 36px;
  }

  .ay-lang-icon {
    width: 24px;
    height: 24px;
  }

  .ay-menu-toggle {
    width: 36px;
    height: 36px;
  }

  .ay-hero {
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(76px + env(safe-area-inset-top, 10px)) 16px 0 !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    overflow-x: clip !important;
  }

  .ay-hero-container {
    margin: 0 auto 14px auto !important;
    padding-top: 6px !important;
  }

  .ay-hero-title {
    font-size: clamp(1.65rem, 6.2vw, 2.1rem) !important;
    line-height: 1.2 !important;
    margin: 0 auto 12px auto !important;
  }

  .ay-hero-subtitle {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin: 0 auto 16px auto !important;
    max-width: 100% !important;
  }

  .ay-app-badges {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .ay-phone-half-wrapper {
    height: clamp(230px, 36vh, 290px) !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  .ay-hero-img-wrap::before {
    width: min(320px, 90vw);
    height: 220px;
    filter: blur(36px);
    -webkit-filter: blur(36px);
  }

  .ay-hero-mockup-img {
    width: min(300px, 92vw) !important;
    filter: none !important;
  }

  .ay-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ay-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   7. Inner Pages Glassmorphism Styles (About Us & Contact Pages)
   ========================================================================== */
.ay-inner-page {
  background: linear-gradient(180deg, var(--ay-bg-canvas) 0%, var(--ay-bg-ambient) 100%);
  min-height: 100vh;
  padding-top: 85px; /* Clear floating header */
}

/* Inner Page Header Hero */
.ay-inner-hero {
  padding: 50px 24px 35px;
  text-align: center;
}

.ay-inner-hero-container {
  max-width: 820px;
  margin: 0 auto;
}

.ay-inner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ay-border-accent);
  box-shadow: 0 4px 14px rgba(7, 87, 132, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ay-primary);
  margin-bottom: 18px;
}

.ay-inner-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ay-text-primary);
  margin: 0 auto 16px auto;
}

.ay-inner-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--ay-text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

/* Glass Card Containers */
.ay-glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 16px 40px -10px rgba(7, 87, 132, 0.08),
              0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  margin-bottom: 30px;
}

/* Feature Grid Cards */
.ay-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 35px 0 20px;
}

.ay-feature-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px -5px rgba(7, 87, 132, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ay-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -8px rgba(7, 87, 132, 0.14);
  border-color: rgba(7, 87, 132, 0.25);
}

.ay-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(7, 87, 132, 0.08);
  color: var(--ay-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.ay-feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ay-text-primary);
  margin-bottom: 10px;
}

.ay-feature-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ay-text-secondary);
  margin: 0;
}

/* Contact Page Grid Layout */
.ay-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 32px;
  margin-bottom: 40px;
}

.ay-contact-tiles {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ay-contact-tile {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 8px 20px -4px rgba(7, 87, 132, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all 0.2s ease;
}

.ay-contact-tile:hover {
  border-color: var(--ay-primary);
  box-shadow: 0 12px 28px -6px rgba(7, 87, 132, 0.12);
  transform: translateY(-2px);
}

.ay-contact-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 87, 132, 0.09);
  color: var(--ay-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ay-contact-tile-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ay-text-primary);
  margin-bottom: 4px;
}

.ay-contact-tile-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ay-text-secondary);
  margin: 0;
}

.ay-contact-tile-text a {
  color: var(--ay-primary);
  text-decoration: none !important;
  font-weight: 600;
}

/* Glassmorphic Contact Form Inputs (design.md 3.2 B) */
.ay-form-group {
  margin-bottom: 18px;
}

.ay-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ay-text-primary);
  margin-bottom: 7px;
}

.ay-form-pill {
  width: 100%;
  border-radius: 30px;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.85);
  padding: 12px 22px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ay-text-primary);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ay-form-pill:focus {
  background: #FFFFFF;
  border-color: var(--ay-primary);
  box-shadow: 0 0 0 3px rgba(7, 87, 132, 0.16);
}

.ay-form-textarea {
  width: 100%;
  border-radius: 22px;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(203, 213, 225, 0.85);
  padding: 14px 22px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ay-text-primary);
  outline: none;
  transition: all 0.2s ease;
  min-height: 120px;
  resize: vertical;
  box-sizing: border-box;
}

.ay-form-textarea:focus {
  background: #FFFFFF;
  border-color: var(--ay-primary);
  box-shadow: 0 0 0 3px rgba(7, 87, 132, 0.16);
}

/* Interactive Map Frame */
.ay-map-wrapper {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 36px rgba(7, 87, 132, 0.08);
  margin-bottom: 50px;
  background: #FFFFFF;
}

.ay-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 991px) {
  .ay-contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ay-inner-page {
    padding-top: 75px;
  }
}

/* ==========================================================================
   8. Order Tracking Specific Styles
   ========================================================================== */
.ay-track-card {
  max-width: 620px;
  margin: 0 auto;
}

.ay-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--ay-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.ay-or-divider::before,
.ay-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
}

.ay-or-divider span {
  padding: 3px 12px;
  background: rgba(241, 245, 249, 0.9);
  border-radius: 999px;
  margin: 0 10px;
  color: #64748B;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.ay-alert-danger {
  margin-top: 20px;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(254, 242, 242, 0.95);
  border: 1px solid rgba(252, 165, 165, 0.8);
  color: #DC2626;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ay-alert-danger i {
  font-size: 16px;
  flex-shrink: 0;
}

.ay-track-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 40px auto 60px;
}

/* ==========================================================================
   9. Car for Sale Grid & Card Styles (Matching Flutter Mobile App)
   ========================================================================== */
.ay-search-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 20px auto;
}

.ay-search-input-pill {
  flex: 1;
  height: 48px;
  border-radius: 28px;
  background: #FFFFFF;
  border: 1.2px solid #E2E8F0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.ay-search-input-pill:focus-within {
  border-color: var(--ay-primary);
  box-shadow: 0 0 0 3px rgba(7, 87, 132, 0.14);
}

.ay-search-input-pill i {
  color: #64748B;
  font-size: 16px;
  flex-shrink: 0;
}

.ay-search-input-pill input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14.5px;
  color: var(--ay-text-primary);
  font-family: inherit;
}

.ay-search-clear-btn {
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.ay-search-clear-btn:hover {
  color: #475569;
}

.ay-filter-toggle-btn {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1.2px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
  position: relative;
}

.ay-filter-toggle-btn:hover,
.ay-filter-toggle-btn.is-active {
  border-color: var(--ay-primary);
  color: var(--ay-primary);
  background: rgba(7, 87, 132, 0.08);
}

.ay-filter-badge-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: #EA580C;
  border-radius: 50%;
  border: 1.5px solid #FFFFFF;
}

html[dir="rtl"] .ay-filter-badge-dot {
  right: auto;
  left: 10px;
}

/* Frosted Filter Options Dropdown Card */
.ay-filter-card {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 22px 24px;
  margin: 0 auto 30px auto;
  max-width: 760px;
  box-shadow: 0 14px 36px rgba(7, 87, 132, 0.08);
}

.ay-filter-card.is-open {
  display: block;
  animation: ayFadeDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ayFadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ay-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto 24px auto;
}

.ay-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(7, 87, 132, 0.09);
  border: 1px solid rgba(7, 87, 132, 0.2);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ay-primary);
}

.ay-filter-chip a {
  color: inherit;
  opacity: 0.7;
  text-decoration: none !important;
}

.ay-filter-chip a:hover {
  opacity: 1;
}

/* Responsive Grid for Car Cards: 1 Col Mobile, 3 Cols Tablet, 4 Cols Desktop */
.ay-cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

@media (max-width: 1199px) {
  .ay-cars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .ay-cars-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Car Card Container (Flutter Mobile Card Parity) */
.ay-car-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.2px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  position: relative;
}

.ay-car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(7, 87, 132, 0.14);
  border-color: rgba(7, 87, 132, 0.3);
}

/* Card Top Half Photo Area */
.ay-car-photo-wrap {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background: #F1F5F9;
}

.ay-car-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.ay-car-card:hover .ay-car-photo {
  transform: scale(1.04);
}

.ay-car-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.28) 68%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.ay-car-tag-new {
  position: absolute;
  top: 12px;
  left: 14px;
  background: #EA580C;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  padding: 3.5px 10px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.3px;
}

.ay-car-ribbon-sold {
  position: absolute;
  top: 12px;
  left: 14px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  border-radius: 12px;
  padding: 3.5px 10px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

html[dir="rtl"] .ay-car-tag-new,
html[dir="rtl"] .ay-car-ribbon-sold {
  left: auto;
  right: 14px;
}

.ay-car-photo-text {
  position: absolute;
  left: 18px;
  right: 64px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

html[dir="rtl"] .ay-car-photo-text {
  left: 64px;
  right: 18px;
  text-align: right;
}

.ay-car-photo-brand {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ay-car-photo-model {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ay-car-photo-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

html[dir="rtl"] .ay-car-photo-arrow {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .ay-car-photo-arrow i {
  transform: rotate(180deg);
}

.ay-car-card:hover .ay-car-photo-arrow {
  background: var(--ay-primary);
  transform: scale(1.06);
}

/* Card Bottom Half */
.ay-car-body {
  padding: 16px 18px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ay-car-primary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ay-car-badges-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.ay-car-badge {
  padding: 4px 10px;
  border-radius: 14px;
  background: #EBF1F6;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
}

.ay-car-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.12);
  background: #0284C7;
  color: #FFFFFF !important;
  white-space: nowrap;
}

/* Explicit status colors & legacy aliases */
.ay-car-status-pill.ay-status-green,
.ay-car-status-pill.status-arrived,
.ay-status-green {
  background: #10B981 !important;
  color: #FFFFFF !important;
}

.ay-car-status-pill.ay-status-blue,
.ay-car-status-pill.status-in-shipping,
.ay-car-status-pill.status-shipped,
.ay-car-status-pill.status-ready-shipping,
.ay-car-status-pill.status-shipping-soon,
.ay-car-status-pill.status-new,
.ay-status-blue {
  background: #0284C7 !important;
  color: #FFFFFF !important;
}

.ay-car-status-pill.ay-status-amber,
.ay-car-status-pill.status-dispatched,
.ay-car-status-pill.status-pending,
.ay-status-amber {
  background: #F59E0B !important;
  color: #FFFFFF !important;
}

.ay-car-status-pill.ay-status-red,
.ay-car-status-pill.status-sold,
.ay-car-status-pill.status-canceled,
.ay-status-red {
  background: #EF4444 !important;
  color: #FFFFFF !important;
}

.ay-car-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--ay-primary);
  letter-spacing: -0.4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.ay-car-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  margin-top: 4px;
  line-height: 1.35;
}

.ay-car-meta-label {
  font-weight: 700;
  color: #1E293B;
}

.ay-car-meta-val {
  font-weight: 600;
  color: var(--ay-primary);
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ay-car-footer-strip {
  width: 100%;
  padding: 8px 16px;
  background: #F8FAFC;
  border-top: 1px solid #F1F5F9;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-top: auto;
  border-radius: 0 0 22.8px 22.8px;
}

/* ==========================================================================
   10. Car for Sale View Page Styles (2-Row Layout on Desktop, 1 Col on Mobile)
   ========================================================================== */
.ay-car-view-container {
  max-width: 1180px;
  margin: 0 auto;
}

.ay-car-view-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
  align-items: start;
}

.ay-car-view-row.no-gallery {
  grid-template-columns: 1fr;
}

.ay-car-view-row > * {
  min-width: 0;
}

@media (max-width: 991px) {
  .ay-car-view-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
}

/* Gallery Photo Slider */
.ay-gallery-card {
  min-width: 0;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.2px solid #E2E8F0;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(7, 87, 132, 0.06);
  overflow: hidden;
}

.ay-carousel-main {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: #0F172A;
}

@media (max-width: 767px) {
  .ay-carousel-main {
    height: 250px;
  }
}

.ay-carousel-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease-in-out;
}

.ay-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.ay-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ay-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  z-index: 4;
  transition: all 0.2s ease;
}

.ay-carousel-btn:hover {
  background: rgba(15, 23, 42, 0.85);
  transform: translateY(-50%) scale(1.08);
}

.ay-carousel-btn.prev { left: 12px; }
.ay-carousel-btn.next { right: 12px; }

html[dir="rtl"] .ay-carousel-btn.prev { left: auto; right: 12px; }
html[dir="rtl"] .ay-carousel-btn.next { right: auto; left: 12px; }

.ay-carousel-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  z-index: 4;
}

html[dir="rtl"] .ay-carousel-counter {
  right: auto;
  left: 14px;
}

.ay-thumb-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  max-width: 100%;
  padding-top: 14px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.ay-thumb-item {
  width: 68px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.ay-thumb-item.active,
.ay-thumb-item:hover {
  border-color: var(--ay-primary);
  opacity: 1;
}

.ay-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Main Info Card & Action CTA Buttons */
.ay-details-card {
  min-width: 0;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.2px solid #E2E8F0;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(7, 87, 132, 0.06);
}

.ay-view-title {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.ay-view-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--ay-primary);
  letter-spacing: -0.6px;
  margin: 16px 0 18px 0;
  display: inline-flex;
  align-items: center;
}

.ay-view-delivery-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  margin-bottom: 22px;
}

.ay-delivery-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(7, 87, 132, 0.08);
  color: var(--ay-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ay-delivery-title {
  font-size: 12.5px;
  font-weight: 500;
  color: #64748B;
  margin-bottom: 2px;
}

.ay-delivery-val {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
}

/* Call & WhatsApp Action Buttons */
.ay-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ay-btn-call {
  flex: 1;
  height: 52px;
  border-radius: 26px;
  background: var(--ay-primary);
  color: #FFFFFF !important;
  font-size: 15.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px var(--ay-primary-glow);
}

.ay-btn-call:hover {
  background: #054163;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--ay-primary-glow);
}

.ay-btn-whatsapp {
  flex: 1;
  height: 52px;
  border-radius: 26px;
  background: transparent;
  border: 1.6px solid var(--ay-primary);
  color: var(--ay-primary) !important;
  font-size: 15.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ay-btn-whatsapp:hover {
  background: var(--ay-primary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--ay-primary-glow);
}

/* Specifications Table (Single Column Matching Flutter) */
.ay-spec-table {
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  background: #FFFFFF;
}

.ay-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13.5px;
}

.ay-spec-row:last-child {
  border-bottom: none;
}

.ay-spec-label {
  font-weight: 500;
  color: #64748B;
  flex: 1;
}

.ay-spec-val {
  font-weight: 700;
  color: #0F172A;
  text-align: right;
  flex: 1;
}

html[dir="rtl"] .ay-spec-val {
  text-align: left;
}

/* Shipping Progress Card (Preserved for order tracking) */
.ay-shipping-track-wrap {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  margin: 18px 0 10px;
}

.ay-shipping-line-bg {
  position: absolute;
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
}

.ay-shipping-line-active {
  position: absolute;
  height: 8px;
  background: #0284C7;
  border-radius: 4px;
  left: 0;
}

html[dir="rtl"] .ay-shipping-line-active {
  left: auto;
  right: 0;
}

.ay-shipping-ship-icon {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #0284C7;
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
  z-index: 2;
}

/* Specifications Full Width Card & 2-Column Grid */
.ay-specs-card-full {
  width: 100%;
  margin-bottom: 28px;
}

.ay-spec-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

@media (max-width: 820px) {
  .ay-spec-grid-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Tracking View Top Summary Header & Actions */
.ay-summary-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.ay-summary-title-wrap {
  flex: 1;
  min-width: 260px;
}

@media (max-width: 768px) {
  .ay-summary-header-row {
    flex-direction: column;
    align-items: stretch;
  }
  .ay-summary-header-row .ay-cta-row {
    width: 100%;
    margin-top: 14px !important;
  }
  .ay-summary-header-row .ay-cta-row > * {
    flex: 1;
  }
}

/* Vehicle Photos Grid Card (Last Card on Page) */
.ay-photos-card-wrap {
  width: 100%;
  margin-top: 24px;
  margin-bottom: 32px;
}

.ay-photos-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.ay-photos-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ay-badge-photo-count {
  background: rgba(2, 132, 199, 0.1);
  color: var(--ay-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

.ay-photos-hint-text {
  font-size: 13.5px;
  color: #64748B;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Responsive Square Photos Grid: 6 cols on desktop, 4 on tablet, 2 on mobile */
.ay-photos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .ay-photos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .ay-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.ay-photo-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #F1F5F9;
  border: 1.5px solid #E2E8F0;
  cursor: pointer;
  outline: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease;
}

.ay-photo-grid-item:hover,
.ay-photo-grid-item:focus-visible {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(7, 87, 132, 0.16);
  border-color: var(--ay-primary);
  z-index: 2;
}

.ay-photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ay-photo-grid-item:hover img {
  transform: scale(1.07);
}

.ay-photo-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(15, 23, 42, 0.65) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.ay-photo-grid-item:hover .ay-photo-grid-overlay,
.ay-photo-grid-item:focus-visible .ay-photo-grid-overlay {
  opacity: 1;
}

.ay-photo-grid-zoom-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ay-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transform: scale(0.85);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              color 0.2s ease;
}

.ay-photo-grid-item:hover .ay-photo-grid-zoom-btn {
  transform: scale(1);
  background: var(--ay-primary);
  color: #FFFFFF;
}

.ay-photo-grid-num {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

html[dir="rtl"] .ay-photo-grid-num {
  right: auto;
  left: 8px;
}

/* Gallery Photo Tool Action Buttons (Fullscreen & Download) */
.ay-carousel-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
}

html[dir="rtl"] .ay-carousel-tools {
  right: auto;
  left: 14px;
}

.ay-carousel-tool-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  padding: 0;
  outline: none;
}

.ay-carousel-tool-btn:hover {
  background: var(--ay-primary);
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 6px 18px var(--ay-primary-glow);
}

.ay-carousel-slide {
  cursor: zoom-in;
}

/* ==========================================================================
   11. Fullscreen Photo Lightbox Slider & Interactive Zoom Viewer
   ========================================================================== */
.ay-lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: rgba(10, 15, 26, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ay-lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.ay-lightbox-open {
  overflow: hidden !important;
}

/* Lightbox Top Control Header */
.ay-lb-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  z-index: 10;
  gap: 12px;
}

.ay-lb-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ay-lb-title {
  color: #F8FAFC;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

.ay-lb-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ay-lb-counter {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ay-lb-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ay-lb-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  padding: 0;
}

.ay-lb-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #FFFFFF;
  transform: scale(1.06);
}

.ay-lb-btn-primary {
  width: auto;
  border-radius: 999px;
  padding: 0 16px;
  height: 38px;
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13.5px;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.ay-lb-btn-primary:hover {
  background: #0369A1;
  border-color: #0369A1;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.6);
}

/* Lightbox Viewport & Interactive Image Container */
.ay-lb-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: none;
}

.ay-lb-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  will-change: transform;
}

#ay-lb-img {
  max-width: 90vw;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s ease;
}

/* Lightbox Floating Nav Buttons */
.ay-lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  padding: 0;
}

.ay-lb-nav-btn:hover {
  background: var(--ay-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(7, 87, 132, 0.4);
}

.ay-lb-nav-btn.prev { left: 24px; }
.ay-lb-nav-btn.next { right: 24px; }
html[dir="rtl"] .ay-lb-nav-btn.prev { left: auto; right: 24px; }
html[dir="rtl"] .ay-lb-nav-btn.next { right: auto; left: 24px; }

/* Lightbox Bottom Thumbnail Strip */
.ay-lb-thumbs-wrap {
  height: 84px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  z-index: 10;
}

.ay-lb-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  max-width: 900px;
  padding: 4px 6px;
  scrollbar-width: thin;
}

.ay-lb-thumb-item {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ay-lb-thumb-item:hover {
  opacity: 0.85;
}

.ay-lb-thumb-item.active {
  border-color: #0284C7;
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.7);
}

.ay-lb-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Hint at the bottom */
.ay-lb-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
}

@media (max-width: 576px) {
  .ay-lb-header {
    height: 56px;
    padding: 0 12px;
  }
  .ay-lb-title {
    display: none;
  }
  .ay-lb-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .ay-lb-nav-btn.prev { left: 10px; }
  .ay-lb-nav-btn.next { right: 10px; }
  .ay-lb-thumbs-wrap {
    height: 68px;
    padding: 8px 10px;
  }
  .ay-lb-thumb-item {
    width: 56px;
    height: 42px;
  }
}

/* ==========================================================================
   ORDER TRACKING DETAILS VIEW (Modern Flutter-Aligned Design)
   ========================================================================== */
.ay-track-page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 16px 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ay-track-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ay-back-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #075784;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.ay-back-circle-btn:hover {
  background: #075784;
  color: #FFFFFF;
  transform: translateX(-2px);
}

[dir="rtl"] .ay-back-circle-btn:hover {
  transform: translateX(2px);
}

/* Card 1: Header Title Card */
.ay-track-header-card {
  padding: 22px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.ay-track-header-info {
  flex: 1;
  min-width: 0;
}

.ay-track-vehicle-title {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin: 0 0 6px 0;
  word-break: break-word;
}

.ay-track-vehicle-sub {
  font-size: 15px;
  font-weight: 500;
  color: #64748B;
  margin: 0;
}

.ay-track-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ay-track-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.2px solid #CBD5E1;
  background: #FFFFFF;
  color: #0284C7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
}

.ay-track-share-btn:hover {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  transform: scale(1.05);
}

/* Status Badges */
.ay-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ay-status-badge.shipped {
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.ay-status-badge.arrived {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.ay-status-badge.new {
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.ay-status-badge.dispatched {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.ay-status-badge.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.ay-status-badge.canceled {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Card 2: Ship Transit Card */
.ay-ship-transit-card {
  padding: 22px 24px;
}

.ay-ship-countdown {
  font-size: 18px;
  font-weight: 800;
  color: #0284C7;
  letter-spacing: -0.3px;
  margin: 0 0 18px 0;
}

.ay-ship-ports-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ay-ship-port-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
}

.ay-port-flag {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.ay-ship-flag {
  font-size: 22px;
  line-height: 1;
}

/* Ship Track Path & Animated / Styled Boat */
.ay-ship-track-wrap {
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 12px;
}

.ay-ship-dot-origin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0284C7;
  flex-shrink: 0;
  z-index: 2;
}

.ay-ship-dot-dest {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #0284C7;
  flex-shrink: 0;
  z-index: 2;
  margin-left: auto;
}

[dir="rtl"] .ay-ship-dot-dest {
  margin-left: 0;
  margin-right: auto;
}

.ay-ship-dashed-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  border-top: 2px dashed #CBD5E1;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.ay-ship-progress-line {
  position: absolute;
  left: 6px;
  height: 3.5px;
  background: #0284C7;
  border-radius: 2px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.4s ease;
}

.ay-ship-boat-pill {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 26px;
  background: #0284C7;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 15px;
  z-index: 3;
}

[dir="rtl"] .ay-ship-progress-line {
  left: auto !important;
  right: 6px;
}

[dir="rtl"] .ay-ship-boat-pill {
  left: auto !important;
  right: var(--ship-pos-pct, 50%);
  transform: translate(50%, -50%);
}

.ay-ship-dates-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ay-ship-date-origin {
  font-size: 12.5px;
  font-weight: 500;
  color: #64748B;
}

.ay-ship-date-dest {
  text-align: right;
}

[dir="rtl"] .ay-ship-date-dest {
  text-align: left;
}

.ay-ship-date-dest-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748B;
  margin-bottom: 2px;
}

.ay-ship-date-dest-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
}

.ay-ship-port-name {
  font-size: 12px;
  font-weight: 700;
  color: #0284C7;
  margin-top: 3px;
  display: block;
  text-align: right;
}

[dir="rtl"] .ay-ship-port-name {
  text-align: left;
}

.ay-ship-port-origin-name {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  margin-top: 3px;
  display: block;
  text-align: left;
}

[dir="rtl"] .ay-ship-port-origin-name {
  text-align: right;
}

/* Fallback Notice when Not Shipped */
.ay-ship-notice-card {
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ay-ship-notice-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 4px;
}

.ay-ship-notice-title {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.ay-ship-notice-desc {
  font-size: 13.5px;
  color: #64748B;
  max-width: 460px;
  margin: 0;
  line-height: 1.5;
}

/* Card 3: Multi-image Gallery Carousel */
.ay-track-carousel-card {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  background: #0F172A;
}

.ay-track-carousel-frame {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  cursor: pointer;
}

@media (max-width: 767px) {
  .ay-track-carousel-frame {
    height: 250px;
  }
}

.ay-track-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ay-track-carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.ay-track-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ay-track-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  color: #075784;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 5;
  transition: all 0.2s ease;
}

.ay-track-carousel-nav:hover {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}

.ay-track-carousel-nav.prev {
  left: 14px;
}

.ay-track-carousel-nav.next {
  right: 14px;
}

.ay-track-carousel-tools {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

[dir="rtl"] .ay-track-carousel-tools {
  right: auto;
  left: 16px;
}

.ay-track-btn-tool {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.ay-track-btn-tool:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.08);
}

.ay-track-counter-pill {
  padding: 5px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ay-track-dots-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 10px 0 4px;
}

.ay-track-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #CBD5E1;
  transition: all 0.2s ease;
  cursor: pointer;
}

.ay-track-dot.active {
  width: 8px;
  height: 8px;
  background: #0284C7;
}

/* Card 4: Vehicle & Container Details Table */
.ay-track-details-card {
  padding: 22px 24px;
}

.ay-track-details-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.4px;
  margin: 0 0 16px 0;
}

.ay-track-details-box {
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  background: #FFFFFF;
}

.ay-track-details-grid {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .ay-track-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ay-track-details-grid > .ay-track-row:nth-child(odd) {
    border-right: 1px solid #E2E8F0;
  }
  [dir="rtl"] .ay-track-details-grid > .ay-track-row:nth-child(odd) {
    border-right: none;
    border-left: 1px solid #E2E8F0;
  }
}

.ay-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 0.8px solid #E2E8F0;
  gap: 14px;
}

.ay-track-row:last-child {
  border-bottom: none;
}

.ay-track-lbl {
  font-size: 13.5px;
  font-weight: 500;
  color: #64748B;
  flex-shrink: 0;
}

.ay-track-val {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: break-all;
}

[dir="rtl"] .ay-track-val {
  text-align: left;
}

.ay-track-val.highlight-blue {
  color: #0284C7;
}

.ay-btn-copy-chip {
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #64748B;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.ay-btn-copy-chip:hover {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
}

/* Toast Notification for Copy/Share */
.ay-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.ay-toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   AL YAQEEN - TAKE CONTROL STYLE HOMEPAGE SECTIONS
   Minimalist Bento, 3-Step Process, App Showcase, Comparison, FAQ, Pre-Footer
   ========================================================================== */

.ay-home-section {
  position: relative;
  padding: 85px 20px;
  background-color: var(--ay-bg-canvas);
}

.ay-home-section.ay-alt-bg {
  background-color: #F0F4F8;
}

.ay-home-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Section Header Typography */
.ay-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.ay-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(7, 87, 132, 0.08);
  border: 1px solid rgba(7, 87, 132, 0.18);
  color: #075784;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.ay-section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}

.ay-section-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* 1. THREE-STEP PROCESS GRID */
.ay-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ay-step-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  padding: 34px 28px;
  box-shadow: 0 10px 30px rgba(7, 87, 132, 0.06);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ay-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(7, 87, 132, 0.12);
}

.ay-step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.ay-step-num {
  font-size: 34px;
  font-weight: 800;
  color: #075784;
  opacity: 0.9;
  line-height: 1;
  font-family: var(--ay-font-en);
}

.ay-step-chip {
  padding: 5px 12px;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ay-step-title {
  font-size: 21px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.35;
}

.ay-step-desc {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}

/* 2. ASYMMETRIC BENTO GRID */
.ay-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.ay-bento-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(7, 87, 132, 0.06);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ay-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 87, 132, 0.12);
}

.ay-bento-card.span-7 {
  grid-column: span 7;
}

.ay-bento-card.span-5 {
  grid-column: span 5;
}

.ay-bento-card.span-6 {
  grid-column: span 6;
}

.ay-bento-body {
  padding: 32px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ay-bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0A74B7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.ay-bento-title {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.35;
}

.ay-bento-desc {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.65;
  margin: 0 0 18px 0;
}

.ay-bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #075784;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}

.ay-bento-link:hover {
  color: #0A74B7;
  gap: 12px;
}

.ay-bento-media {
  padding: 0 24px 24px 24px;
}

.ay-bento-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.ay-pill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.ay-pill-badge {
  padding: 5px 12px;
  border-radius: 9999px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ay-bento-highlight-box {
  background: linear-gradient(135deg, rgba(7, 87, 132, 0.06) 0%, rgba(10, 116, 183, 0.12) 100%);
  border: 1px solid rgba(7, 87, 132, 0.18);
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ay-highlight-stat {
  font-size: 26px;
  font-weight: 800;
  color: #075784;
  line-height: 1;
}

.ay-highlight-sub {
  font-size: 12.5px;
  color: #475569;
  font-weight: 600;
}

/* 3. APP SHOWCASE SECTION */
.ay-showcase-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 252, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  box-shadow: 0 20px 48px rgba(7, 87, 132, 0.08);
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.ay-app-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ay-app-perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ay-app-perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(7, 87, 132, 0.1);
  color: #075784;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ay-app-perk-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px 0;
}

.ay-app-perk-text p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.ay-app-download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ay-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0F172A;
  color: #FFFFFF !important;
  padding: 10px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
}

.ay-store-btn:hover {
  transform: translateY(-2px);
  background: #075784;
  box-shadow: 0 10px 24px rgba(7, 87, 132, 0.25);
}

.ay-store-btn i {
  font-size: 24px;
}

.ay-store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ay-store-btn-sub {
  font-size: 10.5px;
  opacity: 0.8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ay-store-btn-main {
  font-size: 15px;
  font-weight: 700;
}

/* Clean Mobile App Showcase Display */
.ay-showcase-iphone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ay-showcase-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ay-showcase-app-img {
  width: min(340px, 86vw);
  max-height: 640px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(15, 23, 42, 0.18));
}

.ay-showcase-iphone {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ay-showcase-iphone .ay-dynamic-island {
  display: none !important;
}

/* 4. THE AL YAQEEN ADVANTAGE SECTION */
.ay-comp-grid {
  max-width: 900px;
  margin: 0 auto;
}

.ay-comp-card {
  border-radius: 26px;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
}

.ay-comp-card.ay-comp-brand {
  background: #FFFFFF;
  border: 1.5px solid rgba(10, 116, 183, 0.35);
  box-shadow: 0 16px 42px rgba(7, 87, 132, 0.08);
  position: relative;
}

.ay-comp-card.ay-comp-brand::before {
  display: none;
}

[dir="rtl"] .ay-comp-card.ay-comp-brand::before {
  display: none;
}

.ay-comp-card.ay-comp-others {
  display: none;
}

.ay-comp-title {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.ay-comp-sub {
  font-size: 14.5px;
  color: #64748B;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E2E8F0;
}

.ay-comp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}

.ay-comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #1E293B;
  line-height: 1.5;
}

.ay-check-ic {
  color: #10B981;
  font-size: 17px;
  margin-top: 2px;
  flex-shrink: 0;
}

.ay-cross-ic {
  color: #EF4444;
  font-size: 17px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* 5. TEAM & REAL PEOPLE SECTION */
.ay-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ay-team-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 87, 132, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ay-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 87, 132, 0.12);
}

.ay-team-img-wrap {
  width: 100%;
  height: 270px;
  position: relative;
  overflow: hidden;
}

.ay-team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ay-team-card:hover .ay-team-img {
  transform: scale(1.03);
}

.ay-team-body {
  padding: 28px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ay-team-role {
  font-size: 12.5px;
  font-weight: 700;
  color: #0A74B7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.ay-team-name {
  font-size: 21px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
}

.ay-team-desc {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.65;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.ay-team-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #075784;
  font-size: 12.5px;
  font-weight: 700;
  align-self: flex-start;
}

/* 6. FAQ ACCORDION SECTION */
.ay-faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.ay-faq-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ay-faq-item.is-open {
  border-color: #0A74B7;
  box-shadow: 0 10px 28px rgba(7, 87, 132, 0.08);
}

.ay-faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  gap: 16px;
  transition: color 0.2s ease;
}

[dir="rtl"] .ay-faq-btn {
  text-align: right;
}

.ay-faq-item.is-open .ay-faq-btn {
  color: #075784;
}

.ay-faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #075784;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.ay-faq-item.is-open .ay-faq-chevron {
  transform: rotate(180deg);
  background: #075784;
  color: #FFFFFF;
}

.ay-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 26px;
  font-size: 15px;
  color: #64748B;
  line-height: 1.7;
}

.ay-faq-item.is-open .ay-faq-content {
  max-height: 360px;
  padding: 0 26px 24px 26px;
}

/* 7. PRE-FOOTER CALL TO ACTION BANNER */
.ay-cta-banner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
}

.ay-cta-card {
  background: linear-gradient(135deg, #071E30 0%, #075784 100%);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(7, 87, 132, 0.25);
}

.ay-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.ay-cta-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}

.ay-cta-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #E2E8F0;
  max-width: 650px;
  margin: 0 auto 34px auto;
  line-height: 1.6;
}

.ay-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.ay-btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #075784 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.ay-btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.ay-btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.ay-btn-cta-whatsapp:hover {
  transform: translateY(-2px);
  background: #1EBE5D;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.ay-btn-cta-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ay-btn-cta-app:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 991px) {
  .ay-steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ay-bento-card.span-7,
  .ay-bento-card.span-5,
  .ay-bento-card.span-6 {
    grid-column: span 12;
  }

  .ay-showcase-box {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px 18px;
  }

  .ay-comp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ay-team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .ay-comp-card {
    padding: 28px 20px;
  }

  .ay-comp-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Keep App Showcase Download Buttons in a Single Row on Mobile */
  .ay-app-download-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
  }

  .ay-app-download-row .ay-store-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    gap: 8px !important;
    border-radius: 12px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .ay-app-download-row .ay-store-btn i {
    font-size: 20px !important;
    flex-shrink: 0 !important;
  }

  .ay-app-download-row .ay-store-btn-text {
    min-width: 0 !important;
  }

  .ay-app-download-row .ay-store-btn-sub {
    font-size: 8px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
  }

  .ay-app-download-row .ay-store-btn-main {
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 600px) {
  .ay-home-section {
    padding: 60px 16px;
  }

  .ay-cta-banner-wrap {
    padding: 0 16px 60px 16px;
  }

  .ay-cta-card {
    padding: 40px 20px;
  }

  .ay-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .ay-btn-cta-primary,
  .ay-btn-cta-whatsapp,
  .ay-btn-cta-app {
    width: 100%;
    justify-content: center;
  }

  .ay-showcase-app-img {
    width: min(290px, 86vw);
    max-height: 540px;
  }
}




